@google/earthengine 0.1.397 → 0.1.399
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/browser.js +170 -291
- package/build/ee_api_js.js +27 -27
- package/build/ee_api_js_debug.js +147 -268
- package/build/ee_api_js_npm.js +170 -291
- package/build/main.js +170 -291
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/eeapiclient/promise_request_service.ts +1 -1
- package/src/geometry.js +2 -2
- package/src/profiler.js +2 -1
- package/.tmp/BUILD +0 -699
- package/.tmp/METADATA +0 -23
- package/.tmp/VERSION_BUILD +0 -47
package/build/ee_api_js.js
CHANGED
|
@@ -47,12 +47,12 @@ function bb(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)}function c
|
|
|
47
47
|
function fb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function gb(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=eb(d,e,e+8192);g=gb.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var hb=Object.freeze||function(a){return a};var ib=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};r.addEventListener("test",c,b);r.removeEventListener("test",c,b)}catch(d){}return a}();var jb,kb;a:{for(var lb=["CLOSURE_FLAGS"],mb=r,nb=0;nb<lb.length;nb++)if(mb=mb[lb[nb]],null==mb){kb=null;break a}kb=mb}var ob=kb&&kb[610401301];jb=null!=ob?ob:!1;function pb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}var qb,rb=r.navigator;qb=rb?rb.userAgentData||null:null;function sb(a){return-1!=pb().indexOf(a)};function tb(){return jb&&qb&&0<qb.brands.length?!1:sb("Trident")||sb("MSIE")};var ub=function(a){ub[" "](a);return a};ub[" "]=function(){};var vb=tb(),wb=sb("Gecko")&&!(-1!=pb().toLowerCase().indexOf("webkit")&&!sb("Edge"))&&!(sb("Trident")||sb("MSIE"))&&!sb("Edge"),xb=-1!=pb().toLowerCase().indexOf("webkit")&&!sb("Edge");var zb=function(a,b){z.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.timeStamp=0;this.Ja=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;
|
|
48
48
|
this.currentTarget=b;if(b=a.relatedTarget){if(wb){a:{try{ub(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=xb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=xb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?
|
|
49
49
|
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:yb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.Ja=
|
|
50
|
-
a;a.defaultPrevented&&zb.L.preventDefault.call(this)}};x(zb,z);var yb=hb({2:"touch",3:"pen",4:"mouse"});zb.prototype.stopPropagation=function(){zb.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};zb.prototype.preventDefault=function(){zb.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ab="closure_listenable_"+(1E6*Math.random()|0),Bb=function(a){return!(!a||!a[Ab])};var Cb=0;var Db=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.jb=e;this.key=++Cb;this.hd=this.Bd=!1},Eb=function(a){a.hd=!0;a.listener=null;a.proxy=null;a.src=null;a.jb=null};function Fb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Gb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Hb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function
|
|
50
|
+
a;a.defaultPrevented&&zb.L.preventDefault.call(this)}};x(zb,z);var yb=hb({2:"touch",3:"pen",4:"mouse"});zb.prototype.stopPropagation=function(){zb.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};zb.prototype.preventDefault=function(){zb.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ab="closure_listenable_"+(1E6*Math.random()|0),Bb=function(a){return!(!a||!a[Ab])};var Cb=0;var Db=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.jb=e;this.key=++Cb;this.hd=this.Bd=!1},Eb=function(a){a.hd=!0;a.listener=null;a.proxy=null;a.src=null;a.jb=null};function Fb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Gb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Hb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Jb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Kb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Lb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Mb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
51
51
|
function Nb(a){var b=Ob,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Pb(a){for(var b in a)return!1;return!0}function Qb(a,b){b in a&&delete a[b]}function Rb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
52
52
|
function Sb(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);if(a instanceof Date)return new Date(a.getTime());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]=Sb(a[c]);return b}var Tb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
53
53
|
function Ub(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<Tb.length;g++)c=Tb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Vb=function(a){this.src=a;this.ha={};this.od=0};Vb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.od++);var f=Wb(a,b,d,e);-1<f?(b=a[f],c||(b.Bd=!1)):(b=new Db(b,this.src,g,!!d,e),b.Bd=c,a.push(b));return b};Vb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=Wb(e,b,c,d);return-1<b?(Eb(e[b]),bb(e,b),0==e.length&&(delete this.ha[a],this.od--),!0):!1};
|
|
54
54
|
var Xb=function(a,b){var c=b.type;c in a.ha&&ab(a.ha[c],b)&&(Eb(b),0==a.ha[c].length&&(delete a.ha[c],a.od--))};Vb.prototype.gd=function(a){a=a&&a.toString();var b=0,c;for(c in this.ha)if(!a||c==a){for(var d=this.ha[c],e=0;e<d.length;e++)++b,Eb(d[e]);delete this.ha[c];this.od--}};Vb.prototype.Mc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=Wb(a,b,c,d));return-1<e?a[e]:null};
|
|
55
|
-
Vb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return
|
|
55
|
+
Vb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Jb(this.ha,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 Wb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.hd&&g.listener==b&&g.capture==!!c&&g.jb==d)return e}return-1};var Yb="closure_lm_"+(1E6*Math.random()|0),Zb={},$b=0,bc=function(a,b,c,d,e){if(d&&d.once)return ac(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)bc(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?a.Xa(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!1,d,e)},dc=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=ec(a);l||(a[Yb]=l=new Vb(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=fc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)ib||(e=f),void 0===
|
|
56
56
|
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(gc(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");$b++;return c},fc=function(){var a=hc,b=function(c){return a.call(b.src,b.listener,c)};return b},ac=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)ac(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?
|
|
57
57
|
a.Wc(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!0,d,e)},ic=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)ic(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=cc(c),Bb(a)?a.te(b,c,d,e):a&&(a=ec(a))&&(b=a.Mc(b,c,d,e))&&jc(b)},jc=function(a){if("number"!==typeof a&&a&&!a.hd){var b=a.src;if(Bb(b))Xb(b.Ia,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(gc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);$b--;(c=ec(b))?
|
|
58
58
|
(Xb(c,a),0==c.od&&(c.src=null,b[Yb]=null)):Eb(a)}}},gc=function(a){return a in Zb?Zb[a]:Zb[a]="on"+a},hc=function(a,b){if(a.hd)a=!0;else{b=new zb(b,this);var c=a.listener,d=a.jb||a.src;a.Bd&&jc(a);a=c.call(d,b)}return a},ec=function(a){a=a[Yb];return a instanceof Vb?a:null},kc="__closure_events_fn_"+(1E9*Math.random()>>>0),cc=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[kc]||(a[kc]=function(b){return a.handleEvent(b)});
|
|
@@ -74,13 +74,13 @@ Ic.prototype[Symbol.iterator]=function(){return this.values()};Ic.prototype.mb=f
|
|
|
74
74
|
function $c(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
75
75
|
function Xc(a,b,c,d,e){e=d(e);for(var g=ad(a,e),f=g.P||{},l=g.s||{},m=g.Ma||{},p=n(g.keys||[]),v=p.next(),A={};!v.done;A={Wd:void 0},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var J=void 0;if(f.hasOwnProperty(v)){if(g.sh&&0===C.length)continue;J=bd(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))J=bd(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))A.Wd=m[v],J=A.Wd.pa?C.map(function(fa){return function(X){return cd(X,fa.Wd,b,c,d)}}(A)):cd(C,A.Wd,b,c,d);else if(Array.isArray(C)){if(g.sh&&0===C.length)continue;
|
|
76
76
|
J=bd(C,b,c,d,!0,!1)}else J=C instanceof Qc?null:C;c(v,e,J)}}return e}function cd(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]=bd(m,c,d,e,b.ra,b.qa,b.ka))}return g}
|
|
77
|
-
function bd(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 Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.
|
|
78
|
-
var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.
|
|
77
|
+
function bd(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 Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.ji=a};fd.prototype.toString=function(){return this.ji+""};
|
|
78
|
+
var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.ji;Na("expected object of type TrustedResourceUrl, got '%s' of type %s",a,xa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){if(void 0===dd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}dd=b}a=(b=dd)?b.createScriptURL(a):a;return new fd(a,ed)};/*
|
|
79
79
|
|
|
80
80
|
SPDX-License-Identifier: Apache-2.0
|
|
81
81
|
*/
|
|
82
|
-
var id=ia([""]),jd=ja(["\x00"],["\\0"]),kd=ja(["\n"],["\\n"]),ld=ja(["\x00"],["\\u0000"]),md=ia([""]),nd=ja(["\x00"],["\\0"]),od=ja(["\n"],["\\n"]),pd=ja(["\x00"],["\\u0000"]);function qd(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function rd(a){return-1===a.toString().indexOf("`")}var sd=rd(function(a){return a(id)})||rd(function(a){return a(jd)})||rd(function(a){return a(kd)})||rd(function(a){return a(ld)}),td=qd(md)&&qd(nd)&&qd(od)&&qd(pd);var vd=function(
|
|
83
|
-
a.type);return
|
|
82
|
+
var id=ia([""]),jd=ja(["\x00"],["\\0"]),kd=ja(["\n"],["\\n"]),ld=ja(["\x00"],["\\u0000"]),md=ia([""]),nd=ja(["\x00"],["\\0"]),od=ja(["\n"],["\\n"]),pd=ja(["\x00"],["\\u0000"]);function qd(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function rd(a){return-1===a.toString().indexOf("`")}var sd=rd(function(a){return a(id)})||rd(function(a){return a(jd)})||rd(function(a){return a(kd)})||rd(function(a){return a(ld)}),td=qd(md)&&qd(nd)&&qd(od)&&qd(pd);var ud={};var vd=function(){if(ud!==ud)throw Error("Bad secret");};vd.prototype.toString=function(){return this.ki};function wd(a){var b=new vd;b.ki=a;return b}wd("about:blank");var xd=wd("about:invalid#zClosurez");function yd(a){if(a instanceof vd)return a.ki;throw Error("Unexpected type when unwrapping SafeUrl, got '"+a+"' of type '"+typeof a+"'");};function zd(a){if("undefined"!==typeof MediaSource&&a instanceof MediaSource)return wd(URL.createObjectURL(a));var b=a.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);if(2!==(null==b?void 0:b.length)||!(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])||/^font\/\w+/i.test(b[1])))throw Error("unsafe blob MIME type: "+
|
|
83
|
+
a.type);return wd(URL.createObjectURL(a))}var Ad=[],Bd=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};-1===Ad.indexOf(Bd)&&Ad.push(Bd);var Cd={},Dd=function(){if(Cd!==Cd)throw Error("SafeStyle is not meant to be built directly");this.ql=""};Dd.prototype.toString=function(){return this.ql.toString()};new Dd;var Ed={},Fd=function(){if(Ed!==Ed)throw Error("SafeStyleSheet is not meant to be built directly");this.pl=""};Fd.prototype.toString=function(){return this.pl.toString()};new Fd;var Gd={},Hd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(Gd!==Gd)throw Error("SafeHtml is not meant to be built directly");this.ol=a};Hd.prototype.toString=function(){return this.ol.toString()};new Hd;var Id=function(a,b){this.name=a;this.value=b};Id.prototype.toString=function(){return this.name};var Jd=new Id("OFF",Infinity),Kd=new Id("SEVERE",1E3),Ld=new Id("CONFIG",700),Md=new Id("FINE",500),Nd=function(){this.Dd=0;this.clear()},Od;Nd.prototype.clear=function(){this.Ad=Array(this.Dd);this.kh=-1;this.Jh=!1};var Pd=function(a,b,c){this.reset(a||Jd,b,c,void 0,void 0)};Pd.prototype.reset=function(){};
|
|
84
84
|
var Qd=function(a,b){this.level=null;this.Zk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.gl={wf:function(){return a}}},Rd=function(a){if(a.level)return a.level;if(a.parent)return Rd(a.parent);Na("Root logger has no level set.");return Jd},Sd=function(a,b){for(;a;)a.Zk.forEach(function(c){c(b)}),a=a.parent},Td=function(){this.entries={};var a=new Qd("");a.level=Ld;this.entries[""]=a},Ud,Vd=function(a,b){var c=a.entries[b];if(c)return c;c=Vd(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
85
85
|
0)));var d=new Qd(b,c);a.entries[b]=d;c.children.push(d);return d},Wd=function(){Ud||(Ud=new Td);return Ud},Xd=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Rd(Vd(Wd(),a.wf())):Jd;d=d>=e.value}if(d){b=b||Jd;d=Vd(Wd(),a.wf());"function"===typeof c&&(c=c());Od||(Od=new Nd);e=Od;a=a.wf();if(0<e.Dd){var g=(e.kh+1)%e.Dd;e.kh=g;e.Jh?(e=e.Ad[g],e.reset(b,c,a),a=e):(e.Jh=g==e.Dd-1,a=e.Ad[g]=new Pd(b,c,a))}else a=new Pd(b,c,a);Sd(d,a)}},Yd=function(a,b){a&&Xd(a,Kd,b)},Zd=function(a,b){a&&Xd(a,
|
|
86
86
|
Md,b)};var $d=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")},ae=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 be=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),ce=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 de=function(a){this.ib=this.hc=this.wb="";this.vc=null;this.Sb=this.Zb="";this.za=this.cl=!1;if(a instanceof de){this.za=a.za;fe(this,a.wb);var b=a.hc;ge(this);this.hc=b;b=a.ib;ge(this);this.ib=b;he(this,a.vc);this.setPath(a.getPath());ie(this,a.Ba.clone());a=a.Sb;ge(this);this.Sb=a}else a&&(b=String(a).match(be))?(this.za=!1,fe(this,b[1]||"",!0),a=b[2]||"",ge(this),this.hc=je(a),a=b[3]||"",ge(this),this.ib=je(a,!0),he(this,b[4]),this.setPath(b[5]||"",!0),ie(this,b[6]||"",!0),a=b[7]||"",ge(this),
|
|
@@ -456,12 +456,12 @@ Wc(p,f[m]))});return b?b(l):l};return this.callback?(Hj(d,null,function(f,l){ret
|
|
|
456
456
|
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]};
|
|
457
457
|
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));
|
|
458
458
|
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"+Ca(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),scope:Rj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Sj(function(){try{Tj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Tj(a,
|
|
459
|
-
b,d)})},Kj=function(){Vj&&0<=Date.now()-Vj&&Wj();return Xj},Wj=function(){Vj=Xj=null},Cj=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&&(ak=c);Bj=null!=d?d:Bj||"earthengine-legacy";Yj=!0},Hj=function(a,b,c,d,e,g,f){Cj();var l=bk,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.
|
|
459
|
+
b,d)})},Kj=function(){Vj&&0<=Date.now()-Vj&&Wj();return Xj},Wj=function(){Vj=Xj=null},Cj=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&&(ak=c);Bj=null!=d?d:Bj||"earthengine-legacy";Yj=!0},Hj=function(a,b,c,d,e,g,f){Cj();var l=bk,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.399";"0.1.399"===
|
|
460
460
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=Kj();if(null!=p)m.Authorization=p;else if(c&&Pj&&Qj)return Uj(function(){ck(l,function(){Hj(a,b,c,d)})}),null;b=b?b.clone():new ke;null!=dk&&b.add("key",dk);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Bj&&"earthengine-legacy"!==Bj&&(m["X-Goog-User-Project"]=Bj);b=ek(b,a);null!=ak&&(m["X-XSRF-Token"]=ak);null!=fk&&(m["X-Earth-Engine-App-ID-Token"]=fk);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=-1!=
|
|
461
461
|
a.indexOf("?")?"&":"?",a+=v);e=a.startsWith("/")?Mj+a:a;if(c)return gk.push(hk(e,c,d,p,m,g,f)),ik.qf(),null;v=function(J,fa){this.setRequestHeader&&this.setRequestHeader(fa,J)};var A=0;for(g=null!=g?g:5;;){var C=new XMLHttpRequest;C.open(d,e,!1);Fb(m,v,C);C.send(p);if(429!=C.status||A>g)break;A++}return jk(C.status,function(J){try{return C.getResponseHeader(J)}catch(fa){return null}},C.responseText,l,void 0,e,d,f)},hk=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=bk,v=null!=
|
|
462
462
|
g?g:10;m.callback=function(A){A=A.target;if(429==A.getStatus()&&l<v)return l++,setTimeout(function(){gk.push(m);ik.qf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=jk,J=A.getStatus(),fa=u(A.getResponseHeader,A);try{var X=A.o?A.o.responseText:""}catch(ea){Zd(A.ba,"Can not get responseText: "+ea.message),X=""}return C(J,fa,X,p,b,a,c,f)};return m},ck=function(a,b){var c=bk;try{bk=a,b.call(void 0)}finally{bk=c}},jk=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);
|
|
463
|
-
var p=function(X){try{var ea=JSON.parse(X);return!(t(ea)&&"error"in ea&&"message"in ea.error)||l&&l(ea)?{parsed:ea}:ea.error.message}catch(
|
|
464
|
-
C=c.parsed:A=c;else if("multipart/mixed"===d){C={};var J=[];Lj(b,c,function(X,ea,
|
|
463
|
+
var p=function(X){try{var ea=JSON.parse(X);return!(t(ea)&&"error"in ea&&"message"in ea.error)||l&&l(ea)?{parsed:ea}:ea.error.message}catch(Ib){return"Invalid JSON: "+X}},v=function(X){if(0===X)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>X||300<=X)return"Server returned HTTP code: "+X+" for "+f+" "+g},A,C;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)c=p(c),c.parsed?
|
|
464
|
+
C=c.parsed:A=c;else if("multipart/mixed"===d){C={};var J=[];Lj(b,c,function(X,ea,Ib){Ib=p(Ib);Ib.parsed&&(C[X]=Ib.parsed);(ea=(Ib.parsed?"":Ib)||v(ea))&&J.push(X+": "+ea)});J.length&&(A=J.join("\n"))}else var fa="Response was unexpectedly not JSON, but "+d;A=A||v(a)||fa;if(e)return e(C,A),null;if(!A)return C;throw Error(A);},Sj=function(a){var b=function(){Pj||(Pj=function(c,d){r.google.accounts.oauth2.initTokenClient({client_id:c.client_id,callback:d,scope:c.scope}).requestAccessToken()});a()};t(r.default_gsi)?
|
|
465
465
|
b():Ui(b)},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 ke;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},gk=[],ik=new Hi(function(){var a=gk.shift();if(a){var b=a.url,c=a.callback,d=a.method,
|
|
466
466
|
e=a.content;a=a.headers;var g=kk,f=new nj;qj.push(f);c&&f.Xa("complete",c);f.Wc("ready",f.Qk);g&&(f.zc=Math.max(0,g));f.send(b,d,e,a)}0==gk.length||ik.qf()},350),Mj=null,Zj=null,ak=null,fk=null,ek=qc,Xj=null,Vj=null,Qj=null,Rj=[],Pj=null,Nj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],dk=null,Yj=!1,kk=0,bk=null;w("ee.api.ListAssetsResponse",Vg);w("ee.api.EarthEngineAsset",Rf);w("ee.api.Operation",Yg);w("ee.api.ListFeaturesResponse",Wg);
|
|
467
467
|
w("ee.api.FeatureViewLocation",Uf);var lk=function(){};lk.prototype.Eh=function(){return null};var mk=function(){};w("ee.Encodable.SourceFrame",mk);
|
|
@@ -639,7 +639,7 @@ Mo.prototype.start=Mo.prototype.start;var Po=function(a,b,c,d,e,g,f,l,m,p,v,A){v
|
|
|
639
639
|
var So=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X){var ea=R(So,arguments);ea=Qo(ea,"DRIVE","EXPORT_IMAGE");return Oo(ea)};w("module$contents$ee$batch_Export.image.toDrive",So);var To=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J){var fa=R(To,arguments);fa=Qo(fa,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Oo(fa)};w("module$contents$ee$batch_Export.map.toCloudStorage",To);var Uo=function(a,b,c,d,e,g,f,l){var m=R(Uo,arguments);m=Qo(m,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Oo(m)};
|
|
640
640
|
w("module$contents$ee$batch_Export.table.toCloudStorage",Uo);var Vo=function(a,b,c,d,e,g,f,l){var m=R(Vo,arguments);m.type="EXPORT_FEATURES";m=Qo(m,"DRIVE","EXPORT_FEATURES");return Oo(m)};w("module$contents$ee$batch_Export.table.toDrive",Vo);var Wo=function(a,b,c,d,e){var g=R(Wo,arguments);g=Qo(g,"ASSET","EXPORT_FEATURES");return Oo(g)};w("module$contents$ee$batch_Export.table.toAsset",Wo);var Xo=function(a,b,c,d,e,g,f,l){var m=R(Xo,arguments);m=Qo(m,"FEATURE_VIEW","EXPORT_FEATURES");return Oo(m)};
|
|
641
641
|
w("module$contents$ee$batch_Export.table.toFeatureView",Xo);var Yo=function(a,b,c,d,e,g,f,l){var m=R(Yo,arguments);m=Qo(m,"BIGQUERY","EXPORT_FEATURES");return Oo(m)};w("module$contents$ee$batch_Export.table.toBigQuery",Yo);var Zo=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var J=R(Zo,arguments);J=Qo(J,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Oo(J)};w("module$contents$ee$batch_Export.video.toCloudStorage",Zo);
|
|
642
|
-
var $o=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var J=R($o,arguments);J=Qo(J,"DRIVE","EXPORT_VIDEO");return Oo(J)};w("module$contents$ee$batch_Export.video.toDrive",$o);var ap=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X,ea,
|
|
642
|
+
var $o=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var J=R($o,arguments);J=Qo(J,"DRIVE","EXPORT_VIDEO");return Oo(J)};w("module$contents$ee$batch_Export.video.toDrive",$o);var ap=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X,ea,Ib,$q,ar,br){var xj=R(ap,arguments);xj=Qo(xj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Oo(xj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",ap);var bp=function(a,b,c,d){var e=R(bp,arguments);e=Qo(e,"ASSET","EXPORT_CLASSIFIER");return Oo(e)};
|
|
643
643
|
w("module$contents$ee$batch_Export.classifier.toAsset",bp);
|
|
644
644
|
var No=function(a){var b=function(d){return d in a},c=cp.find(b);B(1===Za(cp,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof N||b instanceof Y||b instanceof Z||b instanceof S||b instanceof O))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},Qo=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==
|
|
645
645
|
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=dp(e,a),delete e.formatOptions,Object.assign(e,a));e=ep(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
@@ -691,7 +691,7 @@ pq.prototype.J=function(){D.prototype.J.call(this);this.Hc();this.la.remove();th
|
|
|
691
691
|
vq.prototype.Lc=function(){var a=new fq;a.Xa("loadend",function(){this.Ad=a.ca.result;pq.prototype.Lc.call(this)},void 0,this);a.readAsArrayBuffer(this.Bi)};var wq=function(a){D.call(this);this.Rc={};this.Qc={};this.Tb=new Zp(this);this.X=a;this.Ye=!1};x(wq,D);var xq=["load","abort","error"],yq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ye=!1,a.Rc[b]={src:c,eh:null}},zq=function(a,b){delete a.Rc[b];var c=a.Qc[b];c&&(delete a.Qc[b],a.Tb.te(c,xq,a.ci))};
|
|
692
692
|
wq.prototype.start=function(){var a=this.Rc;Lb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Sa)){if(this.X){var d=this.X;d=(d?new Zh(Yh(d)):Ja||(Ja=new Zh)).Rk("IMG")}else d=new Image;c.eh&&(d.crossOrigin=c.eh);this.Tb.Xa(d,xq,this.ci);this.Qc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
693
693
|
wq.prototype.ci=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));zq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Sa&&Pb(this.Qc)&&Pb(this.Rc)&&!this.Ye&&(this.Ye=!0,this.dispatchEvent("complete"))}};wq.prototype.J=function(){delete this.Rc;delete this.Qc;Ha(this.Tb);wq.L.J.call(this)};var Aq=function(a,b){hq.call(this,a,b)};q(Aq,hq);Aq.prototype.fh=function(a,b,c,d){return new Bq(a,b,c,d)};w("ee.layers.ImageOverlay",Aq);var Bq=function(a,b,c,d){pq.call(this,a,b,c,d);this.fe=Cq;this.Hh=this.ga=this.Sd=null;this.Zc=""};q(Bq,pq);
|
|
694
|
-
Bq.prototype.Lc=function(){try{var a=zd(this.Bi);this.Zc=
|
|
694
|
+
Bq.prototype.Lc=function(){try{var a=zd(this.Bi);this.Zc=yd(a);var b=this.Zc!==xd.toString()?this.Zc:this.Ca}catch(c){b=this.Ca}this.ga=new wq;yq(this.ga,this.la.id+"-image",b);this.Hh=ac(this.ga,Dq,function(c){"load"==c.type?(this.Sd=c.target,pq.prototype.Lc.call(this)):this.jd()},void 0,this);this.ga.start()};Bq.prototype.Hc=function(){pq.prototype.Hc.call(this);this.ga&&(jc(this.Hh),Ha(this.ga))};Bq.prototype.J=function(){pq.prototype.J.call(this);this.Zc&&URL.revokeObjectURL(this.Zc)};
|
|
695
695
|
var Cq=function(a){a.la.appendChild(a.Sd)},Dq=["load","abort","error"];var Eq=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 Fq=function(a,b,c,d){y.call(this);this.Sg=a;this.Zb=b;this.pg=d||"";this.Yd=c};q(Fq,tq);Fq.prototype.If=function(a){if(a.zoom<=this.Yd)a.Ca=this.Nd(a.rb,a.zoom);else{var b=a.zoom-this.Yd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.rb.x/c),Math.floor(a.rb.y/c));a.Ca=this.Nd(c,a.zoom-b);a.fe=Fa(Gq,this.Yd)}var d=u(a.jd,a);a.jd=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?qq(a,"loaded"):d(e)},a);rq(a)};
|
|
696
696
|
Fq.prototype.getUniqueId=function(){return[this.Sg,this.Zb,this.Yd,this.pg].join("-")};Fq.prototype.Nd=function(a,b){a=Eq("https://storage.googleapis.com",this.Sg,this.Zb,String(b),String(a.x),String(a.y));this.pg&&(a+=this.pg);return a};
|
|
697
697
|
var Gq=function(a,b){if(!b.Sd)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.la.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.la.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Sd,c/a*(b.rb.x%a),c/a*(b.rb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Fq);var Hq=function(){this.La=[];this.Qa=[]};h=Hq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Jc=function(){0===this.La.length&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.R=function(){return this.La.length+this.Qa.length};h.isEmpty=function(){return 0===this.La.length&&0===this.Qa.length};h.clear=function(){this.La=[];this.Qa=[]};h.contains=function(a){return $a(this.La,a)||$a(this.Qa,a)};
|
|
@@ -705,22 +705,22 @@ Pq.prototype.zf=function(a,b){var c=Qq();if(a.Sa||"aborted"==a.getStatus())Jq(c,
|
|
|
705
705
|
Uq.prototype.zf=function(a,b){if(a.ga||a.kc)Wq(this,b);else if(a.Mi=b,b.setActive(!0),b=new wq,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};Uq.prototype.pi=function(a){this.wc.remove(a.getId());a.ga&&(Wq(this,a.Mi),a.ga.Ra());a.Af&&a.Af(a.Ja,a.li)};var Wq=function(a,b){b.setActive(!1);if(!Jq(a.qe,b))throw Error("Object not released");};Uq.prototype.J=function(){D.prototype.J.call(this);this.qe.Ra();this.qe=null;var a=this.wc;Ua(a.aa(),function(b){b.Ra()});a.clear();this.wc=null};
|
|
706
706
|
w("ee.MapTileManager",Uq);var Vq=function(a,b,c,d,e){y.call(this);this.fa=a;this.Gl=b;this.kl=void 0!==e?e:1;this.Af=c;this.bc=d};q(Vq,y);h=Vq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Gl};h.Yk=function(a){if(this.kc)this.bc&&this.bc(this);else switch(a.type){case "load":this.Ja=a;this.bc&&this.bc(this);break;case "error":case "abort":this.retry()||(this.Ja=a,this.bc&&this.bc(this))}};h.J=function(){y.prototype.J.call(this);delete this.Af;delete this.bc};
|
|
707
707
|
h.retry=function(){if(this.Kg>this.kl)return!1;this.Kg++;zq(this.ga,this.fa);setTimeout(u(this.Bl,this),0);return!0};
|
|
708
|
-
h.Bl=function(){if(!this.kc){var a=u(function(d){this.kc||(yq(this.ga,this.fa,d),ac(this.ga,Xq,u(this.Yk,this)),this.ga.start())},this),b=this.getUrl();if(re(b).Ba.Pb("profiling")){var c=new nj;c.xc="blob";c.Xa("complete",u(function(){this.li=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=
|
|
708
|
+
h.Bl=function(){if(!this.kc){var a=u(function(d){this.kc||(yq(this.ga,this.fa,d),ac(this.ga,Xq,u(this.Yk,this)),this.ga.start())},this),b=this.getUrl();if(re(b).Ba.Pb("profiling")){var c=new nj;c.xc="blob";c.Xa("complete",u(function(){this.li=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=yd(zd(zj(c)));var e=d!==xd.toString()}catch(g){}a(e?d:b)},this));c.Wc("ready",u(c.Ra,c));c.send(b,"GET")}else a(b)}};h.Kg=0;h.kc=!1;h.ga=null;
|
|
709
709
|
h.Mi=null;h.Ja=null;h.li=null;var Xq=["load","abort","error"],Yq=function(){y.call(this);this.Ea=!1};q(Yq,y);Yq.prototype.setActive=function(a){this.Ea=a};Yq.prototype.isActive=function(){return this.Ea};var Tq=function(a,b){Oq.call(this,a,b)};q(Tq,Oq);Tq.prototype.bf=function(){return new Yq};Tq.prototype.Ed=function(a){a.Ra()};Tq.prototype.Sf=function(a){return!a.Sa&&!a.isActive()};var Zq=function(a,b,c,d,e){Nc.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.wg=new Ic;this.Tf=1;this.ua=e||null};q(Zq,Nc);h=Zq.prototype;h.Oe=function(a){return bc(this,"tileevent",a)};h.bg=function(a){jc(a)};
|
|
710
710
|
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=Oc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.yb,this.token].join("/");this.yb+=1;c=Uh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Ab.push(b);Nl(Uq).send(b,a,d,u(this.Xk,this,c,b));Wp(this);return c};h.Nc=function(){return this.Ab.length};
|
|
711
711
|
h.releaseTile=function(a){Nl(Uq).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.wg.remove(b);""!==a.id&&(this.vg.remove(a.id),this.ua&&this.ua.sl(a.id))};h.setOpacity=function(a){this.Tf=a;var b=this.wg.Da();uc(b,function(c){gq(c,a)})};
|
|
712
|
-
h.Xk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&gq(c,this.Tf),a.appendChild(c)),Wp(this));this.ua&&null!==d&&this.ua.Lk(b,d)};w("ee.MapLayerOverlay",Zq);Zq.prototype.removeTileCallback=Zq.prototype.bg;Zq.prototype.addTileCallback=Zq.prototype.Oe;Zq.prototype.getTile=Zq.prototype.getTile;Zq.prototype.setOpacity=Zq.prototype.setOpacity;Zq.prototype.releaseTile=Zq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
713
|
-
c=[["name"
|
|
714
|
-
"collection opt_description
|
|
715
|
-
|
|
716
|
-
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond
|
|
717
|
-
["filter"],["
|
|
718
|
-
"opt_callback"],["
|
|
719
|
-
["
|
|
720
|
-
|
|
721
|
-
"opt_callback"],["
|
|
722
|
-
["
|
|
723
|
-
|
|
724
|
-
["
|
|
725
|
-
|
|
726
|
-
N
|
|
712
|
+
h.Xk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&gq(c,this.Tf),a.appendChild(c)),Wp(this));this.ua&&null!==d&&this.ua.Lk(b,d)};w("ee.MapLayerOverlay",Zq);Zq.prototype.removeTileCallback=Zq.prototype.bg;Zq.prototype.addTileCallback=Zq.prototype.Oe;Zq.prototype.getTile=Zq.prototype.getTile;Zq.prototype.setOpacity=Zq.prototype.setOpacity;Zq.prototype.releaseTile=Zq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filter ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.getDownloadId ee.data.createAssetHome ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.getInfo ee.data.createAsset ee.data.listFeatures ee.data.resetWorkloadTag ee.data.getOperation ee.data.updateAsset ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.cancelTask ee.data.getList ee.data.computeValue ee.data.createFolder ee.data.setAssetAcl ee.data.startIngestion ee.data.getThumbId ee.data.updateTask ee.data.renameAsset ee.data.getVideoThumbId ee.data.setAssetProperties ee.data.getTaskStatus ee.data.startProcessing ee.data.listAssets ee.data.getFilmstripThumbId ee.data.getMapId ee.data.copyAsset ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.makeThumbUrl ee.data.listBuckets ee.data.authenticateViaOauth ee.data.startTableIngestion ee.data.getWorkloadTag ee.data.getTaskList ee.data.setWorkloadTag ee.data.getAssetAcl ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.authenticate ee.data.listImages ee.data.getTileUrl ee.data.getTaskListWithLimit ee.data.cancelOperation ee.data.listOperations ee.data.getAssetRoots ee.data.getAsset ee.data.setDefaultWorkloadTag ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.call ee.reset ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getInfo ee.Filter.and ee.Filter.inList ee.Filter.prototype.not ee.Filter.gt ee.Filter.neq ee.Filter.lt ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.metadata ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.LineString ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Image.prototype.getThumbId ee.Image ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.cat ee.Image.prototype.getThumbURL ee.Image.prototype.rename ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.getInfo ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
713
|
+
c=[["name"],["name","namedArgs"],["name","var_args"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".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 opt_priority".split(" "),
|
|
714
|
+
["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),["classifier","opt_description","opt_assetId","opt_priority"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),"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 opt_priority".split(" "),
|
|
715
|
+
"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 opt_priority".split(" "),"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),"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 opt_priority".split(" "),
|
|
716
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),["geometry"],["start","opt_end"],["algorithm","opt_dropNulls"],["algorithm","opt_first"],["name","operator","value"],["max","opt_property","opt_ascending"],["property",
|
|
717
|
+
"opt_ascending"],["filter"],["opt_callback"],["legacy"],["func","var_args"],["callback"],["params","opt_callback"],["requestedId","opt_callback"],["id"],["opt_success","opt_error"],["params","opt_callback"],["id","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["asset","params","opt_callback"],["opt_resetDefault"],["operationName","opt_callback"],["assetId","asset","updateFields","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],
|
|
718
|
+
["opt_count","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["obj","opt_callback"],["path","opt_force","opt_callback"],["assetId","aclUpdate","opt_callback"],["taskId","request","opt_callback"],["params","opt_callback"],["taskId","action","opt_callback"],["sourceId","destinationId","opt_callback"],["params","opt_callback"],["assetId","properties","opt_callback"],["taskId","opt_callback"],["taskId","params","opt_callback"],["parent","opt_params","opt_callback"],["params","opt_callback"],
|
|
719
|
+
["params","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["assetId","opt_callback"],["rootId","opt_callback"],["id"],["project","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["taskId","request","opt_callback"],[],["opt_callback"],["tag"],["assetId","opt_callback"],["params","opt_callback"],["id"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["parent","opt_params",
|
|
720
|
+
"opt_callback"],["id","x","y","z"],["opt_limit","opt_callback"],["operationName","opt_callback"],["opt_limit","opt_callback"],["opt_callback"],["id","opt_callback"],["tag"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","namedArgs"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","var_args"],[],[],["var_args"],[],["geometry","opt_properties"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams",
|
|
721
|
+
"opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_callback"],["var_args"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],[],["name","value"],["name","value"],["name","value"],["var_args"],["name","value"],["name","value"],["name","operator","value"],["opt_filter"],["name","value"],["start","opt_end"],
|
|
722
|
+
["geometry","opt_errorMargin"],["var_args"],["namedArgs"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic",
|
|
723
|
+
"opt_maxError","opt_evenOdd"],["params","opt_callback"],["opt_args"],["opt_visParams","opt_callback"],["var_args"],["var_args"],["params","opt_callback"],["var_args"],["r","g","b"],["expression","opt_map"],["geometry"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_callback"],["params","opt_callback"],["opt_callback"],["selectors","opt_names"],["args"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],
|
|
724
|
+
["params","opt_callback"],[],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["string"],[]];[qn,rn,Q,$o,Vo,So,Wo,Uo,bp,Po,To,ap,Yo,Ro,Zo,Xo,V.prototype.xh,V.prototype.nf,V.prototype.map,V.prototype.Lh,V.prototype.pf,V.prototype.limit,V.prototype.sort,V.prototype.filter,O.prototype.V,O.prototype.va,O.prototype.Gg,O.prototype.evaluate,fm,Om,gm,Ol,Yl,Hm,Pm,Zl,bn,rm,Vm,Rl,jm,tm,Jm,$l,Qm,Wm,Em,am,sm,Rm,bm,Xm,mm,Am,Km,cm,Wl,Sm,Tm,Ym,dm,Mm,Pl,Gm,Ul,om,$m,Um,hm,
|
|
725
|
+
im,Ql,Lm,Xl,nm,qm,pm,Nm,Hm,an,sp,xp,Bp,vp,wp,Cp,Pp,Rp,256,Lp,Qp,Op,Np,S.prototype.set,mk,W,W.prototype.V,W.prototype.S,W.prototype.getMap,Y.prototype.select,Y,Y.prototype.getMap,Y.prototype.S,Y.prototype.sb,Y.prototype.V,ko,no,U.prototype.sc,io,fo,go,lo,jo,ho,po,U,eo,mo,oo,ln.prototype.call,ln.prototype.apply,T,Kn,T.prototype.pe,Un,T.prototype.yg,Pn,Tn,T.prototype.va,Sn,Nn,On,Wn,Vn,N.prototype.Md,N,N.prototype.getMap,N.prototype.select,Do,N.prototype.xf,N.prototype.ri,Co,N.prototype.l,N.prototype.clip,
|
|
726
|
+
N.prototype.S,N.prototype.sb,N.prototype.V,Z.prototype.yf,Z.prototype.V,Z.prototype.select,Z,Z.prototype.S,Z.prototype.getMap,Z.prototype.Hf,Z.prototype.vf,Z.prototype.first,Eo,ip,il,nl,sl,kl,tl,rl,hl,lp,Fp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|