@google/earthengine 1.5.0 → 1.5.2
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 +171 -194
- package/build/ee_api_js.js +30 -31
- package/build/ee_api_js_debug.js +149 -171
- package/build/ee_api_js_npm.js +171 -194
- package/build/main.js +171 -194
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +0 -4
package/build/ee_api_js.js
CHANGED
|
@@ -36,8 +36,7 @@ n("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ua(this
|
|
|
36
36
|
*/
|
|
37
37
|
var va=va||{},t=this||self,wa=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},xa=function(a){var b=wa(a);return b=="array"||b=="object"&&typeof a.length=="number"},ya=function(a){return u(a)&&typeof a.getFullYear=="function"},u=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},Ba=function(a){return Object.prototype.hasOwnProperty.call(a,za)&&a[za]||(a[za]=++Aa)},za="closure_uid_"+(Math.random()*1E9>>>0),Aa=0,Ca=function(a,b,c){return a.call.apply(a.bind,
|
|
38
38
|
arguments)},Da=function(a,b,c){if(!a)throw Error();if(arguments.length>2){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)}},w=function(a,b,c){w=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ca:Da;return w.apply(null,arguments)},Ea=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=
|
|
39
|
-
c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},x=function(a,b){a=a.split(".");var c=t
|
|
40
|
-
f)}};var Fa=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var Ga=function(){},Ha=new Ga;function Ia(a){return Object.assign({},{P:{},Gl:{},keys:[],Ma:{},o:{},H:{},nh:!1},a)}var A=function(){this.h={}},C=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},D=function(a,b){return a.h[b]!=null};function Ja(a,b){return C(b,a)}function Ka(a,b,c){b[a]=c}function La(){return{}}function Ma(a,b){var c=new a;return b==null?c:Na(b,Oa,Pa,Qa,a)}function Oa(a,b){return b[a]}function Pa(a,b,c){b.h[a]=c}
|
|
39
|
+
c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},x=function(a,b){a=a.split(".");for(var c=t,d;a.length&&(d=a.shift());)a.length||b===void 0?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},y=function(a,b){function c(){}c.prototype=b.prototype;a.L=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.El=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)}};var Fa=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var Ga=function(){},Ha=new Ga;function Ia(a){return Object.assign({},{P:{},Gl:{},keys:[],Ma:{},o:{},H:{},nh:!1},a)}var A=function(){this.h={}},C=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},D=function(a,b){return a.h[b]!=null};function Ja(a,b){return C(b,a)}function Ka(a,b,c){b[a]=c}function La(){return{}}function Ma(a,b){var c=new a;return b==null?c:Na(b,Oa,Pa,Qa,a)}function Oa(a,b){return b[a]}function Pa(a,b,c){b.h[a]=c}
|
|
41
40
|
function Qa(a){if(a==null)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
42
41
|
function Na(a,b,c,d,e){e=d(e);for(var g=Ra(a,e),f=g.P||{},l=g.o||{},m=g.Ma||{},p=r(g.keys||[]),v=p.next(),z={};!v.done;z={Vd:void 0},v=p.next()){v=v.value;var B=b(v,a);if(B!=null){var H=void 0;if(f.hasOwnProperty(v)){if(g.nh&&B.length===0)continue;H=Sa(B,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))H=Sa(B,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))z.Vd=m[v],H=z.Vd.pa?B.map(function(ea){return function(W){return Ta(W,ea.Vd,b,c,d)}}(z)):Ta(B,z.Vd,b,c,d);else if(Array.isArray(B)){if(g.nh&&B.length===
|
|
43
42
|
0)continue;H=Sa(B,b,c,d,!0,!1)}else H=B instanceof Ga?null:B;c(v,e,H)}}return e}function Ta(a,b,c,d,e){for(var g={},f=r(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];m!=null&&(g[l]=Sa(m,c,d,e,b.ra,b.qa,b.ka))}return g}
|
|
@@ -59,7 +58,7 @@ e,a))return!0;return!1},bc=Array.prototype.every?function(a,b){E(a.length!=null)
|
|
|
59
58
|
function fc(a,b){E(a.length!=null);Array.prototype.splice.call(a,b,1)}function gc(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function hc(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(xa(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 ic(a,b,c){E(a.length!=null);return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
60
59
|
function jc(a){var b=[];if(a-0<0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function kc(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=ic(d,e,e+8192);g=kc.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var lc=Object.freeze||function(a){return a};var mc=function(a,b){this.name=a;this.value=b};mc.prototype.toString=function(){return this.name};var nc=new mc("OFF",Infinity),oc=new mc("SEVERE",1E3),pc=new mc("CONFIG",700),qc=new mc("FINE",500),rc=function(){this.Cd=0;this.clear()},sc;rc.prototype.clear=function(){this.zd=Array(this.Cd);this.fh=-1;this.Fh=!1};var tc=function(a,b,c){this.reset(a||nc,b,c,void 0,void 0)};tc.prototype.reset=function(){};
|
|
61
60
|
var uc=function(a,b){this.level=null;this.Vk=[];this.parent=(b===void 0?null:b)||null;this.children=[];this.cl={tf:function(){return a}}},vc=function(a){if(a.level)return a.level;if(a.parent)return vc(a.parent);Rb("Root logger has no level set.");return nc},wc=function(a,b){for(;a;)a.Vk.forEach(function(c){c(b)}),a=a.parent},xc=function(){this.entries={};var a=new uc("");a.level=pc;this.entries[""]=a},yc,zc=function(a,b){var c=a.entries[b];if(c)return c;c=zc(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
62
|
-
0)));var d=new uc(b,c);a.entries[b]=d;c.children.push(d);return d},Ac=function(){yc||(yc=new xc);return yc},Bc=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?vc(zc(Ac(),a.tf())):nc;d=d>=e.value}if(d){b=b||nc;d=zc(Ac(),a.tf());typeof c==="function"&&(c=c());sc||(sc=new rc);e=sc;a=a.tf();if(e.Cd>0){var g=(e.fh+1)%e.Cd;e.fh=g;e.Fh?(e=e.zd[g],e.reset(b,c,a),a=e):(e.Fh=g==e.Cd-1,a=e.zd[g]=new tc(b,c,a))}else a=new tc(b,c,a);wc(d,a)}},Cc=function(a,b){a&&Bc(a,qc,b)};var Dc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")},Ec=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var Fc=function(a){if(a.
|
|
61
|
+
0)));var d=new uc(b,c);a.entries[b]=d;c.children.push(d);return d},Ac=function(){yc||(yc=new xc);return yc},Bc=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?vc(zc(Ac(),a.tf())):nc;d=d>=e.value}if(d){b=b||nc;d=zc(Ac(),a.tf());typeof c==="function"&&(c=c());sc||(sc=new rc);e=sc;a=a.tf();if(e.Cd>0){var g=(e.fh+1)%e.Cd;e.fh=g;e.Fh?(e=e.zd[g],e.reset(b,c,a),a=e):(e.Fh=g==e.Cd-1,a=e.zd[g]=new tc(b,c,a))}else a=new tc(b,c,a);wc(d,a)}},Cc=function(a,b){a&&Bc(a,qc,b)};var Dc=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")},Ec=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var Fc=function(a){if(a.S&&typeof a.S=="function")a=a.S();else if(xa(a)||typeof a==="string")a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Gc=function(a){if(a.aa&&typeof a.aa=="function")return a.aa();if(typeof Map!=="undefined"&&a instanceof Map||typeof Set!=="undefined"&&a instanceof Set)return Array.from(a.values());if(typeof a==="string")return a.split("");if(xa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return $a(a)},Hc=function(a){if(a.sb&&typeof a.sb=="function")return a.sb();
|
|
63
62
|
if(!a.aa||typeof a.aa!="function"){if(typeof Map!=="undefined"&&a instanceof Map)return Array.from(a.keys());if(!(typeof Set!=="undefined"&&a instanceof Set)){if(xa(a)||typeof a==="string"){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return ab(a)}}},Ic=function(a,b,c){if(a.forEach&&typeof a.forEach=="function")a.forEach(b,c);else if(xa(a)||typeof a==="string")Array.prototype.forEach.call(a,b,c);else for(var d=Hc(a),e=Gc(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Jc=function(a,
|
|
64
63
|
b){if(typeof a.every=="function")return a.every(b,void 0);if(xa(a)||typeof a==="string")return Array.prototype.every.call(a,b,void 0);for(var c=Hc(a),d=Gc(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 Kc=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Lc=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){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 Mc=function(a){this.hb=this.hc=this.ub="";this.vc=null;this.Qb=this.Yb="";this.za=this.Yk=!1;if(a instanceof Mc){this.za=a.za;Nc(this,a.ub);var b=a.hc;Oc(this);this.hc=b;b=a.hb;Oc(this);this.hb=b;Pc(this,a.vc);this.setPath(a.getPath());Qc(this,a.Ba.clone());a=a.Qb;Oc(this);this.Qb=a}else a&&(b=String(a).match(Kc))?(this.za=!1,Nc(this,b[1]||"",!0),a=b[2]||"",Oc(this),this.hc=Rc(a),a=b[3]||"",Oc(this),this.hb=Rc(a,!0),Pc(this,b[4]),this.setPath(b[5]||"",!0),Qc(this,b[6]||"",!0),a=b[7]||"",Oc(this),
|
|
65
64
|
this.Qb=Rc(a)):(this.za=!1,this.Ba=new Sc(null,this.za))};
|
|
@@ -69,7 +68,7 @@ l=="."?d&&f==e.length&&g.push(""):l==".."?((g.length>1||g.length==1&&g[0]!="")&&
|
|
|
69
68
|
var Nc=function(a,b,c){Oc(a);a.ub=c?Rc(b,!0):b;a.ub&&(a.ub=a.ub.replace(/:$/,""))},Pc=function(a,b){Oc(a);if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};Mc.prototype.getPath=function(){return this.Yb};Mc.prototype.setPath=function(a,b){Oc(this);this.Yb=b?Rc(a,!0):a;return this};var Qc=function(a,b,c){Oc(a);b instanceof Sc?(a.Ba=b,a.Ba.eg(a.za)):(c||(b=Tc(b,Yc)),a.Ba=new Sc(b,a.za))};Mc.prototype.getQuery=function(){return this.Ba.toString()};
|
|
70
69
|
Mc.prototype.removeParameter=function(a){Oc(this);this.Ba.remove(a);return this};var Oc=function(a){if(a.Yk)throw Error("Tried to modify a read-only Uri");};Mc.prototype.eg=function(a){this.za=a;this.Ba&&this.Ba.eg(a)};
|
|
71
70
|
var Zc=function(a){return a instanceof Mc?a.clone():new Mc(a)},Rc=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Tc=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,$c),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},$c=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Uc=/[#\/\?@]/g,Wc=/[#\?:]/g,Vc=/[#\?]/g,Yc=/[#\?@]/g,Xc=/#/g,Sc=function(a,b){this.Y=this.N=null;this.ta=a||null;this.za=!!b},ad=
|
|
72
|
-
function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&Lc(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Sc.prototype;h.
|
|
71
|
+
function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&Lc(a.ta,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Sc.prototype;h.S=function(){ad(this);return this.Y};h.add=function(a,b){ad(this);this.ta=null;a=bd(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.Y=Sb(this.Y)+1;return this};h.remove=function(a){ad(this);a=bd(this,a);return this.N.has(a)?(this.ta=null,this.Y=Sb(this.Y)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.ta=null;this.Y=0};
|
|
73
72
|
h.isEmpty=function(){ad(this);return this.Y==0};h.Nb=function(a){ad(this);a=bd(this,a);return this.N.has(a)};h.Hc=function(a){var b=this.aa();return dc(b,a)};h.forEach=function(a,b){ad(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.sb=function(){ad(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.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};
|
|
74
73
|
h.aa=function(a){ad(this);var b=[];if(typeof a==="string")this.Nb(a)&&(b=b.concat(this.N.get(bd(this,a))));else{a=Array.from(this.N.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};h.set=function(a,b){ad(this);this.ta=null;a=bd(this,a);this.Nb(a)&&(this.Y=Sb(this.Y)-this.N.get(a).length);this.N.set(a,[b]);this.Y=Sb(this.Y)+1;return this};h.get=function(a,b){if(!a)return b;a=this.aa(a);return a.length>0?String(a[0]):b};
|
|
75
74
|
h.setValues=function(a,b){this.remove(a);b.length>0&&(this.ta=null,this.N.set(bd(this,a),gc(b)),this.Y=Sb(this.Y)+b.length)};h.toString=function(){if(this.ta)return this.ta;if(!this.N)return"";for(var a=[],b=Array.from(this.N.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.ta=a.join("&")};
|
|
@@ -87,13 +86,13 @@ h.dispatchEvent=function(a){Jd(this);var b=this.Rf;if(b){var c=[];for(var d=1;b;
|
|
|
87
86
|
e;return e};h.J=function(){J.L.J.call(this);this.Ia&&this.Ia.fd();this.Rf=null};h.Wa=function(a,b,c,d){Jd(this);return this.Ia.add(String(a),b,!1,c,d)};h.Vc=function(a,b,c,d){return this.Ia.add(String(a),b,!0,c,d)};h.se=function(a,b,c,d){this.Ia.remove(String(a),b,c,d)};var Kd=function(a,b,c,d){b=a.Ia.ga[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.gd&&f.capture==c){var l=f.listener,m=f.ib||f.src;f.Ad&&ud(a.Ia,f);e=l.call(m,d)!==!1&&e}}return e&&!d.defaultPrevented};
|
|
88
87
|
J.prototype.Lc=function(a,b,c,d){return this.Ia.Lc(String(a),b,c,d)};J.prototype.hasListener=function(a,b){return this.Ia.hasListener(a!==void 0?String(a):void 0,b)};var Jd=function(a){E(a.Ia,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Ld=function(a,b){this.Lk=a[t.Symbol.iterator]();this.dl=b};Ld.prototype[Symbol.iterator]=function(){return this};Ld.prototype.next=function(){var a=this.Lk.next();return{value:a.done?void 0:this.dl.call(void 0,a.value),done:a.done}};var Md=function(a,b){return new Ld(a,b)};var Nd=function(){},Od=function(a){return a};var Pd=function(){};Pd.prototype.next=function(){return Qd};var Qd=lc({done:!0,value:void 0});Pd.prototype.Da=function(){return this};
|
|
89
88
|
var Rd=function(a){if(a instanceof Pd)return a;if(typeof a.Da=="function")return a.Da(!1);if(xa(a)){var b=0,c=new Pd;c.next=function(){for(;;){if(b>=a.length)return Qd;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},Sd=function(a,b){if(xa(a))Yb(a,b);else for(a=Rd(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var Wd=function(a){if(a instanceof Td||a instanceof Ud||a instanceof Vd)return a;if(typeof a.next=="function")return new Td(function(){return a});if(typeof a[Symbol.iterator]=="function")return new Td(function(){return a[Symbol.iterator]()});if(typeof a.Da=="function")return new Td(function(){return a.Da()});throw Error("Not an iterator or iterable.");},Td=function(a){this.rf=a};Td.prototype.Da=function(){return new Ud(this.rf())};Td.prototype[Symbol.iterator]=function(){return new Vd(this.rf())};
|
|
90
|
-
Td.prototype.ug=function(){return new Vd(this.rf())};var Ud=function(a){this.Rc=a};q(Ud,Pd);Ud.prototype.next=function(){return this.Rc.next()};Ud.prototype[Symbol.iterator]=function(){return new Vd(this.Rc)};Ud.prototype.ug=function(){return new Vd(this.Rc)};var Vd=function(a){Td.call(this,function(){return a});this.Rc=a};q(Vd,Td);Vd.prototype.next=function(){return this.Rc.next()};var Xd=function(a,b){this.A={};this.K=[];this.pd=this.size=0;var c=arguments.length;if(c>1){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=Xd.prototype;h.
|
|
91
|
-
h.Hc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(Zd(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.
|
|
89
|
+
Td.prototype.ug=function(){return new Vd(this.rf())};var Ud=function(a){this.Rc=a};q(Ud,Pd);Ud.prototype.next=function(){return this.Rc.next()};Ud.prototype[Symbol.iterator]=function(){return new Vd(this.Rc)};Ud.prototype.ug=function(){return new Vd(this.Rc)};var Vd=function(a){Td.call(this,function(){return a});this.Rc=a};q(Vd,Td);Vd.prototype.next=function(){return this.Rc.next()};var Xd=function(a,b){this.A={};this.K=[];this.pd=this.size=0;var c=arguments.length;if(c>1){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=Xd.prototype;h.S=function(){return this.size};h.aa=function(){Yd(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.sb=function(){Yd(this);return this.K.concat()};h.Nb=function(a){return this.has(a)};h.has=function(a){return Zd(this.A,a)};
|
|
90
|
+
h.Hc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(Zd(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||$d;Yd(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var $d=function(a,b){return a===b};Xd.prototype.isEmpty=function(){return this.size==0};Xd.prototype.clear=function(){this.A={};this.K.length=0;this.lb(0);this.pd=0};Xd.prototype.remove=function(a){return this.delete(a)};
|
|
92
91
|
Xd.prototype.delete=function(a){return Zd(this.A,a)?(delete this.A[a],this.lb(this.size-1),this.pd++,this.K.length>2*this.size&&Yd(this),!0):!1};var Yd=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];Zd(a.A,d)&&(a.K[c++]=d);b++}a.K.length=c}if(a.size!=a.K.length){b={};for(d=c=0;c<a.K.length;){var e=a.K[c];Zd(b,e)||(a.K[d++]=e,b[e]=1);c++}a.K.length=d}};h=Xd.prototype;h.get=function(a,b){return Zd(this.A,a)?this.A[a]:b};
|
|
93
92
|
h.set=function(a,b){Zd(this.A,a)||(this.lb(this.size+1),this.K.push(a),this.pd++);this.A[a]=b};h.addAll=function(a){if(a instanceof Xd)for(var b=a.sb(),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.sb(),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 Xd(this)};h.keys=function(){return Wd(this.Da(!0)).ug()};h.values=function(){return Wd(this.Da(!1)).ug()};
|
|
94
|
-
h.entries=function(){var a=this;return Md(this.keys(),function(b){return[b,a.get(b)]})};h.Da=function(a){Yd(this);var b=0,c=this.pd,d=this,e=new Pd;e.next=function(){if(c!=d.pd)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return Qd;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.lb=function(a){this.size=a};var Zd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ae=function(a){this.A=new Xd;this.size=0;a&&this.addAll(a)},be=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+Ba(a):b.slice(0,1)+a};h=ae.prototype;h.
|
|
93
|
+
h.entries=function(){var a=this;return Md(this.keys(),function(b){return[b,a.get(b)]})};h.Da=function(a){Yd(this);var b=0,c=this.pd,d=this,e=new Pd;e.next=function(){if(c!=d.pd)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return Qd;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.lb=function(a){this.size=a};var Zd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ae=function(a){this.A=new Xd;this.size=0;a&&this.addAll(a)},be=function(a){var b=typeof a;return b=="object"&&a||b=="function"?"o"+Ba(a):b.slice(0,1)+a};h=ae.prototype;h.S=function(){return this.A.size};h.add=function(a){this.A.set(be(a),a);this.lb(this.A.size)};h.addAll=function(a){a=Gc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.lb(this.A.size)};h.fd=function(a){a=Gc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.lb(this.A.size)};
|
|
95
94
|
h.delete=function(a){a=this.A.remove(be(a));this.lb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.lb(0)};h.isEmpty=function(){return this.A.size===0};h.has=function(a){return this.A.Nb(be(a))};h.contains=function(a){return this.A.Nb(be(a))};var ce=function(a,b){var c=new ae;b=Gc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},de=function(a,b){a=a.clone();a.fd(b);return a};ae.prototype.aa=function(){return this.A.aa()};
|
|
96
|
-
ae.prototype.values=function(){return this.A.values()};ae.prototype.clone=function(){return new ae(this)};ae.prototype.equals=function(a){return this.
|
|
95
|
+
ae.prototype.values=function(){return this.A.values()};ae.prototype.clone=function(){return new ae(this)};ae.prototype.equals=function(a){return this.S()==Fc(a)&&fe(this,a)};var fe=function(a,b){var c=Fc(b);if(a.S()>c)return!1;!(b instanceof ae)&&c>5&&(b=new ae(b));return Jc(a,function(d){var e=b;return e.contains&&typeof e.contains=="function"?e.contains(d):e.Hc&&typeof e.Hc=="function"?e.Hc(d):xa(e)||typeof e==="string"?dc(e,d):bb(e,d)})};ae.prototype.Da=function(){return this.A.Da(!1)};
|
|
97
96
|
ae.prototype[Symbol.iterator]=function(){return this.values()};ae.prototype.lb=function(a){this.size=a};var ge=function(a,b,c){J.call(this);this.el=b;this.token=c;this.yb=[];this.sg=new ae;this.wb=0;this.url=a};y(ge,J);x("ee.AbstractOverlay",ge);var he=function(a,b,c){var d=1<<c,e=b.x%d;e<0&&(e+=d);return[a.el,c,e,b.y].join("/")};ge.prototype.Mc=function(){return this.yb.length};var ie=function(a){id.call(this,"tileevent");this.count=a};y(ie,id);var je={zc:"ADMIN_READ",Ac:"DATA_READ",Bc:"DATA_WRITE",Xj:"LOG_TYPE_UNSPECIFIED",values:function(){return[je.Xj,je.zc,je.Bc,je.Ac]}},ke={zc:"ADMIN_READ",ve:"ADMIN_WRITE",Ac:"DATA_READ",Bc:"DATA_WRITE",De:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ke.De,ke.zc,ke.ve,ke.Ac,ke.Bc]}},le={Yi:"AUTO_APPEAL_ELIGIBLE",cj:"CAPABILITY_GROUP_UNSPECIFIED",ej:"CLOUD_ALPHA",zj:"EXTERNAL",Qj:"INTERNAL",Tj:"LIMITED",fk:"PREAUTHORIZED",hk:"PREVIEW",Dc:"PUBLIC",jk:"RESTRICTED",values:function(){return[le.cj,
|
|
98
97
|
le.Dc,le.Qj,le.zj,le.Tj,le.fk,le.hk,le.ej,le.jk,le.Yi]}},me={Ri:"ADMIN_ACTIVITY",pj:"DATA_ACCESS",zk:"UNSPECIFIED_LOG_NAME",values:function(){return[me.zk,me.Ri,me.pj]}},ne={zc:"ADMIN_READ",ve:"ADMIN_WRITE",Ac:"DATA_READ",Bc:"DATA_WRITE",De:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ne.De,ne.zc,ne.ve,ne.Ac,ne.Bc]}},oe={sj:"DEFAULT_OBJECT_ACL",Dc:"PUBLIC",uk:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[oe.uk,oe.Dc,oe.sj]}},pe={Ui:"APPROVER",Wi:"ATTRIBUTION",Xi:"AUTHORITY",jj:"CREDENTIALS_TYPE",
|
|
99
98
|
kj:"CREDS_ASSERTION",Sj:"JUSTIFICATION_TYPE",Ce:"NO_ATTR",lk:"SECURITY_REALM",values:function(){return[pe.Ce,pe.Xi,pe.Wi,pe.lk,pe.Ui,pe.Sj,pe.jj,pe.kj]}},qe={xj:"DISCHARGED",yj:"EQUALS",Kj:"IN",Zj:"NOT_EQUALS",ak:"NOT_IN",ck:"NO_OP",values:function(){return[qe.ck,qe.yj,qe.Zj,qe.Kj,qe.ak,qe.xj]}},re={Rj:"IP",Yj:"NAME",Ce:"NO_ATTR",ik:"REGION",mk:"SERVICE",values:function(){return[re.Ce,re.ik,re.mk,re.Yj,re.Rj]}},se={Vj:"LOG_FAIL_CLOSED",Wj:"LOG_MODE_UNSPECIFIED",values:function(){return[se.Wj,se.Vj]}},
|
|
@@ -454,7 +453,7 @@ Ma(p,f[m]))});return b?b(l):l};return this.callback?(dj(d,null,function(f,l){ret
|
|
|
454
453
|
ej.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=gj();d!=null&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
455
454
|
var hj=function(a,b,c){a=r(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(b.length<3)){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"))}},bj=function(){var a=ij.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},kj=function(a,b,c){var d=[];a&&(d=d.concat(jj));
|
|
456
455
|
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=u(g)?"o"+Ba(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},rj=function(a,b,c){mj&&nj&&mj({client_id:String(nj),scope:oj.join(" "),plugin_name:"earthengine"},function(d){if(d.error=="immediate_failed"&&c)c();else if("window"in t)try{pj(function(){try{qj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else qj(a,
|
|
457
|
-
b,d)})},gj=function(){sj&&Date.now()-sj>=0&&tj();return uj},tj=function(){sj=uj=null},Zi=function(a,b,c,d){a!=null?ij=a:vj||(ij="https://earthengine.googleapis.com/api");b!=null?wj=b:vj||(wj="https://earthengine.googleapis.com");c!==void 0&&(xj=c);Yi=d!=null?d:Yi||"earthengine-legacy";vj=!0},dj=function(a,b,c,d,e,g,f){Zi();var l=yj,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="1.5.
|
|
456
|
+
b,d)})},gj=function(){sj&&Date.now()-sj>=0&&tj();return uj},tj=function(){sj=uj=null},Zi=function(a,b,c,d){a!=null?ij=a:vj||(ij="https://earthengine.googleapis.com/api");b!=null?wj=b:vj||(wj="https://earthengine.googleapis.com");c!==void 0&&(xj=c);Yi=d!=null?d:Yi||"earthengine-legacy";vj=!0},dj=function(a,b,c,d,e,g,f){Zi();var l=yj,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="1.5.2";p==="1.5.2"&&
|
|
458
457
|
(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=gj();if(p!=null)m.Authorization=p;else if(c&&mj&&nj)return rj(function(){zj(l,function(){dj(a,b,c,d)})}),null;b=b?b.clone():new Sc;Aj!=null&&b.add("key",Aj);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Yi&&Yi!=="earthengine-legacy"&&(m["X-Goog-User-Project"]=Yi);b=Bj(b,a);xj!=null&&(m["X-XSRF-Token"]=xj);Cj!=null&&(m["X-Earth-Engine-App-ID-Token"]=Cj);p=e||null;var v=b?b.toString():"";d==="POST"&&e===void 0?p=v:/^[\s\xa0]*$/.test(v)||(a+=a.indexOf("?")!=
|
|
459
458
|
-1?"&":"?",a+=v);e=a.startsWith("/")?ij+a:a;if(c)return Dj.push(Ej(e,c,d,p,m,g,f)),Fj.mf(),null;v=function(H,ea){this.setRequestHeader&&this.setRequestHeader(ea,H)};var z=0;for(g=g!=null?g:5;;){var B=new XMLHttpRequest;B.open(d,e,!1);Wa(m,v,B);B.send(p);if(B.status!=429||z>g)break;z++}return Gj(B.status,function(H){try{return B.getResponseHeader(H)}catch(ea){return null}},B.responseText,l,void 0,e,d,f)},Ej=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=yj,v=g!=null?g:10;
|
|
460
459
|
m.callback=function(z){z=z.target;if(z.getStatus()==429&&l<v)return l++,setTimeout(function(){Dj.push(m);Fj.mf()},Math.min(12E4,Math.pow(2,l)*1E3)),null;var B=Gj,H=z.getStatus(),ea=w(z.getResponseHeader,z);try{var W=z.s?z.s.responseText:""}catch(da){Cc(z.ha,"Can not get responseText: "+da.message),W=""}return B(H,ea,W,p,b,a,c,f)};return m},zj=function(a,b){var c=yj;try{yj=a,b.call(void 0)}finally{yj=c}},Gj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
|
|
@@ -607,7 +606,7 @@ V.prototype.lf=function(a,b,c){var d=R(V.prototype.lf,arguments);return this.fil
|
|
|
607
606
|
V.prototype.limit=function(a,b,c){var d=R(V.prototype.limit,arguments);return Bm(this,Q("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=R(V.prototype.sort,arguments);return Bm(this,Q("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 S};
|
|
608
607
|
V.prototype.map=function(a,b){var c=this.elementType();return Bm(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Hh=function(a,b){b=b!==void 0?b:null;var c=this.elementType();return Q("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.Hh;var X=function(a,b){if(!(this instanceof X))return Am(X,arguments);if(a instanceof X){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(arguments.length>2)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");Pn();if(a instanceof T||a===null)S.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof O)S.call(this,a.I,a.args,a.U);else if(a.type=="Feature"){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
609
608
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=gb(c);c["system:index"]=a.id}S.call(this,new P("Feature"),{geometry:new T(a.geometry),metadata:c})}else S.call(this,new P("Feature"),{geometry:new T(a),metadata:b||null})};y(X,S);x("ee.Feature",X);var Qn=!1,Pn=function(){Qn||(Vm(X,"Feature","Feature"),Qn=!0)};X.prototype.V=function(a){return X.L.V.call(this,a)};X.prototype.getInfo=X.prototype.V;
|
|
610
|
-
X.prototype.
|
|
609
|
+
X.prototype.R=function(a,b){var c=R(X.prototype.getMap,arguments);return Q("Collection",[this]).R(c.visParams,c.callback)};X.prototype.getMapId=X.prototype.R;X.prototype.getMap=X.prototype.R;X.prototype.getMap=X.prototype.getMap;X.prototype.name=function(){return"Feature"};var Zl=function(a){var b={},c=Rn(a.element,a);c=Sn(c,a,b);b.element=c;return b},$l=function(a){var b={},c=a.element.map(function(d){d=Rn(d,a);return Sn(d,a,b)});b.element=c;return b},Sn=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Wa(b,function(f,l){if(f!=null)switch(l){case "dimensions":l=typeof f==="string"?f.split("x").map(Number):Array.isArray(f)?f:typeof f==="number"?[f]:[];if(l.length===1)d.maxDimension=l[0];else if(l.length===2)d.width=l[0],d.height=l[1];else throw Error("Invalid dimensions "+
|
|
611
610
|
f);break;case "dimensions_consumed":e=!0;break;case "bbox":d.geometry!=null&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof ln)){l=f;if(typeof f==="string")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 ln(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":d.geometry!=
|
|
612
611
|
null&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof T)){l=f;if(typeof f==="string")try{l=JSON.parse(f)}catch(m){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(l))f=new sn(l,null,!1);else if(u(l))f=new T(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}});eb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?Om("Image.clipToBoundsAndScale",
|
|
613
612
|
d):Om("Image.clip",d));return a},Rn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;d!=null&&(d=Tn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Om("Image.reproject",{image:a,crs:c,crsTransform:d}),b.dimensions!=null&&b.scale==null&&b.region==null){var e=b.dimensions;typeof e==="string"&&(e=e.split("x").map(Number));e.length===2&&(delete b.dimensions,b.dimensions_consumed=!0,c=(new P("Projection")).call(c,d),b.region=new ln([0,
|
|
@@ -615,7 +614,7 @@ d):Om("Image.clip",d));return a},Rn=function(a,b){var c=b.crs||"",d=b.crsTransfo
|
|
|
615
614
|
b));c.image=a;return c},Un=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Wa(a,function(e,g){dc(c,g)?d[g]=e:b[g]=e});return d},Cl=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])});e.scale!=null&&e.dimensions==null&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(g===void 0)throw Error("Each band dictionary must have an id.");g=a.select(g);
|
|
616
615
|
var f=c(b);e=c(e);e=c(Object.assign(f,e));g=Rn(g,e);return g=Sn(g,e,{})};b.format==="ZIPPED_GEO_TIFF_PER_BAND"&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,g){return Q("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=Rn(a,d),a=Sn(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return Am(N,arguments);if(a instanceof N)return a;Wn();var b=arguments.length;if(b==0||b==1&&a===void 0)S.call(this,new P("Image.mask"),{image:new N(0),mask:new N(0)});else if(b==1)if(Em(a))S.call(this,new P("Image.constant"),{value:a});else if(Fm(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return Xn($b(a,function(d){return new N(d)}));if(a instanceof O)a.name()=="Array"?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.I,
|
|
617
616
|
a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(b==2){b=arguments[0];var c=arguments[1];if(Fm(b)&&Em(c))S.call(this,new P("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)");};y(N,S);x("ee.Image",N);var Yn=!1,Wn=function(){Yn||(Vm(N,"Image","Image"),Yn=!0)};N.prototype.V=function(a){return N.L.V.call(this,a)};
|
|
618
|
-
N.prototype.getInfo=N.prototype.V;N.prototype.
|
|
617
|
+
N.prototype.getInfo=N.prototype.V;N.prototype.R=function(a,b){var c=this,d=R(N.prototype.getMap,arguments),e=Vn(this,d.visParams);if(d.callback){var g=d.callback;tl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=tl(e),d.image=this,d};N.prototype.getMapId=N.prototype.R;N.prototype.getMap=N.prototype.R;N.prototype.getMap=N.prototype.getMap;
|
|
619
618
|
N.prototype.rb=function(a,b){var c=R(N.prototype.rb,arguments),d=c.params?gb(c.params):{};d.image=this;if(c.callback){var e=c.callback;Dl(d,function(g,f){g?e(El(g)):e(null,f)})}else return El(Dl(d))};N.prototype.getDownloadURL=N.prototype.rb;N.prototype.Ld=function(a,b){var c=R(N.prototype.rb,arguments),d=c.params?gb(c.params):{},e={},g=Rn(this,d);g=Sn(g,d,e);d=Vn(g,e);return c.callback?(yl(d,c.callback),null):yl(d)};N.prototype.getThumbId=N.prototype.Ld;
|
|
620
619
|
N.prototype.uf=function(a,b){var c=R(N.prototype.uf,arguments);if(c.callback)this.Ld(c.params,function(d,e){var g="";if(e===void 0)try{g=Bl(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return Bl(this.Ld(c.params))};N.prototype.getThumbURL=N.prototype.uf;var Zn=function(a,b,c){var d=R(Zn,arguments);return Xn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};N.rgb=Zn;var $n=function(a){return Xn(Array.prototype.slice.call(arguments),null)};N.cat=$n;
|
|
621
620
|
var Xn=function(a,b){if(a.length==0)return Q("Image.constant",[]);for(var c=new N(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
@@ -624,13 +623,13 @@ N.prototype.l=function(a,b){var c=R(N.prototype.l,arguments),d=["DEFAULT_EXPRESS
|
|
|
624
623
|
N.prototype.expression=N.prototype.l;N.prototype.clip=function(a){try{a=new T(a)}catch(b){}return Q("Image.clip",this,a)};N.prototype.clip=N.prototype.clip;N.prototype.mi=function(a){var b=arguments.length!=1||Fm(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.mi;N.prototype.name=function(){return"Image"};var ao=function(a){if(this instanceof ao){if(arguments.length>1)throw Error("ee.List() only accepts 1 argument.");if(a instanceof ao)return a}else return Am(ao,arguments);bo();if(Array.isArray(a))O.call(this,null,null),this.Uc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Uc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};y(ao,O);x("ee.List",ao);var co=!1,bo=function(){co||(Vm(ao,"List","List"),co=!0)};
|
|
625
624
|
ao.prototype.encode=function(a){return Array.isArray(this.Uc)?$b(this.Uc,function(b){return a(b)}):ao.L.encode.call(this,a)};ao.prototype.na=function(a){return Array.isArray(this.Uc)?Lj(Sk(a,this.Uc)):ao.L.na.call(this,a)};ao.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Am(Y,arguments);if(a instanceof Y)return a;if(arguments.length>2)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");eo();a instanceof T&&(a=new X(a));a instanceof X&&(a=[a]);if(Fm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new P("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new P("Collection"),{features:$b(a,function(d){return new X(d)})});else if(a instanceof ao)V.call(this,
|
|
626
625
|
new P("Collection"),{features:a});else if(a&&typeof a==="object"&&a.type==="FeatureCollection")V.call(this,new P("Collection"),{features:a.features.map(function(d){return new X(d)})});else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};y(Y,V);x("ee.FeatureCollection",Y);var fo=!1,eo=function(){fo||(Vm(Y,"FeatureCollection","FeatureCollection"),fo=!0)};
|
|
627
|
-
Y.prototype.
|
|
626
|
+
Y.prototype.R=function(a,b){var c=R(Y.prototype.R,arguments),d=Om("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.R(void 0,c.callback);else return d.R()};Y.prototype.getMapId=Y.prototype.R;Y.prototype.getMap=Y.prototype.R;Y.prototype.getMap=Y.prototype.getMap;Y.prototype.V=function(a){return Y.L.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;
|
|
628
627
|
Y.prototype.rb=function(a,b,c,d){var e=R(Y.prototype.rb,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)Fl(g,function(f,l){f?e.callback(Gl(f)):e.callback(null,l)});else return Gl(Fl(g))};Y.prototype.getDownloadURL=Y.prototype.rb;
|
|
629
628
|
Y.prototype.select=function(a,b,c){if(Fm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=R(Y.prototype.select,arguments);return this.map(function(g){return g.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return X};var Z=function(a){if(!(this instanceof Z))return Am(Z,arguments);if(a instanceof Z)return a;if(arguments.length!=1)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");go();a instanceof N&&(a=[a]);if(Fm(a))V.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new P("ImageCollection.fromImages"),{images:$b(a,function(b){return new N(b)})});else if(a instanceof ao)V.call(this,new P("ImageCollection.fromImages"),{images:a});
|
|
630
629
|
else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};y(Z,V);x("ee.ImageCollection",Z);var ho=!1,go=function(){ho||(Vm(Z,"ImageCollection","ImageCollection"),Vm(Z,"reduce","ImageCollection"),ho=!0)};Z.prototype.sf=function(a,b){var c=R(Z.prototype.sf,arguments);return io(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.sf;
|
|
631
630
|
Z.prototype.vf=function(a,b){var c=R(Z.prototype.vf,arguments);return io(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.vf;
|
|
632
631
|
var io=function(a,b,c,d){var e={};a=a.map(function(l){l=Rn(l,b.params);return Sn(l,b.params,e)});var g={},f=Un(e,g);g.imageCollection=a.map(function(l){f.image=l;return Om("Image.visualize",f)});b.params.dimensions!=null&&(g.dimensions=b.params.dimensions);if(g.format){if(!ac(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=yl;switch(d){case "video":c=zl;break;case "filmstrip":c=Al}if(b.callback)c(g,function(l,m){var p="";
|
|
633
|
-
if(m===void 0)try{p=Bl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Bl(c(g))};Z.prototype.
|
|
632
|
+
if(m===void 0)try{p=Bl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Bl(c(g))};Z.prototype.R=function(a,b){var c=R(Z.prototype.R,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.R(c.visParams,c.callback);else return d.R(c.visParams)};Z.prototype.getMapId=Z.prototype.R;Z.prototype.getMap=Z.prototype.R;Z.prototype.getMap=Z.prototype.getMap;Z.prototype.V=function(a){return Z.L.V.call(this,a)};Z.prototype.getInfo=Z.prototype.V;
|
|
634
633
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.Ef=function(a,b,c,d){var e=R(Z.prototype.Ef,arguments);return this.map(function(g){return Q("Image.linkCollection",g,e.imageCollection,e.linkedBands,e.linkedProperties,e.matchPropertyName)})};Z.prototype.linkCollection=Z.prototype.Ef;Z.prototype.first=function(){return new N(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;
|
|
635
634
|
Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return N};var jo=function(a){this.Xe=a;this.id=null},lo=function(a){var b={element:ko(a)};Object.assign(b,a);b=Xa(b,function(c){return c!=null});return new jo(b)};jo.prototype.start=function(a,b){var c=this;E(this.Xe,"Task config must be specified for tasks to be started.");this.id=this.id||Hl(1)[0];Tb(this.id,"Failed to obtain task ID.");if(a)Yl(this.id,this.Xe,function(e,g){if(g)b(g);else{var f;c.id=(f=e.taskId)!=null?f:null;a()}});else{var d;this.id=(d=Yl(this.id,this.Xe).taskId)!=null?d:null}};
|
|
636
635
|
jo.prototype.start=jo.prototype.start;var mo=function(a,b,c,d,e,g,f,l,m,p,v,z){var B=R(mo,arguments);B=no(B,"ASSET","EXPORT_IMAGE");return lo(B)};x("module$contents$ee$batch_Export.image.toAsset",mo);var oo=function(a,b,c,d,e,g,f,l,m,p,v,z,B,H,ea,W){var da=R(oo,arguments);da=no(da,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return lo(da)};x("module$contents$ee$batch_Export.image.toCloudStorage",oo);
|
|
@@ -692,12 +691,12 @@ Up.prototype.Yh=function(a){var b=a.currentTarget;if(b){if(a.type=="readystatech
|
|
|
692
691
|
Zp.prototype.Kc=function(){try{var a=Hb(this.yi);this.Yc=Gb(a);var b=this.Yc!==Fb.toString()?this.Yc:this.Ca}catch(c){b=this.Ca}this.fa=new Up;Wp(this.fa,this.la.id+"-image",b);this.Ch=yd(this.fa,aq,function(c){c.type=="load"?(this.Rd=c.target,Np.prototype.Kc.call(this)):this.hd()},void 0,this);this.fa.start()};Zp.prototype.Gc=function(){Np.prototype.Gc.call(this);this.fa&&(Hd(this.Ch),hd(this.fa))};Zp.prototype.J=function(){Np.prototype.J.call(this);this.Yc&&URL.revokeObjectURL(this.Yc)};
|
|
693
692
|
var $p=function(a){a.la.appendChild(a.Rd)},aq=["load","abort","error"];var bq=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(d.lastIndexOf("/",0)==0)b=d;else{var e;(e=b=="")||(e=b.length-1,e=e>=0&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var cq=function(a,b,c,d){I.call(this);this.Pg=a;this.Yb=b;this.mg=d||"";this.Xd=c};q(cq,Rp);cq.prototype.Ff=function(a){if(a.zoom<=this.Xd)a.Ca=this.Md(a.qb,a.zoom);else{var b=a.zoom-this.Xd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.qb.x/c),Math.floor(a.qb.y/c));a.Ca=this.Md(c,a.zoom-b);a.de=Ea(dq,this.Xd)}var d=w(a.hd,a);a.hd=w(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Op(a,"loaded"):d(e)},a);Pp(a)};
|
|
694
693
|
cq.prototype.getUniqueId=function(){return[this.Pg,this.Yb,this.Xd,this.mg].join("-")};cq.prototype.Md=function(a,b){a=bq("https://storage.googleapis.com",this.Pg,this.Yb,String(b),String(a.x),String(a.y));this.mg&&(a+=this.mg);return a};
|
|
695
|
-
var dq=function(a,b){if(!b.Rd)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.Rd,c/a*(b.qb.x%a),c/a*(b.qb.y%a),c/a,c/a,0,0,c,c)};x("ee.layers.CloudStorageTileSource",cq);function eq(){this.La=[];this.Qa=[]}h=eq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Ic=function(){this.La.length===0&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.
|
|
696
|
-
h.remove=function(a){var b=this.La;var c=Xb(b,a);c>=0?(fc(b,c),b=!0):b=!1;return b||ec(this.Qa,a)};h.aa=function(){for(var a=[],b=this.La.length-1;b>=0;--b)a.push(this.La[b]);b=this.Qa.length;for(var c=0;c<b;++c)a.push(this.Qa[c]);return a};function fq(a,b){I.call(this);this.Qh=a||0;this.Wd=b||10;if(this.Qh>this.Wd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new eq;this.tb=new
|
|
697
|
-
var gq=function(a,b){return a.tb.
|
|
698
|
-
h.contains=function(a){return this.Sa.contains(a)||this.tb.
|
|
694
|
+
var dq=function(a,b){if(!b.Rd)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.Rd,c/a*(b.qb.x%a),c/a*(b.qb.y%a),c/a,c/a,0,0,c,c)};x("ee.layers.CloudStorageTileSource",cq);function eq(){this.La=[];this.Qa=[]}h=eq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Ic=function(){this.La.length===0&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.S=function(){return this.La.length+this.Qa.length};h.isEmpty=function(){return this.La.length===0&&this.Qa.length===0};h.clear=function(){this.La=[];this.Qa=[]};h.contains=function(a){return dc(this.La,a)||dc(this.Qa,a)};
|
|
695
|
+
h.remove=function(a){var b=this.La;var c=Xb(b,a);c>=0?(fc(b,c),b=!0):b=!1;return b||ec(this.Qa,a)};h.aa=function(){for(var a=[],b=this.La.length-1;b>=0;--b)a.push(this.La[b]);b=this.Qa.length;for(var c=0;c<b;++c)a.push(this.Qa[c]);return a};function fq(a,b){I.call(this);this.Qh=a||0;this.Wd=b||10;if(this.Qh>this.Wd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new eq;this.tb=new Set;this.delay=0;this.Df=null;this.sd()}y(fq,I);fq.prototype.Nc=function(){var a=Date.now();if(!(this.Df!=null&&a-this.Df<this.delay)){for(var b;this.Sa.S()>0&&(b=this.Sa.Ic(),!this.Pf(b));)this.sd();!b&&this.S()<this.Wd&&(b=this.Ye());b&&(this.Df=a,this.tb.add(b));return b}};
|
|
696
|
+
var gq=function(a,b){return a.tb.delete(b)?(a.Ke(b),!0):!1};h=fq.prototype;h.Ke=function(a){this.tb.delete(a);this.Pf(a)&&this.S()<this.Wd?this.Sa.enqueue(a):this.Dd(a)};h.sd=function(){for(var a=this.Sa;this.S()<this.Qh;)a.enqueue(this.Ye());for(;this.S()>this.Wd&&this.Sa.S()>0;)this.Dd(a.Ic())};h.Ye=function(){return{}};h.Dd=function(a){if(typeof a.dispose=="function")a.dispose();else for(var b in a)a[b]=null};h.Pf=function(a){return typeof a.Kk=="function"?a.Kk():!0};
|
|
697
|
+
h.contains=function(a){return this.Sa.contains(a)||this.tb.has(a)};h.S=function(){return this.Sa.S()+this.tb.size};h.isEmpty=function(){return this.Sa.S()===0&&this.tb.size===0};h.J=function(){fq.L.J.call(this);if(this.tb.size>0)throw Error("[goog.structs.Pool] Objects not released");delete this.tb;for(var a=this.Sa;!a.isEmpty();)this.Dd(a.Ic());delete this.Sa};function hq(a,b){this.Ih=a;this.te=b}hq.prototype.getKey=function(){return this.Ih};hq.prototype.clone=function(){return new hq(this.Ih,this.te)};var iq=function(a){this.Aa=[];if(a)a:{if(a instanceof iq){var b=a.sb();a=a.aa();if(this.S()<=0){for(var c=this.Aa,d=0;d<b.length;d++)c.push(new hq(b[d],a[d]));break a}}else b=ab(a),a=$a(a);for(c=0;c<b.length;c++)jq(this,b[c],a[c])}},jq=function(a,b,c){var d=a.Aa;d.push(new hq(b,c));b=d.length-1;a=a.Aa;for(c=a[b];b>0;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};h=iq.prototype;
|
|
699
698
|
h.remove=function(){var a=this.Aa,b=a.length,c=a[0];if(!(b<=0)){if(b==1)a.length=0;else{a[0]=a.pop();a=0;b=this.Aa;for(var d=b.length,e=b[a];a<d>>1;){var g=a*2+1,f=a*2+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.te}};h.aa=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].te);return b};h.sb=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
700
|
-
h.Hc=function(a){return this.Aa.some(function(b){return b.te==a})};h.Nb=function(a){return this.Aa.some(function(b){return b.getKey()==a})};h.clone=function(){return new iq(this)};h.
|
|
699
|
+
h.Hc=function(a){return this.Aa.some(function(b){return b.te==a})};h.Nb=function(a){return this.Aa.some(function(b){return b.getKey()==a})};h.clone=function(){return new iq(this)};h.S=function(){return this.Aa.length};h.isEmpty=function(){return this.Aa.length===0};h.clear=function(){this.Aa.length=0};var kq=function(){iq.apply(this,arguments)};q(kq,iq);kq.prototype.enqueue=function(a,b){jq(this,a,b)};kq.prototype.Ic=function(){return this.remove()};function lq(a,b){this.kh=void 0;this.ge=new kq;fq.call(this,a,b)}y(lq,fq);h=lq.prototype;h.Nc=function(a,b){if(!a)return(a=lq.L.Nc.call(this))&&this.delay&&(this.kh=t.setTimeout(w(this.Od,this),this.delay)),a;this.ge.enqueue(b!==void 0?b:100,a);this.Od()};h.Od=function(){for(var a=this.ge;a.S()>0;){var b=this.Nc();if(b)a.Ic().apply(this,[b]);else break}};h.Ke=function(a){lq.L.Ke.call(this,a);this.Od()};h.sd=function(){lq.L.sd.call(this);this.Od()};
|
|
701
700
|
h.J=function(){lq.L.J.call(this);t.clearTimeout(this.kh);this.ge.clear();this.ge=null};var mq=function(a,b){I.call(this);this.Gf=a;this.ua=b||null};q(mq,Rp);mq.prototype.Ff=function(a,b){var c=this,d=zd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.tl["x-earth-engine-computation-profile"];this.ua&&e&&this.ua.Hk(a.la.id,e);break;case "failed":case "aborted":this.ua&&a.la.id!==""&&this.ua.ll(a.la.id),Hd(d)}},void 0,this);a.Ca=this.Md(a.qb,a.zoom);nq().Nc(function(e){c.wf(a,e)},b)};mq.prototype.getUniqueId=function(){return this.Gf.mapid+"-"+this.Gf.token};
|
|
702
701
|
mq.prototype.wf=function(a,b){var c=nq();if(a.Ra||a.getStatus()=="aborted")gq(c,b);else{var d=zd(a,"status-changed",function(){a.ke in Qp&&(Hd(d),gq(c,b))});Pp(a)}};mq.prototype.Md=function(a,b){a=ul(this.Gf,a.x,a.y,b);return this.ua&&this.ua.isEnabled()?a+"&profiling=1":a};var nq=function(){oq||(oq=new lq(0,4));return oq};x("ee.layers.EarthEngineTileSource",mq);var oq=null;var pq=function(a){I.call(this);this.Hi=a};q(pq,Rp);pq.prototype.Ff=function(a){a.Ca=this.Hi.formatTileUrl(a.qb.x,a.qb.y,a.zoom);Pp(a)};pq.prototype.getUniqueId=function(){return this.Hi.token};x("ee.layers.FeatureViewTileSource",pq);var rq=function(){J.call(this);this.pe=new qq(0,60);this.wc=new Xd};q(rq,J);rq.prototype.send=function(a,b,c,d,e){if(this.wc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new sq(a,b,d,w(this.li,this),e!==void 0?e:1);this.wc.set(a,b);a=w(this.wf,this,b);this.pe.Nc(a,c);return b};rq.prototype.abort=function(a){if(a=this.wc.get(a))a.kc||(a.kc=!0,a.Ja=new id("abort")),this.li(a)};
|
|
703
702
|
rq.prototype.wf=function(a,b){if(a.fa||a.kc)tq(this,b);else if(a.Ji=b,b.setActive(!0),b=new Up,a.fa=b,!a.retry())throw Error("Cannot dispatch first request!");};rq.prototype.li=function(a){this.wc.remove(a.getId());a.fa&&(tq(this,a.Ji),a.fa.dispose());a.xf&&a.xf(a.Ja,a.hi)};var tq=function(a,b){b.setActive(!1);if(!gq(a.pe,b))throw Error("Object not released");};
|
|
@@ -707,18 +706,18 @@ h.ul=function(){if(!this.kc){var a=w(function(d){this.kc||(Wp(this.fa,this.ea,d)
|
|
|
707
706
|
h.Ji=null;h.Ja=null;h.hi=null;var uq=["load","abort","error"],vq=function(){I.call(this);this.Ea=!1};q(vq,I);vq.prototype.setActive=function(a){this.Ea=a};vq.prototype.isActive=function(){return this.Ea};var qq=function(a,b){lq.call(this,a,b)};q(qq,lq);qq.prototype.Ye=function(){return new vq};qq.prototype.Dd=function(a){a.dispose()};qq.prototype.Pf=function(a){return!a.Ra&&!a.isActive()};var wq=function(a,b,c,d,e){ge.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.tg=new ae;this.Qf=1;this.ua=e||null};q(wq,ge);h=wq.prototype;h.Le=function(a){return zd(this,"tileevent",a)};h.Yf=function(a){Hd(a)};
|
|
708
707
|
h.getTile=function(a,b,c){if(b<this.minZoom||a.y<0||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=he(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.wb,this.token].join("/");this.wb+=1;c=hi("DIV",{id:b});var d=(new Date).getTime()/1E3;this.yb.push(b);kl(rq).send(b,a,d,w(this.Tk,this,c,b));tp(this);return c};h.Mc=function(){return this.yb.length};
|
|
709
708
|
h.releaseTile=function(a){kl(rq).abort(a.id);if(a.firstElementChild!==void 0)var b=a.firstElementChild;else for(b=a.firstChild;b&&b.nodeType!=1;)b=b.nextSibling;this.tg.remove(b);a.id!==""&&(this.sg.remove(a.id),this.ua&&this.ua.ll(a.id))};h.setOpacity=function(a){this.Qf=a;var b=this.tg.Da();Sd(b,function(c){Ep(c,a)})};
|
|
710
|
-
h.Tk=function(a,b,c,d){c.type=="error"?(ec(this.yb,b),this.sg.add(b),this.dispatchEvent(c)):(ec(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.tg.add(c),this.Qf!=1&&Ep(c,this.Qf),a.appendChild(c)),tp(this));this.ua&&d!==null&&this.ua.Hk(b,d)};x("ee.MapLayerOverlay",wq);wq.prototype.removeTileCallback=wq.prototype.Yf;wq.prototype.addTileCallback=wq.prototype.Le;wq.prototype.getTile=wq.prototype.getTile;wq.prototype.setOpacity=wq.prototype.setOpacity;wq.prototype.releaseTile=wq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
711
|
-
c=[["name","
|
|
709
|
+
h.Tk=function(a,b,c,d){c.type=="error"?(ec(this.yb,b),this.sg.add(b),this.dispatchEvent(c)):(ec(this.yb,b),c.target&&c.type=="load"&&(c=c.target,this.tg.add(c),this.Qf!=1&&Ep(c,this.Qf),a.appendChild(c)),tp(this));this.ua&&d!==null&&this.ua.Hk(b,d)};x("ee.MapLayerOverlay",wq);wq.prototype.removeTileCallback=wq.prototype.Yf;wq.prototype.addTileCallback=wq.prototype.Le;wq.prototype.getTile=wq.prototype.getTile;wq.prototype.setOpacity=wq.prototype.setOpacity;wq.prototype.releaseTile=wq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply 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.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.resetWorkloadTag ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.getList ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.createFolder ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.listAssets ee.data.renameAsset ee.data.getMapId ee.data.getTaskList ee.data.setAssetProperties ee.data.authenticate ee.data.copyAsset ee.data.getTableDownloadId ee.data.getTileUrl ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.deleteAsset ee.data.listOperations ee.data.getDownloadId ee.data.getWorkloadTag ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.listImages ee.data.getAssetAcl ee.data.authenticateViaPopup ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.getOperation ee.data.setWorkloadTag ee.data.authenticateViaPrivateKey ee.data.createAssetHome ee.data.newTaskId ee.data.getInfo ee.data.computeValue ee.data.getThumbId ee.data.createAsset ee.data.setDefaultWorkloadTag ee.data.cancelTask ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.reset ee.Algorithms ee.apply ee.initialize ee.InitState ee.TILE_SIZE ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.Filter.prototype.not ee.Filter.and ee.Filter.neq ee.Filter.metadata ee.Filter.lt ee.Filter.gt ee.Filter.inList ee.Filter.or ee.Filter.gte ee.Filter.lte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.bounds ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.BBox ee.Geometry.LineString ee.Geometry.prototype.serialize ee.Geometry.MultiPoint ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.Rectangle ee.Geometry ee.Geometry.Point ee.Geometry.prototype.toGeoJSONString ee.Geometry.LinearRing ee.Geometry.MultiPolygon ee.Image.rgb ee.Image.prototype.select ee.Image ee.Image.prototype.getThumbURL ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.Image.cat ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
710
|
+
c=[["name","var_args"],["name"],["name","namedArgs"],"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(" "),
|
|
712
711
|
"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(" "),"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(" "),
|
|
713
712
|
"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
|
-
|
|
715
|
-
["max","opt_property","opt_ascending"],["property","opt_ascending"],["
|
|
716
|
-
["taskId","params","opt_callback"],["path","opt_force","opt_callback"],["id"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["
|
|
717
|
-
"
|
|
718
|
-
["
|
|
719
|
-
[],[],["func","
|
|
720
|
-
"
|
|
721
|
-
"opt_evenOdd"],["
|
|
722
|
-
|
|
723
|
-
O.prototype.V,zm,zl,Kl,Ql,gm,
|
|
724
|
-
|
|
713
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],["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(" "),
|
|
714
|
+
["max","opt_property","opt_ascending"],["property","opt_ascending"],["filter"],["algorithm","opt_first"],["name","operator","value"],["geometry"],["start","opt_end"],["algorithm","opt_dropNulls"],["func","var_args"],["callback"],["opt_callback"],["legacy"],["opt_resetDefault"],["params","opt_callback"],["taskId","opt_callback"],["assetId","asset","updateFields","opt_callback"],["taskId","action","opt_callback"],["params","opt_callback"],["taskId","request","opt_callback"],["params","opt_callback"],
|
|
715
|
+
["taskId","params","opt_callback"],["path","opt_force","opt_callback"],["assetId","aclUpdate","opt_callback"],["id"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["parent","opt_params","opt_callback"],["sourceId","destinationId","opt_callback"],["params","opt_callback"],["opt_callback"],["assetId","properties","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["sourceId","destinationId","opt_overwrite",
|
|
716
|
+
"opt_callback"],["params","opt_callback"],["id","x","y","z"],["project","opt_callback"],["id"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],["rootId","opt_callback"],["assetId","opt_callback"],["opt_limit","opt_callback"],["params","opt_callback"],[],["operationName","opt_callback"],["id"],["parent","opt_params","opt_callback"],["assetId","opt_callback"],["opt_success","opt_error"],["params","opt_callback"],["asset","params","opt_callback"],["id","opt_callback"],["opt_callback"],
|
|
717
|
+
["operationName","opt_callback"],["tag"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["requestedId","opt_callback"],["opt_count","opt_callback"],["id","opt_callback"],["obj","opt_callback"],["params","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["tag"],["taskId","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],["func","namedArgs"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
718
|
+
[],[],["func","var_args"],["var_args"],[],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["args","opt_column"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_visParams","opt_callback"],["opt_callback"],[],["var_args"],["name","value"],["name","operator","value"],["name","value"],["name","value"],["opt_leftField","opt_rightValue",
|
|
719
|
+
"opt_rightField","opt_leftValue"],["var_args"],["name","value"],["name","value"],["opt_filter"],["name","value"],["start","opt_end"],["geometry","opt_errorMargin"],["namedArgs"],["var_args"],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["legacy"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["geoJson","opt_proj",
|
|
720
|
+
"opt_geodesic","opt_evenOdd"],["coords","opt_proj"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["r","g","b"],["var_args"],["opt_args"],["params","opt_callback"],["expression","opt_map"],["var_args"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["geometry"],["var_args"],["args"],["params","opt_callback"],["params","opt_callback"],["opt_visParams",
|
|
721
|
+
"opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["selectors","opt_names"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],[],["list"],["number"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["string"],[]];[Q,Nm,Om,yo,vo,oo,wo,uo,xo,so,po,ro,to,zo,mo,qo,V.prototype.limit,V.prototype.sort,V.prototype.filter,V.prototype.Hh,V.prototype.lf,V.prototype.sh,V.prototype.kf,V.prototype.map,O.prototype.Dg,O.prototype.evaluate,
|
|
722
|
+
O.prototype.V,O.prototype.va,zm,zl,Kl,sm,Ql,gm,bm,Al,Yl,nm,tm,Bl,ml,hm,om,tl,Ml,um,nl,pm,Fl,ul,jm,Gl,Ll,dm,vm,qm,Nl,Dl,rl,Ol,El,im,rm,ll,vl,wl,em,km,Pl,xm,ol,lm,Hl,em,xl,yl,mm,ym,Rl,Qo,To,Zo,Uo,Vo,$o,lp,kp,op,ip,mp,256,np,S.prototype.set,Jj,X.prototype.V,X.prototype.R,X.prototype.getMap,X,Y.prototype.getMap,Y,Y.prototype.rb,Y.prototype.select,Y.prototype.R,Y.prototype.V,U.prototype.sc,Hn,Cn,Mn,Dn,Fn,Kn,In,En,Gn,U,Bn,Jn,Ln,Im.prototype.apply,Im.prototype.call,mn,pn,T.prototype.va,kn,sn,rn,T.prototype.oe,
|
|
723
|
+
ln,T,gn,T.prototype.vg,qn,tn,Zn,N.prototype.select,N,N.prototype.uf,N.prototype.l,N.prototype.mi,N.prototype.V,N.prototype.R,N.prototype.getMap,N.prototype.rb,N.prototype.Ld,N.prototype.clip,$n,Z,Z.prototype.vf,Z.prototype.sf,Z.prototype.R,Z.prototype.getMap,Z.prototype.V,Z.prototype.select,Z.prototype.Ef,Z.prototype.first,ao,Go,Rk,Ik,Pk,Fk,Qk,Lk,Gk,Jo,cp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|