Google Earth Engine Authors 6127d71960 v0.1.288
PiperOrigin-RevId: 405997492
2021-10-28 11:51:53 -07:00

685 lines
312 KiB
JavaScript

(function(){/*
Copyright The Closure Library Authors.
SPDX-License-Identifier: Apache-2.0
*/
var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
},k=ca(this),da=function(a,b){if(b)a:{var c=k;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
da("Symbol",function(a){if(a)return a;var b=function(g,f){this.Hi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Hi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e});
da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=k[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},fa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ha;
if("function"==typeof Object.setPrototypeOf)ha=Object.setPrototypeOf;else{var ia;a:{var ja={a:!0},ka={};try{ka.__proto__=ja;ia=ka.a;break a}catch(a){}ia=!1}ha=ia?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var la=ha,q=function(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(la)la(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.M=b.prototype};
da("Promise",function(a){function b(){this.sb=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Cg=function(f){if(null==this.sb){this.sb=[];var l=this;this.Dg(function(){l.pk()})}this.sb.push(f)};var d=k.setTimeout;b.prototype.Dg=function(f){d(f,0)};b.prototype.pk=function(){for(;this.sb&&this.sb.length;){var f=this.sb;this.sb=[];for(var l=0;l<f.length;++l){var m=f[l];f[l]=null;try{m()}catch(p){this.gk(p)}}}this.sb=null};b.prototype.gk=function(f){this.Dg(function(){throw f;
})};var e=function(f){this.T=0;this.na=void 0;this.zc=[];this.Hh=!1;var l=this.Xe();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.Xe=function(){function f(p){return function(v){m||(m=!0,p.call(l,v))}}var l=this,m=!1;return{resolve:f(this.Ok),reject:f(this.Vf)}};e.prototype.Ok=function(f){if(f===this)this.Vf(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.Qk(f);else{a:switch(typeof f){case "object":var l=null!=f;break a;case "function":l=!0;break a;default:l=
!1}l?this.Nk(f):this.vh(f)}};e.prototype.Nk=function(f){var l=void 0;try{l=f.then}catch(m){this.Vf(m);return}"function"==typeof l?this.Rk(l,f):this.vh(f)};e.prototype.Vf=function(f){this.mi(2,f)};e.prototype.vh=function(f){this.mi(1,f)};e.prototype.mi=function(f,l){if(0!=this.T)throw Error("Cannot settle("+f+", "+l+"): Promise already settled in state"+this.T);this.T=f;this.na=l;2===this.T&&this.Pk();this.rk()};e.prototype.Pk=function(){var f=this;d(function(){if(f.Ik()){var l=k.console;"undefined"!==
typeof l&&l.error(f.na)}},1)};e.prototype.Ik=function(){if(this.Hh)return!1;var f=k.CustomEvent,l=k.Event,m=k.dispatchEvent;if("undefined"===typeof m)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof l?f=new l("unhandledrejection",{cancelable:!0}):(f=k.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.na;return m(f)};e.prototype.rk=function(){if(null!=this.zc){for(var f=0;f<this.zc.length;++f)g.Cg(this.zc[f]);
this.zc=null}};var g=new b;e.prototype.Qk=function(f){var l=this.Xe();f.Ad(l.resolve,l.reject)};e.prototype.Rk=function(f,l){var m=this.Xe();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(D,R){return"function"==typeof D?function(Z){try{p(D(Z))}catch(U){v(U)}}:R}var p,v,B=new e(function(D,R){p=D;v=R});this.Ad(m(f,p),m(l,v));return B};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Ad=function(f,l){function m(){switch(p.T){case 1:f(p.na);
break;case 2:l(p.na);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;null==this.zc?g.Cg(m):this.zc.push(m);this.Hh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var p=n(f),v=p.next();!v.done;v=p.next())c(v.value).Ad(l,m)})};e.all=function(f){var l=n(f),m=l.next();return m.done?c([]):new e(function(p,v){function B(Z){return function(U){D[Z]=U;R--;0==R&&p(D)}}var D=[],R=0;do D.push(void 0),R++,c(m.value).Ad(B(D.length-
1),v),m=l.next();while(!m.done)})};return e});var ma=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
da("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!ma(m,g)){var p=new b;ba(m,g,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(2!=v.get(m)||3!=v.get(p))return!1;v.delete(m);v.set(p,4);return!v.has(m)&&4==v.get(p)}catch(B){return!1}}())return a;
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,l=function(m){this.ga=(f+=Math.random()+1).toString();if(m){m=n(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};l.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!ma(m,g))throw Error("WeakMap key fail: "+m);m[g][this.ga]=p;return this};l.prototype.get=function(m){return c(m)&&ma(m,g)?m[g][this.ga]:void 0};l.prototype.has=function(m){return c(m)&&ma(m,g)&&ma(m[g],
this.ga)};l.prototype.delete=function(m){return c(m)&&ma(m,g)&&ma(m[g],this.ga)?delete m[g][this.ga]:!1};return l});
da("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),m=new a(n([[l,"s"]]));if("s"!=m.get(l)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var p=m.entries(),v=p.next();if(v.done||v.value[0]!=l||"s"!=v.value[1])return!1;v=p.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!p.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(l){this.Oc={};this.sa=
g();this.size=0;if(l){l=n(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(l,m){l=0===l?0:l;var p=d(this,l);p.list||(p.list=this.Oc[p.id]=[]);p.ea?p.ea.value=m:(p.ea={next:this.sa,pb:this.sa.pb,head:this.sa,key:l,value:m},p.list.push(p.ea),this.sa.pb.next=p.ea,this.sa.pb=p.ea,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.ea&&l.list?(l.list.splice(l.index,1),l.list.length||delete this.Oc[l.id],l.ea.pb.next=l.ea.next,l.ea.next.pb=
l.ea.pb,l.ea.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Oc={};this.sa=this.sa.pb=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).ea};c.prototype.get=function(l){return(l=d(this,l).ea)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,m){for(var p=this.entries(),
v;!(v=p.next()).done;)v=v.value,l.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,m){var p=m&&typeof m;"object"==p||"function"==p?b.has(m)?p=b.get(m):(p=""+ ++f,b.set(m,p)):p="p_"+m;var v=l.Oc[p];if(v&&ma(l.Oc,p))for(l=0;l<v.length;l++){var B=v[l];if(m!==m&&B.key!==B.key||m===B.key)return{id:p,list:v,index:l,ea:B}}return{id:p,list:v,index:-1,ea:void 0}},e=function(l,m){var p=l.sa;return ea(function(){if(p){for(;p.head!=l.sa;)p=p.pb;for(;p.next!=p.head;)return p=
p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.pb=l.next=l.head=l},f=0;return c});da("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,g=0;g<e;g++){var f=d[g];if(b.call(c,f,g,d)){b=f;break a}}b=void 0}return b}});
var na=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};da("String.prototype.repeat",function(a){return a?a:function(b){var c=na(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
var oa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};da("Array.prototype.keys",function(a){return a?a:function(){return oa(this,function(b){return b})}});
da("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}});da("Array.prototype.values",function(a){return a?a:function(){return oa(this,function(b,c){return c})}});
var pa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ma(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||pa});da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=na(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=na(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}});da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ma(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==na(this,b,"includes").indexOf(b,c||0)}});da("Array.prototype.entries",function(a){return a?a:function(){return oa(this,function(b,c){return[b,c]})}});
da("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(n([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(f){return!1}}())return a;var b=function(c){this.A=new Map;if(c){c=
n(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.A.size};b.prototype.add=function(c){c=0===c?0:c;this.A.set(c,c);this.size=this.A.size;return this};b.prototype.delete=function(c){c=this.A.delete(c);this.size=this.A.size;return c};b.prototype.clear=function(){this.A.clear();this.size=0};b.prototype.has=function(c){return this.A.has(c)};b.prototype.entries=function(){return this.A.entries()};b.prototype.values=function(){return this.A.values()};b.prototype.keys=b.prototype.values;
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.A.forEach(function(g){return c.call(d,g,g,e)})};return b});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ma(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=na(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
var qa=qa||{},r=this||self,ra=function(){},sa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ta=function(a){var b=sa(a);return"array"==b||"object"==b&&"number"==typeof a.length},ua=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},xa=function(a){return Object.prototype.hasOwnProperty.call(a,va)&&a[va]||(a[va]=++wa)},va="closure_uid_"+(1E9*Math.random()>>>0),wa=0,ya=function(a,b,c){return a.call.apply(a.bind,
arguments)},za=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},u=function(a,b,c){u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ya:za;return u.apply(null,arguments)},Aa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=
c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},w=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},x=function(a,b){function c(){}c.prototype=b.prototype;a.M=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.bl=function(d,e,g){for(var f=Array(arguments.length-2),l=2;l<arguments.length;l++)f[l-2]=arguments[l];return b.prototype[e].apply(d,
f)}},Ba=function(a){return a};function Ca(a){a&&"function"==typeof a.Wa&&a.Wa()};var Da=function(){this.Xa=this.Xa;this.Vd=this.Vd};Da.prototype.Xa=!1;Da.prototype.Wa=function(){this.Xa||(this.Xa=!0,this.I())};Da.prototype.I=function(){if(this.Vd)for(;this.Vd.length;)this.Vd.shift()()};var Ea=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.hd=!1};Ea.prototype.stopPropagation=function(){this.hd=!0};Ea.prototype.preventDefault=function(){this.defaultPrevented=!0};function Fa(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Fa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}x(Fa,Error);Fa.prototype.name="CustomError";var Ga;var Ha=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Fa.call(this,c+a[d])};x(Ha,Fa);Ha.prototype.name="AssertionError";
var Ia=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new Ha(""+e,g||[]);},y=function(a,b,c){a||Ia("",null,b,Array.prototype.slice.call(arguments,2))},Ja=function(a,b){throw new Ha("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ka=function(a,b,c){"number"!==typeof a&&Ia("Expected number but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2));return a},La=function(a,b,c){"string"!==typeof a&&Ia("Expected string but got %s: %s.",
[sa(a),a],b,Array.prototype.slice.call(arguments,2))},Ma=function(a,b,c){"function"!==typeof a&&Ia("Expected function but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2))},Na=function(a,b,c){t(a)||Ia("Expected object but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Oa=Array.prototype.indexOf?function(a,b){y(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Pa=Array.prototype.lastIndexOf?function(a,b){y(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Qa=Array.prototype.forEach?function(a,b,c){y(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},Ra=Array.prototype.filter?function(a,b){y(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,g="string"===typeof a?a.split(""):a,f=0;f<c;f++)if(f in g){var l=
g[f];b.call(void 0,l,f,a)&&(d[e++]=l)}return d},Sa=Array.prototype.map?function(a,b,c){y(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},Ta=Array.prototype.some?function(a,b){y(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;
return!1},Ua=Array.prototype.every?function(a,b){y(null!=a.length);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function Va(a,b){var c=0;Qa(a,function(d,e,g){b.call(void 0,d,e,g)&&++c},void 0);return c}function Wa(a,b){return 0<=Oa(a,b)}function Xa(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}
function Ya(a,b){b=Oa(a,b);var c;(c=0<=b)&&Za(a,b);return c}function Za(a,b){y(null!=a.length);Array.prototype.splice.call(a,b,1)}function $a(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function ab(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ta(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}}
function bb(a,b,c){y(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function cb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function db(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=bb(d,e,e+8192);g=db.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var eb=Object.freeze||function(a){return a};var fb=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",ra,b),r.removeEventListener("test",ra,b)}catch(c){}return a}();var gb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},hb=function(a,b){return a<b?-1:a>b?1:0};var ib;a:{var jb=r.navigator;if(jb){var kb=jb.userAgent;if(kb){ib=kb;break a}}ib=""}function lb(a){return-1!=ib.indexOf(a)};var mb=function(a){mb[" "](a);return a};mb[" "]=ra;var ob=function(a,b){var c=nb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var pb=lb("Opera"),qb=lb("Trident")||lb("MSIE"),rb=lb("Edge"),sb=lb("Gecko")&&!(-1!=ib.toLowerCase().indexOf("webkit")&&!lb("Edge"))&&!(lb("Trident")||lb("MSIE"))&&!lb("Edge"),tb=-1!=ib.toLowerCase().indexOf("webkit")&&!lb("Edge"),ub;
a:{var vb="",wb=function(){var a=ib;if(sb)return/rv:([^\);]+)(\)|;)/.exec(a);if(rb)return/Edge\/([\d\.]+)/.exec(a);if(qb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(tb)return/WebKit\/(\S+)/.exec(a);if(pb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();wb&&(vb=wb?wb[1]:"");if(qb){var xb,yb=r.document;xb=yb?yb.documentMode:void 0;if(null!=xb&&xb>parseFloat(vb)){ub=String(xb);break a}}ub=vb}
var zb=ub,nb={},Ab=function(a){return ob(a,function(){for(var b=0,c=gb(String(zb)).split("."),d=gb(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g<e;g++){var f=c[g]||"",l=d[g]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==f[0].length&&0==l[0].length)break;b=hb(0==f[1].length?0:parseInt(f[1],10),0==l[1].length?0:parseInt(l[1],10))||hb(0==f[2].length,0==l[2].length)||hb(f[2],l[2]);f=f[3];l=l[3]}while(0==b)}return 0<=b})};var Cb=function(a,b){Ea.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Ma=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=
b;if(b=a.relatedTarget){if(sb){a:{try{mb(b.nodeName);var e=!0;break a}catch(g){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=tb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=tb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,
this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Bb[a.pointerType]||"";this.state=a.state;this.Ma=a;a.defaultPrevented&&Cb.M.preventDefault.call(this)}};
x(Cb,Ea);var Bb=eb({2:"touch",3:"pen",4:"mouse"});Cb.prototype.stopPropagation=function(){Cb.M.stopPropagation.call(this);this.Ma.stopPropagation?this.Ma.stopPropagation():this.Ma.cancelBubble=!0};Cb.prototype.preventDefault=function(){Cb.M.preventDefault.call(this);var a=this.Ma;a.preventDefault?a.preventDefault():a.returnValue=!1};var Db="closure_listenable_"+(1E6*Math.random()|0),Eb=function(a){return!(!a||!a[Db])};var Fb=0;var Gb=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ob=e;this.key=++Fb;this.ld=this.zd=!1},Ib=function(a){a.ld=!0;a.listener=null;a.proxy=null;a.src=null;a.ob=null};function Jb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Kb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Lb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Mb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Nb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Ob(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Pb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
function Qb(a){var b=Rb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Sb(a){for(var b in a)return!1;return!0}function Tb(a,b){b in a&&delete a[b]}function Ub(a){var b={},c;for(c in a)b[c]=a[c];return b}
function Vb(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=Vb(a[c]);return b}var Wb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
function Xb(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Wb.length;g++)c=Wb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Yb=function(a){this.src=a;this.la={};this.pd=0};Yb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.la[g];a||(a=this.la[g]=[],this.pd++);var f=Zb(a,b,d,e);-1<f?(b=a[f],c||(b.zd=!1)):(b=new Gb(b,this.src,g,!!d,e),b.zd=c,a.push(b));return b};Yb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.la))return!1;var e=this.la[a];b=Zb(e,b,c,d);return-1<b?(Ib(e[b]),Za(e,b),0==e.length&&(delete this.la[a],this.pd--),!0):!1};
var $b=function(a,b){var c=b.type;c in a.la&&Ya(a.la[c],b)&&(Ib(b),0==a.la[c].length&&(delete a.la[c],a.pd--))};Yb.prototype.kd=function(a){a=a&&a.toString();var b=0,c;for(c in this.la)if(!a||c==a){for(var d=this.la[c],e=0;e<d.length;e++)++b,Ib(d[e]);delete this.la[c];this.pd--}};Yb.prototype.Tc=function(a,b,c,d){a=this.la[a.toString()];var e=-1;a&&(e=Zb(a,b,c,d));return-1<e?a[e]:null};
Yb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Mb(this.la,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var Zb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.ld&&g.listener==b&&g.capture==!!c&&g.ob==d)return e}return-1};var ac="closure_lm_"+(1E6*Math.random()|0),bc={},cc=0,ec=function(a,b,c,d,e){if(d&&d.once)return dc(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)ec(a,b[g],c,d,e);return null}c=fc(c);return Eb(a)?a.ab(b,c,t(d)?!!d.capture:!!d,e):gc(a,b,c,!1,d,e)},gc=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=hc(a);l||(a[ac]=l=new Yb(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=ic();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)fb||(e=f),void 0===
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(jc(b.toString()),d);else if(a.addListener&&a.removeListener)y("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");cc++;return c},ic=function(){var a=kc,b=function(c){return a.call(b.src,b.listener,c)};return b},dc=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)dc(a,b[g],c,d,e);return null}c=fc(c);return Eb(a)?
a.cd(b,c,t(d)?!!d.capture:!!d,e):gc(a,b,c,!0,d,e)},lc=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)lc(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=fc(c),Eb(a)?a.oe(b,c,d,e):a&&(a=hc(a))&&(b=a.Tc(b,c,d,e))&&mc(b)},mc=function(a){if("number"!==typeof a&&a&&!a.ld){var b=a.src;if(Eb(b))$b(b.La,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(jc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);cc--;(c=hc(b))?
($b(c,a),0==c.pd&&(c.src=null,b[ac]=null)):Ib(a)}}},jc=function(a){return a in bc?bc[a]:bc[a]="on"+a},kc=function(a,b){if(a.ld)a=!0;else{b=new Cb(b,this);var c=a.listener,d=a.ob||a.src;a.zd&&mc(a);a=c.call(d,b)}return a},hc=function(a){a=a[ac];return a instanceof Yb?a:null},nc="__closure_events_fn_"+(1E9*Math.random()>>>0),fc=function(a){y(a,"Listener can not be null.");if("function"===typeof a)return a;y(a.handleEvent,"An object listener must have handleEvent method.");a[nc]||(a[nc]=function(b){return a.handleEvent(b)});
return a[nc]};var z=function(){Da.call(this);this.La=new Yb(this);this.ek=this;this.Lf=null};x(z,Da);z.prototype[Db]=!0;h=z.prototype;h.addEventListener=function(a,b,c,d){ec(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){lc(this,a,b,c,d)};
h.dispatchEvent=function(a){oc(this);var b=this.Lf;if(b){var c=[];for(var d=1;b;b=b.Lf)c.push(b),y(1E3>++d,"infinite loop")}b=this.ek;d=a.type||a;if("string"===typeof a)a=new Ea(a,b);else if(a instanceof Ea)a.target=a.target||b;else{var e=a;a=new Ea(d,b);Xb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.hd&&0<=g;g--){var f=a.currentTarget=c[g];e=pc(f,d,!0,a)&&e}a.hd||(f=a.currentTarget=b,e=pc(f,d,!0,a)&&e,a.hd||(e=pc(f,d,!1,a)&&e));if(c)for(g=0;!a.hd&&g<c.length;g++)f=a.currentTarget=c[g],e=pc(f,d,!1,a)&&
e;return e};h.I=function(){z.M.I.call(this);this.La&&this.La.kd(void 0);this.Lf=null};h.ab=function(a,b,c,d){oc(this);return this.La.add(String(a),b,!1,c,d)};h.cd=function(a,b,c,d){return this.La.add(String(a),b,!0,c,d)};h.oe=function(a,b,c,d){this.La.remove(String(a),b,c,d)};
var pc=function(a,b,c,d){b=a.La.la[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.ld&&f.capture==c){var l=f.listener,m=f.ob||f.src;f.zd&&$b(a.La,f);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};z.prototype.Tc=function(a,b,c,d){return this.La.Tc(String(a),b,c,d)};z.prototype.hasListener=function(a,b){return this.La.hasListener(void 0!==a?String(a):void 0,b)};var oc=function(a){y(a.La,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var qc=function(a,b){this.jk=a[r.Symbol.iterator]();this.Ck=b;this.Gk=0};qc.prototype[Symbol.iterator]=function(){return this};qc.prototype.next=function(){var a=this.jk.next();return{value:a.done?void 0:this.Ck.call(void 0,a.value,this.Gk++),done:a.done}};var rc=function(a,b){return new qc(a,b)};var sc=function(a){return a};var tc="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},uc=function(){};uc.prototype.wc=function(){throw tc;};uc.prototype.next=function(){return vc};var vc=eb({done:!0,value:void 0});uc.prototype.Ga=function(){return this};
var wc=function(a){if(a instanceof uc)return a;if("function"==typeof a.Ga)return a.Ga(!1);if(ta(a)){var b=0,c=new uc;c.wc=function(){for(;;){if(b>=a.length)throw tc;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},xc=function(a,b){if(ta(a))try{Qa(a,b,void 0)}catch(c){if(c!==tc)throw c;}else{a=wc(a);try{for(;;)b.call(void 0,a.wc(),void 0,a)}catch(c){if(c!==tc)throw c;}}};var Cc=function(a){if(a instanceof yc||a instanceof zc||a instanceof Ac)return a;if("function"==typeof a.wc)return new yc(function(){return Bc(a)});if("function"==typeof a[Symbol.iterator])return new yc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ga)return new yc(function(){return Bc(a.Ga())});throw Error("Not an iterator or iterable.");},Bc=function(a){if(!(a instanceof uc))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.wc();break}catch(d){if(d!==tc)throw d;b=
!0}return{value:c,done:b}}}},yc=function(a){this.lf=a};yc.prototype.Ga=function(){return new zc(this.lf())};yc.prototype[Symbol.iterator]=function(){return new Ac(this.lf())};yc.prototype.rg=function(){return new Ac(this.lf())};var zc=function(a){this.Zc=a};q(zc,uc);zc.prototype.wc=function(){var a=this.Zc.next();if(a.done)throw tc;return a.value};zc.prototype[Symbol.iterator]=function(){return new Ac(this.Zc)};zc.prototype.rg=function(){return new Ac(this.Zc)};
var Ac=function(a){yc.call(this,function(){return a});this.Zc=a};q(Ac,yc);Ac.prototype.next=function(){return this.Zc.next()};var Dc=function(a,b){this.A={};this.K=[];this.rd=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=Dc.prototype;h.S=function(){return this.size};h.aa=function(){Ec(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.wb=function(){Ec(this);return this.K.concat()};h.Sb=function(a){return this.has(a)};h.has=function(a){return Fc(this.A,a)};
h.Nc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(Fc(this.A,c)&&this.A[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.size!=a.S())return!1;b=b||Gc;Ec(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Gc=function(a,b){return a===b};Dc.prototype.isEmpty=function(){return 0==this.size};Dc.prototype.clear=function(){this.A={};this.K.length=0;this.qb(0);this.rd=0};Dc.prototype.remove=function(a){return this.delete(a)};
Dc.prototype.delete=function(a){return Fc(this.A,a)?(delete this.A[a],this.qb(this.size-1),this.rd++,this.K.length>2*this.size&&Ec(this),!0):!1};var Ec=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];Fc(a.A,d)&&(a.K[c++]=d);b++}a.K.length=c}if(a.size!=a.K.length){var e={};for(c=b=0;b<a.K.length;)d=a.K[b],Fc(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=Dc.prototype;h.get=function(a,b){return Fc(this.A,a)?this.A[a]:b};
h.set=function(a,b){Fc(this.A,a)||(this.qb(this.size+1),this.K.push(a),this.rd++);this.A[a]=b};h.addAll=function(a){if(a instanceof Dc)for(var b=a.wb(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};h.forEach=function(a,b){for(var c=this.wb(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};h.clone=function(){return new Dc(this)};h.keys=function(){return Cc(this.Ga(!0)).rg()};h.values=function(){return Cc(this.Ga(!1)).rg()};
h.entries=function(){var a=this;return rc(this.keys(),function(b){return[b,a.get(b)]})};h.Ga=function(a){Ec(this);var b=0,c=this.rd,d=this,e=new uc;e.wc=function(){if(c!=d.rd)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)throw tc;var g=d.K[b++];return a?g:d.A[g]};return e};h.qb=function(a){this.size=a};var Fc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Hc=function(a){if(a.S&&"function"==typeof a.S)a=a.S();else if(ta(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Ic=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ta(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Nb(a)},Jc=function(a){if(a.wb&&"function"==typeof a.wb)return a.wb();
if(!a.aa||"function"!=typeof a.aa){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ta(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Ob(a)}}},Kc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ta(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Jc(a),e=Ic(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Lc=function(a,
b){if("function"==typeof a.every)return a.every(b,void 0);if(ta(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Jc(a),d=Ic(a),e=d.length,g=0;g<e;g++)if(!b.call(void 0,d[g],c&&c[g],a))return!1;return!0};var Mc=function(a){this.A=new Dc;this.size=0;a&&this.addAll(a)},Nc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.substr(0,1)+a};h=Mc.prototype;h.S=function(){return this.A.size};h.add=function(a){this.A.set(Nc(a),a);this.qb(this.A.size)};h.addAll=function(a){a=Ic(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.qb(this.A.size)};h.kd=function(a){a=Ic(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.qb(this.A.size)};
h.delete=function(a){a=this.A.remove(Nc(a));this.qb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.qb(0)};h.isEmpty=function(){return 0===this.A.size};h.has=function(a){return this.A.Sb(Nc(a))};h.contains=function(a){return this.A.Sb(Nc(a))};var Oc=function(a,b){var c=new Mc;b=Ic(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Pc=function(a,b){a=a.clone();a.kd(b);return a};Mc.prototype.aa=function(){return this.A.aa()};
Mc.prototype.values=function(){return this.A.values()};Mc.prototype.clone=function(){return new Mc(this)};Mc.prototype.equals=function(a){return this.S()==Hc(a)&&Qc(this,a)};var Qc=function(a,b){var c=Hc(b);if(a.S()>c)return!1;!(b instanceof Mc)&&5<c&&(b=new Mc(b));return Lc(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Nc&&"function"==typeof e.Nc?e.Nc(d):ta(e)||"string"===typeof e?Wa(e,d):Pb(e,d)})};Mc.prototype.Ga=function(){return this.A.Ga(!1)};
Mc.prototype[Symbol.iterator]=function(){return this.values()};Mc.prototype.qb=function(a){this.size=a};var Rc=function(a,b,c){z.call(this);this.Dk=b;this.token=c;this.Db=[];this.pg=new Mc;this.Bb=0;this.url=a};x(Rc,z);w("ee.AbstractOverlay",Rc);var Sc=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.Dk,c,e,b.y].join("/")};Rc.prototype.Uc=function(){return this.Db.length};var Tc=function(a){Ea.call(this,"tileevent");this.count=a};x(Tc,Ea);var Uc=function(){},Vc=new Uc;function Wc(a){return Object.assign({O:{},dl:{},keys:[],wa:{},s:{},J:{},mh:!1},a)}var A=function(){this.h={}},C=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},E=function(a,b){return null!=a.h[b]};function Xc(a,b){return C(b,a)}function Yc(a,b,c){b[a]=c}function Zc(){return{}}function $c(a,b){var c=new a;return null==b?c:ad(b,bd,cd,dd,a)}function bd(a,b){return b[a]}function cd(a,b,c){b.h[a]=c}
function dd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
function ad(a,b,c,d,e){e=d(e);for(var g=ed(a,e),f=g.O||{},l=g.s||{},m=g.wa||{},p={},v=n(g.keys||[]),B=v.next();!B.done;p={Ic:p.Ic},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(f.hasOwnProperty(B)){if(g.mh&&0===D.length)continue;R=fd(D,b,c,d,!0,!0,f[B])}else if(l.hasOwnProperty(B))R=fd(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))p.Ic=m[B],R=p.Ic.ia?D.map(function(Z){return function(U){return gd(U,Z.Ic,b,c,d)}}(p)):gd(D,p.Ic,b,c,d);else if(Array.isArray(D)){if(g.mh&&0===D.length)continue;
R=fd(D,b,c,d,!0,!1)}else R=D instanceof Uc?null:D;c(B,e,R)}}return e}function gd(a,b,c,d,e){for(var g={},f=n(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];null!=m&&(g[l]=fd(m,c,d,e,b.ka,b.ja,b.da))}return g}
function fd(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return ad(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?ad(a,b,c,d,f):a instanceof Uc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ed(a,b){if(b instanceof A)a=Wc(b.i());else if(a instanceof A)a=Wc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var hd;var kd=function(a,b){this.ig=a===id&&b||"";this.Sj=jd};kd.prototype.vf=!0;kd.prototype.qf=function(){return this.ig};kd.prototype.toString=function(){return"Const{"+this.ig+"}"};var ld=function(a){if(a instanceof kd&&a.constructor===kd&&a.Sj===jd)return a.ig;Ja("expected object of type Const, got '"+a+"'");return"type_error:Const"},jd={},id={};var nd=function(a,b){this.Of=b===md?a:""};nd.prototype.vf=!0;nd.prototype.qf=function(){return this.Of.toString()};nd.prototype.toString=function(){return this.Of+""};
var od=function(a){if(a instanceof nd&&a.constructor===nd)return a.Of;Ja("expected object of type TrustedResourceUrl, got '"+a+"' of type "+sa(a));return"type_error:TrustedResourceUrl"},td=function(a){var b=ld(pd);if(!qd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(rd,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof
kd?ld(d):encodeURIComponent(String(d))});return sd(c)},rd=/%{(\w+)}/g,qd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),md={},sd=function(a){if(void 0===hd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ba,createScript:Ba,createScriptURL:Ba})}catch(d){r.console&&r.console.error(d.message)}hd=b}a=(b=hd)?b.createScriptURL(a):a;return new nd(a,md)};var vd=function(a,b){this.Nf=b===ud?a:""};vd.prototype.vf=!0;vd.prototype.qf=function(){return this.Nf.toString()};vd.prototype.toString=function(){return this.Nf.toString()};
var wd=function(a){if(a instanceof vd&&a.constructor===vd)return a.Nf;Ja("expected object of type SafeUrl, got '"+a+"' of type "+sa(a));return"type_error:SafeUrl"},xd=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),yd=function(a){if(xd.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?
r.URL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new vd(a,ud)},ud={};var Ad=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||r;if(d.Element&&d.Location){var e=d;break a}}catch(f){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(t(a))try{var g=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(f){g="<object could not be stringified>"}else g=void 0===a?"undefined":null===a?"null":typeof a;Ja("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
"HTMLScriptElement",g)}a.src=od(b);a:{b=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(b.querySelector&&(b=b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&zd.test(b))break a;b=""}b&&a.setAttribute("nonce",b)},zd=/^[\w+/_-]+[=]{0,2}$/;var Bd=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},Cd=function(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var Dd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Ed=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var Fd=function(a,b){this.nb=this.jc=this.zb="";this.Ac=null;this.Vb=this.cc="";this.Ca=this.xk=!1;if(a instanceof Fd){this.Ca=void 0!==b?b:a.Ca;Gd(this,a.zb);var c=a.jc;Hd(this);this.jc=c;c=a.nb;Hd(this);this.nb=c;Id(this,a.Ac);this.setPath(a.getPath());Jd(this,a.Ea.clone());a=a.Vb;Hd(this);this.Vb=a}else a&&(c=String(a).match(Dd))?(this.Ca=!!b,Gd(this,c[1]||"",!0),a=c[2]||"",Hd(this),this.jc=Kd(a),a=c[3]||"",Hd(this),this.nb=Kd(a,!0),Id(this,c[4]),this.setPath(c[5]||"",!0),Jd(this,c[6]||"",!0),
a=c[7]||"",Hd(this),this.Vb=Kd(a)):(this.Ca=!!b,this.Ea=new Ld(null,this.Ca))};
Fd.prototype.toString=function(){var a=[],b=this.zb;b&&a.push(Md(b,Nd,!0),":");var c=this.nb;if(c||"file"==b)a.push("//"),(b=this.jc)&&a.push(Md(b,Nd,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Ac,null!=c&&a.push(":",String(c));if(c=this.getPath())this.nb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Md(c,"/"==c.charAt(0)?Od:Pd,!0));(c=this.Ea.toString())&&a.push("?",c);(c=this.Vb)&&a.push("#",Md(c,Qd));return a.join("")};
Fd.prototype.resolve=function(a){var b=this.clone(),c=!!a.zb;c?Gd(b,a.zb):c=!!a.jc;if(c){var d=a.jc;Hd(b);b.jc=d}else c=!!a.nb;c?(d=a.nb,Hd(b),b.nb=d):c=null!=a.Ac;d=a.getPath();if(c)Id(b,a.Ac);else if(c=!!a.cc){if("/"!=d.charAt(0))if(this.nb&&!this.cc)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var g=[],f=0;f<e.length;){var l=e[f++];
"."==l?d&&f==e.length&&g.push(""):".."==l?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&f==e.length&&g.push("")):(g.push(l),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=""!==a.Ea.toString();c?Jd(b,a.Ea.clone()):c=!!a.Vb;c&&(a=a.Vb,Hd(b),b.Vb=a);return b};Fd.prototype.clone=function(){return new Fd(this)};
var Gd=function(a,b,c){Hd(a);a.zb=c?Kd(b,!0):b;a.zb&&(a.zb=a.zb.replace(/:$/,""))},Id=function(a,b){Hd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Ac=b}else a.Ac=null};Fd.prototype.getPath=function(){return this.cc};Fd.prototype.setPath=function(a,b){Hd(this);this.cc=b?Kd(a,!0):a;return this};var Jd=function(a,b,c){Hd(a);b instanceof Ld?(a.Ea=b,a.Ea.bg(a.Ca)):(c||(b=Md(b,Rd)),a.Ea=new Ld(b,a.Ca))};Fd.prototype.getQuery=function(){return this.Ea.toString()};
Fd.prototype.removeParameter=function(a){Hd(this);this.Ea.remove(a);return this};var Hd=function(a){if(a.xk)throw Error("Tried to modify a read-only Uri");};Fd.prototype.bg=function(a){this.Ca=a;this.Ea&&this.Ea.bg(a)};
var Sd=function(a){return a instanceof Fd?a.clone():new Fd(a,void 0)},Kd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Md=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Td),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Td=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Nd=/[#\/\?@]/g,Pd=/[#\?:]/g,Od=/[#\?]/g,Rd=/[#\?@]/g,Qd=/#/g,Ld=function(a,b){this.Z=this.P=null;this.va=a||null;this.Ca=!!b},
Ud=function(a){a.P||(a.P=new Map,a.Z=0,a.va&&Ed(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Ld.prototype;h.S=function(){Ud(this);return this.Z};h.add=function(a,b){Ud(this);this.va=null;a=Vd(this,a);var c=this.P.get(a);c||this.P.set(a,c=[]);c.push(b);this.Z=Ka(this.Z)+1;return this};h.remove=function(a){Ud(this);a=Vd(this,a);return this.P.has(a)?(this.va=null,this.Z=Ka(this.Z)-this.P.get(a).length,this.P.delete(a)):!1};h.clear=function(){this.P=this.va=null;this.Z=0};
h.isEmpty=function(){Ud(this);return 0==this.Z};h.Sb=function(a){Ud(this);a=Vd(this,a);return this.P.has(a)};h.Nc=function(a){var b=this.aa();return Wa(b,a)};h.forEach=function(a,b){Ud(this);this.P.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.wb=function(){Ud(this);for(var a=Array.from(this.P.values()),b=Array.from(this.P.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
h.aa=function(a){Ud(this);var b=[];if("string"===typeof a)this.Sb(a)&&(b=b.concat(this.P.get(Vd(this,a))));else{a=Array.from(this.P.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};h.set=function(a,b){Ud(this);this.va=null;a=Vd(this,a);this.Sb(a)&&(this.Z=Ka(this.Z)-this.P.get(a).length);this.P.set(a,[b]);this.Z=Ka(this.Z)+1;return this};h.get=function(a,b){if(!a)return b;a=this.aa(a);return 0<a.length?String(a[0]):b};
h.setValues=function(a,b){this.remove(a);0<b.length&&(this.va=null,this.P.set(Vd(this,a),$a(b)),this.Z=Ka(this.Z)+b.length)};h.toString=function(){if(this.va)return this.va;if(!this.P)return"";for(var a=[],b=Array.from(this.P.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.aa(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.va=a.join("&")};
h.clone=function(){var a=new Ld;a.va=this.va;this.P&&(a.P=new Map(this.P),a.Z=this.Z);return a};var Vd=function(a,b){b=String(b);a.Ca&&(b=b.toLowerCase());return b};Ld.prototype.bg=function(a){a&&!this.Ca&&(Ud(this),this.va=null,this.P.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.Ca=a};Ld.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Kc(arguments[b],function(c,d){this.add(d,c)},this)};function Wd(a){if(null!=a.u){var b={},c;for(c in a.u)void 0!==a.u[c]&&(b[c]=a.u[c]);a.u=b}}function F(a,b){var c=Xd;b=void 0===b?{}:b;c=n(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=n(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var Yd=function(){};Yd.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Zd(a,b){if(null==a)return null;a=a.el(b);return null==a?null:a};var $d=function(a,b){this.N=a;this.vk=void 0===b?null:b};q($d,Yd);var ae=function(a,b,c){var d=Zd(a.vk,b);if(null==d)return c;d.fl();return c.then(function(e){d.hl(e);return e},function(e){d.gl(e);throw e;})},G=function(a,b){var c=b.G||void 0,d=a.N,e=d.send,g=b.body instanceof A?ad(b.body,Xc,Yc,Zc):b.body;return ae(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,si:b.si&&b.si},c))};var be={ue:"ADMIN_READ",we:"DATA_READ",xe:"DATA_WRITE",Bj:"LOG_TYPE_UNSPECIFIED",values:function(){return[be.Bj,be.ue,be.xe,be.we]}},ce={ue:"ADMIN_READ",Ji:"ADMIN_WRITE",we:"DATA_READ",xe:"DATA_WRITE",Jj:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ce.Jj,ce.ue,ce.Ji,ce.we,ce.xe]}},de={Si:"CAPABILITY_GROUP_UNSPECIFIED",Ui:"CLOUD_ALPHA",ij:"EXTERNAL",uj:"INTERNAL",xj:"LIMITED",Kj:"PREAUTHORIZED",Mj:"PREVIEW",Jc:"PUBLIC",values:function(){return[de.Si,de.Jc,de.uj,de.ij,de.xj,de.Kj,de.Mj,de.Ui]}},
fe={Ii:"ADMIN_ACTIVITY",$i:"DATA_ACCESS",$j:"UNSPECIFIED_LOG_NAME",values:function(){return[fe.$j,fe.Ii,fe.$i]}},ge={ye:"DEFAULT_OBJECT_ACL",Jc:"PUBLIC",Je:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[ge.Je,ge.Jc,ge.ye]}},he={Mi:"APPROVER",Oi:"ATTRIBUTION",Pi:"AUTHORITY",Vi:"CREDENTIALS_TYPE",Wi:"CREDS_ASSERTION",wj:"JUSTIFICATION_TYPE",Fe:"NO_ATTR",Pj:"SECURITY_REALM",values:function(){return[he.Fe,he.Pi,he.Oi,he.Pj,he.Mi,he.wj,he.Vi,he.Wi]}},ie={gj:"DISCHARGED",hj:"EQUALS",qj:"IN",Dj:"NOT_EQUALS",
Ej:"NOT_IN",Gj:"NO_OP",values:function(){return[ie.Gj,ie.hj,ie.Dj,ie.qj,ie.Ej,ie.gj]}},je={vj:"IP",Cj:"NAME",Fe:"NO_ATTR",Nj:"REGION",Qj:"SERVICE",values:function(){return[je.Fe,je.Nj,je.Qj,je.Cj,je.vj]}},ke={zj:"LOG_FAIL_CLOSED",Aj:"LOG_MODE_UNSPECIFIED",values:function(){return[ke.Aj,ke.zj]}},le={Ti:"CLASSIFIER",aj:"DATA_MAPPING_SERVICE",kj:"FOLDER",oj:"IMAGE",pj:"IMAGE_COLLECTION",Uj:"TABLE",Vj:"TYPE_UNSPECIFIED",values:function(){return[le.Vj,le.oj,le.pj,le.Uj,le.kj,le.Ti,le.aj]}},me={Eb:"AUTO_JPEG_PNG",
Fb:"GEO_TIFF",Gb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Hb:"JPEG",Ib:"MULTI_BAND_IMAGE_TILE",Jb:"NPY",Kb:"PNG",Lb:"TF_RECORD_IMAGE",Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[me.Gb,me.Hb,me.Kb,me.Eb,me.Jb,me.Fb,me.Lb,me.Ib,me.Mb,me.Nb]}},ne={ak:"V1",bk:"V2",ck:"VERSION_UNSPECIFIED",values:function(){return[ne.ck,ne.ak,ne.bk]}},oe={Eb:"AUTO_JPEG_PNG",Fb:"GEO_TIFF",Gb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Hb:"JPEG",Ib:"MULTI_BAND_IMAGE_TILE",Jb:"NPY",Kb:"PNG",Lb:"TF_RECORD_IMAGE",
Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[oe.Gb,oe.Hb,oe.Kb,oe.Eb,oe.Jb,oe.Fb,oe.Lb,oe.Ib,oe.Mb,oe.Nb]}},pe={nj:"HORIZONTAL",Hj:"ORIENTATION_UNSPECIFIED",dk:"VERTICAL",values:function(){return[pe.Hj,pe.nj,pe.dk]}},qe={ye:"DEFAULT_OBJECT_ACL",Jc:"PUBLIC",Je:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[qe.Je,qe.Jc,qe.ye]}},re={MAX:"MAX",gb:"MEAN",hb:"MEDIAN",MIN:"MIN",ib:"MODE",jb:"PYRAMIDING_POLICY_UNSPECIFIED",kb:"SAMPLE",values:function(){return[re.jb,
re.gb,re.kb,re.MIN,re.MAX,re.ib,re.hb]}},se={MAX:"MAX",gb:"MEAN",hb:"MEDIAN",MIN:"MIN",ib:"MODE",jb:"PYRAMIDING_POLICY_UNSPECIFIED",kb:"SAMPLE",values:function(){return[se.jb,se.gb,se.kb,se.MIN,se.MAX,se.ib,se.hb]}},te={MAX:"MAX",gb:"MEAN",hb:"MEDIAN",MIN:"MIN",ib:"MODE",jb:"PYRAMIDING_POLICY_UNSPECIFIED",kb:"SAMPLE",values:function(){return[te.jb,te.gb,te.kb,te.MIN,te.MAX,te.ib,te.hb]}},ue={Eb:"AUTO_JPEG_PNG",Fb:"GEO_TIFF",Gb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Hb:"JPEG",Ib:"MULTI_BAND_IMAGE_TILE",Jb:"NPY",
Kb:"PNG",Lb:"TF_RECORD_IMAGE",Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ue.Gb,ue.Hb,ue.Kb,ue.Eb,ue.Jb,ue.Fb,ue.Lb,ue.Ib,ue.Mb,ue.Nb]}},ve={MAX:"MAX",gb:"MEAN",hb:"MEDIAN",MIN:"MIN",ib:"MODE",jb:"PYRAMIDING_POLICY_UNSPECIFIED",kb:"SAMPLE",values:function(){return[ve.jb,ve.gb,ve.kb,ve.MIN,ve.MAX,ve.ib,ve.hb]}},we={Qi:"CANCELLED",Ri:"CANCELLING",jj:"FAILED",Ij:"PENDING",Oj:"RUNNING",Rj:"STATE_UNSPECIFIED",Tj:"SUCCEEDED",values:function(){return[we.Rj,we.Ij,we.Oj,we.Ri,
we.Tj,we.Qi,we.jj]}},xe={ze:"DOUBLE",FLOAT:"FLOAT",INT:"INT",Lj:"PRECISION_UNSPECIFIED",values:function(){return[xe.Lj,xe.INT,xe.FLOAT,xe.ze]}},ye={Ni:"ASCENDING",ej:"DESCENDING",fj:"DIRECTION_UNSPECIFIED",values:function(){return[ye.fj,ye.Ni,ye.ej]}},ze={Ki:"ALLOW",Li:"ALLOW_WITH_LOG",cj:"DENY",dj:"DENY_WITH_LOG",yj:"LOG",Fj:"NO_ACTION",values:function(){return[ze.Fj,ze.Ki,ze.Li,ze.cj,ze.dj,ze.yj]}},Ae={ve:"CSV",Ae:"GEO_JSON",Ce:"KML",De:"KMZ",Ge:"SHP",He:"TABLE_FILE_FORMAT_UNSPECIFIED",Ie:"TF_RECORD_TABLE",
values:function(){return[Ae.He,Ae.ve,Ae.Ae,Ae.Ce,Ae.De,Ae.Ge,Ae.Ie]}},Be={ve:"CSV",Ae:"GEO_JSON",Ce:"KML",De:"KMZ",Ge:"SHP",He:"TABLE_FILE_FORMAT_UNSPECIFIED",Ie:"TF_RECORD_TABLE",values:function(){return[Be.He,Be.ve,Be.Ae,Be.Ce,Be.De,Be.Ge,Be.Ie]}},Ce={Xi:"CSV_COLUMN_DATA_TYPE_NUMERIC",Yi:"CSV_COLUMN_DATA_TYPE_STRING",Zi:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[Ce.Zi,Ce.Yi,Ce.Xi]}},De={lj:"GLOBALLY_CONSISTENT",mj:"HIGHER_DENSITY",Zj:"UNKNOWN_THINNING_STRATEGY",values:function(){return[De.Zj,
De.lj,De.mj]}},Ee={Eb:"AUTO_JPEG_PNG",Fb:"GEO_TIFF",Gb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Hb:"JPEG",Ib:"MULTI_BAND_IMAGE_TILE",Jb:"NPY",Kb:"PNG",Lb:"TF_RECORD_IMAGE",Mb:"ZIPPED_GEO_TIFF",Nb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ee.Gb,Ee.Hb,Ee.Kb,Ee.Eb,Ee.Jb,Ee.Fb,Ee.Lb,Ee.Ib,Ee.Mb,Ee.Nb]}},Fe={MAX:"MAX",gb:"MEAN",hb:"MEDIAN",MIN:"MIN",ib:"MODE",jb:"PYRAMIDING_POLICY_UNSPECIFIED",kb:"SAMPLE",values:function(){return[Fe.jb,Fe.gb,Fe.kb,Fe.MIN,Fe.MAX,Fe.ib,Fe.hb]}},Ge={bj:"DATA_TYPE_UNSPECIFIED",
ze:"DOUBLE",FLOAT:"FLOAT",rj:"INT16",sj:"INT32",tj:"INT8",Wj:"UINT16",Xj:"UINT32",Yj:"UINT8",values:function(){return[Ge.bj,Ge.tj,Ge.Yj,Ge.rj,Ge.Wj,Ge.sj,Ge.Xj,Ge.FLOAT,Ge.ze]}},He={Be:"GIF",Ee:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[He.Ke,He.Ee,He.Be,He.Le]}},Ie={Be:"GIF",Ee:"MP4",Ke:"VIDEO_FILE_FORMAT_UNSPECIFIED",Le:"VP9",values:function(){return[Ie.Ke,Ie.Ee,Ie.Be,Ie.Le]}},Je=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.Yf?null:a.Yf;this.h.shearX=
null==a.cg?null:a.cg;this.h.translateX=null==a.tg?null:a.tg;this.h.shearY=null==a.dg?null:a.dg;this.h.scaleY=null==a.Zf?null:a.Zf;this.h.translateY=null==a.ug?null:a.ug};q(Je,A);Je.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
k.Object.defineProperties(Je.prototype,{Yf:{configurable:!0,enumerable:!0,get:function(){return E(this,"scaleX")?C(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},Zf:{configurable:!0,enumerable:!0,get:function(){return E(this,"scaleY")?C(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},cg:{configurable:!0,enumerable:!0,get:function(){return E(this,"shearX")?C(this,"shearX"):null},set:function(a){this.h.shearX=a}},dg:{configurable:!0,enumerable:!0,get:function(){return E(this,"shearY")?
C(this,"shearY"):null},set:function(a){this.h.shearY=a}},tg:{configurable:!0,enumerable:!0,get:function(){return E(this,"translateX")?C(this,"translateX"):null},set:function(a){this.h.translateX=a}},ug:{configurable:!0,enumerable:!0,get:function(){return E(this,"translateY")?C(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
var Ke=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.description=null==a.description?null:a.description;this.h.returnType=null==a.Xf?null:a.Xf;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.$e?null:a.$e;this.h.hidden=null==a.hidden?null:a.hidden;this.h.preview=null==a.preview?null:a.preview;this.h.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Ke,A);
Ke.prototype.i=function(){return{O:{arguments:Le},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
k.Object.defineProperties(Ke.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return E(this,"arguments")?C(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return E(this,"deprecated")?C(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},$e:{configurable:!0,enumerable:!0,get:function(){return E(this,"deprecationReason")?C(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return E(this,"hidden")?C(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return E(this,"preview")?C(this,"preview"):null},set:function(a){this.h.preview=
a}},Xf:{configurable:!0,enumerable:!0,get:function(){return E(this,"returnType")?C(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return E(this,"sourceCodeUri")?C(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
var Le=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.wd?null:a.wd;this.h.type=null==a.type?null:a.type;this.h.description=null==a.description?null:a.description;this.h.optional=null==a.optional?null:a.optional;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue};q(Le,A);Le.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
k.Object.defineProperties(Le.prototype,{wd:{configurable:!0,enumerable:!0,get:function(){return E(this,"argumentName")?C(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return E(this,"defaultValue")?C(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
enumerable:!0,get:function(){return E(this,"optional")?C(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return E(this,"type")?C(this,"type"):null},set:function(a){this.h.type=a}}});var Me=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Me,A);Me.prototype.i=function(){return{O:{values:Ne},keys:["values"]}};
k.Object.defineProperties(Me.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(this,"values"):null},set:function(a){this.h.values=a}}});var Oe=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.li?null:a.li;this.h.exemptedMembers=null==a.Rc?null:a.Rc;this.h.auditLogConfigs=null==a.Gg?null:a.Gg};q(Oe,A);Oe.prototype.i=function(){return{O:{auditLogConfigs:Pe},keys:["auditLogConfigs","exemptedMembers","service"]}};
k.Object.defineProperties(Oe.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return E(this,"auditLogConfigs")?C(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},Rc:{configurable:!0,enumerable:!0,get:function(){return E(this,"exemptedMembers")?C(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},li:{configurable:!0,enumerable:!0,get:function(){return E(this,"service")?C(this,"service"):null},set:function(a){this.h.service=a}}});
var Pe=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Ph?null:a.Ph;this.h.exemptedMembers=null==a.Rc?null:a.Rc;this.h.ignoreChildExemptions=null==a.Ch?null:a.Ch};q(Pe,A);Pe.prototype.i=function(){return{J:{logType:be},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
k.Object.defineProperties(Pe.prototype,{Rc:{configurable:!0,enumerable:!0,get:function(){return E(this,"exemptedMembers")?C(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return E(this,"ignoreChildExemptions")?C(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Ph:{configurable:!0,enumerable:!0,get:function(){return E(this,"logType")?C(this,"logType"):null},set:function(a){this.h.logType=
a}}});var Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.ai?null:a.ai};q(Qe,A);Qe.prototype.i=function(){return{J:{permissionType:ce},keys:["permissionType"]}};k.Object.defineProperties(Qe.prototype,{ai:{configurable:!0,enumerable:!0,get:function(){return E(this,"permissionType")?C(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
var Re=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.Dc?null:a.Dc;this.h.members=null==a.ac?null:a.ac;this.h.condition=null==a.Ug?null:a.Ug;this.h.bindingId=null==a.Jg?null:a.Jg};q(Re,A);Re.prototype.i=function(){return{keys:["bindingId","condition","members","role"],s:{condition:Se}}};
k.Object.defineProperties(Re.prototype,{Jg:{configurable:!0,enumerable:!0,get:function(){return E(this,"bindingId")?C(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return E(this,"condition")?C(this,"condition"):null},set:function(a){this.h.condition=a}},ac:{configurable:!0,enumerable:!0,get:function(){return E(this,"members")?C(this,"members"):null},set:function(a){this.h.members=a}},Dc:{configurable:!0,enumerable:!0,get:function(){return E(this,
"role")?C(this,"role"):null},set:function(a){this.h.role=a}}});var Te=function(){this.h={}};q(Te,A);Te.prototype.i=function(){return{keys:[]}};var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Pg?null:a.Pg};q(Ue,A);Ue.prototype.i=function(){return{J:{capabilities:de},keys:["capabilities"]}};
k.Object.defineProperties(Ue.prototype,{Pg:{configurable:!0,enumerable:!0,get:function(){return E(this,"capabilities")?C(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka};q(Ve,A);Ve.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:We}}};
k.Object.defineProperties(Ve.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return E(this,"earthEngineDestination")?C(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Xe=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Oh?null:a.Oh;this.h.authorizationLoggingOptions=null==a.Hg?null:a.Hg};q(Xe,A);Xe.prototype.i=function(){return{J:{logName:fe},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:Qe}}};
k.Object.defineProperties(Xe.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return E(this,"authorizationLoggingOptions")?C(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Oh:{configurable:!0,enumerable:!0,get:function(){return E(this,"logName")?C(this,"logName"):null},set:function(a){this.h.logName=a}}});
var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.nc?null:a.nc;this.h.filenamePrefix=null==a.fa?null:a.fa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.oc?null:a.oc};q(Ye,A);Ye.prototype.i=function(){return{J:{permissions:ge},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
k.Object.defineProperties(Ye.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return E(this,"bucket")?C(this,"bucket"):null},set:function(a){this.h.bucket=a}},oc:{configurable:!0,enumerable:!0,get:function(){return E(this,"bucketCorsUris")?C(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},fa:{configurable:!0,enumerable:!0,get:function(){return E(this,"filenamePrefix")?C(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
enumerable:!0,get:function(){return E(this,"permissions")?C(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(Ye,{Permissions:{configurable:!0,enumerable:!0,get:function(){return ge}}});var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za};q(Ze,A);Ze.prototype.i=function(){return{keys:["uris"]}};
k.Object.defineProperties(Ze.prototype,{za:{configurable:!0,enumerable:!0,get:function(){return E(this,"uris")?C(this,"uris"):null},set:function(a){this.h.uris=a}}});var $e=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l};q($e,A);$e.prototype.i=function(){return{keys:["expression"],s:{expression:af}}};
k.Object.defineProperties($e.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}}});var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(bf,A);bf.prototype.i=function(){return{keys:["result"]}};
k.Object.defineProperties(bf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return E(this,"result")?C(this,"result"):null},set:function(a){this.h.result=a}}});var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Ah?null:a.Ah;this.h.sys=null==a.wi?null:a.wi;this.h.svc=null==a.vi?null:a.vi;this.h.op=null==a.Zh?null:a.Zh;this.h.values=null==a.values?null:a.values};q(cf,A);cf.prototype.i=function(){return{J:{iam:he,op:ie,sys:je},keys:["iam","op","svc","sys","values"]}};
k.Object.defineProperties(cf.prototype,{Ah:{configurable:!0,enumerable:!0,get:function(){return E(this,"iam")?C(this,"iam"):null},set:function(a){this.h.iam=a}},Zh:{configurable:!0,enumerable:!0,get:function(){return E(this,"op")?C(this,"op"):null},set:function(a){this.h.op=a}},vi:{configurable:!0,enumerable:!0,get:function(){return E(this,"svc")?C(this,"svc"):null},set:function(a){this.h.svc=a}},wi:{configurable:!0,enumerable:!0,get:function(){return E(this,"sys")?C(this,"sys"):null},set:function(a){this.h.sys=
a}},values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(this,"values"):null},set:function(a){this.h.values=a}}});var df=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Tb?null:a.Tb;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ca?null:a.ca};q(df,A);df.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
k.Object.defineProperties(df.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Tb:{configurable:!0,enumerable:!0,get:function(){return E(this,"destinationName")?C(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return E(this,"overwrite")?C(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
var ef=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Rh?null:a.Rh;this.h.field=null==a.oh?null:a.oh;this.h.customFields=null==a.eh?null:a.eh};q(ef,A);ef.prototype.i=function(){return{O:{customFields:ff},keys:["customFields","field","metric"]}};
k.Object.defineProperties(ef.prototype,{eh:{configurable:!0,enumerable:!0,get:function(){return E(this,"customFields")?C(this,"customFields"):null},set:function(a){this.h.customFields=a}},oh:{configurable:!0,enumerable:!0,get:function(){return E(this,"field")?C(this,"field"):null},set:function(a){this.h.field=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return E(this,"metric")?C(this,"metric"):null},set:function(a){this.h.metric=a}}});
var ff=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.value=null==a.value?null:a.value};q(ff,A);ff.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(ff.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return E(this,"value")?C(this,"value"):null},set:function(a){this.h.value=a}}});
var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Qb?null:a.Qb;this.h.dmsName=null==a.Ub?null:a.Ub;this.h.name=null==a.name?null:a.name;this.h.visualizationOptions=null==a.eb?null:a.eb;this.h.visualizationExpression=null==a.wg?null:a.wg};q(gf,A);gf.prototype.i=function(){return{keys:["asset","dmsName","name","visualizationExpression","visualizationOptions"],s:{visualizationExpression:af}}};
k.Object.defineProperties(gf.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return E(this,"asset")?C(this,"asset"):null},set:function(a){this.h.asset=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return E(this,"dmsName")?C(this,"dmsName"):null},set:function(a){this.h.dmsName=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}},wg:{configurable:!0,enumerable:!0,get:function(){return E(this,"visualizationExpression")?
C(this,"visualizationExpression"):null},set:function(a){this.h.visualizationExpression=a}},eb:{configurable:!0,enumerable:!0,get:function(){return E(this,"visualizationOptions")?C(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Nh?null:a.Nh};q(hf,A);hf.prototype.i=function(){return{J:{logMode:ke},keys:["logMode"]}};
k.Object.defineProperties(hf.prototype,{Nh:{configurable:!0,enumerable:!0,get:function(){return E(this,"logMode")?C(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(jf,A);jf.prototype.i=function(){return{keys:["values"],wa:{values:{da:Ne,ia:!1,ja:!0,ka:!1}}}};
k.Object.defineProperties(jf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(this,"values"):null},set:function(a){this.h.values=a}}});var kf=function(a){a=void 0===a?{}:a;this.h={};this.h.dmsDestination=null==a.bf?null:a.bf;this.h.ingestionTimeParameters=null==a.vc?null:a.vc};q(kf,A);kf.prototype.i=function(){return{keys:["dmsDestination","ingestionTimeParameters"],s:{dmsDestination:lf,ingestionTimeParameters:mf}}};
k.Object.defineProperties(kf.prototype,{bf:{configurable:!0,enumerable:!0,get:function(){return E(this,"dmsDestination")?C(this,"dmsDestination"):null},set:function(a){this.h.dmsDestination=a}},vc:{configurable:!0,enumerable:!0,get:function(){return E(this,"ingestionTimeParameters")?C(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});var lf=function(a){a=void 0===a?{}:a;this.h={};this.h.dmsName=null==a.Ub?null:a.Ub;this.h.assetVersion=null==a.Bg?null:a.Bg};
q(lf,A);lf.prototype.i=function(){return{keys:["assetVersion","dmsName"]}};k.Object.defineProperties(lf.prototype,{Bg:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetVersion")?C(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return E(this,"dmsName")?C(this,"dmsName"):null},set:function(a){this.h.dmsName=a}}});
var mf=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.lg?null:a.lg;this.h.rankingOptions=null==a.Tf?null:a.Tf};q(mf,A);mf.prototype.i=function(){return{keys:["rankingOptions","thinningOptions"],s:{rankingOptions:nf,thinningOptions:of}}};
k.Object.defineProperties(mf.prototype,{Tf:{configurable:!0,enumerable:!0,get:function(){return E(this,"rankingOptions")?C(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},lg:{configurable:!0,enumerable:!0,get:function(){return E(this,"thinningOptions")?C(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=a}}});var pf=function(a){a=void 0===a?{}:a;this.h={};this.h.location=null==a.location?null:a.location;this.h.dmsAssetOptions=null==a.lh?null:a.lh};q(pf,A);
pf.prototype.i=function(){return{keys:["dmsAssetOptions","location"],s:{dmsAssetOptions:qf}}};k.Object.defineProperties(pf.prototype,{lh:{configurable:!0,enumerable:!0,get:function(){return E(this,"dmsAssetOptions")?C(this,"dmsAssetOptions"):null},set:function(a){this.h.dmsAssetOptions=a}},location:{configurable:!0,enumerable:!0,get:function(){return E(this,"location")?C(this,"location"):null},set:function(a){this.h.location=a}}});
var qf=function(a){a=void 0===a?{}:a;this.h={};this.h.attributes=null==a.attributes?null:a.attributes;this.h.ingestionTimeParameters=null==a.vc?null:a.vc};q(qf,A);qf.prototype.i=function(){return{keys:["attributes","ingestionTimeParameters"],s:{ingestionTimeParameters:mf}}};
k.Object.defineProperties(qf.prototype,{attributes:{configurable:!0,enumerable:!0,get:function(){return E(this,"attributes")?C(this,"attributes"):null},set:function(a){this.h.attributes=a}},vc:{configurable:!0,enumerable:!0,get:function(){return E(this,"ingestionTimeParameters")?C(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});var rf=function(a){a=void 0===a?{}:a;this.h={};this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(rf,A);
rf.prototype.i=function(){return{keys:["max","min"]}};k.Object.defineProperties(rf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return E(this,"max")?C(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return E(this,"min")?C(this,"min"):null},set:function(a){this.h.min=a}}});var sf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.kf?null:a.kf;this.h.filenamePrefix=null==a.fa?null:a.fa};q(sf,A);
sf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};k.Object.defineProperties(sf.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return E(this,"filenamePrefix")?C(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},kf:{configurable:!0,enumerable:!0,get:function(){return E(this,"folder")?C(this,"folder"):null},set:function(a){this.h.folder=a}}});
var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.Ai?null:a.Ai;this.h.cloudStorageLocation=null==a.Sg?null:a.Sg;this.h.tilestoreEntry=null==a.zi?null:a.zi;this.h.gcsLocation=null==a.wh?null:a.wh;this.h.dmsAssetLocation=null==a.dmsAssetLocation?null:a.dmsAssetLocation;this.h.type=null==a.type?null:a.type;this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Sa?null:a.Sa;this.h.title=null==a.title?null:a.title;this.h.description=
null==a.description?null:a.description;this.h.properties=null==a.properties?null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.quota=null==a.quota?null:a.quota;this.h.expression=null==a.l?null:a.l};q(tf,A);
tf.prototype.i=function(){return{O:{bands:uf},J:{type:le},keys:"bands cloudStorageLocation description dmsAssetLocation endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry tilestoreLocation title type updateTime".split(" "),wa:{geometry:{da:null,ia:!1,ja:!1,ka:!1},properties:{da:null,ia:!1,ja:!1,ka:!1}},s:{cloudStorageLocation:Ze,dmsAssetLocation:pf,expression:af,gcsLocation:vf,quota:wf,tilestoreEntry:xf,tilestoreLocation:yf}}};
k.Object.defineProperties(tf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return E(this,"bands")?C(this,"bands"):null},set:function(a){this.h.bands=a}},Sg:{configurable:!0,enumerable:!0,get:function(){return E(this,"cloudStorageLocation")?C(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},dmsAssetLocation:{configurable:!0,
enumerable:!0,get:function(){return E(this,"dmsAssetLocation")?C(this,"dmsAssetLocation"):null},set:function(a){this.h.dmsAssetLocation=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},wh:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsLocation")?C(this,
"gcsLocation"):null},set:function(a){this.h.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return E(this,"geometry")?C(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,
"properties")?C(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return E(this,"quota")?C(this,"quota"):null},set:function(a){this.h.quota=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return E(this,"sizeBytes")?C(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.h.startTime=a}},zi:{configurable:!0,
enumerable:!0,get:function(){return E(this,"tilestoreEntry")?C(this,"tilestoreEntry"):null},set:function(a){this.h.tilestoreEntry=a}},Ai:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilestoreLocation")?C(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},title:{configurable:!0,enumerable:!0,get:function(){return E(this,"title")?C(this,"title"):null},set:function(a){this.h.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return E(this,"type")?C(this,
"type"):null},set:function(a){this.h.type=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateTime")?C(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var We=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name};q(We,A);We.prototype.i=function(){return{keys:["name"]}};k.Object.defineProperties(We.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}}});
var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.ca?null:a.ca;this.h.visualizationOptions=null==a.eb?null:a.eb};q(zf,A);zf.prototype.i=function(){return{J:{fileFormat:me},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:af,visualizationOptions:Af}}};
k.Object.defineProperties(zf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
"name")?C(this,"name"):null},set:function(a){this.h.name=a}},eb:{configurable:!0,enumerable:!0,get:function(){return E(this,"visualizationOptions")?C(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var Bf=function(){this.h={}};q(Bf,A);Bf.prototype.i=function(){return{keys:[]}};
var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.requestId=null==a.requestId?null:a.requestId;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.maxWorkers=null==a.X?null:a.X;this.h.maxWorkerCount=null==a.R?null:a.R};q(Cf,A);Cf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkerCount maxWorkers requestId".split(" "),s:{assetExportOptions:Ve,expression:af}}};
k.Object.defineProperties(Cf.prototype,{ta:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetExportOptions")?C(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},
R:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},X:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkers")?C(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.h.requestId=a}}});
var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.qa?null:a.qa;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.If?null:a.If;this.h.grid=null==a.L?null:a.L;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.X?null:a.X;this.h.maxWorkerCount=null==a.R?null:a.R};q(Df,A);
Df.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount maxWorkers requestId".split(" "),s:{assetExportOptions:Ef,expression:af,fileExportOptions:Ff,grid:Gf}}};
k.Object.defineProperties(Df.prototype,{ta:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetExportOptions")?C(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},
qa:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileExportOptions")?C(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},L:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.h.grid=a}},If:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxPixels")?C(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},R:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?
C(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},X:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkers")?C(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.h.requestId=a}}});
var Hf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.tileOptions=null==a.hc?null:a.hc;this.h.tileExportOptions=null==a.fc?null:a.fc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.X?null:a.X;this.h.maxWorkerCount=null==a.R?null:a.R};q(Hf,A);
Hf.prototype.i=function(){return{keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions".split(" "),s:{expression:af,tileExportOptions:Ff,tileOptions:If}}};
k.Object.defineProperties(Hf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},R:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},X:{configurable:!0,
enumerable:!0,get:function(){return E(this,"maxWorkers")?C(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.h.requestId=a}},fc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileExportOptions")?C(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},hc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileOptions")?
C(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}}});
var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.qa?null:a.qa;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.dmsExportOptions=null==a.Dd?null:a.Dd;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.selectors=null==a.selectors?null:a.selectors;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxErrorMeters=null==a.Zb?null:a.Zb;this.h.maxWorkers=null==a.X?null:a.X;this.h.maxWorkerCount=null==a.R?null:
a.R;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices};q(Jf,A);Jf.prototype.i=function(){return{keys:"assetExportOptions description dmsExportOptions expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount maxWorkers requestId selectors".split(" "),s:{assetExportOptions:Kf,dmsExportOptions:kf,expression:af,fileExportOptions:Lf}}};
k.Object.defineProperties(Jf.prototype,{ta:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetExportOptions")?C(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},Dd:{configurable:!0,enumerable:!0,get:function(){return E(this,"dmsExportOptions")?C(this,"dmsExportOptions"):null},set:function(a){this.h.dmsExportOptions=
a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},qa:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileExportOptions")?C(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxErrorMeters")?C(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,
get:function(){return E(this,"maxVertices")?C(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},R:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},X:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkers")?C(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):
null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return E(this,"selectors")?C(this,"selectors"):null},set:function(a){this.h.selectors=a}}});
var Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Ua?null:a.Ua;this.h.tileOptions=null==a.hc?null:a.hc;this.h.tileExportOptions=null==a.fc?null:a.fc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.version=null==a.version?null:a.version;this.h.maxWorkers=null==a.X?null:a.X;this.h.maxWorkerCount=null==a.R?null:a.R};q(Mf,A);
Mf.prototype.i=function(){return{J:{version:ne},keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions version videoOptions".split(" "),s:{expression:af,tileExportOptions:Nf,tileOptions:If,videoOptions:Of}}};
k.Object.defineProperties(Mf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},R:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},X:{configurable:!0,
enumerable:!0,get:function(){return E(this,"maxWorkers")?C(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.h.requestId=a}},fc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileExportOptions")?C(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},hc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileOptions")?
C(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return E(this,"version")?C(this,"version"):null},set:function(a){this.h.version=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return E(this,"videoOptions")?C(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});
var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Ua?null:a.Ua;this.h.fileExportOptions=null==a.qa?null:a.qa;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.X?null:a.X;this.h.maxWorkerCount=null==a.R?null:a.R};q(Pf,A);
Pf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkerCount maxWorkers requestId videoOptions".split(" "),s:{expression:af,fileExportOptions:Nf,videoOptions:Of}}};
k.Object.defineProperties(Pf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},qa:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileExportOptions")?C(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},R:{configurable:!0,
enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},X:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkers")?C(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.h.requestId=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return E(this,"videoOptions")?C(this,
"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Se=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.location=null==a.location?null:a.location};q(Se,A);Se.prototype.i=function(){return{keys:["description","expression","location","title"]}};
k.Object.defineProperties(Se.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return E(this,"location")?C(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
get:function(){return E(this,"title")?C(this,"title"):null},set:function(a){this.h.title=a}}});var af=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values;this.h.result=null==a.result?null:a.result};q(af,A);af.prototype.i=function(){return{keys:["result","values"],wa:{values:{da:Ne,ia:!1,ja:!0,ka:!1}}}};
k.Object.defineProperties(af.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return E(this,"result")?C(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(this,"values"):null},set:function(a){this.h.values=a}}});
var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.orientation=null==a.orientation?null:a.orientation;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.L?null:a.L};q(Qf,A);Qf.prototype.i=function(){return{J:{fileFormat:oe,orientation:pe},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:af,grid:Gf}}};
k.Object.defineProperties(Qf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},L:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
"name")?C(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return E(this,"orientation")?C(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.maxSizeBytes=null==a.$b?null:a.$b;this.h.assetCount=null==a.Oe?null:a.Oe;this.h.maxAssets=null==a.Qh?null:a.Qh;this.h.maxAssetCount=null==a.Ff?null:a.Ff};q(wf,A);
wf.prototype.i=function(){return{keys:["assetCount","maxAssetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
k.Object.defineProperties(wf.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetCount")?C(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Ff:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxAssetCount")?C(this,"maxAssetCount"):null},set:function(a){this.h.maxAssetCount=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxAssets")?C(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},$b:{configurable:!0,enumerable:!0,
get:function(){return E(this,"maxSizeBytes")?C(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return E(this,"sizeBytes")?C(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.mc?null:a.mc;this.h.body=null==a.body?null:a.body};q(Rf,A);Rf.prototype.i=function(){return{keys:["argumentNames","body"]}};
k.Object.defineProperties(Rf.prototype,{mc:{configurable:!0,enumerable:!0,get:function(){return E(this,"argumentNames")?C(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return E(this,"body")?C(this,"body"):null},set:function(a){this.h.body=a}}});
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.$a?null:a.$a;this.h.arguments=null==a.arguments?null:a.arguments};q(Sf,A);Sf.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],wa:{arguments:{da:Ne,ia:!1,ja:!0,ka:!1}}}};
k.Object.defineProperties(Sf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return E(this,"arguments")?C(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return E(this,"functionName")?C(this,"functionName"):null},set:function(a){this.h.functionName=a}},$a:{configurable:!0,enumerable:!0,get:function(){return E(this,"functionReference")?C(this,"functionReference"):null},set:function(a){this.h.functionReference=
a}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.nc?null:a.nc;this.h.filenamePrefix=null==a.fa?null:a.fa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.oc?null:a.oc};q(Tf,A);Tf.prototype.i=function(){return{J:{permissions:qe},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
k.Object.defineProperties(Tf.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return E(this,"bucket")?C(this,"bucket"):null},set:function(a){this.h.bucket=a}},oc:{configurable:!0,enumerable:!0,get:function(){return E(this,"bucketCorsUris")?C(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},fa:{configurable:!0,enumerable:!0,get:function(){return E(this,"filenamePrefix")?C(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
enumerable:!0,get:function(){return E(this,"permissions")?C(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(Tf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return qe}}});var vf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za};q(vf,A);vf.prototype.i=function(){return{keys:["uris"]}};
k.Object.defineProperties(vf.prototype,{za:{configurable:!0,enumerable:!0,get:function(){return E(this,"uris")?C(this,"uris"):null},set:function(a){this.h.uris=a}}});var Uf=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Re?null:a.Re;this.h.tileDimensions=null==a.Ra?null:a.Ra;this.h.skipEmptyFiles=null==a.fg?null:a.fg;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Uf,A);
Uf.prototype.i=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions","tileSize"],s:{tileDimensions:Vf}}};
k.Object.defineProperties(Uf.prototype,{Re:{configurable:!0,enumerable:!0,get:function(){return E(this,"cloudOptimized")?C(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},fg:{configurable:!0,enumerable:!0,get:function(){return E(this,"skipEmptyFiles")?C(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},Ra:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileDimensions")?C(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},
tileSize:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileSize")?C(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(Wf,A);Wf.prototype.i=function(){return{keys:["options"],s:{options:Xf}}};k.Object.defineProperties(Wf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return E(this,"options")?C(this,"options"):null},set:function(a){this.h.options=a}}});
var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.gi?null:a.gi};q(Xf,A);Xf.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};k.Object.defineProperties(Xf.prototype,{gi:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestedPolicyVersion")?C(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});
var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.width=null==a.width?null:a.width;this.h.height=null==a.height?null:a.height};q(Vf,A);Vf.prototype.i=function(){return{keys:["height","width"]}};k.Object.defineProperties(Vf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return E(this,"height")?C(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return E(this,"width")?C(this,"width"):null},set:function(a){this.h.width=a}}});
var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.x=null==a.x?null:a.x;this.h.y=null==a.y?null:a.y};q(Yf,A);Yf.prototype.i=function(){return{keys:["x","y"]}};k.Object.defineProperties(Yf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return E(this,"x")?C(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return E(this,"y")?C(this,"y"):null},set:function(a){this.h.y=a}}});
var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Sa?null:a.Sa;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.properties=null==a.properties?null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=
null==a.Fa?null:a.Fa};q(Zf,A);Zf.prototype.i=function(){return{O:{bands:uf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),wa:{geometry:{da:null,ia:!1,ja:!1,ka:!1},properties:{da:null,ia:!1,ja:!1,ka:!1}}}};
k.Object.defineProperties(Zf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return E(this,"bands")?C(this,"bands"):null},set:function(a){this.h.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.h.endTime=a}},geometry:{configurable:!0,enumerable:!0,
get:function(){return E(this,"geometry")?C(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,"properties")?C(this,"properties"):null},set:function(a){this.h.properties=a}},Fa:{configurable:!0,
enumerable:!0,get:function(){return E(this,"sizeBytes")?C(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.h.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return E(this,"title")?C(this,"title"):null},set:function(a){this.h.title=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateTime")?C(this,"updateTime"):null},set:function(a){this.h.updateTime=
a}}});var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Qf?null:a.Qf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Ef,A);
Ef.prototype.i=function(){return{J:{pyramidingPolicy:re,pyramidingPolicyOverrides:se},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],wa:{pyramidingPolicyOverrides:{da:null,ia:!1,ja:!1,ka:!1}},s:{earthEngineDestination:We}}};
k.Object.defineProperties(Ef.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return E(this,"earthEngineDestination")?C(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Qf:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicyOverrides")?C(this,"pyramidingPolicyOverrides"):
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileSize")?C(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
var uf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.dataType=null==a.dataType?null:a.dataType;this.h.grid=null==a.L?null:a.L;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData};q(uf,A);
uf.prototype.i=function(){return{O:{tilesets:$f},J:{pyramidingPolicy:te},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),s:{dataType:ag,grid:Gf,missingData:bg}}};
k.Object.defineProperties(uf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return E(this,"dataType")?C(this,"dataType"):null},set:function(a){this.h.dataType=a}},L:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return E(this,"missingData")?
C(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesets")?C(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});
var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.oa?null:a.oa;this.h.cloudStorageDestination=null==a.ub?null:a.ub;this.h.gcsDestination=null==a.ra?null:a.ra;this.h.geoTiffOptions=null==a.Id?null:a.Id;this.h.tfRecordOptions=null==a.ie?null:a.ie;this.h.fileFormat=null==a.F?null:a.F};q(Ff,A);
Ff.prototype.i=function(){return{J:{fileFormat:ue},keys:"cloudStorageDestination driveDestination fileFormat gcsDestination geoTiffOptions tfRecordOptions".split(" "),s:{cloudStorageDestination:Ye,driveDestination:sf,gcsDestination:Tf,geoTiffOptions:Uf,tfRecordOptions:cg}}};
k.Object.defineProperties(Ff.prototype,{ub:{configurable:!0,enumerable:!0,get:function(){return E(this,"cloudStorageDestination")?C(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},oa:{configurable:!0,enumerable:!0,get:function(){return E(this,"driveDestination")?C(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
a}},ra:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsDestination")?C(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}},Id:{configurable:!0,enumerable:!0,get:function(){return E(this,"geoTiffOptions")?C(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},ie:{configurable:!0,enumerable:!0,get:function(){return E(this,"tfRecordOptions")?C(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.qd?null:a.qd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Ef?null:a.Ef;this.h.footprint=null==a.uh?null:a.uh;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.startTime=null==a.startTime?
null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.minTileAreaRatio=null==a.Th?null:a.Th};q(dg,A);dg.prototype.i=function(){return{O:{bands:eg,maskBands:fg,tilesets:gg},J:{pyramidingPolicy:ve},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),wa:{properties:{da:null,ia:!1,ja:!1,ka:!1}},s:{footprint:hg,missingData:bg}}};
k.Object.defineProperties(dg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return E(this,"bands")?C(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.h.endTime=a}},uh:{configurable:!0,enumerable:!0,get:function(){return E(this,"footprint")?C(this,"footprint"):null},set:function(a){this.h.footprint=a}},Ef:{configurable:!0,enumerable:!0,get:function(){return E(this,
"maskBands")?C(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Th:{configurable:!0,enumerable:!0,get:function(){return E(this,"minTileAreaRatio")?C(this,"minTileAreaRatio"):null},set:function(a){this.h.minTileAreaRatio=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return E(this,"missingData")?C(this,"missingData"):null},set:function(a){this.h.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=
a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,"properties")?C(this,"properties"):null},set:function(a){this.h.properties=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,
get:function(){return E(this,"tilesets")?C(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},qd:{configurable:!0,enumerable:!0,get:function(){return E(this,"uriPrefix")?C(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za;this.h.affineTransform=null==a.Ob?null:a.Ob};q(ig,A);ig.prototype.i=function(){return{keys:["affineTransform","uris"],s:{affineTransform:Je}}};
k.Object.defineProperties(ig.prototype,{Ob:{configurable:!0,enumerable:!0,get:function(){return E(this,"affineTransform")?C(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},za:{configurable:!0,enumerable:!0,get:function(){return E(this,"uris")?C(this,"uris"):null},set:function(a){this.h.uris=a}}});
var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.uf?null:a.uf;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q(jg,A);jg.prototype.i=function(){return{keys:["description","imageManifest","overwrite","requestId"],s:{imageManifest:dg}}};
k.Object.defineProperties(jg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},uf:{configurable:!0,enumerable:!0,get:function(){return E(this,"imageManifest")?C(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return E(this,"overwrite")?C(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,
enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.kg?null:a.kg;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q(kg,A);kg.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:lg}}};
k.Object.defineProperties(kg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return E(this,"overwrite")?C(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.h.requestId=a}},kg:{configurable:!0,
enumerable:!0,get:function(){return E(this,"tableManifest")?C(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var mg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Kc?null:a.Kc};q(mg,A);mg.prototype.i=function(){return{O:{algorithms:Ke},keys:["algorithms"]}};k.Object.defineProperties(mg.prototype,{Kc:{configurable:!0,enumerable:!0,get:function(){return E(this,"algorithms")?C(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.assets=null==a.assets?null:a.assets;this.h.nextPageToken=null==a.bb?null:a.bb};q(ng,A);ng.prototype.i=function(){return{O:{assets:tf},keys:["assets","nextPageToken"]}};
k.Object.defineProperties(ng.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return E(this,"assets")?C(this,"assets"):null},set:function(a){this.h.assets=a}},bb:{configurable:!0,enumerable:!0,get:function(){return E(this,"nextPageToken")?C(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});var og=function(a){a=void 0===a?{}:a;this.h={};this.h.images=null==a.images?null:a.images;this.h.nextPageToken=null==a.bb?null:a.bb};q(og,A);
og.prototype.i=function(){return{O:{images:Zf},keys:["images","nextPageToken"]}};k.Object.defineProperties(og.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return E(this,"images")?C(this,"images"):null},set:function(a){this.h.images=a}},bb:{configurable:!0,enumerable:!0,get:function(){return E(this,"nextPageToken")?C(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Pa?null:a.Pa;this.h.nextPageToken=null==a.bb?null:a.bb};q(pg,A);pg.prototype.i=function(){return{O:{operations:qg},keys:["nextPageToken","operations"]}};
k.Object.defineProperties(pg.prototype,{bb:{configurable:!0,enumerable:!0,get:function(){return E(this,"nextPageToken")?C(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return E(this,"operations")?C(this,"operations"):null},set:function(a){this.h.operations=a}}});
var rg=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.fh?null:a.fh;this.h.cloudAudit=null==a.Rg?null:a.Rg};q(rg,A);rg.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:Xe,counter:ef,dataAccess:hf}}};
k.Object.defineProperties(rg.prototype,{Rg:{configurable:!0,enumerable:!0,get:function(){return E(this,"cloudAudit")?C(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return E(this,"counter")?C(this,"counter"):null},set:function(a){this.h.counter=a}},fh:{configurable:!0,enumerable:!0,get:function(){return E(this,"dataAccess")?C(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
var bg=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(bg,A);bg.prototype.i=function(){return{keys:["values"]}};k.Object.defineProperties(bg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(this,"values"):null},set:function(a){this.h.values=a}}});var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Tb?null:a.Tb};q(sg,A);sg.prototype.i=function(){return{keys:["destinationName"]}};
k.Object.defineProperties(sg.prototype,{Tb:{configurable:!0,enumerable:!0,get:function(){return E(this,"destinationName")?C(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var qg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.metadata=null==a.metadata?null:a.metadata;this.h.done=null==a.done?null:a.done;this.h.error=null==a.error?null:a.error;this.h.response=null==a.response?null:a.response};q(qg,A);
qg.prototype.i=function(){return{keys:["done","error","metadata","name","response"],wa:{metadata:{da:null,ia:!1,ja:!1,ka:!1},response:{da:null,ia:!1,ja:!1,ka:!1}},s:{error:tg}}};
k.Object.defineProperties(qg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return E(this,"done")?C(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return E(this,"error")?C(this,"error"):null},set:function(a){this.h.error=a}},metadata:{configurable:!0,enumerable:!0,get:function(){return E(this,"metadata")?C(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
"name")?C(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return E(this,"response")?C(this,"response"):null},set:function(a){this.h.response=a}}});
var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.state=null==a.state?null:a.state;this.h.description=null==a.description?null:a.description;this.h.type=null==a.type?null:a.type;this.h.priority=null==a.priority?null:a.priority;this.h.createTime=null==a.Ye?null:a.Ye;this.h.updateTime=null==a.Sa?null:a.Sa;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.progress=null==a.progress?null:a.progress;this.h.stages=null==a.pi?null:a.pi;this.h.attempt=
null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.$f?null:a.$f;this.h.destinationUris=null==a.af?null:a.af};q(ug,A);ug.prototype.i=function(){return{O:{stages:vg},J:{state:we},keys:"attempt createTime description destinationUris endTime priority progress scriptUri stages startTime state type updateTime".split(" ")}};
k.Object.defineProperties(ug.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return E(this,"attempt")?C(this,"attempt"):null},set:function(a){this.h.attempt=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return E(this,"createTime")?C(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},af:{configurable:!0,enumerable:!0,
get:function(){return E(this,"destinationUris")?C(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.h.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return E(this,"priority")?C(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return E(this,"progress")?C(this,"progress"):
null},set:function(a){this.h.progress=a}},$f:{configurable:!0,enumerable:!0,get:function(){return E(this,"scriptUri")?C(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},pi:{configurable:!0,enumerable:!0,get:function(){return E(this,"stages")?C(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return E(this,
"state")?C(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return E(this,"type")?C(this,"type"):null},set:function(a){this.h.type=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateTime")?C(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});
var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Tg?null:a.Tg;this.h.totalWorkUnits=null==a.Ci?null:a.Ci;this.h.description=null==a.description?null:a.description};q(vg,A);vg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
k.Object.defineProperties(vg.prototype,{Tg:{configurable:!0,enumerable:!0,get:function(){return E(this,"completeWorkUnits")?C(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return E(this,"displayName")?C(this,"displayName"):null},set:function(a){this.h.displayName=
a}},Ci:{configurable:!0,enumerable:!0,get:function(){return E(this,"totalWorkUnits")?C(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.jd?null:a.jd;this.h.dimensionsCount=null==a.jh?null:a.jh};q(ag,A);ag.prototype.i=function(){return{J:{precision:xe},keys:["dimensionsCount","precision","range"],s:{range:rf}}};
k.Object.defineProperties(ag.prototype,{jh:{configurable:!0,enumerable:!0,get:function(){return E(this,"dimensionsCount")?C(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return E(this,"precision")?C(this,"precision"):null},set:function(a){this.h.precision=a}},jd:{configurable:!0,enumerable:!0,get:function(){return E(this,"range")?C(this,"range"):null},set:function(a){this.h.range=a}}});
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Ig?null:a.Ig};q(hg,A);hg.prototype.i=function(){return{O:{points:Yf},keys:["bandId","points"]}};
k.Object.defineProperties(hg.prototype,{Ig:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandId")?C(this,"bandId"):null},set:function(a){this.h.bandId=a}},points:{configurable:!0,enumerable:!0,get:function(){return E(this,"points")?C(this,"points"):null},set:function(a){this.h.points=a}}});
var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.Ze?null:a.Ze;this.h.crsWkt=null==a.Zg?null:a.Zg;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Ob?null:a.Ob};q(Gf,A);Gf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:Je,dimensions:Vf}}};
k.Object.defineProperties(Gf.prototype,{Ob:{configurable:!0,enumerable:!0,get:function(){return E(this,"affineTransform")?C(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return E(this,"crsCode")?C(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},Zg:{configurable:!0,enumerable:!0,get:function(){return E(this,"crsWkt")?C(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
get:function(){return E(this,"dimensions")?C(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var wg=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.xd?null:a.xd;this.h.auditConfigs=null==a.Fg?null:a.Fg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.df?null:a.df};q(wg,A);wg.prototype.i=function(){return{O:{auditConfigs:Oe,bindings:Re,rules:xg},keys:["auditConfigs","bindings","etag","rules","version"]}};
k.Object.defineProperties(wg.prototype,{Fg:{configurable:!0,enumerable:!0,get:function(){return E(this,"auditConfigs")?C(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},xd:{configurable:!0,enumerable:!0,get:function(){return E(this,"bindings")?C(this,"bindings"):null},set:function(a){this.h.bindings=a}},df:{configurable:!0,enumerable:!0,get:function(){return E(this,"etag")?C(this,"etag"):null},set:function(a){this.h.etag=a}},rules:{configurable:!0,enumerable:!0,get:function(){return E(this,
"rules")?C(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return E(this,"version")?C(this,"version"):null},set:function(a){this.h.version=a}}});var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};q(yg,A);yg.prototype.i=function(){return{keys:["attributeName"]}};
k.Object.defineProperties(yg.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return E(this,"attributeName")?C(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});var zg=function(){this.h={}};q(zg,A);zg.prototype.i=function(){return{keys:[]}};var Ag=function(){this.h={}};q(Ag,A);Ag.prototype.i=function(){return{keys:[]}};var Bg=function(){this.h={}};q(Bg,A);Bg.prototype.i=function(){return{keys:[]}};
var Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.Wd?null:a.Wd;this.h.rankByMinVisibleLodRule=null==a.Yd?null:a.Yd;this.h.rankByGeometryTypeRule=null==a.Xd?null:a.Xd;this.h.rankByNaturalOrderRule=null==a.Zd?null:a.Zd;this.h.direction=null==a.direction?null:a.direction};q(Cg,A);
Cg.prototype.i=function(){return{J:{direction:ye},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByNaturalOrderRule"],s:{rankByAttributeRule:yg,rankByGeometryTypeRule:zg,rankByMinVisibleLodRule:Ag,rankByNaturalOrderRule:Bg}}};
k.Object.defineProperties(Cg.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return E(this,"direction")?C(this,"direction"):null},set:function(a){this.h.direction=a}},Wd:{configurable:!0,enumerable:!0,get:function(){return E(this,"rankByAttributeRule")?C(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},Xd:{configurable:!0,enumerable:!0,get:function(){return E(this,"rankByGeometryTypeRule")?C(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
a}},Yd:{configurable:!0,enumerable:!0,get:function(){return E(this,"rankByMinVisibleLodRule")?C(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},Zd:{configurable:!0,enumerable:!0,get:function(){return E(this,"rankByNaturalOrderRule")?C(this,"rankByNaturalOrderRule"):null},set:function(a){this.h.rankByNaturalOrderRule=a}}});
var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.yg?null:a.yg;this.h.thinningRankingRule=null==a.mg?null:a.mg};q(nf,A);nf.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],s:{thinningRankingRule:Dg,zOrderRankingRule:Dg}}};
k.Object.defineProperties(nf.prototype,{mg:{configurable:!0,enumerable:!0,get:function(){return E(this,"thinningRankingRule")?C(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},yg:{configurable:!0,enumerable:!0,get:function(){return E(this,"zOrderRankingRule")?C(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
var Dg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Sf?null:a.Sf;this.h.pseudoRandomTiebreaking=null==a.Pf?null:a.Pf};q(Dg,A);Dg.prototype.i=function(){return{O:{rankByOneThingRule:Cg},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
k.Object.defineProperties(Dg.prototype,{Pf:{configurable:!0,enumerable:!0,get:function(){return E(this,"pseudoRandomTiebreaking")?C(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return E(this,"rankByOneThingRule")?C(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
var xg=function(a){a=void 0===a?{}:a;this.h={};this.h.description=null==a.description?null:a.description;this.h.permissions=null==a.permissions?null:a.permissions;this.h.action=null==a.action?null:a.action;this.h["in"]=null==a.Eh?null:a.Eh;this.h.notIn=null==a.Uh?null:a.Uh;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Mh?null:a.Mh};q(xg,A);xg.prototype.i=function(){return{O:{conditions:cf,logConfig:rg},J:{action:ze},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
k.Object.defineProperties(xg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return E(this,"action")?C(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return E(this,"conditions")?C(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.h.description=a}},Eh:{configurable:!0,enumerable:!0,
get:function(){return E(this,"in")?C(this,"in"):null},set:function(a){this.h["in"]=a}},Mh:{configurable:!0,enumerable:!0,get:function(){return E(this,"logConfig")?C(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return E(this,"notIn")?C(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return E(this,"permissions")?C(this,"permissions"):null},set:function(a){this.h.permissions=
a}}});var Eg=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.Mf?null:a.Mf;this.h.updateMask=null==a.Hc?null:a.Hc};q(Eg,A);Eg.prototype.i=function(){return{keys:["policy","updateMask"],s:{policy:wg}}};
k.Object.defineProperties(Eg.prototype,{Mf:{configurable:!0,enumerable:!0,get:function(){return E(this,"policy")?C(this,"policy"):null},set:function(a){this.h.policy=a}},Hc:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateMask")?C(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.code=null==a.code?null:a.code;this.h.message=null==a.message?null:a.message;this.h.details=null==a.details?null:a.details};q(tg,A);
tg.prototype.i=function(){return{keys:["code","details","message"],wa:{details:{da:null,ia:!0,ja:!1,ka:!1}}}};
k.Object.defineProperties(tg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return E(this,"code")?C(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return E(this,"details")?C(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return E(this,"message")?C(this,"message"):null},set:function(a){this.h.message=a}}});
var Fg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.selectors=null==a.selectors?null:a.selectors;this.h.filename=null==a.filename?null:a.filename};q(Fg,A);Fg.prototype.i=function(){return{J:{fileFormat:Be},keys:["expression","fileFormat","filename","name","selectors"],s:{expression:af}}};
k.Object.defineProperties(Fg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return E(this,"filename")?C(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
"name")?C(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return E(this,"selectors")?C(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Kf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka};q(Kf,A);Kf.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:We}}};
k.Object.defineProperties(Kf.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return E(this,"earthEngineDestination")?C(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.oa?null:a.oa;this.h.cloudStorageDestination=null==a.ub?null:a.ub;this.h.gcsDestination=null==a.ra?null:a.ra;this.h.fileFormat=null==a.F?null:a.F};q(Lf,A);
Lf.prototype.i=function(){return{J:{fileFormat:Ae},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],s:{cloudStorageDestination:Ye,driveDestination:sf,gcsDestination:Tf}}};
k.Object.defineProperties(Lf.prototype,{ub:{configurable:!0,enumerable:!0,get:function(){return E(this,"cloudStorageDestination")?C(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},oa:{configurable:!0,enumerable:!0,get:function(){return E(this,"driveDestination")?C(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
a}},ra:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsDestination")?C(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.qd?null:a.qd;this.h.sources=null==a.sources?null:a.sources;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime};q(lg,A);
lg.prototype.i=function(){return{O:{sources:Gg},keys:"endTime name properties sources startTime uriPrefix".split(" "),wa:{properties:{da:null,ia:!1,ja:!1,ka:!1}}}};
k.Object.defineProperties(lg.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.h.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,"properties")?C(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return E(this,
"sources")?C(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.h.startTime=a}},qd:{configurable:!0,enumerable:!0,get:function(){return E(this,"uriPrefix")?C(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
var Gg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za;this.h.charset=null==a.charset?null:a.charset;this.h.maxErrorMeters=null==a.Zb?null:a.Zb;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.crs=null==a.crs?null:a.crs;this.h.geodesic=null==a.geodesic?null:a.geodesic;this.h.primaryGeometryColumn=null==a.bi?null:a.bi;this.h.xColumn=null==a.Fi?null:a.Fi;this.h.yColumn=null==a.Gi?null:a.Gi;this.h.dateFormat=null==a.gh?null:a.gh;this.h.csvDelimiter=null==a.ah?
null:a.ah;this.h.csvQualifier=null==a.bh?null:a.bh;this.h.csvColumnDataTypeOverrides=null==a.$g?null:a.$g};q(Gg,A);Gg.prototype.i=function(){return{J:{csvColumnDataTypeOverrides:Ce},keys:"charset crs csvColumnDataTypeOverrides csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" "),wa:{csvColumnDataTypeOverrides:{da:null,ia:!1,ja:!1,ka:!1}}}};
k.Object.defineProperties(Gg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return E(this,"charset")?C(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return E(this,"crs")?C(this,"crs"):null},set:function(a){this.h.crs=a}},$g:{configurable:!0,enumerable:!0,get:function(){return E(this,"csvColumnDataTypeOverrides")?C(this,"csvColumnDataTypeOverrides"):null},set:function(a){this.h.csvColumnDataTypeOverrides=a}},ah:{configurable:!0,
enumerable:!0,get:function(){return E(this,"csvDelimiter")?C(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},bh:{configurable:!0,enumerable:!0,get:function(){return E(this,"csvQualifier")?C(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},gh:{configurable:!0,enumerable:!0,get:function(){return E(this,"dateFormat")?C(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return E(this,"geodesic")?C(this,
"geodesic"):null},set:function(a){this.h.geodesic=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxErrorMeters")?C(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxVertices")?C(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},bi:{configurable:!0,enumerable:!0,get:function(){return E(this,"primaryGeometryColumn")?C(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=
a}},za:{configurable:!0,enumerable:!0,get:function(){return E(this,"uris")?C(this,"uris"):null},set:function(a){this.h.uris=a}},Fi:{configurable:!0,enumerable:!0,get:function(){return E(this,"xColumn")?C(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Gi:{configurable:!0,enumerable:!0,get:function(){return E(this,"yColumn")?C(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.Ra?null:a.Ra;this.h.marginDimensions=null==a.Df?null:a.Df;this.h.compress=null==a.Ue?null:a.Ue;this.h.maxSizeBytes=null==a.$b?null:a.$b;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.he?null:a.he;this.h.sequenceData=null==a.ag?null:a.ag;this.h.collapseBands=null==a.Se?null:a.Se;this.h.maxMaskedRatio=null==a.Hf?null:a.Hf};q(cg,A);
cg.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),wa:{tensorDepths:{da:null,ia:!1,ja:!1,ka:!1}},s:{marginDimensions:Vf,tileDimensions:Vf}}};
k.Object.defineProperties(cg.prototype,{Se:{configurable:!0,enumerable:!0,get:function(){return E(this,"collapseBands")?C(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Ue:{configurable:!0,enumerable:!0,get:function(){return E(this,"compress")?C(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return E(this,"defaultValue")?C(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},Df:{configurable:!0,
enumerable:!0,get:function(){return E(this,"marginDimensions")?C(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Hf:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxMaskedRatio")?C(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},$b:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxSizeBytes")?C(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},ag:{configurable:!0,enumerable:!0,get:function(){return E(this,
"sequenceData")?C(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},he:{configurable:!0,enumerable:!0,get:function(){return E(this,"tensorDepths")?C(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},Ra:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileDimensions")?C(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
var of=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Gf?null:a.Gf;this.h.thinningStrategy=null==a.ng?null:a.ng};q(of,A);of.prototype.i=function(){return{J:{thinningStrategy:De},keys:["maxFeaturesPerTile","thinningStrategy"]}};
k.Object.defineProperties(of.prototype,{Gf:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxFeaturesPerTile")?C(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},ng:{configurable:!0,enumerable:!0,get:function(){return E(this,"thinningStrategy")?C(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=a}}});
var Hg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.ca?null:a.ca;this.h.visualizationOptions=null==a.eb?null:a.eb;this.h.grid=null==a.L?null:a.L;this.h.filenamePrefix=null==a.fa?null:a.fa};q(Hg,A);Hg.prototype.i=function(){return{J:{fileFormat:Ee},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),s:{expression:af,grid:Gf,visualizationOptions:Af}}};
k.Object.defineProperties(Hg.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},fa:{configurable:!0,enumerable:!0,get:function(){return E(this,
"filenamePrefix")?C(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},L:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.h.name=a}},eb:{configurable:!0,enumerable:!0,get:function(){return E(this,"visualizationOptions")?C(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
a}}});
var If=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.nh?null:a.nh;this.h.maxZoom=null==a.maxZoom?null:a.maxZoom;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.ri?null:a.ri;this.h.minZoom=null==a.minZoom?null:a.minZoom;this.h.skipEmpty=null==a.ni?null:a.ni;this.h.skipEmptyTiles=null==a.gg?null:a.gg;this.h.mapsApiKey=null==a.Cf?null:a.Cf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.tileDimensions=null==a.Ra?null:a.Ra;this.h.stride=null==a.hg?null:
a.hg;this.h.zoomSubset=null==a.zg?null:a.zg};q(If,A);If.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey maxZoom minZoom scale skipEmpty skipEmptyTiles startZoom stride tileDimensions zoomSubset".split(" "),s:{dimensions:Vf,tileDimensions:Vf,zoomSubset:Ig}}};
k.Object.defineProperties(If.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return E(this,"dimensions")?C(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},nh:{configurable:!0,enumerable:!0,get:function(){return E(this,"endZoom")?C(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Cf:{configurable:!0,enumerable:!0,get:function(){return E(this,"mapsApiKey")?C(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,
get:function(){return E(this,"maxZoom")?C(this,"maxZoom"):null},set:function(a){this.h.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return E(this,"minZoom")?C(this,"minZoom"):null},set:function(a){this.h.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return E(this,"scale")?C(this,"scale"):null},set:function(a){this.h.scale=a}},ni:{configurable:!0,enumerable:!0,get:function(){return E(this,"skipEmpty")?C(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=
a}},gg:{configurable:!0,enumerable:!0,get:function(){return E(this,"skipEmptyTiles")?C(this,"skipEmptyTiles"):null},set:function(a){this.h.skipEmptyTiles=a}},ri:{configurable:!0,enumerable:!0,get:function(){return E(this,"startZoom")?C(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},hg:{configurable:!0,enumerable:!0,get:function(){return E(this,"stride")?C(this,"stride"):null},set:function(a){this.h.stride=a}},Ra:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileDimensions")?
C(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},zg:{configurable:!0,enumerable:!0,get:function(){return E(this,"zoomSubset")?C(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});
var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.sources=null==a.sources?null:a.sources;this.h.dataType=null==a.dataType?null:a.dataType;this.h.crs=null==a.crs?null:a.crs;this.h.subdatasetPrefix=null==a.ti?null:a.ti;this.h.subdatasetSuffix=null==a.ui?null:a.ui};q(gg,A);gg.prototype.i=function(){return{O:{sources:ig},J:{dataType:Ge},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
k.Object.defineProperties(gg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return E(this,"crs")?C(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return E(this,"dataType")?C(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return E(this,"sources")?
C(this,"sources"):null},set:function(a){this.h.sources=a}},ti:{configurable:!0,enumerable:!0,get:function(){return E(this,"subdatasetPrefix")?C(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},ui:{configurable:!0,enumerable:!0,get:function(){return E(this,"subdatasetSuffix")?C(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.Fc?null:a.Fc;this.h.tilesetBandIndex=null==a.yi?null:a.yi;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(eg,A);eg.prototype.i=function(){return{J:{pyramidingPolicy:Fe},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:bg}}};
k.Object.defineProperties(eg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return E(this,"missingData")?C(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},yi:{configurable:!0,
enumerable:!0,get:function(){return E(this,"tilesetBandIndex")?C(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},Fc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesetId")?C(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.Fc?null:a.Fc;this.h.bandIds=null==a.ca?null:a.ca};q(fg,A);fg.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
k.Object.defineProperties(fg.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Fc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesetId")?C(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var xf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(xf,A);
xf.prototype.i=function(){return{O:{sources:Jg},keys:["pathPrefix","sources"]}};k.Object.defineProperties(xf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return E(this,"pathPrefix")?C(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return E(this,"sources")?C(this,"sources"):null},set:function(a){this.h.sources=a}}});
var yf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(yf,A);yf.prototype.i=function(){return{O:{sources:Jg},keys:["pathPrefix","sources"]}};
k.Object.defineProperties(yf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return E(this,"pathPrefix")?C(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return E(this,"sources")?C(this,"sources"):null},set:function(a){this.h.sources=a}}});var Jg=function(a){a=void 0===a?{}:a;this.h={};this.h.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.h.headerSizeBytes=null==a.zh?null:a.zh};q(Jg,A);
Jg.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};k.Object.defineProperties(Jg.prototype,{zh:{configurable:!0,enumerable:!0,get:function(){return E(this,"headerSizeBytes")?C(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return E(this,"pathSuffix")?C(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.ph?null:a.ph;this.h.firstTileIndex=null==a.rh?null:a.rh;this.h.tilesPerFile=null==a.xi?null:a.xi};q($f,A);$f.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
k.Object.defineProperties($f.prototype,{ph:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileIndexes")?C(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},rh:{configurable:!0,enumerable:!0,get:function(){return E(this,"firstTileIndex")?C(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},xi:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesPerFile")?C(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
var Kg=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Qb?null:a.Qb;this.h.updateMask=null==a.Hc?null:a.Hc};q(Kg,A);Kg.prototype.i=function(){return{keys:["asset","updateMask"],s:{asset:tf}}};
k.Object.defineProperties(Kg.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return E(this,"asset")?C(this,"asset"):null},set:function(a){this.h.asset=a}},Hc:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateMask")?C(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
var Ne=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.mb?null:a.mb;this.h.integerValue=null==a.Yb?null:a.Yb;this.h.bytesValue=null==a.tb?null:a.tb;this.h.arrayValue=null==a.Ia?null:a.Ia;this.h.dictionaryValue=null==a.Ja?null:a.Ja;this.h.functionDefinitionValue=null==a.Za?null:a.Za;this.h.functionInvocationValue=null==a.Ba?null:a.Ba;this.h.argumentReference=null==a.Pb?null:a.Pb;this.h.valueReference=null==a.Ta?null:a.Ta};q(Ne,A);
Ne.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:Me,dictionaryValue:jf,functionDefinitionValue:Rf,functionInvocationValue:Sf}}};
k.Object.defineProperties(Ne.prototype,{Pb:{configurable:!0,enumerable:!0,get:function(){return E(this,"argumentReference")?C(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return E(this,"arrayValue")?C(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},tb:{configurable:!0,enumerable:!0,get:function(){return E(this,"bytesValue")?C(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},mb:{configurable:!0,
enumerable:!0,get:function(){return E(this,"constantValue")?C(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return E(this,"dictionaryValue")?C(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},Za:{configurable:!0,enumerable:!0,get:function(){return E(this,"functionDefinitionValue")?C(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},Ba:{configurable:!0,enumerable:!0,
get:function(){return E(this,"functionInvocationValue")?C(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Yb:{configurable:!0,enumerable:!0,get:function(){return E(this,"integerValue")?C(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return E(this,"valueReference")?C(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.oa?null:a.oa;this.h.cloudStorageDestination=null==a.ub?null:a.ub;this.h.gcsDestination=null==a.ra?null:a.ra;this.h.fileFormat=null==a.F?null:a.F};q(Nf,A);Nf.prototype.i=function(){return{J:{fileFormat:He},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],s:{cloudStorageDestination:Ye,driveDestination:sf,gcsDestination:Tf}}};
k.Object.defineProperties(Nf.prototype,{ub:{configurable:!0,enumerable:!0,get:function(){return E(this,"cloudStorageDestination")?C(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},oa:{configurable:!0,enumerable:!0,get:function(){return E(this,"driveDestination")?C(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
a}},ra:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsDestination")?C(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.h.maxFrames=null==a.maxFrames?null:a.maxFrames;this.h.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Of,A);Of.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
k.Object.defineProperties(Of.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return E(this,"framesPerSecond")?C(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxFrames")?C(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxPixelsPerFrame")?C(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
a}}});var Lg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.videoOptions=null==a.Ua?null:a.Ua;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.L?null:a.L};q(Lg,A);Lg.prototype.i=function(){return{J:{fileFormat:Ie},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:af,grid:Gf,videoOptions:Of}}};
k.Object.defineProperties(Lg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},L:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
"name")?C(this,"name"):null},set:function(a){this.h.name=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return E(this,"videoOptions")?C(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Rf?null:a.Rf;this.h.paletteColors=null==a.fd?null:a.fd;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(Af,A);
Af.prototype.i=function(){return{O:{ranges:rf},keys:["gamma","opacity","paletteColors","ranges"]}};
k.Object.defineProperties(Af.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return E(this,"gamma")?C(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return E(this,"opacity")?C(this,"opacity"):null},set:function(a){this.h.opacity=a}},fd:{configurable:!0,enumerable:!0,get:function(){return E(this,"paletteColors")?C(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Rf:{configurable:!0,enumerable:!0,get:function(){return E(this,
"ranges")?C(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var Ig=function(a){a=void 0===a?{}:a;this.h={};this.h.start=null==a.start?null:a.start;this.h.end=null==a.end?null:a.end;this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(Ig,A);Ig.prototype.i=function(){return{keys:["end","max","min","start"]}};
k.Object.defineProperties(Ig.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return E(this,"end")?C(this,"end"):null},set:function(a){this.h.end=a}},max:{configurable:!0,enumerable:!0,get:function(){return E(this,"max")?C(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return E(this,"min")?C(this,"min"):null},set:function(a){this.h.min=a}},start:{configurable:!0,enumerable:!0,get:function(){return E(this,"start")?C(this,"start"):null},
set:function(a){this.h.start=a}}});var Xd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",endTime:"endTime",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",startTime:"startTime",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view"},Mg=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Mg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:F(b,c),G:mg})};var Ng=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Ng.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:F(b,c),G:Ue})};Ng.prototype.ad=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:F(b,c),G:ng})};
var Og=function(a){this.m="v1alpha";this.j=new $d(a,null)};h=Og.prototype;h.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:F(c,d),G:tf})};
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return G(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:F(b,c),G:Bf})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:F(b,c),G:tf})};
h.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:F(c,d),G:tf})};h.ad=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:F(b,c),G:ng})};
var Pg=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;a.j.C(b,RegExp("^projects/[^/]+/assets/.*$"));return G(a.j,{body:null,B:"GET",D:"earthengine.projects.assets.listImages",path:"/"+a.m+"/"+b+":listImages",u:F(c,d),G:og})};Og.prototype.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",u:F(c,d),G:tf})};
var Qg=function(a){this.m="v1alpha";this.j=new $d(a,null)};Qg.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",u:F(c,d),G:qg})};var Rg=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Rg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.dmsMaps.create",path:"/"+this.m+"/"+a+"/dmsMaps",u:F(c,d),G:gf})};var Sg=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Sg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",u:F(c,d),G:Qf})};var Tg=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Tg.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",u:F(c,d),G:qg})};Tg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",u:F(c,d),G:qg})};
var Ug=function(a){this.m="v1alpha";this.j=new $d(a,null)};Ug.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",u:F(c,d),G:qg})};var Vg=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Vg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",u:F(c,d),G:zf})};var Wg=function(a){this.m="v1alpha";this.j=new $d(a,null)};h=Wg.prototype;
h.cancel=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",u:F(c,d),G:Bf})};h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return G(this.j,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,u:F(b,c),G:Bf})};
h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,u:F(b,c),G:qg})};h.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",u:F(b,c),G:pg})};
h.wait=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",u:F(c,d),G:qg})};var Xg=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Xg.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",u:F(c,d),G:qg})};Xg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",u:F(c,d),G:qg})};
var Yg=function(a){this.m="v1alpha";this.j=new $d(a,null)};Yg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.tables.create",path:"/"+this.m+"/"+a+"/tables",u:F(c,d),G:Fg})};var Zg=function(a){this.m="v1alpha";this.j=new $d(a,null)};
Zg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",u:F(c,d),G:Hg})};
var $g=function(a){this.m="v1alpha";this.j=new $d(a,null)},ah=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return G(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",u:F(d,e),G:bf})},bh=function(a){this.m="v1alpha";this.j=new $d(a,null)};
bh.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",u:F(c,d),G:qg})};var ch=function(a){this.m="v1alpha";this.j=new $d(a,null)};
ch.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",u:F(c,d),G:qg})};var dh=function(a){this.m="v1alpha";this.j=new $d(a,null)};
dh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:F(c,d),G:Lg})};var eh=function(){};eh.prototype.send=function(a,b){Wd(a);return(void 0).then(function(c){return b?$c(b,c):c})};var fh=function(a,b){this.yk=100;this.mk=a;this.Mk=b;this.Ud=0;this.sa=null};fh.prototype.get=function(){if(0<this.Ud){this.Ud--;var a=this.sa;this.sa=a.next;a.next=null}else a=this.mk();return a};fh.prototype.put=function(a){this.Mk(a);this.Ud<this.yk&&(this.Ud++,a.next=this.sa,this.sa=a)};var hh=function(a,b){Jb(b,function(c,d){c&&"object"==typeof c&&c.vf&&(c=c.qf());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:gh.hasOwnProperty(d)?a.setAttribute(gh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},gh={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",
width:"width"},jh=function(a,b,c){return ih(document,arguments)},ih=function(a,b){var c=b[1],d=kh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):hh(d,c));2<b.length&&lh(a,d,b,2);return d},lh=function(a,b,c,d){function e(l){l&&b.appendChild("string"===typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!ta(g)||t(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(t(g)){var f="function"==typeof g.item||"string"==typeof g.item;
break a}if("function"===typeof g){f="function"==typeof g.item;break a}}f=!1}Qa(f?$a(g):g,e)}}},kh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},mh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},nh=function(a){y(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},oh=function(a){this.Ed=a||r.document||document};h=oh.prototype;
h.getElementsByTagName=function(a,b){return(b||this.Ed).getElementsByTagName(String(a))};h.lk=function(a,b,c){return ih(this.Ed,arguments)};h.createElement=function(a){return kh(this.Ed,a)};h.createTextNode=function(a){return this.Ed.createTextNode(String(a))};h.appendChild=function(a,b){y(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){lh(nh(a),a,arguments,1)};h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
h.removeNode=mh;h.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var ph,qh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!lb("Presto")&&(a=function(){var e=kh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),l="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=u(function(m){if(("*"==l||m.origin==l)&&m.data==f)this.port1.onmessage()},
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,l)}}});if("undefined"!==typeof a&&!lb("Trident")&&!lb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Qg;c.Qg=null;e()}};return function(e){d.next={Qg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function rh(a){r.setTimeout(function(){throw a;},0)};var sh=function(){this.re=this.kc=null};sh.prototype.add=function(a,b){var c=th.get();c.set(a,b);this.re?this.re.next=c:(y(!this.kc),this.kc=c);this.re=c};sh.prototype.remove=function(){var a=null;this.kc&&(a=this.kc,this.kc=this.kc.next,this.kc||(this.re=null),a.next=null);return a};var th=new fh(function(){return new uh},function(a){return a.reset()}),uh=function(){this.next=this.scope=this.jf=null};uh.prototype.set=function(a,b){this.jf=a;this.scope=b;this.next=null};
uh.prototype.reset=function(){this.next=this.scope=this.jf=null};var zh=function(a,b){vh||wh();xh||(vh(),xh=!0);yh.add(a,b)},vh,wh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);vh=function(){a.then(Ah)}}else vh=function(){var b=Ah;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&!lb("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?(ph||(ph=qh()),ph(b)):r.setImmediate(b)}},xh=!1,yh=new sh,Ah=function(){for(var a;a=yh.remove();){try{a.jf.call(a.scope)}catch(b){rh(b)}th.put(a)}xh=!1};var Bh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Eh=function(a){this.T=0;this.na=void 0;this.pc=this.lb=this.Y=null;this.Ld=this.ef=!1;if(a!=ra)try{var b=this;a.call(void 0,function(c){Ch(b,2,c)},function(c){if(!(c instanceof Dh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Ch(b,3,c)})}catch(c){Ch(this,3,c)}},Fh=function(){this.next=this.context=this.yc=this.bc=this.Rb=null;this.ud=!1};Fh.prototype.reset=function(){this.context=this.yc=this.bc=this.Rb=null;this.ud=!1};
var Gh=new fh(function(){return new Fh},function(a){a.reset()}),Hh=function(a,b,c){var d=Gh.get();d.bc=a;d.yc=b;d.context=c;return d};Eh.prototype.then=function(a,b,c){null!=a&&Ma(a,"opt_onFulfilled should be a function.");null!=b&&Ma(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Ih(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Eh.prototype.$goog_Thenable=!0;
Eh.prototype.cancel=function(a){if(0==this.T){var b=new Dh(a);zh(function(){Jh(this,b)},this)}};
var Jh=function(a,b){if(0==a.T)if(a.Y){var c=a.Y;if(c.lb){for(var d=0,e=null,g=null,f=c.lb;f&&(f.ud||(d++,f.Rb==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.T&&1==d?Jh(c,b):(g?(d=g,y(c.lb),y(null!=d),d.next==c.pc&&(c.pc=d),d.next=d.next.next):Kh(c),Lh(c,e,3,b)))}a.Y=null}else Ch(a,3,b)},Nh=function(a,b){a.lb||2!=a.T&&3!=a.T||Mh(a);y(null!=b.bc);a.pc?a.pc.next=b:a.lb=b;a.pc=b},Ih=function(a,b,c,d){var e=Hh(null,null,null);e.Rb=new Eh(function(g,f){e.bc=b?function(l){try{var m=b.call(d,l);g(m)}catch(p){f(p)}}:
g;e.yc=c?function(l){try{var m=c.call(d,l);void 0===m&&l instanceof Dh?f(l):g(m)}catch(p){f(p)}}:f});e.Rb.Y=a;Nh(a,e);return e.Rb};Eh.prototype.Vk=function(a){y(1==this.T);this.T=0;Ch(this,2,a)};Eh.prototype.Wk=function(a){y(1==this.T);this.T=0;Ch(this,3,a)};
var Ch=function(a,b,c){if(0==a.T){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.Vk,g=a.Wk;if(d instanceof Eh){null!=e&&Ma(e,"opt_onFulfilled should be a function.");null!=g&&Ma(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Nh(d,Hh(e||ra,g||null,a));var f=!0}else if(Bh(d))d.then(e,g,a),f=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){Oh(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);
f=!0;break a}f=!1}}f||(a.na=c,a.T=b,a.Y=null,Mh(a),3!=b||c instanceof Dh||Ph(a,c))}},Oh=function(a,b,c,d,e){var g=!1,f=function(m){g||(g=!0,c.call(e,m))},l=function(m){g||(g=!0,d.call(e,m))};try{b.call(a,f,l)}catch(m){l(m)}},Mh=function(a){a.ef||(a.ef=!0,zh(a.qk,a))},Kh=function(a){var b=null;a.lb&&(b=a.lb,a.lb=b.next,b.next=null);a.lb||(a.pc=null);null!=b&&y(null!=b.bc);return b};Eh.prototype.qk=function(){for(var a;a=Kh(this);)Lh(this,a,this.T,this.na);this.ef=!1};
var Lh=function(a,b,c,d){if(3==c&&b.yc&&!b.ud)for(;a&&a.Ld;a=a.Y)a.Ld=!1;if(b.Rb)b.Rb.Y=null,Qh(b,c,d);else try{b.ud?b.bc.call(b.context):Qh(b,c,d)}catch(e){Rh.call(null,e)}Gh.put(b)},Qh=function(a,b,c){2==b?a.bc.call(a.context,c):a.yc&&a.yc.call(a.context,c)},Ph=function(a,b){a.Ld=!0;zh(function(){a.Ld&&Rh.call(null,b)})},Rh=rh,Dh=function(a){Fa.call(this,a)};x(Dh,Fa);Dh.prototype.name="cancel";var Sh=function(a,b,c){if("function"===typeof a)c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Th=function(a,b,c){Da.call(this);this.zk=null!=c?a.bind(c):a;this.wk=b;this.vd=null;this.Ec=!1;this.gd=0;this.ic=null};q(Th,Da);h=Th.prototype;h.hf=function(a){this.vd=arguments;this.ic||this.gd?this.Ec=!0:Uh(this)};h.stop=function(){this.ic&&(r.clearTimeout(this.ic),this.ic=null,this.Ec=!1,this.vd=null)};h.pause=function(){this.gd++};h.resume=function(){this.gd--;this.gd||!this.Ec||this.ic||(this.Ec=!1,Uh(this))};h.I=function(){Da.prototype.I.call(this);this.stop()};
var Uh=function(a){a.ic=Sh(function(){a.ic=null;a.Ec&&!a.gd&&(a.Ec=!1,Uh(a))},a.wk);var b=a.vd;a.vd=null;a.zk.apply(null,b)};/*
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
Copyright The Closure Library Authors.
SPDX-License-Identifier: MIT
*/
var Wh=function(a){var b=Vh;this.ce=[];this.Vh=b;this.hh=a||null;this.Wc=this.tc=!1;this.na=void 0;this.eg=this.Kg=this.Pe=!1;this.ne=0;this.Y=null;this.Qe=0};Wh.prototype.cancel=function(a){if(this.tc)this.na instanceof Wh&&this.na.cancel();else{if(this.Y){var b=this.Y;delete this.Y;a?b.cancel(a):(b.Qe--,0>=b.Qe&&b.cancel())}this.Vh?this.Vh.call(this.hh,this):this.eg=!0;this.tc||Xh(this,new Yh(this))}};Wh.prototype.Vg=function(a,b){this.Pe=!1;Zh(this,a,b)};
var Zh=function(a,b,c){a.tc=!0;a.na=c;a.Wc=!b;$h(a)},bi=function(a){if(a.tc){if(!a.eg)throw new ai(a);a.eg=!1}};Wh.prototype.callback=function(a){bi(this);ci(a);Zh(this,!0,a)};var Xh=function(a,b){bi(a);ci(b);Zh(a,!1,b)},ci=function(a){y(!(a instanceof Wh),"An execution sequence may not be initiated with a blocking Deferred.")},di=function(a,b,c){y(!a.Kg,"Blocking Deferreds can not be re-used");a.ce.push([b,c,void 0]);a.tc&&$h(a)};
Wh.prototype.then=function(a,b,c){var d,e,g=new Eh(function(f,l){e=f;d=l});di(this,e,function(f){f instanceof Yh?g.cancel():d(f)});return g.then(a,b,c)};Wh.prototype.$goog_Thenable=!0;
var ei=function(a){return Ta(a.ce,function(b){return"function"===typeof b[1]})},$h=function(a){if(a.ne&&a.tc&&ei(a)){var b=a.ne,c=fi[b];c&&(r.clearTimeout(c.ga),delete fi[b]);a.ne=0}a.Y&&(a.Y.Qe--,delete a.Y);b=a.na;for(var d=c=!1;a.ce.length&&!a.Pe;){var e=a.ce.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Wc?f:g)try{var l=g.call(e||a.hh,b);void 0!==l&&(a.Wc=a.Wc&&(l==b||l instanceof Error),a.na=b=l);if(Bh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Pe=!0}catch(m){b=m,a.Wc=!0,ei(a)||(c=
!0)}}a.na=b;d&&(l=u(a.Vg,a,!0),d=u(a.Vg,a,!1),b instanceof Wh?(di(b,l,d),b.Kg=!0):b.then(l,d));c&&(b=new gi(b),fi[b.ga]=b,a.ne=b.ga)},ai=function(){Fa.call(this)};x(ai,Fa);ai.prototype.message="Deferred has already fired";ai.prototype.name="AlreadyCalledError";var Yh=function(){Fa.call(this)};x(Yh,Fa);Yh.prototype.message="Deferred was canceled";Yh.prototype.name="CanceledError";var gi=function(a){this.ga=r.setTimeout(u(this.Uk,this),0);this.Hd=a};
gi.prototype.Uk=function(){y(fi[this.ga],"Cannot throw an error that is not scheduled.");delete fi[this.ga];throw this.Hd;};var fi={};var ki=function(a){var b={},c=b.document||document,d=od(a).toString(),e=(new oh(c)).createElement("SCRIPT"),g={ki:e,od:void 0},f=new Wh(g),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){hi(e,!0);Xh(f,new ii(1,"Timeout reached for loading script "+d))},m),g.od=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(hi(e,b.cl||!1,l),f.callback(null))};e.onerror=function(){hi(e,!0,l);Xh(f,new ii(0,"Error while loading script "+
d))};g=b.attributes||{};Xb(g,{type:"text/javascript",charset:"UTF-8"});hh(e,g);Ad(e,a);ji(c).appendChild(e)},ji=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},Vh=function(){if(this&&this.ki){var a=this.ki;a&&"SCRIPT"==a.tagName&&hi(a,!0,this.od)}},hi=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=ra;a.onerror=ra;a.onreadystatechange=ra;b&&window.setTimeout(function(){mh(a)},0)},ii=function(a,b){var c="Jsloader error (code #"+a+")";
b&&(c+=": "+b);Fa.call(this,c);this.code=a};x(ii,Fa);var li=function(){this.ae=void 0};li.prototype.ya=function(a){var b=[];mi(this,a,b);return b.join("")};
var mi=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],mi(a,a.ae?a.ae.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),ni(d,c),c.push(":"),mi(a,a.ae?a.ae.call(b,d,e):e,c),g=","));c.push("}");
return}}switch(typeof b){case "string":ni(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},oi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},pi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ni=function(a,b){b.push('"',a.replace(pi,function(c){var d=oi[c];
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),oi[c]=d);return d}),'"')};var qi=function(a,b){this.name=a;this.value=b};qi.prototype.toString=function(){return this.name};var ri=new qi("OFF",Infinity),si=new qi("SEVERE",1E3),ti=new qi("CONFIG",700),ui=new qi("FINE",500),vi=function(){this.Bd=0;this.clear()},wi;vi.prototype.clear=function(){this.yd=Array(this.Bd);this.dh=-1;this.Gh=!1};var xi=function(a,b,c){this.reset(a||ri,b,c,void 0,void 0)};xi.prototype.reset=function(){};
var yi=function(a,b){this.level=null;this.uk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.Bk={nf:function(){return a}}},zi=function(a){if(a.level)return a.level;if(a.parent)return zi(a.parent);Ja("Root logger has no level set.");return ri},Ai=function(a,b){for(;a;)a.uk.forEach(function(c){c(b)}),a=a.parent},Bi=function(){this.entries={};var a=new yi("");a.level=ti;this.entries[""]=a},Ci,Di=function(a,b,c){var d=a.entries[b];if(d)return void 0!==c&&(d.level=c),d;d=Di(a,b.substr(0,
b.lastIndexOf(".")));var e=new yi(b,d);a.entries[b]=e;d.children.push(e);void 0!==c&&(e.level=c);return e},Ei=function(){Ci||(Ci=new Bi);return Ci},Fi=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?zi(Di(Ei(),a.nf())):ri;d=d>=e.value}if(d){b=b||ri;d=Di(Ei(),a.nf());"function"===typeof c&&(c=c());wi||(wi=new vi);e=wi;a=a.nf();if(0<e.Bd){var g=(e.dh+1)%e.Bd;e.dh=g;e.Gh?(e=e.yd[g],e.reset(b,c,a),a=e):(e.Gh=g==e.Bd-1,a=e.yd[g]=new xi(b,c,a))}else a=new xi(b,c,a);Ai(d,a)}},Gi=function(a,b){a&&
Fi(a,ui,b)};var Hi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ii=function(){};Ii.prototype.Og=null;var Ki=function(a){var b;(b=a.Og)||(b={},Ji(a)&&(b[0]=!0,b[1]=!0),b=a.Og=b);return b};var Li,Mi=function(){};x(Mi,Ii);var Ni=function(a){return(a=Ji(a))?new ActiveXObject(a):new XMLHttpRequest},Ji=function(a){if(!a.Bh&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Bh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Bh};Li=new Mi;var Oi=function(a){z.call(this);this.headers=new Map;this.te=a||null;this.Ha=!1;this.se=this.o=null;this.$c=this.Kh=this.Rd="";this.Xb=this.wf=this.Pd=this.cf=!1;this.Gc=0;this.je=null;this.Cc="";this.pe=this.Kk=this.Ei=!1;this.vg=null};x(Oi,z);Oi.prototype.ma=Di(Ei(),"goog.net.XhrIo",void 0).Bk;var Pi=/^https?$/i,Qi=["POST","PUT"],Ri=[];Oi.prototype.kk=function(){this.Wa();Ya(Ri,this)};Oi.prototype.setTrustToken=function(a){this.vg=a};
Oi.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Rd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Rd=a;this.$c="";this.Kh=b;this.cf=!1;this.Ha=!0;this.o=this.te?Ni(this.te):Ni(Li);this.se=this.te?Ki(this.te):Ki(Li);this.o.onreadystatechange=u(this.Yh,this);this.Kk&&"onprogress"in this.o&&(this.o.onprogress=u(function(f){this.Xh(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=u(this.Xh,this)));try{Gi(this.ma,Si(this,"Opening Xhr")),
this.wf=!0,this.o.open(b,String(a),!0),this.wf=!1}catch(f){Gi(this.ma,Si(this,"Error opening Xhr: "+f.message));this.Hd(5,f);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=n(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(f){return"content-type"==
f.toLowerCase()});e=r.FormData&&a instanceof r.FormData;!Wa(Qi,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=n(c);for(d=b.next();!d.done;d=b.next())c=n(d.value),d=c.next().value,c=c.next().value,this.o.setRequestHeader(d,c);this.Cc&&(this.o.responseType=this.Cc);"withCredentials"in this.o&&this.o.withCredentials!==this.Ei&&(this.o.withCredentials=this.Ei);if("setTrustToken"in this.o&&this.vg)try{this.o.setTrustToken(this.vg)}catch(f){Gi(this.ma,Si(this,"Error SetTrustToken: "+
f.message))}try{Ti(this),0<this.Gc&&(this.pe=Ui(this.o),Gi(this.ma,Si(this,"Will abort after "+this.Gc+"ms if incomplete, xhr2 "+this.pe)),this.pe?(this.o.timeout=this.Gc,this.o.ontimeout=u(this.od,this)):this.je=Sh(this.od,this.Gc,this)),Gi(this.ma,Si(this,"Sending request")),this.Pd=!0,this.o.send(a),this.Pd=!1}catch(f){Gi(this.ma,Si(this,"Send error: "+f.message)),this.Hd(5,f)}};var Ui=function(a){return qb&&Ab(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout};
Oi.prototype.od=function(){"undefined"!=typeof qa&&this.o&&(this.$c="Timed out after "+this.Gc+"ms, aborting",Gi(this.ma,Si(this,this.$c)),this.dispatchEvent("timeout"),this.abort(8))};Oi.prototype.Hd=function(a,b){this.Ha=!1;this.o&&(this.Xb=!0,this.o.abort(),this.Xb=!1);this.$c=b;Vi(this);Wi(this)};var Vi=function(a){a.cf||(a.cf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
Oi.prototype.abort=function(){this.o&&this.Ha&&(Gi(this.ma,Si(this,"Aborting")),this.Ha=!1,this.Xb=!0,this.o.abort(),this.Xb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Wi(this))};Oi.prototype.I=function(){this.o&&(this.Ha&&(this.Ha=!1,this.Xb=!0,this.o.abort(),this.Xb=!1),Wi(this,!0));Oi.M.I.call(this)};Oi.prototype.Yh=function(){this.Xa||(this.wf||this.Pd||this.Xb?Xi(this):this.Jk())};Oi.prototype.Jk=function(){Xi(this)};
var Xi=function(a){if(a.Ha&&"undefined"!=typeof qa)if(a.se[1]&&4==a.xb()&&2==a.getStatus())Gi(a.ma,Si(a,"Local request error detected and ignored"));else if(a.Pd&&4==a.xb())Sh(a.Yh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.xb()){Gi(a.ma,Si(a,"Request complete"));a.Ha=!1;try{var b=a.getStatus(),c;if(!(c=Hi(b))){var d;if(d=0===b){var e=String(a.Rd).match(Dd)[1]||null;if(!e&&r.self&&r.self.location){var g=r.self.location.protocol;e=g.substr(0,g.length-1)}d=!Pi.test(e?e.toLowerCase():"")}c=
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var f=2<a.xb()?a.o.statusText:""}catch(l){Gi(a.ma,"Can not get status: "+l.message),f=""}a.$c=f+" ["+a.getStatus()+"]";Vi(a)}}finally{Wi(a)}}};Oi.prototype.Xh=function(a,b){y("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Yi(a,"progress"));this.dispatchEvent(Yi(a,b?"downloadprogress":"uploadprogress"))};
var Yi=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Wi=function(a,b){if(a.o){Ti(a);var c=a.o,d=a.se[0]?ra:null;a.o=null;a.se=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.ma)&&Fi(a,si,"Problem encountered resetting onreadystatechange: "+e.message)}}},Ti=function(a){a.o&&a.pe&&(a.o.ontimeout=null);a.je&&(r.clearTimeout(a.je),a.je=null)};Oi.prototype.Fh=function(){return!!this.o};
Oi.prototype.xb=function(){return this.o?this.o.readyState:0};Oi.prototype.getStatus=function(){try{return 2<this.xb()?this.o.status:-1}catch(a){return-1}};
var Zi=function(a){try{if(!a.o)return null;if("response"in a.o)return a.o.response;switch(a.Cc){case "":case "text":return a.o.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.o)return a.o.mozResponseArrayBuffer}var b=a.ma;b&&Fi(b,si,"Response type "+a.Cc+" is not supported on this browser");return null}catch(c){return Gi(a.ma,"Can not get response: "+c.message),null}};
Oi.prototype.getResponseHeader=function(a){if(this.o&&4==this.xb())return a=this.o.getResponseHeader(a),null===a?void 0:a};Oi.prototype.getAllResponseHeaders=function(){return this.o&&4==this.xb()?this.o.getAllResponseHeaders()||"":""};
var $i=function(a){var b={};a=a.getAllResponseHeaders().split("\r\n");for(var c=0;c<a.length;c++)if(!/^[\s\xa0]*$/.test(a[c])){var d=Cd(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return Lb(b,function(f){return f.join(", ")})},Si=function(a,b){return b+" ["+a.Kh+" "+a.Rd+" "+a.getStatus()+"]"};var aj,H=function(a,b){bj();this.callback=a;this.N=new dj(!a,b)},I=function(a,b){if(b instanceof Promise){if(a.callback){var c=function(d,e){try{return a.callback(d,e)}catch(g){setTimeout(function(){throw g;},0)}};b.then(c,function(d){return c(void 0,d)})}}else b.then(function(d){b=d});return b},ej=function(){return"projects/"+aj};h=H.prototype;h.Kc=function(){return new Mg(this.N)};h.assets=function(){return new Og(this.N)};h.Pa=function(){return new Wg(this.N)};h.value=function(){return new $g(this.N)};
h.maps=function(){return new Vg(this.N)};h.map=function(){return new Ug(this.N)};h.image=function(){return new Tg(this.N)};h.table=function(){return new Xg(this.N)};h.video=function(){return new bh(this.N)};var dj=function(a,b){this.sync=a=void 0===a?!1:a;this.hi=null!=b?b:a?5:10};q(dj,eh);
dj.prototype.send=function(a,b){var c=this;Wd(a);var d=a.path||"",e=fj()+d,g=gj(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=hj(e,g,void 0,a.B,f,this.hi);d=b?$c(b,d):d;var l=function(m){return{then:function(p){return l(p(m))}}};return l(d)}return(new Promise(function(m,p){hj(e,g,function(v,B){B?p(B):m(v)},a.B,f,c.hi)})).then(function(m){return b?$c(b,m):m})};var jj=function(a){H.call(this,a);this.N=new ij};q(jj,H);
jj.prototype.send=function(a,b){var c=this,d=fj()+"/batch",e=a.map(function(f){var l=n(f);f=l.next().value;l=n(l.next().value);var m=l.next().value;l.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+f+">\r\n\r\n"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",g=function(f){var l={};a.forEach(function(m){var p=n(m);m=p.next().value;p=n(p.next().value);p.next();p=p.next().value;null!=f[m]&&(l[m]=
$c(p,f[m]))});return b?b(l):l};return this.callback?(hj(d,null,function(f,l){return c.callback(l?f:g(f),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):g(hj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var ij=function(){};q(ij,eh);
ij.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=kj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
var lj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},fj=function(){var a=mj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},oj=function(a,b,c){var d=[];a&&(d=d.concat(nj));
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=t(g)?"o"+xa(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},uj=function(a,b,c){pj&&qj&&pj({client_id:String(qj),immediate:!0,scope:rj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{sj(function(){try{r.gapi.auth.setToken(d),tj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else tj(a,
b,d)})},kj=function(){vj&&0<=Date.now()-vj&&wj();return xj},wj=function(){vj=xj=null},bj=function(a,b,c,d){null!=a?mj=a:yj||(mj="https://earthengine.googleapis.com/api");null!=b?zj=b:yj||(zj="https://earthengine.googleapis.com");void 0!==c&&(Aj=c);aj=null!=d?d:aj||"earthengine-legacy";yj=!0},hj=function(a,b,c,d,e,g){bj();var f=Bj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.288";"0.1.288"===
m&&(m="latest");l["x-goog-api-client"]="ee-js/"+m;m=kj();if(null!=m)l.Authorization=m;else if(c&&pj&&qj)return uj(function(){Cj(f,function(){hj(a,b,c,d)})}),null;b=b?b.clone():new Ld;null!=Dj&&b.add("key",Dj);f&&(l["X-Earth-Engine-Computation-Profiling"]="1");aj&&"earthengine-legacy"!==aj&&(l["X-Goog-User-Project"]=aj);b=Ej(b,a);null!=Aj&&(l["X-XSRF-Token"]=Aj);null!=Fj&&(l["X-Earth-Engine-App-ID-Token"]=Fj);m=e||null;var p=b?b.toString():"";"POST"===d&&void 0===e?m=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=
a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?mj+a:a;if(c)return Gj.push(Hj(e,c,d,m,l,g)),Ij.hf(),null;p=function(D,R){this.setRequestHeader&&this.setRequestHeader(R,D)};var v=0;for(g=null!=g?g:5;;){var B=Ni(Li);B.open(d,e,!1);Jb(l,p,B);B.send(m);if(429!=B.status||v>g)break;v++}return Jj(B.status,function(D){try{return B.getResponseHeader(D)}catch(R){return null}},B.responseText,f,void 0,e,d)},Hj=function(a,b,c,d,e,g){var f=0,l={url:a,method:c,content:d,headers:e},m=Bj,p=null!=g?g:10;l.callback=
function(v){v=v.target;if(429==v.getStatus()&&f<p)return f++,setTimeout(function(){Gj.push(l);Ij.hf()},Math.min(12E4,1E3*Math.pow(2,f))),null;var B=Jj,D=v.getStatus(),R=u(v.getResponseHeader,v);try{var Z=v.o?v.o.responseText:""}catch(U){Gi(v.ma,"Can not get responseText: "+U.message),Z=""}return B(D,R,Z,m,b,a,c)};return l},Cj=function(a,b){var c=Bj;try{Bj=a,b.call(void 0)}finally{Bj=c}},Jj=function(a,b,c,d,e,g,f){var l=d?b("X-Earth-Engine-Computation-Profile"):"";l&&d&&d(l);var m=function(Z){try{var U=
JSON.parse(Z);return t(U)&&"error"in U&&"message"in U.error?U.error.message:{parsed:U}}catch(Hb){return"Invalid JSON: "+Z}},p=function(Z){if(0===Z)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>Z||300<=Z)return"Server returned HTTP code: "+Z+" for "+f+" "+g},v;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=m(c),b.parsed){var B=b.parsed;void 0===B&&(v="Malformed response: "+
c)}else v=b;else if("multipart/mixed"===d){B={};var D=[];lj(b,c,function(Z,U,Hb){Hb=m(Hb);Hb.parsed&&(B[Z]=Hb.parsed);(U=(Hb.parsed?"":Hb)||p(U))&&D.push(Z+": "+U)});D.length&&(v=D.join("\n"))}else var R="Response was unexpectedly not JSON, but "+d;v=v||p(a)||R;if(e)return e(B,v),null;if(!v)return B;throw Error(v);},sj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);pj||(pj=r.gapi.auth.authorize);a()};if(t(r.gapi)&&t(r.gapi.auth)&&"function"===typeof r.gapi.auth.authorize)b();
else{for(var c=Date.now().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};ki(td({onload:c}))}},tj=function(a,b,c){if(c.access_token){b=c.token_type+" "+c.access_token;if(c.expires_in||0===c.expires_in){c=900*c.expires_in;var d=setTimeout(uj,.9*c);void 0!==d.unref&&d.unref();vj=Date.now()+c}xj=b;a&&a()}else b&&b(c.error||"Unknown error.")},gj=function(a){var b=new Ld;a=n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=n(c.value);c=d.next().value;d=d.next().value;b.set(c,
d)}return b},Gj=[],Ij=new Th(function(){var a=Gj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var g=Kj,f=new Oi;Ri.push(f);c&&f.ab("complete",c);f.cd("ready",f.kk);g&&(f.Gc=Math.max(0,g));f.send(b,d,e,a)}0==Gj.length||Ij.hf()},350),mj=null,zj=null,Aj=null,Fj=null,Ej=sc,xj=null,vj=null,qj=null,rj=[],pj=null,nj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],pd=new kd(id,"https://apis.google.com/js/client.js?onload=%{onload}"),
Dj=null,yj=!1,Kj=0,Bj=null;w("ee.api.ListAssetsResponse",ng);w("ee.api.EarthEngineAsset",tf);w("ee.api.ListImagesResponse",og);w("ee.api.Image",Zf);w("ee.api.Operation",qg);var Lj=function(){},Mj=function(a){if(void 0===a||null===a)a=Vc;return new Ne({mb:a})},Nj=function(a){return new Ne({Ta:a})},Oj=function(a){return new Ne({Ia:new Me({values:a})})},Pj=function(a){return new Ne({Ja:new jf({values:a})})},Qj=function(a,b){return new Ne({Ba:new Sf({functionName:a,arguments:b})})},Rj=function(a,b){return new Ne({Ba:new Sf({$a:a,arguments:b})})},Sj=function(a,b){return new Ne({Za:new Rf({mc:a,body:b})})},Tj=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
case "AUTO":return"AUTO_JPEG_PNG";case "TIF":case "TIFF":case "GEOTIF":case "GEOTIFF":return"GEO_TIFF";case "TF_RECORD":case "TFRECORD":return"TF_RECORD_IMAGE";case "NUMPY":return"NPY";case "ZIPPED_TIF":case "ZIPPED_TIFF":case "ZIPPED_GEOTIF":case "ZIPPED_GEOTIFF":return"ZIPPED_GEO_TIFF";case "ZIPPED_TIF_PER_BAND":case "ZIPPED_TIFF_PER_BAND":case "ZIPPED_GEOTIF_PER_BAND":case "ZIPPED_GEOTIFF_PER_BAND":return"ZIPPED_GEO_TIFF_PER_BAND";default:return a}},Uj=function(a){if(!a)return"CSV";a=a.toUpperCase();
switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},Vj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Wj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Zj=function(a){var b=new Af,c=!1;"palette"in a&&(c=a.palette,b.fd="string"===
typeof c?c.split(","):c,c=!0);var d=[];if("gain"in a||"bias"in a){if("min"in a||"max"in a)throw Error("Gain and bias can't be specified with min and max");var e=b.fd?b.fd.length-1:255;d=Xj(a,"bias","gain").map(function(g){var f=-g.bias/g.gain;return{min:f,max:e/g.gain+f}})}else if("min"in a||"max"in a)d=Xj(a,"min","max");0!==d.length&&(b.Rf=d.map(function(g){return new rf(g)}),c=!0);a=Yj(a.gamma);if(1<a.length)throw Error("Only one gamma value is supported");1===a.length&&(b.gamma=a[0],c=!0);return c?
b:null},Yj=function(a){return a?a.split(",").map(Number):[]},Xj=function(a,b,c){var d=Yj(a[b]),e=Yj(a[c]);if(0===d.length)return e.map(function(g){var f={};return f[b]=0,f[c]=g,f});if(0===e.length)return d.map(function(g){var f={};return f[b]=g,f[c]=1,f});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(g,f){var l={};return l[b]=g,l[c]=e[f],l})},ak=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.wd&&
(l.name=f.wd);void 0!==f.defaultValue&&(l["default"]=f.defaultValue);null!=f.optional&&(l.optional=f.optional);return l},c=function(f){var l={};l.args=(f.arguments||[]).map(b);l.description=f.description||"";l.returns=f.Xf||"";null!=f.hidden&&(l.hidden=f.hidden);f.preview&&(l.preview=f.preview);f.deprecated&&(l.deprecated=f.$e);f.sourceCodeUri&&(l.sourceCodeUri=f.sourceCodeUri);return l},d={};a=n(a.Kc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=e.name.replace(/^algorithms\//,"");d[g]=
c(e)}return d},bk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,ck=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,dk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,ek=function(a){return(a=bk.exec(a))?a[1]:"earthengine-legacy"},fk=function(a){return ck.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
a},hk=function(a){return(a.assets||[]).map(gk)},jk=function(a){return(a.images||[]).map(ik)},kk=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";case "CLASSIFIER":return"Classifier";case "DATA_MAPPING_SERVICE":return"DmsAsset";default:return"Unknown"}},gk=function(a){var b=lk(kk(a.type),a.name),c=Object.assign({},a.properties||{});a.Fa&&(c["system:asset_size"]=
Number(a.Fa));a.startTime&&(c["system:time_start"]=Date.parse(a.startTime));a.endTime&&(c["system:time_end"]=Date.parse(a.endTime));a.geometry&&(c["system:footprint"]=a.geometry);"string"===typeof a.title&&(c["system:title"]=a.title);"string"===typeof a.description&&(c["system:description"]=a.description);a.Sa&&(b.version=1E3*Date.parse(a.Sa));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.L.Ze,dimensions:void 0,crs_transform:void 0};if(d.L){if(null!=d.L.Ob){var g=d.L.Ob;
e.crs_transform=[g.Yf||0,g.cg||0,g.tg||0,g.dg||0,g.Zf||0,g.ug||0]}null!=d.L.dimensions&&(e.dimensions=[d.L.dimensions.width,d.L.dimensions.height])}d.dataType&&(g={type:"PixelType"},g.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.jd&&(g.min=d.dataType.jd.min||0,g.max=d.dataType.jd.max),e.data_type=g);return e}));a.dmsAssetLocation&&(b.dmsAssetLocation=a.dmsAssetLocation);return b},mk=function(a){var b=new tf,c=function(g){return null===g?Vc:void 0},d=Object.assign({},a),e;a=function(g){e=
d[g];delete d[g];return e};void 0!==a("system:asset_size")&&(b.Fa=c(e)||String(e));void 0!==a("system:time_start")&&(b.startTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:time_end")&&(b.endTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:footprint")&&(b.geometry=c(e)||e);a("system:title");"string"!==typeof e&&null!==e||null!=d.title||(d.title=c(e)||e);a("system:description");"string"!==typeof e&&null!==e||null!=d.description||(d.description=c(e)||e);Object.entries(d).forEach(function(g){var f=
n(g);g=f.next().value;f=f.next().value;d[g]=c(f)||f});b.properties=d;return b},ik=function(a){return lk("Image",a.name)},lk=function(a,b){var c={};c.type=a;null!=b&&(a=b.split("/"),b="projects"===a[0]&&"assets"===a[2]&&["earthengine-legacy","earthengine-public"].includes(a[1])?a.slice(3).join("/"):b,c.id=b);return c},ok=function(a){var b={};a.num&&(b.pageSize=a.num);a.starttime&&(b.startTime=(new Date(a.starttime)).toISOString());a.endtime&&(b.endTime=(new Date(a.endtime)).toISOString());a.bbox&&
(b.region=nk(a.bbox));a.region&&(b.region=a.region);a.bbox&&a.region&&console.warn("Multiple request parameters converted to region");var c="id num starttime endtime bbox region".split(" ");a=n(Object.keys(a).filter(function(e){return!c.includes(e)}));for(var d=a.next();!d.done;d=a.next())console.warn("Unrecognized key "+d.value+" ignored");b.fields="assets(type,path)";return b},nk=function(a){return'{"type":"Polygon","coordinates":[[['+[[0,1],[2,1],[2,3],[0,3],[0,1]].map(function(b){return a[b[0]]+
","+a[b[1]]}).join("],[")+"]]]}"},pk=function(a){var b={};(a.xd||[]).forEach(function(g){b[g.Dc]=g.ac});var c=new Set,d=function(g){var f=g.replace(/^group:|^user:|^serviceAccount:/,"");g.startsWith("group:")&&c.add(f);return f};a=b["roles/viewer"]||[];var e=a.filter(function(g){return"allUsers"!==g});d={owners:(b["roles/owner"]||[]).map(d),writers:(b["roles/editor"]||[]).map(d),readers:e.map(d)};0<c.size&&(d.groups=c);a.length!=e.length&&(d.all_users_can_read=!0);return d},qk=function(a){var b=function(d){return(a[d]||
[]).map(function(e){var g="user:";a.groups&&a.groups.has(e)?g="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(g="serviceAccount:");return g+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{Dc:"roles/owner",ac:b("owners")},{Dc:"roles/viewer",ac:b("readers").concat(c)},{Dc:"roles/editor",ac:b("writers")}].map(function(d){return new Re(d)});return new wg({xd:b.filter(function(d){return d.ac.length}),df:null})},sk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:
"earthengine-legacy")+"/operations/"+rk(a)},rk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},tk=function(a){var b={},c=function(g,f){null!=f&&(b[g]=Date.parse(f))},d=function(g){switch(g){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";case "FAILED":return"FAILED";default:return"UNKNOWN"}},e=$c(ug,a.metadata||{});null!=e.description&&(b.description=e.description);
null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.Ye);c("update_timestamp_ms",e.Sa);c("start_timestamp_ms",e.startTime);b.attempt=e.attempt;a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=rk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.af;b.source_url=e.$f;return b},uk=function(a){var b={started:"OK"};a.name&&(b.taskId=rk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},vk=function(a){if(a.primaryPath){var b=[a.primaryPath];
var c=b.concat;a=a.additionalPaths||[];if(!(a instanceof Array)){a=n(a);for(var d,e=[];!(d=a.next()).done;)e.push(d.value);a=e}b=c.call(b,a)}else b=null;return b},yk=function(a){var b=function(g){var f=$c(ig,g);f.za=vk(g);return f},c=$c(dg,a);c.name=fk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=$c(gg,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=$c(eg,g);f.missingData=wk(g.missingData);return f});c.missingData=wk(a.missingData);c.Ef=db((a.tilesets||
[]).map(xk));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(g){e=d[g];delete d[g];return e};a("system:time_start")&&(c.startTime=(new Date(Number(e))).toISOString());a("system:time_end")&&(c.endTime=(new Date(Number(e))).toISOString());c.properties=d}return c},xk=function(a){var b=[];if(!Array.isArray(a.fileBands))return b;var c=function(d){var e=[];null!=d&&Array.isArray(d.bandId)&&(e=d.bandId.map(function(g){return g||""}));return new fg({Fc:a.id||
"",ca:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},zk=function(a){var b=$c(lg,a);b.name=fk(a.id);b.sources=(a.sources||[]).map(function(e){var g=$c(Gg,e);g.za=vk(e);e.maxError&&(g.Zb=e.maxError);return g});if(a.properties){var c=Object.assign({},a.properties),d;a=function(e){d=c[e];delete c[e];return d};a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());
b.properties=c}return b},wk=function(a){if(null==a)return null;var b=new bg({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);Array.isArray(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var Ak=function(){this.blockSize=-1};var Bk=function(){this.blockSize=-1;this.blockSize=64;this.W=Array(4);this.hk=Array(this.blockSize);this.me=this.Lc=0;this.reset()};x(Bk,Ak);Bk.prototype.reset=function(){this.W[0]=1732584193;this.W[1]=4023233417;this.W[2]=2562383102;this.W[3]=271733878;this.me=this.Lc=0};
var Ck=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.W[0];c=a.W[1];e=a.W[2];var g=a.W[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>>
15);f=c+(b^e&(g^b))+d[3]+3250441966&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[4]+4118548399&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[5]+1200080426&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[6]+2821735955&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[7]+4249261313&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[8]+1770035416&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[9]+2336552879&4294967295;g=b+(f<<12&4294967295|
f>>>20);f=e+(c^g&(b^c))+d[10]+4294925233&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[11]+2304563134&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[12]+1804603682&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[13]+4254626195&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[14]+2792965006&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[15]+1236535329&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(e^g&(c^e))+d[1]+4129170786&4294967295;b=c+(f<<
5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[6]+3225465664&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[11]+643717713&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[0]+3921069994&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[5]+3593408605&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[10]+38016083&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[15]+3634488961&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[4]+3889429448&4294967295;c=
e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[9]+568446438&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[14]+3275163606&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[3]+4107603335&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[8]+1163531501&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[13]+2850285829&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[2]+4243563512&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[7]+1735328473&4294967295;
e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[12]+2368359562&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(c^e^g)+d[5]+4294588738&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[8]+2272392833&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[11]+1839030562&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[14]+4259657740&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[1]+2763975236&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[4]+1272893353&4294967295;g=b+(f<<11&4294967295|
f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[10]+3200236656&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[13]+681279174&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[0]+3936430074&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[3]+3572445317&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[6]+76029189&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[9]+3654602809&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[12]+
3873151461&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[15]+530742520&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[2]+3299628645&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(e^(c|~g))+d[0]+4096336452&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[7]+1126891415&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[14]+2878612391&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[5]+4237533241&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[12]+1700485571&
4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[3]+2399980690&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[10]+4293915773&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[1]+2240044497&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[8]+1873313359&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[15]+4264355552&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[6]+2734768916&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[13]+1309151649&
4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.W[0]=a.W[0]+b&4294967295;a.W[1]=a.W[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.W[2]=a.W[2]+e&4294967295;a.W[3]=a.W[3]+g&4294967295};
Bk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.hk,e=this.Lc,g=0;g<b;){if(0==e)for(;g<=c;)Ck(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){Ck(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){Ck(this,d);e=0;break}}this.Lc=e;this.me+=b};
Bk.prototype.digest=function(){var a=Array((56>this.Lc?this.blockSize:2*this.blockSize)-this.Lc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.me;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.W[b]>>>d&255;return a};var Dk=function(a){this.sd="__ee_hash__";this.Qd=!1!==a;this.cb=[];this.Aa={};this.xg=[];this.Nd=new WeakMap;this.Di=void 0};w("ee.Serializer",Dk);var Ek=new li,Fk=new Bk,Hk=function(a,b){return Gk(new Dk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Hk);var Ik=function(a){return Ek.ya(Hk(a))};w("ee.Serializer.toJSON",Ik);var Kk=function(a){return Jk(Hk(a,!1))};w("ee.Serializer.toReadableJSON",Kk);
var Jk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Ek.ya(a)},Gk=function(a,b){b=a.Gd(b);a.Qd&&(b=t(b)&&"ValueRef"==b.type&&1==a.cb.length?a.cb[0][1]:{type:"CompoundValue",scope:a.cb,value:b},a.cb=[],Qa(a.xg,u(function(c){delete c[this.sd]},a)),a.xg=[],a.Aa={});return b};
Dk.prototype.Gd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.sd]:null;if(this.Qd&&null!=b&&this.Aa[b])return{type:"ValueRef",value:this.Aa[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(ua(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Lj){var c=a.encode(u(this.Gd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
Sa(a,function(e){return this.Gd(e)},this);else if(t(a)&&"function"!==typeof a)c=Lb(a,function(e){if("function"!==typeof e)return this.Gd(e)},this),Tb(c,this.sd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Qd){b=Lk(c);if(this.Aa[b])var d=this.Aa[b];else d=String(this.cb.length),this.cb.push([d,c]),this.Aa[b]=d;a[this.sd]=b;this.xg.push(a);return{type:"ValueRef",value:d}}return c};
var Lk=function(a){Fk.reset();Fk.update(Ek.ya(a));return Fk.digest().toString()},Nk=function(a){return ad(Mk(a),Xc,Yc,Zc)};w("ee.Serializer.encodeCloudApi",Nk);
var Mk=function(a,b){var c=new Dk(!0);c.Di=b;return Ok(c,a)},Pk=function(a){a=Ok(new Dk(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(Ne);d=n(Object.entries(g?d.h:d));for(var f=d.next();!f.done;f=d.next()){var l=n(f.value);f=l.next().value;l=l.next().value;g?null!==l&&(e[f]="functionDefinitionValue"===f&&null!=l.body?{argumentNames:l.mc,body:c(b[l.body])}:"functionInvocationValue"===f&&null!=l.$a?{arguments:Lb(l.arguments,c),
functionReference:c(b[l.$a])}:"constantValue"===f?l===Vc?null:l:c(l)):e[f]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",Pk);var Qk=function(a){return Ek.ya(Nk(a))};w("ee.Serializer.toCloudApiJSON",Qk);var Rk=function(a){return Jk(Pk(a))};w("ee.Serializer.toReadableCloudApiJSON",Rk);
var Ok=function(a,b){try{var c=Sk(a,b),d=new Tk(c,a.cb,a.Qd),e=Uk(d,d.ji);return new af({result:e,values:d.$h})}finally{a.Nd=new WeakMap,a.Aa={},a.cb=[]}},Sk=function(a,b){var c=function(e){var g=Lk(e);t(b)&&a.Nd.set(b,g);if(a.Aa[g])return a.Aa[g];var f=String(a.cb.length);a.cb.push([f,e]);return a.Aa[g]=f};if(t(b)&&a.Aa[a.Nd.get(b)])return a.Aa[a.Nd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Mj(b));if(ua(b))return c(Qj("Date",{value:Mj(Math.floor(b.getTime()))}));
if(b instanceof Lj)return c(b.pa(a));if(Array.isArray(b))return c(Oj(b.map(function(e){return Nj(Sk(a,e))})));if(t(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Nj(Sk(a,b[e]))});return c(Pj(d))}throw Error("Can't encode object: "+b);},Tk=function(a,b,c){var d=this;this.ji=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.di=c?Vk(this):null;this.$h={};this.Uf={};this.Hk=0},Uk=function(a,b){if(b in a.Uf)return a.Uf[b];var c=String(a.Hk++);
a.Uf[b]=c;a.$h[c]=Wk(a,a.values[b],0);return c},Wk=function(a,b,c){var d=function(p){return null!==p.mb},e=function(p){return p===Vc?null:p};if(d(b)||null!=b.Yb||null!=b.tb||null!=b.Pb)return b;if(null!=b.Ta)return d=a.values[b.Ta],null===a.di||50>c&&1===a.di[b.Ta]?Wk(a,d,c):Xk(d)?d:Nj(Uk(a,b.Ta));if(null!=b.Ia){var g=b.Ia.values.map(function(p){return Wk(a,p,c+3)});return g.every(d)?Mj(g.map(function(p){return e(p.mb)})):Oj(g)}if(null!=b.Ja){g={};var f={};b=n(Object.entries(b.Ja.values||{}));for(var l=
b.next();!l.done;l=b.next()){var m=n(l.value);l=m.next().value;m=m.next().value;g[l]=Wk(a,m,c+3);null!==f&&d(g[l])?f[l]=e(g[l].mb):f=null}return null!==f?Mj(f):Pj(g)}if(null!=b.Za)return d=b.Za,Sj(d.mc||[],Uk(a,d.body||""));if(null!=b.Ba){d=b.Ba;g={};f=n(Object.keys(d.arguments||{}));for(b=f.next();!b.done;b=f.next())b=b.value,g[b]=Wk(a,d.arguments[b],c+3);return d.functionName?Qj(d.functionName,g):Rj(Uk(a,d.$a||""),g)}throw Error("Can't optimize value: "+b);},Xk=function(a){var b=a.mb;return null!==
b?b===Vc||"number"===typeof b||"boolean"===typeof b:null!=a.Pb},Vk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Ia?e.Ia.values.forEach(d):null!=e.Ja?Object.values(e.Ja.values).forEach(d):null!=e.Za?c(e.Za.body):null!=e.Ba?(e=e.Ba,null!=e.$a&&c(e.$a),Object.values(e.arguments).forEach(d)):null!=e.Ta&&c(e.Ta)};c(a.ji);return b};var cl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=a.selectors||null;null!=b&&"string"===typeof b&&(b=b.split(","));b=new Jf({l:Mk(a.element),description:J(a.description),qa:null,ta:null,Dd:null,selectors:b,Zb:K(a.maxErrorMeters),requestId:J(a.id),maxVertices:K(a.maxVertices),R:K(a.maxWorkers)});var c=Yk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Lf({ra:null,oa:null,F:Uj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ra=Zk(a):d.oa=$k(a);
b.qa=d;break;case "ASSET":b.ta=new Kf({Ka:al(a)});break;case "DMS":c=new lf({Ub:fk(a.dmsName)});d=a.dmsIngestionTimeParameters;a=d.thinningOptions;a=null==a?null:new of({Gf:K(a.maxFeaturesPerTile),ng:a.thinningStrategy});d=d.rankingOptions;d=null==d?null:new nf({yg:bl(d.zOrderRankingRule),mg:bl(d.thinningRankingRule)});a=new mf({lg:a,Tf:d});c=new kf({bf:c,vc:a});b.Dd=c;break;default:throw Error('Export destination "'+c+'" unknown');}return b};function J(a){return null!=a?String(a):null}
function K(a){return null!=a?Number(a):null}
var Yk=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId?b="ASSET":null!=a.dmsName&&(b="DMS");return b},el=function(a){var b=new cg({Ue:!!a.tfrecordCompressed,$b:J(a.tfrecordMaxFileSize),ag:!!a.tfrecordSequenceData,Se:!!a.tfrecordCollapseBands,Hf:K(a.tfrecordMaskedThreshold),defaultValue:K(a.tfrecordDefaultValue),Ra:dl(a.tfrecordPatchDimensions),Df:dl(a.tfrecordKernelSize),he:null});a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c=
{};Jb(a,function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.he=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},fl=function(a,b){var c=new Ff({ra:null,oa:null,Id:null,ie:null,F:Tj(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=
a.tiffShardSize||a.shardSize;d=new Uf({Re:!!a.tiffCloudOptimized,fg:!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),Ra:dl(a.fileDimensions||a.tiffFileDimensions),tileSize:K(d)});c.Id=d}else"TF_RECORD_IMAGE"===c.F&&(c.ie=el(a));"GOOGLE_CLOUD_STORAGE"===b?c.ra=Zk(a):c.oa=$k(a);return c},gl=function(a,b){var c=new Nf({ra:null,oa:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ra=Zk(a):c.oa=$k(a);return c},hl=function(a){var b=K(a.maxZoom),c=K(a.scale),d=K(a.minZoom),e=!!a.skipEmptyTiles,g=J(a.mapsApiKey),f=
dl(a.tileDimensions),l=K(a.stride);var m=K(a.minTimeMachineZoomSubset);a=K(a.maxTimeMachineZoomSubset);if(null==m&&null==a)m=null;else{var p=new Ig({min:0,max:null});null!=m&&(p.min=m);p.max=a;m=p}return new If({maxZoom:b,scale:c,minZoom:d,gg:e,Cf:g,Ra:f,hg:l,zg:m})},dl=function(a){if(null==a)return null;var b=new Vf({height:0,width:0});"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=
a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+a);else if("number"!==typeof a||isNaN(a))if(t(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},Zk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Tf({nc:J(a.outputBucket),fa:J(a.outputPrefix),
oc:a.bucketCorsUris||null,permissions:b})},$k=function(a){return new sf({kf:J(a.driveFolder),fa:J(a.driveFileNamePrefix)})},al=function(a){return new We({name:fk(a.assetId)})},bl=function(a){if(null==a)return null;if(a.rankByOneThingRule&&!Array.isArray(a.rankByOneThingRule))throw Error('Parameter "rankByOneThingRule" should be an array, got '+typeof a.rankByOneThingRule);return new Dg({Sf:(a.rankByOneThingRule||[]).map(il),Pf:a.pseudoRandomTiebreaking||null})},il=function(a){var b=new Cg({direction:J(a.direction),
Wd:null,Yd:null,Xd:null,Zd:null});a.rankByAttributeRule?b.Wd=new yg({attributeName:J(a.attributeName)}):a.rankByMinVisibleLodRule?b.Yd=new Ag({}):a.rankByGeometryTypeRule?b.Xd=new zg({}):a.rankByNaturalOrderRule&&(b.Zd=new Bg({}));return b};var kl=function(a,b,c,d,e,g){d=oj(!g,!1,d||[]);qj=a;rj=d;null===a?wj():sj(function(){uj(b,c,e||Aa(jl,b,c))})};w("ee.data.authenticateViaOauth",kl);var ll=function(a,b,c,d,e){kl(a,b,c,d,e)};w("ee.data.authenticate",ll);var jl=function(a,b){r.gapi.auth.authorize({client_id:qj,immediate:!1,scope:rj.join(" ")},Aa(tj,a,b))};w("ee.data.authenticateViaPopup",jl);
var ml=function(a,b,c,d,e){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");d=oj(!e,!e,d||[]);qj=a.client_email;rj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);pj=function(f,l){g.authorize(function(m,p){m?l({error:m}):l({access_token:p.access_token,token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};uj(b,c)};w("ee.data.authenticateViaPrivateKey",ml);
w("ee.data.setExpressionAugmenter",function(a){nl=a||sc});var nl=sc;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=oj(!l,!1,e||[]);qj=a;rj=e;var m={token_type:b,access_token:c,state:e.join(" "),expires_in:d};tj(void 0,void 0,m);!1===f?g&&g():sj(function(){r.gapi.auth.setToken(m);g&&g()})});w("ee.data.refreshAuthToken",uj);w("ee.data.setAuthTokenRefresher",function(a){pj=a});w("ee.data.getAuthToken",kj);w("ee.data.clearAuthToken",wj);w("ee.data.getAuthClientId",function(){return qj});
w("ee.data.getAuthScopes",function(){return rj});w("ee.data.setDeadline",function(a){Kj=a});w("ee.data.setParamAugmenter",function(a){Ej=a||sc});
var ol=function(a){a=new H(a);return I(a,a.Kc().list(ej(),{prettyPrint:!1}).then(ak))},ql=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new zf({name:null,l:nl(Mk(a.image)),F:Tj(a.format),ca:Wj(a.bands),eb:Zj(a)});b=new H(b);return I(b,b.maps().create(ej(),a,{fields:["name"]}).then(function(c){return pl(c.name,"")}))};w("ee.data.getMapId",ql);
var rl=function(a,b,c,d){if(!a.formatTileUrl){var e=pl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",rl);
var pl=function(a,b,c){var d=void 0===c?"":c;d||(bj(),c=zj,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1alpha/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,g,f){var l=Math.pow(2,f);e%=l;e=String(0>e?e+l:e);return d.replace("{x}",e).replace("{y}",g).replace("{z}",f)},urlFormat:d}},sl=function(a,b){var c=a.visParams?nl(Mk(a.visParams)):null;a=new gf({name:null,Qb:a.assetName,Ub:a.mapName,wg:c});b=new H(b);return I(b,(new Rg(b.N)).create(ej(),a,{fields:["name"]}).then(function(d){return{token:d.name}}))};
w("ee.data.getDmsTilesKey",sl);var tl=function(a,b){a=nl(Mk(a));b=new H(b);return I(b,ah(b.value(),ej(),new $e({l:a})).then(function(c){return c.result}))};w("ee.data.computeValue",tl);
var ul=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new Hg({name:null,l:nl(Mk(a.image)),F:Tj(a.format),fa:a.name,ca:Wj(a.bands),
eb:Zj(a),L:null});b=new H(b);return I(b,(new Zg(b.N)).create(ej(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getThumbId",ul);
var vl=function(a,b){var c=new Of({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Lg({name:null,l:nl(Mk(a.imageCollection)),F:Tj(a.format),Ua:c,L:null});b=new H(b);return I(b,(new dh(b.N)).create(ej(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};w("ee.data.getVideoThumbId",vl);
var wl=function(a,b){a=new Qf({name:null,l:nl(Mk(a.imageCollection)),F:Tj(a.format),orientation:Vj(a.orientation),L:null});b=new H(b);return I(b,(new Sg(b.N)).create(ej(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getFilmstripThumbId",wl);var xl=function(a){return zj+"/v1alpha/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",xl);
var zl=function(a,b){a=Object.assign({},a);a.id&&(a.image=new L(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(d){a.bands=Wj(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(d){return"string"===typeof d})&&(a.bands=a.bands.map(function(d){return{id:d}}));if(a.bands&&a.bands.some(function(d){return null==d.id}))throw Error("Each band dictionary must have an id.");"string"===typeof a.region&&(a.region=JSON.parse(a.region));if("string"===typeof a.crs_transform)try{a.crs_transform=
JSON.parse(a.crs_transform)}catch(d){}var c=yl(a.image,a);a=new Hg({name:null,l:nl(Mk(c)),F:Tj(a.format),fa:a.name,ca:a.bands&&Wj(a.bands.map(function(d){return d.id})),L:null});b=new H(b);return I(b,(new Zg(b.N)).create(ej(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))};w("ee.data.getDownloadId",zl);var Al=function(a){bj();return zj+"/v1alpha/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",Al);
var Bl=function(a,b){b=new H(b);var c=Uj(a.format),d=nl(Mk(a.table)),e=null;if(null!=a.selectors)if("string"===typeof a.selectors)e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(g){return"string"===typeof g}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new Fg({name:null,l:d,F:c,selectors:e,filename:a.filename||null});return I(b,(new Yg(b.N)).create(ej(),a,{fields:["name"]}).then(function(g){return{docid:g.name||"",
token:""}}))};w("ee.data.getTableDownloadId",Bl);var Cl=function(a){return zj+"/v1alpha/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",Cl);var Dl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=cb(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};w("ee.data.newTaskId",Dl);
var Fl=function(a,b){var c=El(a).map(sk);if(1===c.length)return a=new H(b),I(a,a.Pa().get(c[0]).then(function(e){return[tk(e)]}));a=new jj(b);var d=a.Pa();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return tk(e[g])})})};w("ee.data.getTaskStatus",Fl);var El=function(a){if("string"===typeof a)return[a];if(Array.isArray(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},Hl=function(a){return Gl(void 0,a)};
w("ee.data.getTaskList",Hl);var Gl=function(a,b){return b?(Il(a,function(c,d){return b(c?{tasks:c.map(tk)}:null,d)}),null):{tasks:Il(a).map(tk)}};w("ee.data.getTaskListWithLimit",Gl);var Il=function(a,b){var c=[],d={pageSize:500},e=function(l){ab(c,l.Pa||[]);!l.bb||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.bb,I(g,f.list(ej(),d).then(e)));return null},g=new H(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Pa();I(g,f.list(ej(),d).then(e));return b?null:a?c.slice(0,a):c};
w("ee.data.listOperations",Il);var Jl=function(a,b){a=El(a);var c=new Te;if(1===a.length)b=new H(b),I(b,b.Pa().cancel(a[0],c));else{b=new jj(b);var d=b.Pa();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",Jl);var Kl=function(a,b){var c=El(a).map(sk);if(!Array.isArray(a))return a=new H(b),I(a,a.Pa().get(c[0]));a=new jj(b);var d=a.Pa();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",Kl);var Ml=function(a,b){return Ll(a,"CANCEL",b)};
w("ee.data.cancelTask",Ml);var Ll=function(a,b,c){if(!Pb(Nl,b))throw Error("Invalid action: "+b);a=El(a);a=a.map(sk);Jl(a,c);return null};w("ee.data.updateTask",Ll);
var Tl=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new H(c);c=function(g){return I(e,g.then(uk))};switch(d){case "EXPORT_IMAGE":return b=Ol(b,a),c(e.image().Na(ej(),b));case "EXPORT_FEATURES":return b=cl(b),b.l=nl(b.l,a),c(e.table().Na(ej(),b));case "EXPORT_VIDEO":return b=Pl(b,a),c(e.video().Na(ej(),b));case "EXPORT_TILES":return b=Ql(b,a),c(e.map().Na(ej(),b));case "EXPORT_VIDEO_MAP":return b=Rl(b),c((new ch(e.N)).Na(ej(),b));case "EXPORT_CLASSIFIER":return b=
Sl(b),c((new Qg(e.N)).Na(ej(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",Tl);
var Ol=function(a,b){var c=Ul(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new Df({l:Mk(c.element),description:J(c.description),qa:null,ta:null,L:null,If:J(c.maxPixels),requestId:J(c.id),R:K(c.maxWorkers)});var d=Yk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.qa=fl(c,d);break;case "ASSET":d=c.pyramidingPolicy||{};try{d=JSON.parse(d)}catch(g){}var e="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof d?(e=d,d={}):d[".default"]&&(e=d[".default"],delete d[".default"]);
c=new Ef({Ka:al(c),pyramidingPolicy:e,Qf:Sb(d)?null:d,tileSize:K(c.shardSize)});a.ta=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.l=nl(a.l,b);return a},Pl=function(a,b){a=Vl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Pf({l:Mk(a.element),description:J(a.description),Ua:new Of({framesPerSecond:K(a.framesPerSecond),maxFrames:K(a.maxFrames),maxPixelsPerFrame:J(a.maxPixels)}),qa:null,requestId:J(a.id),R:K(a.maxWorkers)});c.qa=gl(a,Yk(a));c.l=
nl(c.l,b);return c},Ql=function(a,b){var c=a.scale;delete a.scale;a=Ul(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new Hf({l:Mk(a.element),description:J(a.description),hc:hl(a),fc:fl(a,"GOOGLE_CLOUD_STORAGE"),requestId:J(a.id),R:K(a.maxWorkers)});c.l=nl(c.l,b);return c},Rl=function(a){var b=a.scale;delete a.scale;a=Vl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Mf({l:Mk(a.element),description:J(a.description),Ua:new Of({framesPerSecond:K(a.framesPerSecond),
maxFrames:K(a.maxFrames),maxPixelsPerFrame:null}),hc:hl(a),fc:gl(a,"GOOGLE_CLOUD_STORAGE"),requestId:J(a.id),version:J(a.version),R:K(a.maxWorkers)});b.l=nl(b.l);return b},Sl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=Yk(a);if("ASSET"!=b)throw Error('Export destination "'+b+'" unknown');a=new Cf({l:Mk(a.element),description:J(a.description),requestId:J(a.id),ta:new Ve({Ka:al(a)}),R:K(a.maxWorkers)});a.l=nl(a.l);return a},Xl=function(a,b,c){b=yk(b);var d=function(e){return e?
uk(e):null};return d(Wl(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",Xl);var Wl=function(a,b,c){b=new jg({uf:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.image().import(ej(),b))},Yl=function(a,b,c){b=new kg({kg:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.table().import(ej(),b))},Zl=function(a,b,c){b=zk(b);var d=function(e){return e?uk(e):null};return d(Yl(a,b,c&&function(e,g){return c(d(e),g)}))};
w("ee.data.startTableIngestion",Zl);var $l=function(a,b){b=new H(b);a=fk(a);return I(b,b.assets().get(a,{prettyPrint:!1}).then(gk))};w("ee.data.getAsset",$l);w("ee.data.getInfo",$l);
var am=function(a,b){b=new H(b);var c=b.assets(),d=fk(a.id),e=dk.test(a.id);e&&(c=new Ng(b.N),d="projects/"+ek(a.id));if(Object.keys(a).every(function(g){return"id"===g||"num"===g}))return I(b,c.ad(d,{pageSize:a.num}).then(hk));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=ok(a);return I(b,Pg(c,d,a).then(jk))};w("ee.data.getList",am);
var bm=function(a,b,c){b=void 0===b?{}:b;var d=dk.test(a);c=new H(c);var e=d?new Ng(c.N):c.assets();a=d?"projects/"+ek(a):fk(a);return I(c,e.ad(a,b))};w("ee.data.listAssets",bm);var cm=function(a,b,c){b=void 0===b?{}:b;c=new H(c);return I(c,Pg(c.assets(),a,b))};w("ee.data.listImages",cm);var dm=function(a,b){b=new H(b);return I(b,(new Ng(b.N)).ad(a||ej()))};w("ee.data.listBuckets",dm);var em=function(a){a=new H(a);return I(a,(new Ng(a.N)).ad(ej()).then(hk))};w("ee.data.getAssetRoots",em);
var fm=function(a,b){var c="projects/"+ek(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new tf({type:"Folder"});b=new H(b);I(b,b.assets().create(c,d,{assetId:a}).then(gk))};w("ee.data.createAssetHome",fm);
var gm=function(a,b,c,d,e){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&fk(b);if(!c)throw Error("Either asset name or opt_path must be specified.");var g=c.indexOf("/assets/");if(-1===g)throw Error("Asset name must contain /assets/.");a=new tf(a);b=c.slice(0,g);c=c.slice(g+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
case "Folder":d="FOLDER"}a.type=d;e=new H(e);return I(e,e.assets().create(b,a,{assetId:c}).then(gk))};w("ee.data.createAsset",gm);var hm=function(a,b,c){return gm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",hm);var im=function(a,b,c){a=fk(a);b=fk(b);b=new sg({Tb:b});c=new H(c);I(c,c.assets().move(a,b).then(gk))};w("ee.data.renameAsset",im);
var jm=function(a,b,c,d){a=fk(a);b=fk(b);c=new df({Tb:b,overwrite:null!=c?c:null});d=new H(d);b=gk;var e=d.assets();var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=G(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",u:F(g,f),G:tf});I(d,g.then(b))};w("ee.data.copyAsset",jm);var km=function(a,b){b=new H(b);I(b,b.assets().delete(fk(a)))};w("ee.data.deleteAsset",km);
var lm=function(a,b){a=fk(a);var c=new Wf;b=new H(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var g=void 0===g?{}:g;d.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=G(d.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+d.m+"/"+a+":getIamPolicy",u:F(e,g),G:wg});return I(b,g.then(pk))};w("ee.data.getAssetAcl",lm);
var mm=function(a,b,c,d){b=new Kg({Qb:b,Hc:(c||[]).join(",")});d=new H(d);c=gk;var e=d.assets();a=fk(a);var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=G(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,u:F(g,f),G:tf});return I(d,g.then(c))};w("ee.data.updateAsset",mm);
var nm=function(a,b,c){a=fk(a);b=qk(b);b=new Eg({Mf:b});c=new H(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var g=void 0===g?{}:g;d.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=G(d.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+d.m+"/"+a+":setIamPolicy",u:F(e,g),G:wg});I(c,g)};w("ee.data.setAssetAcl",nm);
var om=function(a,b,c){var d=mk(b);b=Wc(d.i()).keys.filter(function(e){return"properties"!==e&&E(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(g,f){return"_"+f.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));mm(a,d,b,c)};w("ee.data.setAssetProperties",om);
var pm=function(a,b){var c=fk(a);b=new H(b);var d=b.assets(),e=d.j.C;d.j.C=function(g,f){"^projects\\/[^/]+\\/assets\\/.+$"===f.source&&(f=RegExp("^projects/[^/]+/assets/.*$"));return e(g,f)};c=d.get(c,{prettyPrint:!1});return I(b,c.then(function(g){if(!(g instanceof tf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Oe||0),limit:Number(g.Ff||0)},asset_size:{usage:Number(g.Fa||0),limit:Number(g.$b||0)}}}))};w("ee.data.getAssetRootQuota",pm);
var Nl={Yk:"CANCEL",al:"UPDATE"};var M=function(a,b,c){if(!(this instanceof M))return qm(M,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.H=a;this.args=b;this.U=c||null};x(M,Lj);w("ee.ComputedObject",M);M.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");tl(this,a)};M.prototype.evaluate=M.prototype.evaluate;
M.prototype.V=function(a){return tl(this,a)};M.prototype.getInfo=M.prototype.V;M.prototype.encode=function(a){if(null===this.H&&null===this.args)return{type:"ArgumentRef",value:this.U};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.H);b["string"===typeof a?"functionName":"function"]=a;return b};
M.prototype.pa=function(a){if(null===this.H&&null===this.args){a=this.U||a.Di;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Ne({Pb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Nj(Sk(a,this.args[c])));return"string"===typeof this.H?Qj(String(this.H),b):this.H.Fd(a,b)};M.prototype.ya=function(a){return(void 0===a?0:a)?Ik(this):Qk(this)};M.prototype.serialize=M.prototype.ya;
M.prototype.toString=function(){return"ee."+this.name()+"("+Kk(this)+")"};w("ee.ComputedObject.prototype.toString",M.prototype.toString);M.prototype.name=function(){return"ComputedObject"};M.prototype.Ag=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};M.prototype.aside=M.prototype.Ag;
var rm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.H=b.H;a.args=b.args;a.U=b.U;return a},qm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var sm={},tm=function(a,b){if(b==a)return!0;switch(a){case "Element":return"Element"==b||"Image"==b||"Feature"==b||"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "FeatureCollection":case "Collection":return"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "Object":return!0;default:return!1}},um=function(a){return"number"===typeof a||a instanceof M&&"Number"==a.name()},vm=function(a){return"string"===typeof a||a instanceof M&&"String"==a.name()},wm=function(a){return t(a)&&
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},xm=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&wm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var ym=function(){if(!(this instanceof ym))return new ym};x(ym,Lj);w("ee.Function",ym);var zm=sc;ym.prototype.call=function(a){return this.apply(Am(this,Array.prototype.slice.call(arguments,0)))};ym.prototype.call=ym.prototype.call;ym.prototype.apply=function(a){a=new M(this,Bm(this,a));return zm(a,this.$().returns)};ym.prototype.apply=ym.prototype.apply;
var Cm=function(a,b,c){var d=void 0!==b,e=a.$();if(xm(c,e,d)){if(c=Ub(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Am(a,d?[b].concat(c):c);return a.apply(c)},Bm=function(a,b){for(var c=a.$().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&void 0!==b[f])d[f]=zm(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+f+") missing to function: "+a);e[f]=!0}c=[];for(var l in b)e[l]||c.push(l);if(0<c.length)throw Error("Unrecognized arguments ("+
c+") to function: "+a);return d},Am=function(a,b){var c=a.$().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
ym.prototype.toString=function(a,b){var c=this.$(),d=[];d.push(a||c.name);d.push("(");d.push(Sa(c.args.slice(b?1:0),function(g){return g.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&0==a?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
d.push("Undocumented.")}return d.join("")};ym.prototype.ya=function(a){return(void 0===a?0:a)?Ik(this):Qk(this)};var N=function(a,b){if(void 0===b)return Dm(a);if(!(this instanceof N))return qm(N,arguments);this.Ab=Vb(b);this.Ab.name=a};x(N,ym);w("ee.ApiFunction",N);var O=function(a,b){return ym.prototype.call.apply(Dm(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",O);var Em=function(a,b){return Dm(a).apply(b)};w("ee.ApiFunction._apply",Em);N.prototype.encode=function(){return this.Ab.name};N.prototype.Fd=function(a,b){return Qj(this.Ab.name,b)};N.prototype.$=function(){return this.Ab};
var Fm=null,Gm={},Im=function(){Hm();return Lb(Fm,function(a){return a.$()})},Jm=function(){Hm();return Kb(Fm,function(a,b){return!Gm[b]})},Dm=function(a){var b=Km(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",Dm);
var Km=function(a){Hm();return Fm[a]||null},Hm=function(a,b){if(Fm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Fm=Lb(d,function(g,f){g.returns=g.returns.replace(/<.*>/,"");for(var l=0;l<g.args.length;l++)g.args[l].type=g.args[l].type.replace(/<.*>/,"");return new N(f,g)}),a&&a())};a?ol(c):c(ol())}},Lm=function(a,b,c,d){Hm();var e=d||"";Jb(Fm,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.$();Gm[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p="Object"!=f&&tm(f,c));
f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return Cm(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,p),f[l].signature=m)}})},Mm=function(a){var b=function(c){for(var d in c)"function"===typeof c[d]&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var P=function(a,b){var c=Nm(a),d=Sa(c,function(m){return m.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},g=b[0],f=t(g)&&"function"!==typeof g&&!Array.isArray(g)&&"Object"===Object.getPrototypeOf(g).constructor.name;if(1<b.length||!f){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(g=0;g<b.length;g++)e[d[g]]=b[g]}else{f=new Mc(Ob(g));
var l=new Mc(d);if(Oc(l,f).isEmpty())e[d[0]]=b[0];else{b=Pc(f,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=Ub(g)}}b=new Mc(Ob(e));c=Pc(new Mc(Ra(c,function(m){return 0!=m.lastIndexOf("opt_",0)})),b);if(0!==c.size)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},Nm=function(a){var b=Om,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||Pm(),c=a.paramNames,Array.isArray(c)||Pm()):(a=a.toString().replace(Qm,
"").match(b),null===a&&Pm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Rm,"")}));return c},Pm=function(){throw Error("Failed to locate function parameters.");},Qm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Om=/^function[^\(]*\(([^\)]*)\)/m,Rm=/=.*$/;var Q=function(a,b,c){M.call(this,a,b,c);Sm()};x(Q,M);w("ee.Element",Q);var Tm=!1,Sm=function(){Tm||(Lm(Q,"Element","Element"),Tm=!0)};Q.prototype.name=function(){return"Element"};
Q.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=wm(c))a:{b=Ob(c);var d=["properties"];if(ta(b)&&ta(d)&&b.length==d.length){for(var e=b.length,g=0;g<e;g++)if(b[g]!==d[g]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(wm(c)){b=this;for(var f in c)d=c[f],b=O("Element.set",b,f,d)}else if(c instanceof M&&Km("Element.setMulti"))b=O("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)f=arguments[c],d=arguments[c+1],b=O("Element.set",b,f,d)}return rm(this,b)};Q.prototype.set=Q.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return qm(S,arguments);if(!("type"in a)){var e=P(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Um();e=null!=b||null!=c||null!=d;if(a instanceof M&&!(a instanceof S&&a.rb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");M.call(this,a.H,a.args,a.U)}else{a instanceof S&&(a=a.encode());if(!Vm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));M.call(this,
null,null);this.rb=a.type;this.Wg=null!=a.coordinates?Vb(a.coordinates):null;this.xh=a.geometries||null;if(null!=b)this.dc=b;else if("crs"in a)if(t(a.crs)&&"name"==a.crs.type&&t(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.dc=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new li).ya(a.crs));this.uc=c;void 0===this.uc&&"geodesic"in a&&(this.uc=!!a.geodesic);this.sc=d;void 0===this.sc&&"evenOdd"in a&&(this.sc=!!a.evenOdd)}};x(S,M);w("ee.Geometry",S);
var Wm=!1,Um=function(){Wm||(Lm(S,"Geometry","Geometry"),Wm=!0)},Xm=function(a,b){if(!(this instanceof Xm))return Ym(Xm,arguments);var c=Zm(Xm,"Point",1,arguments);if(!(c instanceof M)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};x(Xm,S);S.Point=Xm;var $m=function(a,b){if(!(this instanceof $m))return Ym($m,arguments);S.call(this,Zm($m,"MultiPoint",2,arguments))};x($m,S);S.MultiPoint=$m;
var an=function(a,b,c,d){if(!(this instanceof an))return Ym(an,arguments);var e=Zm(an,"Rectangle",2,arguments);if(!(e instanceof M)){var g=e.coordinates;if(2!=g.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var f=g[0][0],l=g[0][1],m=g[1][0];g=g[1][1];e.coordinates=[[[f,g],[f,l],[m,l],[m,g]]];e.type="Polygon"}S.call(this,e)};x(an,S);S.Rectangle=an;
var bn=function(a,b,c,d){if(!(this instanceof bn))return Ym(bn,arguments);var e=[a,b,c,d];if(cn(e))return(new N("GeometryConstructors.BBox")).apply(e);if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,
90);360<=c-a?(a=-180,c=180):(a=dn(a),c=dn(c),c<a&&(c+=360));S.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(bn,an);S.BBox=bn;var dn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},en=function(a,b,c,d){if(!(this instanceof en))return Ym(en,arguments);S.call(this,Zm(en,"LineString",2,arguments))};x(en,S);S.LineString=en;var fn=function(a,b,c,d){if(!(this instanceof fn))return Ym(fn,arguments);S.call(this,Zm(fn,"LinearRing",2,arguments))};x(fn,S);
S.LinearRing=fn;var gn=function(a,b,c,d){if(!(this instanceof gn))return Ym(gn,arguments);S.call(this,Zm(gn,"MultiLineString",3,arguments))};x(gn,S);S.MultiLineString=gn;var hn=function(a,b,c,d,e){if(!(this instanceof hn))return Ym(hn,arguments);S.call(this,Zm(hn,"Polygon",3,arguments))};x(hn,S);S.Polygon=hn;var jn=function(a,b,c,d,e){if(!(this instanceof jn))return Ym(jn,arguments);S.call(this,Zm(jn,"MultiPolygon",4,arguments))};x(jn,S);S.MultiPolygon=jn;
S.prototype.encode=function(a){if(!this.rb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.encode.call(this,a)}a={type:this.rb};"GeometryCollection"==this.rb?a.geometries=this.xh:a.coordinates=this.Wg;null!=this.dc&&(a.crs={type:"name",properties:{name:this.dc}});null!=this.uc&&(a.geodesic=this.uc);null!=this.sc&&(a.evenOdd=this.sc);return a};
S.prototype.ke=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.ke;S.prototype.sg=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new li).ya(this.ke())};S.prototype.toGeoJSONString=S.prototype.sg;S.prototype.ya=function(a){return(void 0===a?0:a)?Ik(this):Qk(this)};S.prototype.serialize=S.prototype.ya;
S.prototype.toString=function(){return"ee.Geometry("+this.sg()+")"};
S.prototype.pa=function(a){if(!this.rb){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return M.prototype.pa.call(this,a)}var b={},c="";"GeometryCollection"===this.rb?(b.geometries=this.xh.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Wg,c="GeometryConstructors."+this.rb);null!=this.dc&&(b.crs="string"===typeof this.dc?(new N("Projection")).call(this.dc):this.dc);var d="Point"!==this.rb&&"MultiPoint"!==this.rb;null!=
this.uc&&d&&(b.geodesic=this.uc);null!=this.sc&&(b.evenOdd=this.sc);return(new N(c)).apply(b).pa(a)};
var Vm=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!Array.isArray(b))return!1;for(a=0;a<b.length;a++)if(!Vm(b[a]))return!1;return!0}a=a.coordinates;var c=kn(a);return"Point"==b&&1==c||"MultiPoint"==b&&(2==c||0==a.length)||"LineString"==b&&2==c||"LinearRing"==b&&2==c||"MultiLineString"==b&&(3==c||0==a.length)||"Polygon"==b&&3==c||"MultiPolygon"==b&&(4==c||0==a.length)},kn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=kn(a[0]),c=1;c<a.length;c++)if(kn(a[c])!=
b)return-1;return b+1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},ln=function(a){if("number"!==typeof a[0]||2==a.length)return a;if(0!=a.length%2)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},Zm=function(a,b,c,d){a=mn(a,d);if(cn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new N("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=nn(c,a.coordinates);(b=Wa(["Polygon",
"Rectangle","MultiPolygon"],b))&&null==a.evenOdd&&(a.evenOdd=!0);if(b&&!1===a.geodesic&&!1===a.evenOdd)throw Error("Planar interiors must be even/odd.");return a},mn=function(a,b){if(Ua(b,um))return{coordinates:$a(b)};a=P(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Kb(a,function(c){return null!=c})},cn=function(a){return Array.isArray(a)?Ta(a,cn):a instanceof M},nn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Ua(b,function(e){return"number"===
typeof e})&&(b=ln(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(kn(b)!=a)throw Error("Invalid geometry");for(c=b;Array.isArray(c)&&1==c.length;)c=c[0];return Array.isArray(c)&&0==c.length?[]:b},Ym=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var T=function(a){if(!(this instanceof T))return qm(T,arguments);if(a instanceof T)return a;on();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);M.call(this,new N("Filter.and"),{filters:a})}else if(a instanceof M)M.call(this,a.H,a.args,a.U);else if(void 0===a)M.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(T,M);w("ee.Filter",T);
var pn=!1,on=function(){pn||(Lm(T,"Filter","Filter"),pn=!0)},qn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.xc=function(){return O("Filter.not",this)};T.prototype.not=T.prototype.xc;var rn=function(a,b){var c=P(rn,arguments);return O("Filter.equals",c.name,c.value)};T.eq=rn;var sn=function(a,b){var c=P(sn,arguments);return rn(c.name,c.value).xc()};T.neq=sn;
var tn=function(a,b){var c=P(tn,arguments);return O("Filter.lessThan",c.name,c.value)};T.lt=tn;var un=function(a,b){var c=P(un,arguments);return tn(c.name,c.value).xc()};T.gte=un;var vn=function(a,b){var c=P(vn,arguments);return O("Filter.greaterThan",c.name,c.value)};T.gt=vn;var wn=function(a,b){var c=P(wn,arguments);return vn(c.name,c.value).xc()};T.lte=wn;var xn=function(a){return O("Filter.and",Array.prototype.slice.call(arguments))};T.and=xn;var yn=function(a){return O("Filter.or",Array.prototype.slice.call(arguments))};
T.or=yn;var zn=function(a,b){var c=P(zn,arguments);c=O("DateRange",c.start,c.end);return Em("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=zn;var An=function(a,b,c,d){var e=P(An,arguments);return Em("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=An;var Bn=function(a,b){return Em("Filter.intersects",{leftField:".all",rightValue:O("Feature",a),maxError:b})};T.bounds=Bn;
T.prototype.name=function(){return"Filter"};var Cn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in qn))throw Error("Unknown filtering operator: "+b);a=O("Filter."+qn[b],a,c);return d?a.xc():a};T.metadata=Cn;var V=function(a,b,c){Q.call(this,a,b,c);Dn()};x(V,Q);w("ee.Collection",V);var En=!1,Dn=function(){En||(Lm(V,"Collection","Collection"),Lm(V,"AggregateFeatureCollection","Collection","aggregate_"),En=!0)};V.prototype.filter=function(a){a=P(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return rm(this,O("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
V.prototype.gf=function(a,b,c){var d=P(V.prototype.gf,arguments);return this.filter(Cn(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.gf;V.prototype.qh=function(a){return this.filter(Bn(a))};V.prototype.filterBounds=V.prototype.qh;V.prototype.ff=function(a,b){var c=P(V.prototype.ff,arguments);return this.filter(zn(c.start,c.end))};V.prototype.filterDate=V.prototype.ff;
V.prototype.limit=function(a,b,c){var d=P(V.prototype.limit,arguments);return rm(this,O("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=P(V.prototype.sort,arguments);return rm(this,O("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return Q};
V.prototype.map=function(a,b){var c=this.elementType();return rm(this,O("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Ih=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return O("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.Ih;var W=function(a,b){if(!(this instanceof W))return qm(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");Fn();if(a instanceof S||null===a)Q.call(this,new N("Feature"),{geometry:a,metadata:b||null});else if(a instanceof M)Q.call(this,a.H,a.args,a.U);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
c)throw Error('Can\'t specify both "id" and "system:index".');c=Ub(c);c["system:index"]=a.id}Q.call(this,new N("Feature"),{geometry:new S(a.geometry),metadata:c})}else Q.call(this,new N("Feature"),{geometry:new S(a),metadata:b||null})};x(W,Q);w("ee.Feature",W);var Gn=!1,Fn=function(){Gn||(Lm(W,"Feature","Feature"),Gn=!0)};W.prototype.V=function(a){return W.M.V.call(this,a)};W.prototype.getInfo=W.prototype.V;
W.prototype.getMap=function(a,b){var c=P(W.prototype.getMap,arguments);return O("Collection",[this]).getMap(c.visParams,c.callback)};W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var Ul=function(a){var b={},c=Hn(a.element,a);c=In(c,a,b);b.element=c;return b},Vl=function(a){var b={},c=a.element.map(function(d){d=Hn(d,a);return In(d,a,b)});b.element=c;return b},In=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Jb(b,function(f,l){if(null!=f)switch(l){case "dimensions":l="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===l.length)d.maxDimension=l[0];else if(2===l.length)d.width=l[0],d.height=l[1];else throw Error("Invalid dimensions "+
f);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof an)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){l=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(l)){if(l.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new an(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof S)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(l))f=new hn(l,null,!1);else if(t(l))f=new S(l,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[l]=f}});Sb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?Em("Image.clipToBoundsAndScale",
d):Em("Image.clip",d));return a},Hn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=Jn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Em("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,b.dimensions_consumed=!0,c=(new N("Projection")).call(c,d),b.region=new an([0,
0,e[0],e[1]],c,!1))}}else a=Em("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},Jn=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Ua(a,function(b){return"number"===typeof b}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},Ln=function(a,b){var c={};b=Kn(b,c);Sb(b)||(b.image=a,a=Em("Image.visualize",
b));c.image=a;return c},Kn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Jb(a,function(e,g){Wa(c,g)?d[g]=e:b[g]=e});return d},yl=function(a,b){b=Object.assign({},b);var c=function(e){var g={};["crs","crs_transform","dimensions","region"].forEach(function(f){f in e&&(g[f]=e[f])});null!=e.scale&&null==e.dimensions&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(void 0===g)throw Error("Each band dictionary must have an id.");g=a.select(g);
var f=c(b);e=c(e);e=c(Object.assign(f,e));g=Hn(g,e);return g=In(g,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,g){return O("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=Hn(a,d),a=In(a,d,{}));return a};var L=function(a){if(!(this instanceof L))return qm(L,arguments);if(a instanceof L)return a;Mn();var b=arguments.length;if(0==b||1==b&&void 0===a)Q.call(this,new N("Image.mask"),{image:new L(0),mask:new L(0)});else if(1==b)if(um(a))Q.call(this,new N("Image.constant"),{value:a});else if(vm(a))Q.call(this,new N("Image.load"),{id:a});else{if(Array.isArray(a))return Nn(Sa(a,function(d){return new L(d)}));if(a instanceof M)"Array"==a.name()?Q.call(this,new N("Image.constant"),{value:a}):Q.call(this,a.H,
a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(vm(b)&&um(c))Q.call(this,new N("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};x(L,Q);w("ee.Image",L);var On=!1,Mn=function(){On||(Lm(L,"Image","Image"),On=!0)};L.prototype.V=function(a){return L.M.V.call(this,a)};
L.prototype.getInfo=L.prototype.V;L.prototype.getMap=function(a,b){var c=this,d=P(L.prototype.getMap,arguments),e=Ln(this,d.visParams);if(d.callback){var g=d.callback;ql(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=ql(e),d.image=this,d};L.prototype.getMap=L.prototype.getMap;L.prototype.vb=function(a,b){var c=P(L.prototype.vb,arguments),d=c.params?Ub(c.params):{};d.image=this;if(c.callback){var e=c.callback;zl(d,function(g,f){g?e(Al(g)):e(null,f)})}else return Al(zl(d))};
L.prototype.getDownloadURL=L.prototype.vb;L.prototype.Jd=function(a,b){var c=P(L.prototype.vb,arguments),d=c.params?Ub(c.params):{},e={},g=Hn(this,d);g=In(g,d,e);d=Ln(g,e);return c.callback?(ul(d,c.callback),null):ul(d)};L.prototype.getThumbId=L.prototype.Jd;L.prototype.pf=function(a,b){var c=P(L.prototype.pf,arguments);if(c.callback)this.Jd(c.params,function(d,e){var g="";if(void 0===e)try{g=xl(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return xl(this.Jd(c.params))};
L.prototype.getThumbURL=L.prototype.pf;var Pn=function(a,b,c){var d=P(Pn,arguments);return Nn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};L.rgb=Pn;var Qn=function(a){return Nn(Array.prototype.slice.call(arguments),null)};L.cat=Qn;var Nn=function(a,b){if(0==a.length)return O("Image.constant",[]);for(var c=new L(a[0]),d=1;d<a.length;d++)c=O("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
L.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||vm(b[0])||um(b[0])){for(var d=0;d<b.length;d++)if(!(vm(b[d])||um(b[d])||b[d]instanceof M))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Em("Image.select",c)};L.prototype.select=L.prototype.select;
L.prototype.l=function(a,b){var c=P(L.prototype.l,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var g=c.map,f;for(f in g)d.push(f),e[f]=new L(g[f])}var l=O("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new ym;c.encode=function(m){return l.encode(m)};c.Fd=function(m,p){return Rj(Sk(m,l),p)};c.$=function(){return{name:"",args:Sa(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
L.prototype.expression=L.prototype.l;L.prototype.clip=function(a){try{a=new S(a)}catch(b){}return O("Image.clip",this,a)};L.prototype.clip=L.prototype.clip;L.prototype.fi=function(a){var b=1!=arguments.length||vm(arguments[0])?Array.from(arguments):arguments[0];return O("Image.rename",this,b)};L.prototype.rename=L.prototype.fi;L.prototype.name=function(){return"Image"};var Rn=function(a){if(this instanceof Rn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Rn)return a}else return qm(Rn,arguments);Sn();if(Array.isArray(a))M.call(this,null,null),this.bd=a;else if(a instanceof M)M.call(this,a.H,a.args,a.U),this.bd=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Rn,M);w("ee.List",Rn);var Tn=!1,Sn=function(){Tn||(Lm(Rn,"List","List"),Tn=!0)};
Rn.prototype.encode=function(a){return Array.isArray(this.bd)?Sa(this.bd,function(b){return a(b)}):Rn.M.encode.call(this,a)};Rn.prototype.pa=function(a){return Array.isArray(this.bd)?Nj(Sk(a,this.bd)):Rn.M.pa.call(this,a)};Rn.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return qm(X,arguments);if(a instanceof X)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Un();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(vm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new N("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new N("Collection"),{features:Sa(a,function(d){return new W(d)})});else if(a instanceof Rn)V.call(this,
new N("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)V.call(this,new N("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof M)V.call(this,a.H,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(X,V);w("ee.FeatureCollection",X);var Vn=!1,Un=function(){Vn||(Lm(X,"FeatureCollection","FeatureCollection"),Vn=!0)};
X.prototype.getMap=function(a,b){var c=P(X.prototype.getMap,arguments),d=Em("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};X.prototype.getMap=X.prototype.getMap;X.prototype.V=function(a){return X.M.V.call(this,a)};X.prototype.getInfo=X.prototype.V;
X.prototype.vb=function(a,b,c,d){var e=P(X.prototype.vb,arguments),g={table:this};e.format&&(g.format=e.format.toUpperCase());e.filename&&(g.filename=e.filename);e.selectors&&(g.selectors=e.selectors);if(e.callback)Bl(g,function(f,l){f?e.callback(Cl(f)):e.callback(null,l)});else return Cl(Bl(g))};X.prototype.getDownloadURL=X.prototype.vb;
X.prototype.select=function(a,b,c){if(vm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=P(X.prototype.select,arguments);return this.map(function(g){return g.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return W};var Y=function(a){if(!(this instanceof Y))return qm(Y,arguments);if(a instanceof Y)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Wn();a instanceof L&&(a=[a]);if(vm(a))V.call(this,new N("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new N("ImageCollection.fromImages"),{images:Sa(a,function(b){return new L(b)})});else if(a instanceof Rn)V.call(this,new N("ImageCollection.fromImages"),{images:a});
else if(a instanceof M)V.call(this,a.H,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Y,V);w("ee.ImageCollection",Y);var Xn=!1,Wn=function(){Xn||(Lm(Y,"ImageCollection","ImageCollection"),Lm(Y,"reduce","ImageCollection"),Xn=!0)};Y.prototype.mf=function(a,b){var c=P(Y.prototype.mf,arguments);return Yn(this,c,["png","jpg","jpeg"],"filmstrip")};Y.prototype.getFilmstripThumbURL=Y.prototype.mf;
Y.prototype.rf=function(a,b){var c=P(Y.prototype.rf,arguments);return Yn(this,c,["gif"],"video")};Y.prototype.getVideoThumbURL=Y.prototype.rf;
var Yn=function(a,b,c,d){var e={};a=a.map(function(l){l=Hn(l,b.params);return In(l,b.params,e)});var g={},f=Kn(e,g);g.imageCollection=a.map(function(l){f.image=l;return Em("Image.visualize",f)});null!=b.params.dimensions&&(g.dimensions=b.params.dimensions);if(g.format){if(!Ta(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=ul;switch(d){case "video":c=vl;break;case "filmstrip":c=wl}if(b.callback)c(g,function(l,m){var p="";
if(void 0===m)try{p=xl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return xl(c(g))};Y.prototype.getMap=function(a,b){var c=P(Y.prototype.getMap,arguments),d=O("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Y.prototype.getMap=Y.prototype.getMap;Y.prototype.V=function(a){return Y.M.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;
Y.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Y.prototype.select=Y.prototype.select;Y.prototype.first=function(){return new L(O("Collection.first",this))};Y.prototype.first=Y.prototype.first;Y.prototype.name=function(){return"ImageCollection"};Y.prototype.elementType=function(){return L};var Zn=function(a){this.Ve=a;this.id=null},ao=function(a){var b={element:$n(a)};Object.assign(b,a);b=Kb(b,function(c){return null!=c});return new Zn(b)};
Zn.prototype.start=function(a,b){var c=this;y(this.Ve,"Task config must be specified for tasks to be started.");if(a){var d=function(){La(c.id);Tl(c.id,c.Ve,function(e,g){g?b(g):a()})};this.id?d():Dl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Dl(1)[0],La(this.id,"Failed to obtain task ID."),Tl(this.id,this.Ve)};Zn.prototype.start=Zn.prototype.start;var bo=function(a,b,c,d,e,g,f,l,m,p,v){var B=P(bo,arguments);B=co(B,"ASSET","EXPORT_IMAGE");return ao(B)};
w("module$contents$ee$batch_Export.image.toAsset",bo);var eo=function(a,b,c,d,e,g,f,l,m,p,v,B,D,R,Z){var U=P(eo,arguments);U=co(U,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return ao(U)};w("module$contents$ee$batch_Export.image.toCloudStorage",eo);var fo=function(a,b,c,d,e,g,f,l,m,p,v,B,D,R,Z){var U=P(fo,arguments);U=co(U,"DRIVE","EXPORT_IMAGE");return ao(U)};w("module$contents$ee$batch_Export.image.toDrive",fo);
var go=function(a,b,c,d,e,g,f,l,m,p,v,B,D){var R=P(go,arguments);R=co(R,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return ao(R)};w("module$contents$ee$batch_Export.map.toCloudStorage",go);var ho=function(a,b,c,d,e,g,f){var l=P(ho,arguments);l=co(l,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return ao(l)};w("module$contents$ee$batch_Export.table.toCloudStorage",ho);var io=function(a,b,c,d,e,g,f){var l=P(io,arguments);l.type="EXPORT_FEATURES";l=co(l,"DRIVE","EXPORT_FEATURES");return ao(l)};
w("module$contents$ee$batch_Export.table.toDrive",io);var jo=function(a,b,c,d){var e=P(jo,arguments);e=co(e,"ASSET","EXPORT_FEATURES");return ao(e)};w("module$contents$ee$batch_Export.table.toAsset",jo);var ko=function(a,b,c,d){var e=P(ko,arguments);e=co(e,"DMS","EXPORT_FEATURES");return ao(e)};w("module$contents$ee$batch_Export.table.toDmsLayer",ko);var lo=function(a,b,c,d,e,g,f,l,m,p,v,B){var D=P(lo,arguments);D=co(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return ao(D)};
w("module$contents$ee$batch_Export.video.toCloudStorage",lo);var mo=function(a,b,c,d,e,g,f,l,m,p,v,B){var D=P(mo,arguments);D=co(D,"DRIVE","EXPORT_VIDEO");return ao(D)};w("module$contents$ee$batch_Export.video.toDrive",mo);var no=function(a,b,c,d,e,g,f,l,m,p,v,B,D,R,Z,U,Hb,nq,oq,pq){var cj=P(no,arguments);cj=co(cj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return ao(cj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",no);
var oo=function(a,b,c){var d=P(oo,arguments);d=co(d,"ASSET","EXPORT_CLASSIFIER");return ao(d)};w("module$contents$ee$batch_Export.classifier.toAsset",oo);
var $n=function(a){var b=function(d){return d in a},c=po.find(b);y(1===Va(po,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof L||b instanceof X||b instanceof Y||b instanceof Q||b instanceof M))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},co=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==
e.fileFormat&&(e.fileFormat="GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}e.fileFormat=a;null!=e.formatOptions&&(a=qo(e,a),delete e.formatOptions,Object.assign(e,a));e=ro(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
delete e.crsTransform);break;case "EXPORT_TILES":b=ro(e,b);e=b.fileFormat;null==e&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;null==
a&&(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=ro(e,b);break;case "EXPORT_VIDEO":e=so(e);e=ro(e,b);null!=e.crsTransform&&
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=so(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=ro(e,b);break;case "EXPORT_CLASSIFIER":e=b=ro(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.ke();else if("string"===typeof b)try{b=Na(JSON.parse(b))}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
}if(!(t(b)&&"type"in b))try{new en(b)}catch(g){try{new hn(b)}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},ro=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
a.assetId||"";break;case "DMS":a.dmsName=a.dmsName||"";break;default:b=sa(a.folder);if(!Wa(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},to={GEO_TIFF:["cloudOptimized","fileDimensions","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
uo={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},so=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;null==b&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},qo=function(a,b){var c=a.formatOptions;if(null==c)return{};
if(Object.keys(a).some(function(m){return null!==c&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=uo[b];for(var d=to[b],e={},g=n(Object.entries(c)),f=g.next();!f.done;f=g.next()){var l=n(f.value);f=l.next().value;l=l.next().value;if(!Wa(d,f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+f[0].toUpperCase()+f.substring(1)]=Array.isArray(l)?l.join():l}return e},
po=["image","collection","classifier"];var vo=function(a){if(!(this instanceof vo))return qm(vo,arguments);if(a instanceof vo)return a;wo();if("number"===typeof a)M.call(this,null,null),this.dd=a;else if(a instanceof M)M.call(this,a.H,a.args,a.U),this.dd=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(vo,M);w("ee.Number",vo);var xo=!1,wo=function(){xo||(Lm(vo,"Number","Number"),xo=!0)};vo.prototype.encode=function(a){return"number"===typeof this.dd?this.dd:vo.M.encode.call(this,a)};
vo.prototype.pa=function(a){return"number"===typeof this.dd?Nj(Sk(a,this.dd)):vo.M.pa.call(this,a)};vo.prototype.name=function(){return"Number"};var yo=function(a){if(!(this instanceof yo))return qm(yo,arguments);if(a instanceof yo)return a;zo();if("string"===typeof a)M.call(this,null,null),this.nd=a;else if(a instanceof M)this.nd=null,a.H&&"String"==a.H.$().returns?M.call(this,a.H,a.args,a.U):M.call(this,new N("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(yo,M);w("ee.String",yo);var Ao=!1,zo=function(){Ao||(Lm(yo,"String","String"),Ao=!0)};
yo.prototype.encode=function(a){return"string"===typeof this.nd?this.nd:yo.M.encode.call(this,a)};yo.prototype.pa=function(a){return"string"===typeof this.nd?Nj(Sk(a,this.nd)):yo.M.pa.call(this,a)};yo.prototype.name=function(){return"String"};var Bo=function(a,b){if(!(this instanceof Bo))return qm(Bo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(Co(f in sm?sm[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Ab=Do(a,c,b);this.Lg=b.apply(null,c)};x(Bo,ym);w("ee.CustomFunction",Bo);Bo.prototype.encode=function(a){return{type:"Function",argumentNames:Sa(this.Ab.args,function(b){return b.name}),body:a(this.Lg)}};
Bo.prototype.pa=function(a){return Sj(this.Ab.args.map(function(b){return b.name}),Sk(a,this.Lg))};Bo.prototype.Fd=function(a,b){return Rj(Sk(a,this),b)};Bo.prototype.$=function(){return this.Ab};
var Co=function(a,b){a=a||Object;if(!(a.prototype instanceof M))if(a&&a!=Object)if(a==String)a=yo;else if(a==Number)a=vo;else if(a==Array)a=r.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=M;var c=function(d){this.args=this.H=null;this.U=d};c.prototype=a.prototype;return new c(b)},Eo=function(a,b){b={name:"",returns:"Object",args:Sa(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof M?c.prototype.name.call(null):c==Number?
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new Bo(b,a)},Do=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].U&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(l){var m=function(v){return v.map(p).reduce(function(B,D){return B+D},0)},p=function(v){return v.Za?1:v.Ia?m(v.Ia.values):v.Ja?m(Object.values(v.Ja.values)):v.Ba?m(Object.values(v.Ba.arguments)):0};return m(Object.values(l.values))}(Mk(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
d.length;e++){var g=d[e],f=c+e;b[g].U=f;a.args[g].name=f}return a};var Fo=function(a,b){if(!(this instanceof Fo))return qm(Fo,arguments);if(a instanceof Fo)return a;Go();var c=P(Fo,arguments);a=c.date;c=c.tz;var d=new N("Date"),e={},g=null;if(vm(a)){if(e.value=a,c)if(vm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(um(a))e.value=a;else if(ua(a))e.value=Math.floor(a.getTime());else if(a instanceof M)a.H&&"Date"==a.H.$().returns?(d=a.H,e=a.args,g=a.U):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
a);M.call(this,d,e,g)};x(Fo,M);w("ee.Date",Fo);var Ho=!1,Go=function(){Ho||(Lm(Fo,"Date","Date"),Ho=!0)};Fo.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var Jo=function(a){return Io(JSON.parse(a))};w("ee.Deserializer.fromJSON",Jo);var Io=function(a){if("result"in a&&"values"in a)return Ko(a);var b={};if(t(a)&&"CompoundValue"===a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],g=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=Lo(g,b)}a=a.value}return Lo(a,b)};w("ee.Deserializer.decode",Io);
var Lo=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Sa(a,function(e){return Lo(e,b)});if(!t(a)||"function"===typeof a)throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if("string"!==typeof a)throw Error("Invalid variable name: "+a);return Co(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
a);return new Fo(a/1E3);case "Bytes":return Mo(new Ne({tb:a}),a);case "Invocation":return c="functionName"in a?Dm(a.functionName):Lo(a["function"],b),a=Lb(a.arguments,function(e){return Lo(e,b)}),No(c,a);case "Dictionary":return Lb(a.value,function(e){return Lo(e,b)});case "Function":var d=Lo(a.body,b);a={name:"",args:Sa(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new Bo(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new S(a);
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},Mo=function(a,b){var c=function(){};q(c,Lj);c.prototype.encode=function(){return b};c.prototype.pa=function(){return a};return new c},No=function(a,b){if(a instanceof ym)return a.apply(b);if(a instanceof M){var c=function(){return ym.apply(this,arguments)||this};q(c,ym);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Fd=function(d,e){return Rj(Sk(d,a),
e)};return new M(new c,b)}throw Error("Invalid function value");},Oo=function(a){return Ko(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",Oo);
var Ko=function(a){var b=$c(af,a),c={},d=function(f,l){if(!(f in c)){if(!(f in b.values))throw Error("Cannot find "+l+" "+f);c[f]=e(b.values[f])}return c[f]},e=function(f){if(null!==f.mb)f=f.mb;else if(null!==f.Ia)f=f.Ia.values.map(e);else if(null!==f.Ja)f=Lb(f.Ja.values,e);else if(null!==f.Pb)f=Co(Object,f.Pb);else if(null!==f.Za)f=g(f.Za);else if(null!==f.Ba){var l=f.Ba;f=l.$a?d(l.$a,"function"):Dm(l.functionName);l=Lb(l.arguments,e);f=No(f,l)}else f=null!==f.tb?Mo(new Ne({tb:f.tb}),f.tb):null!==
f.Yb?Mo(new Ne({Yb:f.Yb}),f.Yb):null!==f.Ta?d(f.Ta,"reference"):null;return f},g=function(f){var l=d(f.body,"function body");f={args:f.mc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new Bo(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",Ko);var Po=function(a){if(!(this instanceof Po))return qm(Po,arguments);if(a instanceof Po)return a;Qo();wm(a)?(M.call(this,null,null),this.Qc=a):(a instanceof M&&a.H&&"Dictionary"==a.H.$().returns?M.call(this,a.H,a.args,a.U):M.call(this,new N("Dictionary"),{input:a},null),this.Qc=null)};x(Po,M);w("ee.Dictionary",Po);var Ro=!1,Qo=function(){Ro||(Lm(Po,"Dictionary","Dictionary"),Ro=!0)};Po.prototype.encode=function(a){return null!==this.Qc?a(this.Qc):Po.M.encode.call(this,a)};
Po.prototype.pa=function(a){return null!==this.Qc?Nj(Sk(a,this.Qc)):Po.M.pa.call(this,a)};Po.prototype.name=function(){return"Dictionary"};var So={};w("ee.Terrain",So);So.xf=!1;So.initialize=function(){So.xf||(Lm(So,"Terrain","Terrain"),So.xf=!0)};So.reset=function(){Mm(So);So.xf=!1};var Yo=function(a,b,c,d,e,g){if("ready"!=To||a||b){var f=null!=c;if(d)if(f)Uo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==To&&f)Vo.push(c);else if(To="loading",bj(a,b,e,g),f)Vo.push(c),Hm(Wo,Xo);else try{Hm(),Wo()}catch(l){throw Xo(l),l;}}else c&&c()};w("ee.initialize",Yo);
var ap=function(){To="not_ready";Aj=zj=mj=null;yj=!1;Fm=null;Gm={};Mm(Fo);Ho=!1;Mm(Po);Ro=!1;Mm(Q);Tm=!1;Mm(L);On=!1;Mm(W);Gn=!1;Mm(V);En=!1;Mm(Y);Xn=!1;Mm(X);Vn=!1;Mm(T);pn=!1;Mm(S);Wm=!1;Mm(Rn);Tn=!1;Mm(vo);xo=!1;Mm(yo);Ao=!1;So.reset();for(var a=r.ee,b=0;b<Zo.length;b++){var c=Zo[b];Mm(a[c]);delete a[c]}Zo=[];sm=a;a=$o;for(var d in a)delete a[d]};w("ee.reset",ap);var bp={Zk:"not_ready",LOADING:"loading",$k:"ready"};w("ee.InitState",bp);w("ee.InitState.NOT_READY","not_ready");
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var To="not_ready",Vo=[],Uo=[];w("ee.TILE_SIZE",256);var Zo=[],$o={};w("ee.Algorithms",$o);var cp=function(a,b){"string"===typeof a&&(a=new N(a));return ym.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",cp);var dp=function(a,b){"string"===typeof a&&(a=new N(a));return a.apply(b)};w("ee.apply",dp);
var Wo=function(){if("loading"==To){try{Go();Qo();Sm();Mn();Fn();Dn();Wn();Un();on();Um();Sn();wo();zo();So.initialize();var a=Im(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var g=r.ee,f;for(f in b)f in c&&!(f in g)&&(g[f]=ep(f),Zo.push(f),a[f]?(g[f].signature=a[f],g[f].signature.isConstructor=!0,Gm[f]=!0):g[f].signature={});sm=g;fp()}catch(l){Xo(l);return}To="ready";for(Uo=[];0<Vo.length;)Vo.shift()()}},Xo=function(a){if("loading"==
To)for(To="not_ready",Vo=[];0<Uo.length;)Uo.shift()(a)},fp=function(){var a=Jm();Ob(a).sort().forEach(function(b){var c=a[b],d=c.$();if(!d.hidden){b=b.split(".");var e=$o;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=bb(b,1)}g=function(f){return Cm(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},ep=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),g=1==e.length;if(g&&e[0]instanceof
d)return e[0];if(!(this instanceof d))return qm(d,e);d=Km(a);var f=!(e[0]instanceof M),l=!1;d&&(g?f?l=!0:e[0].H&&e[0].H.$().returns==d.$().returns||(l=!0):l=!0);if(l)e=xm(e,d.$())?e[0]:Am(d,e),M.call(this,d,Bm(d,e));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];M.call(this,e.H,e.args,e.U)}};x(b,M);b.prototype.name=function(){return a};Lm(b,a,a);return b};
zm=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new L(a);case "Feature":return a instanceof V?O("Feature",O("Collection.geometry",a)):new W(a);case "Element":if(a instanceof Q)return a;if(a instanceof S)return new W(a);if(a instanceof M)return new Q(a.H,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?O("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof V?
a:new X(a);case "ImageCollection":return new Y(a);case "Filter":return new T(a);case "Algorithm":if("string"===typeof a)return new N(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Eo(a,c)}if(a instanceof Lj)return a;throw Error("Argument is not a function: "+a);case "String":return vm(a)||a instanceof yo||a instanceof M?new yo(a):a;case "Dictionary":return wm(a)?a:new Po(a);case "List":return new Rn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new vo(a);
default:if(b in c){d=Km(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if("string"===typeof a){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var gp=function(a,b,c){Rc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.th=new Dc;this.sh=new Dc};q(gp,Rc);gp.prototype.getTile=function(a,b){var c=Sc(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.Bb,this.token].join("/");this.Db.push(c);this.Bb+=1;var d=jh("DIV");hp(this,b,a,c,d);ip(this);return d};
var hp=function(a,b,c,d,e){var g=Ni(Li);g.open("GET",b,!0);g.responseType="arraybuffer";g.onreadystatechange=u(function(){if(g.readyState===XMLHttpRequest.DONE&&200===g.status){var f=g.response;if(f)f=new Float32Array(f),this.th.set(c,f),this.sh.set(c,e),Ya(this.Db,d),ip(this);else throw this.pg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},ip=function(a){a.dispatchEvent(new Tc(a.Db.length))};gp.prototype.I=function(){this.sh=this.th=null;Rc.prototype.I.call(this)};
w("ee.FloatTileOverlay",gp);var jp=function(){this.fe=new Map};jp.prototype.clear=function(){this.fe.clear()};var kp=function(a,b){a.fe.has(b)||a.fe.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.fe.get(b)};var lp=function(a){Da.call(this);this.Wb=a;this.K={}};x(lp,Da);var mp=[];lp.prototype.ab=function(a,b,c,d){Array.isArray(b)||(b&&(mp[0]=b.toString()),b=mp);for(var e=0;e<b.length;e++){var g=ec(a,b[e],c||this.handleEvent,d||!1,this.Wb||this);if(!g)break;this.K[g.key]=g}return this};lp.prototype.cd=function(a,b,c,d){return np(this,a,b,c,d)};
var np=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)np(a,b,c[f],d,e,g);else{b=dc(b,c,d||a.handleEvent,e,g||a.Wb||a);if(!b)return a;a.K[b.key]=b}return a};lp.prototype.oe=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.oe(a,b[g],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Wb||this,c=fc(c),d=!!d,b=Eb(a)?a.Tc(b,c,d,e):a?(a=hc(a))?a.Tc(b,c,d,e):null:null,b&&(mc(b),delete this.K[b.key])};
lp.prototype.kd=function(){Jb(this.K,function(a,b){this.K.hasOwnProperty(b)&&mc(a)},this);this.K={}};lp.prototype.I=function(){lp.M.I.call(this);this.kd()};lp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var pp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Rb[a.name]):(this.code=a=Ka(a.code),this.name=op(a));Fa.call(this,Bd("%s %s",this.name,b))};x(pp,Fa);
var op=function(a){var b=Qb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},qp={},Rb=(qp.AbortError=3,qp.EncodingError=5,qp.InvalidModificationError=9,qp.InvalidStateError=7,qp.NotFoundError=1,qp.NotReadableError=4,qp.NoModificationAllowedError=6,qp.PathExistsError=12,qp.QuotaExceededError=10,qp.SecurityError=2,qp.SyntaxError=8,qp.TypeMismatchError=11,qp);var rp=function(a,b){Ea.call(this,a.type,b);this.Ma=a};x(rp,Ea);var sp=function(){z.call(this);this.ba=new FileReader;this.ba.onloadstart=u(this.rc,this);this.ba.onprogress=u(this.rc,this);this.ba.onload=u(this.rc,this);this.ba.onabort=u(this.rc,this);this.ba.onerror=u(this.rc,this);this.ba.onloadend=u(this.rc,this)};x(sp,z);h=sp.prototype;h.abort=function(){try{this.ba.abort()}catch(a){throw new pp(a,"aborting read");}};h.xb=function(){return this.ba.readyState};h.getError=function(){return this.ba.error&&new pp(this.ba.error,"reading file")};
h.rc=function(a){this.dispatchEvent(new rp(a,this))};h.I=function(){sp.M.I.call(this);delete this.ba};h.readAsBinaryString=function(a){this.ba.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.ba.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.ba.readAsText(a,b)};var tp=function(a,b){y(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var up=function(a,b){z.call(this);b=b||{};this.minZoom=b.minZoom||0;this.maxZoom=b.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=b.tileSize||new google.maps.Size(256,256);this.name=b.name;this.opacity="opacity"in b?b.opacity:1;this.de=new jp;this.Cb=new Dc;this.Bb=0;this.og=a;this.ob=new lp(this);this.projection=null;this.radius=0;this.alt=null};q(up,z);h=up.prototype;h.Ne=function(a){return ec(this,"tile-load",a)};h.Wf=function(a){mc(a)};
h.Uc=function(){return vp(this,"throttled")+vp(this,"loading")+vp(this,"new")};h.setOpacity=function(a){this.opacity=a;this.Cb.forEach(function(b){tp(b.ua,this.opacity)},this)};h.getStats=function(){return this.de};
h.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.createElement("div");var e=a.x%d;0>e&&(e+=d);d=new google.maps.Point(e,a.y);a=[[a.x,a.y,b,this.Bb++].join("-"),this.og.yh()].join("-");b=this.Yg(d,b,c,a);b.tileSize=this.tileSize;tp(b.ua,this.opacity);this.Cb.set(a,b);wp(this,b);this.dispatchEvent(new xp(this.Uc()));this.og.Lh(b,(new Date).getTime()/1E3);return b.ua};h.releaseTile=function(a){var b=this.Cb.get(a.id);this.Cb.remove(a.id);b&&(b.abort(),Ca(b))};
var wp=function(a,b){a.ob.ab(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Ak,d=(new Date).getTime();kp(this.de,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new yp(this.Uc()));break;case "throttled":kp(this.de,b.zoom).throttleCount++;this.dispatchEvent(new zp(b.Qa));break;case "failed":kp(this.de,b.zoom).errorCount++;this.dispatchEvent(new Ap(b.Qa,b.nk));break;case "aborted":this.dispatchEvent(new Bp(this.Uc()))}})};
up.prototype.I=function(){z.prototype.I.call(this);this.Cb.forEach(Ca);this.Cb.clear();this.Cb=null;Ca(this.ob);this.og=this.ob=null};var vp=function(a,b){return Va(a.Cb.aa(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",up);up.prototype.removeTileCallback=up.prototype.Wf;up.prototype.addTileCallback=up.prototype.Ne;var yp=function(){Ea.call(this,"tile-load")};q(yp,Ea);var xp=function(){Ea.call(this,"tile-start")};q(xp,Ea);var zp=function(){Ea.call(this,"tile-throttle")};
q(zp,Ea);var Ap=function(a,b){Ea.call(this,"tile-fail");this.errorMessage=b};q(Ap,Ea);var Bp=function(){Ea.call(this,"tile-abort")};q(Bp,Ea);var Cp=function(a,b,c,d){z.call(this);this.qc=a;this.zoom=b;this.ua=c.createElement("div");this.ua.id=d;this.Ek=5;this.$d=function(){};this.ge="new";this.ii=0;this.zf=!1};q(Cp,z);
var Ep=function(a){if(!a.zf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");Dp(a,"loading");a.Ak=(new Date).getTime();a.fb=new Oi;a.fb.Cc="blob";a.fb.ab("complete",function(){var b=Zi(a.fb),c=a.fb.getStatus();429==c&&Dp(a,"throttled");if(Hi(c)){var d={};Jb($i(a.fb),function(g,f){d[f.toLowerCase()]=g});a.Sk=d;a.oi=b;a.Sc()}else if(b){var e=new sp;e.ab("loadend",function(){a.md(e.ba.result)},void 0);e.readAsText(b)}else a.md("Failed to load tile.")},
!1);a.fb.cd("ready",Aa(Ca,a.fb));a.Qa&&a.Qa.endsWith("&profiling=1")&&(a.Qa=a.Qa.replace("&profiling=1",""),a.fb.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.fb.send(a.Qa,"GET")};h=Cp.prototype;h.Sc=function(){this.$d(this);Dp(this,"loaded")};h.Mc=function(){Ca(this.fb)};
h.md=function(a){var b=function(c){try{if(c=JSON.parse(c),c.error&&c.error.message)return c.error.message}catch(d){}return c};this.ii>=this.Ek?(this.nk=b(a),Dp(this,"failed")):(this.Mc(),setTimeout(u(function(){this.Xa||(this.zf=!0,Ep(this),this.zf=!1)},this),1E3*Math.pow(2,this.ii++)))};h.abort=function(){this.Mc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&Dp(this,this.ge in Fp?"removed":"aborted")};h.getStatus=function(){return this.ge};var Dp=function(a,b){a.ge=b;a.dispatchEvent("status-changed")};
Cp.prototype.I=function(){z.prototype.I.call(this);this.Mc();this.ua.remove();this.$d=null};var Fp={aborted:!0,failed:!0,loaded:!0,removed:!0};var Gp=function(){Da.call(this)};q(Gp,Da);var Hp=function(a,b){up.call(this,a,b);this.Ng=new Dc;this.kh=new Dc};q(Hp,up);Hp.prototype.Yg=function(a,b,c,d){var e=new Ip(a,b,c,d);this.ob.ab(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Ng.set(a,new Float32Array(e.yd)),this.kh.set(a,e.ua))});return e};Hp.prototype.I=function(){up.prototype.I.call(this);this.kh=this.Ng=null};w("ee.layers.BinaryOverlay",Hp);var Ip=function(a,b,c,d){Cp.call(this,a,b,c,d)};q(Ip,Cp);
Ip.prototype.Sc=function(){var a=new sp;a.ab("loadend",function(){this.yd=a.ba.result;Cp.prototype.Sc.call(this)},void 0,this);a.readAsArrayBuffer(this.oi)};var Jp=function(a){z.call(this);this.Yc={};this.Xc={};this.Wb=new lp(this);this.Y=a;this.Te=!1};x(Jp,z);var Kp=[qb&&!Ab("11")?"readystatechange":"load","abort","error"],Lp=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Te=!1,a.Yc[b]={src:c,Xg:null}},Mp=function(a,b){delete a.Yc[b];var c=a.Xc[b];c&&(delete a.Xc[b],a.Wb.oe(c,Kp,a.Wh))};
Jp.prototype.start=function(){var a=this.Yc;Ob(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Xa)){if(this.Y){var d=this.Y;d=(d?new oh(nh(d)):Ga||(Ga=new oh)).lk("IMG")}else d=new Image;c.Xg&&(d.crossOrigin=c.Xg);this.Wb.ab(d,Kp,this.Wh);this.Xc[b]=d;d.id=b;d.src=c.src}},this)};
Jp.prototype.Wh=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));Mp(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Xa&&Sb(this.Xc)&&Sb(this.Yc)&&!this.Te&&(this.Te=!0,this.dispatchEvent("complete"))}};Jp.prototype.I=function(){delete this.Yc;delete this.Xc;Ca(this.Wb);Jp.M.I.call(this)};var Np=function(a,b){up.call(this,a,b)};q(Np,up);Np.prototype.Yg=function(a,b,c,d){return new Op(a,b,c,d)};w("ee.layers.ImageOverlay",Np);var Op=function(a,b,c,d){Cp.call(this,a,b,c,d);this.$d=Pp;this.Dh=this.ha=this.Od=null;this.ed=""};q(Op,Cp);
Op.prototype.Sc=function(){try{var a=yd(this.oi);this.ed=wd(a);var b="about:invalid#zClosurez"!==this.ed?this.ed:this.Qa}catch(c){b=this.Qa}this.ha=new Jp;Lp(this.ha,this.ua.id+"-image",b);this.Dh=dc(this.ha,Qp,function(c){"load"==c.type?(this.Od=c.target,Cp.prototype.Sc.call(this)):this.md()},void 0,this);this.ha.start()};Op.prototype.Mc=function(){Cp.prototype.Mc.call(this);this.ha&&(mc(this.Dh),Ca(this.ha))};Op.prototype.I=function(){Cp.prototype.I.call(this);this.ed&&URL.revokeObjectURL(this.ed)};
var Pp=function(a){a.ua.appendChild(a.Od)},Qp=["load","abort","error"];var Rp=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(0==d.lastIndexOf("/",0))b=d;else{var e;(e=""==b)||(e=b.length-1,e=0<=e&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var Sp=function(a,b,c,d){Da.call(this);this.Mg=a;this.cc=b;this.jg=d||"";this.Td=c};q(Sp,Gp);Sp.prototype.Lh=function(a){if(a.zoom<=this.Td)a.Qa=this.Kd(a.qc,a.zoom);else{var b=a.zoom-this.Td,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.qc.x/c),Math.floor(a.qc.y/c));a.Qa=this.Kd(c,a.zoom-b);a.$d=Aa(Tp,this.Td)}var d=u(a.md,a);a.md=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Dp(a,"loaded"):d(e)},a);Ep(a)};
Sp.prototype.yh=function(){return[this.Mg,this.cc,this.Td,this.jg].join("-")};Sp.prototype.Kd=function(a,b){a=Rp("https://storage.googleapis.com",this.Mg,this.cc,String(b),String(a.x),String(a.y));this.jg&&(a+=this.jg);return a};
var Tp=function(a,b){if(!b.Od)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.ua.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.ua.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Od,c/a*(b.qc.x%a),c/a*(b.qc.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Sp);var Up=function(){this.Oa=[];this.Va=[]};h=Up.prototype;h.enqueue=function(a){this.Va.push(a)};h.Pc=function(){0===this.Oa.length&&(this.Oa=this.Va,this.Oa.reverse(),this.Va=[]);return this.Oa.pop()};h.S=function(){return this.Oa.length+this.Va.length};h.isEmpty=function(){return 0===this.Oa.length&&0===this.Va.length};h.clear=function(){this.Oa=[];this.Va=[]};h.contains=function(a){return Wa(this.Oa,a)||Wa(this.Va,a)};
h.remove=function(a){var b=this.Oa;var c=Pa(b,a);0<=c?(Za(b,c),b=!0):b=!1;return b||Ya(this.Va,a)};h.aa=function(){for(var a=[],b=this.Oa.length-1;0<=b;--b)a.push(this.Oa[b]);var c=this.Va.length;for(b=0;b<c;++b)a.push(this.Va[b]);return a};var Vp=function(a,b){Da.call(this);this.Sh=a||0;this.Sd=b||10;if(this.Sh>this.Sd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ya=new Up;this.yb=new Mc;this.delay=0;this.Af=null;this.td()};x(Vp,Da);Vp.prototype.Vc=function(){var a=Date.now();if(!(null!=this.Af&&a-this.Af<this.delay)){for(var b;0<this.Ya.S()&&(b=this.Ya.Pc(),!this.Jf(b));)this.td();!b&&this.S()<this.Sd&&(b=this.We());b&&(this.Af=a,this.yb.add(b));return b}};
var Wp=function(a,b){return a.yb.remove(b)?(a.Me(b),!0):!1};h=Vp.prototype;h.Me=function(a){this.yb.remove(a);this.Jf(a)&&this.S()<this.Sd?this.Ya.enqueue(a):this.Cd(a)};h.td=function(){for(var a=this.Ya;this.S()<this.Sh;)a.enqueue(this.We());for(;this.S()>this.Sd&&0<this.Ya.S();)this.Cd(a.Pc())};h.We=function(){return{}};h.Cd=function(a){if("function"==typeof a.Wa)a.Wa();else for(var b in a)a[b]=null};h.Jf=function(a){return"function"==typeof a.ik?a.ik():!0};
h.contains=function(a){return this.Ya.contains(a)||this.yb.contains(a)};h.S=function(){return this.Ya.S()+this.yb.S()};h.isEmpty=function(){return this.Ya.isEmpty()&&this.yb.isEmpty()};h.I=function(){Vp.M.I.call(this);if(0<this.yb.S())throw Error("[goog.structs.Pool] Objects not released");delete this.yb;for(var a=this.Ya;!a.isEmpty();)this.Cd(a.Pc());delete this.Ya};var Xp=function(a,b){this.Jh=a;this.qe=b};Xp.prototype.getKey=function(){return this.Jh};Xp.prototype.clone=function(){return new Xp(this.Jh,this.qe)};var Yp=function(a){this.Da=[];if(a)a:{if(a instanceof Yp){var b=a.wb();a=a.aa();if(0>=this.S()){for(var c=this.Da,d=0;d<b.length;d++)c.push(new Xp(b[d],a[d]));break a}}else b=Ob(a),a=Nb(a);for(d=0;d<b.length;d++)Zp(this,b[d],a[d])}},Zp=function(a,b,c){var d=a.Da;d.push(new Xp(b,c));b=d.length-1;a=a.Da;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};h=Yp.prototype;
h.remove=function(){var a=this.Da,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Xa(a);else{a[0]=a.pop();a=0;b=this.Da;for(var d=b.length,e=b[a];a<d>>1;){var g=2*a+1,f=2*a+2;g=f<d&&b[f].getKey()<b[g].getKey()?f:g;if(b[g].getKey()>e.getKey())break;b[a]=b[g];a=g}b[a]=e}return c.qe}};h.aa=function(){for(var a=this.Da,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].qe);return b};h.wb=function(){for(var a=this.Da,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
h.Nc=function(a){return Ta(this.Da,function(b){return b.qe==a})};h.Sb=function(a){return Ta(this.Da,function(b){return b.getKey()==a})};h.clone=function(){return new Yp(this)};h.S=function(){return this.Da.length};h.isEmpty=function(){return 0===this.Da.length};h.clear=function(){Xa(this.Da)};var $p=function(){Yp.call(this)};x($p,Yp);$p.prototype.enqueue=function(a,b){Zp(this,a,b)};$p.prototype.Pc=function(){return this.remove()};var aq=function(a,b){this.ih=void 0;this.be=new $p;Vp.call(this,a,b)};x(aq,Vp);h=aq.prototype;h.Vc=function(a,b){if(!a)return(a=aq.M.Vc.call(this))&&this.delay&&(this.ih=r.setTimeout(u(this.Md,this),this.delay)),a;this.be.enqueue(void 0!==b?b:100,a);this.Md()};h.Md=function(){for(var a=this.be;0<a.S();){var b=this.Vc();if(b)a.Pc().apply(this,[b]);else break}};h.Me=function(a){aq.M.Me.call(this,a);this.Md()};h.td=function(){aq.M.td.call(this);this.Md()};
h.I=function(){aq.M.I.call(this);r.clearTimeout(this.ih);this.be.clear();this.be=null};var bq=function(a,b){Da.call(this);this.Bf=a;this.xa=b||null};q(bq,Gp);bq.prototype.Lh=function(a,b){var c=ec(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Sk["x-earth-engine-computation-profile"];this.xa&&e&&this.xa.fk(a.ua.id,e);break;case "failed":case "aborted":this.xa&&""!==a.ua.id&&this.xa.Lk(a.ua.id),mc(c)}},void 0,this);a.Qa=this.Kd(a.qc,a.zoom);var d=u(this.sf,this,a);cq().Vc(d,b)};bq.prototype.yh=function(){return this.Bf.mapid+"-"+this.Bf.token};
bq.prototype.sf=function(a,b){var c=cq();if(a.Xa||"aborted"==a.getStatus())Wp(c,b);else{var d=ec(a,"status-changed",function(){a.ge in Fp&&(mc(d),Wp(c,b))});Ep(a)}};bq.prototype.Kd=function(a,b){a=rl(this.Bf,a.x,a.y,b);return this.xa&&this.xa.isEnabled()?a+"&profiling=1":a};var cq=function(){dq||(dq=new aq(0,4));return dq};w("ee.layers.EarthEngineTileSource",bq);var dq=null;var eq=[];var gq=function(){z.call(this);this.le=new fq(0,60);this.Bc=new Dc};q(gq,z);gq.prototype.send=function(a,b,c,d,e){if(this.Bc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new hq(a,b,d,u(this.ei,this),void 0!==e?e:1);this.Bc.set(a,b);a=u(this.sf,this,b);this.le.Vc(a,c);return b};gq.prototype.abort=function(a){if(a=this.Bc.get(a))a.lc||(a.lc=!0,a.Ma=new Ea("abort")),this.ei(a)};
gq.prototype.sf=function(a,b){if(a.ha||a.lc)iq(this,b);else if(a.Bi=b,b.setActive(!0),b=new Jp,a.ha=b,!a.retry())throw Error("Cannot dispatch first request!");};gq.prototype.ei=function(a){this.Bc.remove(a.getId());a.ha&&(iq(this,a.Bi),a.ha.Wa());a.tf&&a.tf(a.Ma,a.ci)};var iq=function(a,b){b.setActive(!1);if(!Wp(a.le,b))throw Error("Object not released");};gq.prototype.I=function(){z.prototype.I.call(this);this.le.Wa();this.le=null;var a=this.Bc;Qa(a.aa(),function(b){b.Wa()});a.clear();this.Bc=null};
var jq=function(){y(!Object.isSealed(gq),"Cannot use getInstance() with a sealed constructor.");var a="yf";if(gq.yf&&gq.hasOwnProperty(a))a=gq.yf;else{eq.push(gq);var b=new gq;gq.yf=b;y(gq.hasOwnProperty(a),"Could not instantiate singleton.");a=b}return a};w("ee.MapTileManager",gq);var hq=function(a,b,c,d,e){Da.call(this);this.ga=a;this.Xk=b;this.Fk=void 0!==e?e:1;this.tf=c;this.ec=d};q(hq,Da);h=hq.prototype;h.getId=function(){return this.ga};h.getUrl=function(){return this.Xk};
h.tk=function(a){if(this.lc)this.ec&&this.ec(this);else switch(a.type){case "load":this.Ma=a;this.ec&&this.ec(this);break;case "error":case "abort":this.retry()||(this.Ma=a,this.ec&&this.ec(this))}};h.I=function(){Da.prototype.I.call(this);delete this.tf;delete this.ec};h.retry=function(){if(this.Eg>this.Fk)return!1;this.Eg++;Mp(this.ha,this.ga);setTimeout(u(this.Tk,this),0);return!0};
h.Tk=function(){if(!this.lc){var a=u(function(d){this.lc||(Lp(this.ha,this.ga,d),dc(this.ha,kq,u(this.tk,this)),this.ha.start())},this),b=this.getUrl();if(Sd(b).Ea.Sb("profiling")){var c=new Oi;c.Cc="blob";c.ab("complete",u(function(){this.ci=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=wd(yd(Zi(c)));var e="about:invalid#zClosurez"!==d}catch(g){}a(e?d:b)},this));c.cd("ready",u(c.Wa,c));c.send(b,"GET")}else a(b)}};h.Eg=0;h.lc=!1;
h.ha=null;h.Bi=null;h.Ma=null;h.ci=null;var kq=["load","abort","error"],lq=function(){Da.call(this);this.Ha=!1};q(lq,Da);lq.prototype.setActive=function(a){this.Ha=a};lq.prototype.Fh=function(){return this.Ha};var fq=function(a,b){aq.call(this,a,b)};q(fq,aq);fq.prototype.We=function(){return new lq};fq.prototype.Cd=function(a){a.Wa()};fq.prototype.Jf=function(a){return!a.Xa&&!a.Fh()};var mq=function(a,b,c,d,e){Rc.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.qg=new Mc;this.Kf=1;this.xa=e||null};q(mq,Rc);h=mq.prototype;h.Ne=function(a){return ec(this,"tileevent",a)};h.Wf=function(a){mc(a)};
h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=Sc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.xa&&this.xa.isEnabled()&&(a+="&profiling=1");b=[b,this.Bb,this.token].join("/");this.Bb+=1;c=jh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Db.push(b);jq().send(b,a,d,u(this.sk,this,c,b));ip(this);return c};h.Uc=function(){return this.Db.length};
h.releaseTile=function(a){jq().abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.qg.remove(b);""!==a.id&&(this.pg.remove(a.id),this.xa&&this.xa.Lk(a.id))};h.setOpacity=function(a){this.Kf=a;var b=this.qg.Ga();xc(b,function(c){tp(c,a)})};
h.sk=function(a,b,c,d){"error"==c.type?(Ya(this.Db,b),this.pg.add(b),this.dispatchEvent(c)):(Ya(this.Db,b),c.target&&"load"==c.type&&(c=c.target,this.qg.add(c),1!=this.Kf&&tp(c,this.Kf),a.appendChild(c)),ip(this));this.xa&&null!==d&&this.xa.fk(b,d)};w("ee.MapLayerOverlay",mq);mq.prototype.removeTileCallback=mq.prototype.Wf;mq.prototype.addTileCallback=mq.prototype.Ne;mq.prototype.getTile=mq.prototype.getTile;mq.prototype.setOpacity=mq.prototype.setOpacity;mq.prototype.releaseTile=mq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction._apply ee.ApiFunction.lookup ee.batch.Export.table.toDmsLayer ee.batch.Export.image.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toDrive ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.map ee.Collection.prototype.sort ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.data.getAssetRootQuota ee.data.newTaskId ee.data.cancelOperation ee.data.getTaskStatus ee.data.getThumbId ee.data.getOperation ee.data.startTableIngestion ee.data.listOperations ee.data.getAssetAcl ee.data.setAssetAcl ee.data.cancelTask ee.data.getDmsTilesKey ee.data.updateAsset ee.data.getAsset ee.data.getFilmstripThumbId ee.data.getInfo ee.data.getTaskList ee.data.getTaskListWithLimit ee.data.computeValue ee.data.updateTask ee.data.setAssetProperties ee.data.startIngestion ee.data.startProcessing ee.data.getVideoThumbId ee.data.authenticateViaPopup ee.data.makeTableDownloadUrl ee.data.createAssetHome ee.data.getList ee.data.createAsset ee.data.makeThumbUrl ee.data.authenticateViaPrivateKey ee.data.listAssets ee.data.authenticateViaOauth ee.data.createFolder ee.data.getDownloadId ee.data.listImages ee.data.renameAsset ee.data.getAssetRoots ee.data.makeDownloadUrl ee.data.getTileUrl ee.data.getTableDownloadId ee.data.getMapId ee.data.listBuckets ee.data.deleteAsset ee.data.authenticate ee.data.copyAsset ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.reset ee.call ee.apply ee.InitState ee.TILE_SIZE ee.Algorithms ee.initialize ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.select ee.Filter.date ee.Filter.gte ee.Filter.neq ee.Filter.and ee.Filter.metadata ee.Filter.eq ee.Filter.gt ee.Filter.lte ee.Filter.inList ee.Filter.prototype.not ee.Filter ee.Filter.or ee.Filter.bounds ee.Filter.lt ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.toGeoJSON ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Geometry.MultiLineString ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.Point ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPoint ee.Image.rgb ee.Image.cat ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.Image.prototype.rename ee.Image.prototype.getThumbId ee.Image.prototype.getDownloadURL ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.String ee.Terrain".split(" "),
c=[["name","var_args"],["name","namedArgs"],["name"],["collection","opt_description","opt_assetId","opt_maxVertices"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["classifier","opt_description","opt_assetId"],"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),["filter"],["geometry"],["start","opt_end"],["max","opt_property","opt_ascending"],["algorithm","opt_dropNulls"],["property","opt_ascending"],["name","operator","value"],["algorithm","opt_first"],["callback"],["legacy"],["opt_callback"],["func","var_args"],["rootId","opt_callback"],["opt_count","opt_callback"],["operationName","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],
["operationName","opt_callback"],["taskId","request","opt_callback"],["opt_limit","opt_callback"],["assetId","opt_callback"],["assetId","aclUpdate","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["assetId","asset","updateFields","opt_callback"],["id","opt_callback"],["params","opt_callback"],["id","opt_callback"],["opt_callback"],["opt_limit","opt_callback"],["obj","opt_callback"],["taskId","action","opt_callback"],["assetId","properties","opt_callback"],["taskId","request","opt_callback"],
["taskId","params","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["id"],["requestedId","opt_callback"],["params","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["id"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["parent","params","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["path","opt_force","opt_callback"],["params","opt_callback"],
["parent","params","opt_callback"],["sourceId","destinationId","opt_callback"],["opt_callback"],["id"],["id","x","y","z"],["params","opt_callback"],["params","opt_callback"],["project","opt_callback"],["assetId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["sourceId","destinationId","opt_overwrite","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","var_args"],["func","namedArgs"],[],[],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
["var_args"],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["args","opt_column"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["start","opt_end"],["name","value"],["name","value"],["var_args"],["name","operator","value"],["name","value"],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],
[],["opt_filter"],["var_args"],["geometry","opt_errorMargin"],["name","value"],["namedArgs"],["var_args"],[],[],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["legacy"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],
["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["r","g","b"],["var_args"],["var_args"],["opt_callback"],["params","opt_callback"],["var_args"],["params","opt_callback"],["params","opt_callback"],["expression","opt_map"],["geometry"],["opt_visParams","opt_callback"],["opt_args"],["params","opt_callback"],["args"],["opt_visParams","opt_callback"],["opt_callback"],[],["params","opt_callback"],["selectors","opt_names"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],
["obj"],["obj","opt_isCompound"],["string"],[]];[O,Em,Dm,ko,bo,no,lo,oo,eo,mo,fo,jo,go,ho,io,V.prototype.filter,V.prototype.qh,V.prototype.ff,V.prototype.limit,V.prototype.map,V.prototype.sort,V.prototype.gf,V.prototype.Ih,M.prototype.evaluate,M.prototype.ya,M.prototype.V,M.prototype.Ag,pm,Dl,Jl,Fl,ul,Kl,Zl,Il,lm,nm,Ml,sl,mm,$l,wl,$l,Hl,Gl,tl,Ll,om,Xl,Tl,vl,jl,Cl,fm,am,gm,xl,ml,bm,kl,hm,zl,cm,im,em,Al,rl,Bl,ql,dm,km,ll,jm,Fo,Ko,Oo,Io,Jo,Po,ap,cp,dp,bp,256,$o,Yo,Q.prototype.set,W.prototype.getMap,
W,W.prototype.V,X.prototype.vb,X.prototype.getMap,X.prototype.V,X,X.prototype.select,zn,un,sn,xn,Cn,rn,vn,wn,An,T.prototype.xc,T,yn,Bn,tn,ym.prototype.apply,ym.prototype.call,S.prototype.sg,S.prototype.ke,bn,jn,gn,hn,S.prototype.ya,Xm,an,en,fn,S,$m,Pn,Qn,L.prototype.select,L.prototype.V,L.prototype.pf,L.prototype.fi,L.prototype.Jd,L.prototype.vb,L.prototype.l,L.prototype.clip,L.prototype.getMap,L,Y.prototype.rf,Y,Y.prototype.getMap,Y.prototype.V,Y.prototype.first,Y.prototype.mf,Y.prototype.select,
Rn,vo,Ik,Nk,Rk,Pk,Kk,Qk,Hk,yo,So].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);