@google/earthengine 1.1.1 → 1.1.3
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 +3300 -3482
- package/build/ee_api_js.js +76 -77
- package/build/ee_api_js_debug.js +3282 -3464
- package/build/ee_api_js_npm.js +3300 -3482
- package/build/main.js +3300 -3482
- package/package.json +1 -1
- package/src/apiclient.js +13 -2
package/build/ee_api_js.js
CHANGED
|
@@ -10,8 +10,8 @@ n("Promise",function(a){function b(){this.ob=null}function c(f){return f instanc
|
|
|
10
10
|
})};var e=function(f){this.T=0;this.ia=void 0;this.tc=[];this.Jh=!1;var l=this.af();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.af=function(){function f(p){return function(v){m||(m=!0,p.call(l,v))}}var l=this,m=!1;return{resolve:f(this.sl),reject:f(this.Yf)}};e.prototype.sl=function(f){if(f===this)this.Yf(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.ul(f);else{a:switch(typeof f){case "object":var l=f!=null;break a;case "function":l=!0;break a;default:l=
|
|
11
11
|
!1}l?this.rl(f):this.Ah(f)}};e.prototype.rl=function(f){var l=void 0;try{l=f.then}catch(m){this.Yf(m);return}typeof l=="function"?this.vl(l,f):this.Ah(f)};e.prototype.Yf=function(f){this.xi(2,f)};e.prototype.Ah=function(f){this.xi(1,f)};e.prototype.xi=function(f,l){if(this.T!=0)throw Error("Cannot settle("+f+", "+l+"): Promise already settled in state"+this.T);this.T=f;this.ia=l;this.T===2&&this.tl();this.Wk()};e.prototype.tl=function(){var f=this;d(function(){if(f.ml()){var l=k.console;typeof l!==
|
|
12
12
|
"undefined"&&l.error(f.ia)}},1)};e.prototype.ml=function(){if(this.Jh)return!1;var f=k.CustomEvent,l=k.Event,m=k.dispatchEvent;if(typeof m==="undefined")return!0;typeof f==="function"?f=new f("unhandledrejection",{cancelable:!0}):typeof l==="function"?f=new l("unhandledrejection",{cancelable:!0}):(f=k.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.ia;return m(f)};e.prototype.Wk=function(){if(this.tc!=null){for(var f=0;f<this.tc.length;++f)g.Gg(this.tc[f]);
|
|
13
|
-
this.tc=null}};var g=new b;e.prototype.ul=function(f){var l=this.af();f.Ad(l.resolve,l.reject)};e.prototype.vl=function(f,l){var m=this.af();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(C,H){return typeof C=="function"?function(ea){try{p(C(ea))}catch(
|
|
14
|
-
break;case 2:l(p.ia);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;this.tc==null?g.Gg(m):this.tc.push(m);this.Jh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var p=q(f),v=p.next();!v.done;v=p.next())c(v.value).Ad(l,m)})};e.all=function(f){var l=q(f),m=l.next();return m.done?c([]):new e(function(p,v){function z(ea){return function(
|
|
13
|
+
this.tc=null}};var g=new b;e.prototype.ul=function(f){var l=this.af();f.Ad(l.resolve,l.reject)};e.prototype.vl=function(f,l){var m=this.af();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(C,H){return typeof C=="function"?function(ea){try{p(C(ea))}catch(W){v(W)}}:H}var p,v,z=new e(function(C,H){p=C;v=H});this.Ad(m(f,p),m(l,v));return z};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Ad=function(f,l){function m(){switch(p.T){case 1:f(p.ia);
|
|
14
|
+
break;case 2:l(p.ia);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;this.tc==null?g.Gg(m):this.tc.push(m);this.Jh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var p=q(f),v=p.next();!v.done;v=p.next())c(v.value).Ad(l,m)})};e.all=function(f){var l=q(f),m=l.next();return m.done?c([]):new e(function(p,v){function z(ea){return function(W){C[ea]=W;H--;H==0&&p(C)}}var C=[],H=0;do C.push(void 0),H++,c(m.value).Ad(z(C.length-
|
|
15
15
|
1),v),m=l.next();while(!m.done)})};return e});n("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});var ta=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};n("Array.prototype.keys",function(a){return a?a:function(){return ta(this,function(b){return b})}});n("globalThis",function(a){return a||k});
|
|
16
16
|
n("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return p==="object"&&m!==null||p==="function"}function d(m){if(!ka(m,g)){var p=new b;ba(m,g,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(v.get(m)!=2||v.get(p)!=3)return!1;v.delete(m);v.set(p,4);return!v.has(m)&&v.get(p)==4}catch(z){return!1}}())return a;
|
|
17
17
|
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,l=function(m){this.fa=(f+=Math.random()+1).toString();if(m){m=q(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};l.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!ka(m,g))throw Error("WeakMap key fail: "+m);m[g][this.fa]=p;return this};l.prototype.get=function(m){return c(m)&&ka(m,g)?m[g][this.fa]:void 0};l.prototype.has=function(m){return c(m)&&ka(m,g)&&ka(m[g],
|
|
@@ -39,7 +39,7 @@ arguments)},Da=function(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=
|
|
|
39
39
|
c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},x=function(a,b){a=a.split(".");var c=t;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var 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.Il=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,
|
|
40
40
|
f)}};var Fa=function(){},Ga=new Fa;function Ha(a){return Object.assign({},{P:{},Kl:{},keys:[],Ma:{},o:{},H:{},qh:!1},a)}var A=function(){this.h={}},B=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},D=function(a,b){return a.h[b]!=null};function Ia(a,b){return B(b,a)}function Ja(a,b,c){b[a]=c}function Ka(){return{}}function La(a,b){var c=new a;return b==null?c:Ma(b,Na,Oa,Pa,a)}function Na(a,b){return b[a]}function Oa(a,b,c){b.h[a]=c}
|
|
41
41
|
function Pa(a){if(a==null)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
42
|
-
function Ma(a,b,c,d,e){e=d(e);for(var g=Qa(a,e),f=g.P||{},l=g.o||{},m=g.Ma||{},p=q(g.keys||[]),v=p.next(),z={};!v.done;z={Ud:void 0},v=p.next()){v=v.value;var C=b(v,a);if(C!=null){var H=void 0;if(f.hasOwnProperty(v)){if(g.qh&&C.length===0)continue;H=Ra(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))H=Ra(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))z.Ud=m[v],H=z.Ud.pa?C.map(function(ea){return function(
|
|
42
|
+
function Ma(a,b,c,d,e){e=d(e);for(var g=Qa(a,e),f=g.P||{},l=g.o||{},m=g.Ma||{},p=q(g.keys||[]),v=p.next(),z={};!v.done;z={Ud:void 0},v=p.next()){v=v.value;var C=b(v,a);if(C!=null){var H=void 0;if(f.hasOwnProperty(v)){if(g.qh&&C.length===0)continue;H=Ra(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))H=Ra(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))z.Ud=m[v],H=z.Ud.pa?C.map(function(ea){return function(W){return Sa(W,ea.Ud,b,c,d)}}(z)):Sa(C,z.Ud,b,c,d);else if(Array.isArray(C)){if(g.qh&&C.length===
|
|
43
43
|
0)continue;H=Ra(C,b,c,d,!0,!1)}else H=C instanceof Fa?null:C;c(v,e,H)}}return e}function Sa(a,b,c,d,e){for(var g={},f=q(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];m!=null&&(g[l]=Ra(m,c,d,e,b.ra,b.qa,b.ka))}return g}
|
|
44
44
|
function Ra(a,b,c,d,e,g,f){if(g&&f==null)throw Error("Cannot deserialize a reference object without a constructor.");return a==null?a:e&&g?a.map(function(l){return Ma(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Ma(a,b,c,d,f):a instanceof Fa?null:typeof a==="object"?JSON.parse(JSON.stringify(a)):a}function Qa(a,b){if(b instanceof A)a=Ha(b.i());else if(a instanceof A)a=Ha(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Ta=function(){};Ta.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Ua(a,b){if(a==null)return null;a=a.Ll(b);return a==null?null:a};function Va(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Wa(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Xa(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Ya(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Za(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function $a(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function ab(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
45
45
|
function bb(a){var b=cb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function db(a){for(var b in a)return!1;return!0}function eb(a,b){b in a&&delete a[b]}function fb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
@@ -399,26 +399,25 @@ oh.prototype.create=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;this.j
|
|
|
399
399
|
var ph=function(a){this.m="v1";this.j=new ed(a,null)},qh=function(a,b,c){var d=d===void 0?{}:d;var e=e===void 0?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return G(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",u:F(d,e),G:qf})},rh=function(a){this.m="v1";this.j=new ed(a,null)};
|
|
400
400
|
rh.prototype.Ka=function(a,b){var c=c===void 0?{}:c;var d=d===void 0?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",u:F(c,d),G:Gg})};var sh=function(a){this.m="v1";this.j=new ed(a,null)};
|
|
401
401
|
sh.prototype.Ka=function(a,b){var c=c===void 0?{}:c;var d=d===void 0?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",u:F(c,d),G:Gg})};var th=function(a){this.m="v1";this.j=new ed(a,null)};
|
|
402
|
-
th.prototype.create=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:F(c,d),G:bh})};var uh=function(a,b){this.dl=100;this.Sk=a;this.ql=b;this.Xd=0;this.Pd=null};uh.prototype.get=function(){if(this.Xd>0){this.Xd--;var a=this.Pd;this.Pd=a.next;a.next=null}else a=this.Sk();return a};uh.prototype.put=function(a){this.ql(a);this.Xd<this.dl&&(this.Xd++,a.next=this.Pd,this.Pd=a)};
|
|
402
|
+
th.prototype.create=function(a,b,c,d){c=c===void 0?{}:c;d=d===void 0?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return G(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:F(c,d),G:bh})};var uh=function(a,b){this.dl=100;this.Sk=a;this.ql=b;this.Xd=0;this.Pd=null};uh.prototype.get=function(){if(this.Xd>0){this.Xd--;var a=this.Pd;this.Pd=a.next;a.next=null}else a=this.Sk();return a};uh.prototype.put=function(a){this.ql(a);this.Xd<this.dl&&(this.Xd++,a.next=this.Pd,this.Pd=a)};var vh,wh=function(){if(typeof MessageChannel!=="undefined"){var a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;var d=b.Ug;b.Ug=null;d()}};return function(d){c.next={Ug:d};c=c.next;a.port2.postMessage(0)}}return function(d){t.setTimeout(d,0)}};function xh(a){t.setTimeout(function(){throw a;},0)};var yh=function(){this.ue=this.ic=null};yh.prototype.add=function(a,b){var c=zh.get();c.set(a,b);this.ue?this.ue.next=c:(E(!this.ic),this.ic=c);this.ue=c};yh.prototype.remove=function(){var a=null;this.ic&&(a=this.ic,this.ic=this.ic.next,this.ic||(this.ue=null),a.next=null);return a};var zh=new uh(function(){return new Ah},function(a){return a.reset()}),Ah=function(){this.next=this.scope=this.qf=null};Ah.prototype.set=function(a,b){this.qf=a;this.scope=b;this.next=null};
|
|
403
|
+
Ah.prototype.reset=function(){this.next=this.scope=this.qf=null};var Bh=t.console&&t.console.createTask?t.console.createTask.bind(t.console):void 0,Ch=Bh?Symbol("consoleTask"):void 0;
|
|
404
|
+
function Dh(a,b){function c(){var l=sa.apply(0,arguments),m=this;return f.run(function(){return a.call.apply(a,[m].concat(ja(l)))})}b=b===void 0?"anonymous":b;if(Ch&&a[Ch])return a;var d=a,e,g=(e=Eh)==null?void 0:e();a=function(){var l=sa.apply(0,arguments),m,p=(m=Eh)==null?void 0:m();if(g!==p)throw Error(b+" was scheduled in '"+g+"' but called in '"+p+"'.\nMake sure your test awaits all async calls.\n\nTIP: To help investigate, debug the test in Chrome and look at the async portion\nof the call stack to see what originally scheduled the callback. Then, make the\ntest wait for the relevant asynchronous work to finish.");return d.call.apply(d,
|
|
405
|
+
[this].concat(ja(l)))};if(!Bh)return a;var f=Bh(a.name||b);c[Pb(Ch)]=f;return c}var Eh;var Fh,Gh=!1,Hh=new yh,Jh=function(a,b){a=Dh(a,"goog.async.run");Fh||Ih();Gh||(Fh(),Gh=!0);Hh.add(a,b)},Ih=function(){if(t.Promise&&t.Promise.resolve){var a=t.Promise.resolve(void 0);Fh=function(){a.then(Kh)}}else Fh=function(){var b=Kh;typeof t.setImmediate!=="function"||t.Window&&t.Window.prototype&&t.Window.prototype.setImmediate==t.setImmediate?(vh||(vh=wh()),vh(b)):t.setImmediate(b)}},Kh=function(){for(var a;a=Hh.remove();){try{a.qf.call(a.scope)}catch(b){xh(b)}zh.put(a)}Gh=!1};var Lh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Oh=function(a){this.T=0;this.ia=void 0;this.lc=this.fb=this.X=null;this.Md=this.jf=!1;if(a!=Nd)try{var b=this;a.call(void 0,function(c){Mh(b,2,c)},function(c){if(!(c instanceof Nh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Mh(b,3,c)})}catch(c){Mh(this,3,c)}},Ph=function(){this.next=this.context=this.sc=this.Xb=this.Nb=null;this.sd=!1};Ph.prototype.reset=function(){this.context=this.sc=this.Xb=this.Nb=null;this.sd=!1};
|
|
406
|
+
var Qh=new uh(function(){return new Ph},function(a){a.reset()}),Rh=function(a,b,c){var d=Qh.get();d.Xb=a;d.sc=b;d.context=c;return d};Oh.prototype.then=function(a,b,c){a!=null&&Tb(a,"opt_onFulfilled should be a function.");b!=null&&Tb(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Sh(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};Oh.prototype.$goog_Thenable=!0;
|
|
407
|
+
Oh.prototype.zl=function(a,b){return Sh(this,null,a,b)};Oh.prototype.catch=Oh.prototype.zl;Oh.prototype.cancel=function(a){if(this.T==0){var b=new Nh(a);Jh(function(){Th(this,b)},this)}};
|
|
408
|
+
var Th=function(a,b){if(a.T==0)if(a.X){var c=a.X;if(c.fb){for(var d=0,e=null,g=null,f=c.fb;f&&(f.sd||(d++,f.Nb==a&&(e=f),!(e&&d>1)));f=f.next)e||(g=f);e&&(c.T==0&&d==1?Th(c,b):(g?(d=g,E(c.fb),E(d!=null),d.next==c.lc&&(c.lc=d),d.next=d.next.next):Uh(c),Vh(c,e,3,b)))}a.X=null}else Mh(a,3,b)},Xh=function(a,b){a.fb||a.T!=2&&a.T!=3||Wh(a);E(b.Xb!=null);a.lc?a.lc.next=b:a.fb=b;a.lc=b},Sh=function(a,b,c,d){b&&(b=Dh(b,"goog.Promise.then"));c&&(c=Dh(c,"goog.Promise.then"));var e=Rh(null,null,null);e.Nb=new Oh(function(g,
|
|
409
|
+
f){e.Xb=b?function(l){try{var m=b.call(d,l);g(m)}catch(p){f(p)}}:g;e.sc=c?function(l){try{var m=c.call(d,l);m===void 0&&l instanceof Nh?f(l):g(m)}catch(p){f(p)}}:f});e.Nb.X=a;Xh(a,e);return e.Nb};Oh.prototype.Bl=function(a){E(this.T==1);this.T=0;Mh(this,2,a)};Oh.prototype.Cl=function(a){E(this.T==1);this.T=0;Mh(this,3,a)};
|
|
410
|
+
var Mh=function(a,b,c){if(a.T==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.Bl,g=a.Cl;if(d instanceof Oh){e!=null&&Tb(e,"opt_onFulfilled should be a function.");g!=null&&Tb(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Xh(d,Rh(e||Nd,g||null,a));var f=!0}else if(Lh(d))d.then(e,g,a),f=!0;else{if(u(d))try{var l=d.then;if(typeof l==="function"){Yh(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);
|
|
411
|
+
f=!0;break a}f=!1}}f||(a.ia=c,a.T=b,a.X=null,Wh(a),b!=3||c instanceof Nh||Zh(a,c))}},Yh=function(a,b,c,d,e){var g=!1,f=function(m){g||(g=!0,c.call(e,m))},l=function(m){g||(g=!0,d.call(e,m))};try{b.call(a,f,l)}catch(m){l(m)}},Wh=function(a){a.jf||(a.jf=!0,Jh(a.Vk,a))},Uh=function(a){var b=null;a.fb&&(b=a.fb,a.fb=b.next,b.next=null);a.fb||(a.lc=null);b!=null&&E(b.Xb!=null);return b};Oh.prototype.Vk=function(){for(var a;a=Uh(this);)Vh(this,a,this.T,this.ia);this.jf=!1};
|
|
412
|
+
var Vh=function(a,b,c,d){if(c==3&&b.sc&&!b.sd)for(;a&&a.Md;a=a.X)a.Md=!1;if(b.Nb)b.Nb.X=null,$h(b,c,d);else try{b.sd?b.Xb.call(b.context):$h(b,c,d)}catch(e){ai.call(null,e)}Qh.put(b)},$h=function(a,b,c){b==2?a.Xb.call(a.context,c):a.sc&&a.sc.call(a.context,c)},Zh=function(a,b){a.Md=!0;Jh(function(){a.Md&&ai.call(null,b)})},ai=xh,Nh=function(a){Lb.call(this,a)};y(Nh,Lb);Nh.prototype.name="cancel";var bi=function(a,b,c){if(typeof a==="function")c&&(a=w(a,c));else if(a&&typeof a.handleEvent=="function")a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:t.setTimeout(a,b||0)};var ci=function(a,b,c){I.call(this);this.el=c!=null?a.bind(c):a;this.bl=b;this.td=null;this.xc=!1;this.Zc=0;this.ec=null};r(ci,I);h=ci.prototype;h.nf=function(a){this.td=arguments;this.ec||this.Zc?this.xc=!0:di(this)};h.stop=function(){this.ec&&(t.clearTimeout(this.ec),this.ec=null,this.xc=!1,this.td=null)};h.pause=function(){this.Zc++};h.resume=function(){this.Zc--;this.Zc||!this.xc||this.ec||(this.xc=!1,di(this))};h.J=function(){I.prototype.J.call(this);this.stop()};
|
|
413
|
+
var di=function(a){a.ec=bi(function(){a.ec=null;a.xc&&!a.Zc&&(a.xc=!1,di(a))},a.bl);var b=a.td;a.td=null;a.el.apply(null,b)};function ei(a){var b=sa.apply(1,arguments);if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!==a.raw.length||!Bb&&a===a.raw||!(Bb&&!Cb||zb(a))||b.length+1!==a.length)throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
|
|
403
414
|
if(b.length===0)return pb(a[0]);var c=a[0].toLowerCase();if(/^data:/.test(c))throw Error("Data URLs cannot have expressions in the template literal input.");if(/^https:\/\//.test(c)||/^\/\//.test(c)){var d=c.indexOf("//")+2;var e=c.indexOf("/",d);if(e<=d)throw Error("Can't interpolate data in a url's origin, Please make sure to fully specify the origin, terminated with '/'.");d=c.substring(d,e);if(!/^[0-9a-z.:-]+$/i.test(d))throw Error("The origin contains unsupported characters.");if(!/^[^:]*(:[0-9]+)?$/i.test(d))throw Error("Invalid port number.");
|
|
404
415
|
if(!/(^|\.)[a-z][^.]*$/i.test(d))throw Error("The top-level domain must start with a letter.");d=!0}else d=!1;if(!d)if(/^\//.test(c))if(c==="/"||c.length>1&&c[1]!=="/"&&c[1]!=="\\")d=!0;else throw Error("The path start in the url is invalid.");else d=!1;if(!(d=d||RegExp("^[^:\\s\\\\/]+/").test(c)))if(/^about:blank/.test(c)){if(c!=="about:blank"&&!/^about:blank#/.test(c))throw Error("The about url is invalid.");d=!0}else d=!1;if(!d)throw Error("Trying to interpolate expressions in an unsupported url format.");
|
|
405
|
-
c=a[0];for(d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return pb(c)};var
|
|
406
|
-
b,c){return
|
|
407
|
-
typeof g.item=="function";break a}}f=!1}Xb(f?fc(g):g,e)}}},
|
|
408
|
-
h.Rk=function(a,b,c){return
|
|
409
|
-
h.removeNode=
|
|
410
|
-
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,l)}}});if(typeof a!=="undefined"){var b=new a,c={},d=c;b.port1.onmessage=function(){if(c.next!==void 0){c=c.next;var e=c.Ug;c.Ug=null;e()}};return function(e){d.next={Ug:e};d=d.next;b.port2.postMessage(0)}}return function(e){t.setTimeout(e,0)}};function Hh(a){t.setTimeout(function(){throw a;},0)};var Ih=function(){this.ue=this.ic=null};Ih.prototype.add=function(a,b){var c=Jh.get();c.set(a,b);this.ue?this.ue.next=c:(E(!this.ic),this.ic=c);this.ue=c};Ih.prototype.remove=function(){var a=null;this.ic&&(a=this.ic,this.ic=this.ic.next,this.ic||(this.ue=null),a.next=null);return a};var Jh=new uh(function(){return new Kh},function(a){return a.reset()}),Kh=function(){this.next=this.scope=this.qf=null};Kh.prototype.set=function(a,b){this.qf=a;this.scope=b;this.next=null};
|
|
411
|
-
Kh.prototype.reset=function(){this.next=this.scope=this.qf=null};var Lh=t.console&&t.console.createTask?t.console.createTask.bind(t.console):void 0,Mh=Lh?Symbol("consoleTask"):void 0;
|
|
412
|
-
function Nh(a,b){function c(){var l=sa.apply(0,arguments),m=this;return f.run(function(){return a.call.apply(a,[m].concat(ja(l)))})}b=b===void 0?"anonymous":b;if(Mh&&a[Mh])return a;var d=a,e,g=(e=Oh)==null?void 0:e();a=function(){var l=sa.apply(0,arguments),m,p=(m=Oh)==null?void 0:m();if(g!==p)throw Error(b+" was scheduled in '"+g+"' but called in '"+p+"'.\nMake sure your test awaits all async calls.\n\nTIP: To help investigate, debug the test in Chrome and look at the async portion\nof the call stack to see what originally scheduled the callback. Then, make the\ntest wait for the relevant asynchronous work to finish.");return d.call.apply(d,
|
|
413
|
-
[this].concat(ja(l)))};if(!Lh)return a;var f=Lh(a.name||b);c[Pb(Mh)]=f;return c}var Oh;var Ph,Qh=!1,Rh=new Ih,Th=function(a,b){Ph||Sh();Qh||(Ph(),Qh=!0);a=Nh(a,"goog.async.run");Rh.add(a,b)},Sh=function(){if(t.Promise&&t.Promise.resolve){var a=t.Promise.resolve(void 0);Ph=function(){a.then(Uh)}}else Ph=function(){var b=Uh;typeof t.setImmediate!=="function"||t.Window&&t.Window.prototype&&t.Window.prototype.setImmediate==t.setImmediate?(Fh||(Fh=Gh()),Fh(b)):t.setImmediate(b)}},Uh=function(){for(var a;a=Rh.remove();){try{a.qf.call(a.scope)}catch(b){Hh(b)}Jh.put(a)}Qh=!1};var Vh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Yh=function(a){this.T=0;this.ia=void 0;this.lc=this.fb=this.X=null;this.Md=this.jf=!1;if(a!=Nd)try{var b=this;a.call(void 0,function(c){Wh(b,2,c)},function(c){if(!(c instanceof Xh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Wh(b,3,c)})}catch(c){Wh(this,3,c)}},Zh=function(){this.next=this.context=this.sc=this.Xb=this.Nb=null;this.sd=!1};Zh.prototype.reset=function(){this.context=this.sc=this.Xb=this.Nb=null;this.sd=!1};
|
|
414
|
-
var $h=new uh(function(){return new Zh},function(a){a.reset()}),ai=function(a,b,c){var d=$h.get();d.Xb=a;d.sc=b;d.context=c;return d};Yh.prototype.then=function(a,b,c){a!=null&&Tb(a,"opt_onFulfilled should be a function.");b!=null&&Tb(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return bi(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};Yh.prototype.$goog_Thenable=!0;
|
|
415
|
-
Yh.prototype.zl=function(a,b){return bi(this,null,a,b)};Yh.prototype.catch=Yh.prototype.zl;Yh.prototype.cancel=function(a){if(this.T==0){var b=new Xh(a);Th(function(){ci(this,b)},this)}};
|
|
416
|
-
var ci=function(a,b){if(a.T==0)if(a.X){var c=a.X;if(c.fb){for(var d=0,e=null,g=null,f=c.fb;f&&(f.sd||(d++,f.Nb==a&&(e=f),!(e&&d>1)));f=f.next)e||(g=f);e&&(c.T==0&&d==1?ci(c,b):(g?(d=g,E(c.fb),E(d!=null),d.next==c.lc&&(c.lc=d),d.next=d.next.next):di(c),ei(c,e,3,b)))}a.X=null}else Wh(a,3,b)},gi=function(a,b){a.fb||a.T!=2&&a.T!=3||fi(a);E(b.Xb!=null);a.lc?a.lc.next=b:a.fb=b;a.lc=b},bi=function(a,b,c,d){b&&(b=Nh(b,"goog.Promise.then"));c&&(c=Nh(c,"goog.Promise.then"));var e=ai(null,null,null);e.Nb=new Yh(function(g,
|
|
417
|
-
f){e.Xb=b?function(l){try{var m=b.call(d,l);g(m)}catch(p){f(p)}}:g;e.sc=c?function(l){try{var m=c.call(d,l);m===void 0&&l instanceof Xh?f(l):g(m)}catch(p){f(p)}}:f});e.Nb.X=a;gi(a,e);return e.Nb};Yh.prototype.Bl=function(a){E(this.T==1);this.T=0;Wh(this,2,a)};Yh.prototype.Cl=function(a){E(this.T==1);this.T=0;Wh(this,3,a)};
|
|
418
|
-
var Wh=function(a,b,c){if(a.T==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.Bl,g=a.Cl;if(d instanceof Yh){e!=null&&Tb(e,"opt_onFulfilled should be a function.");g!=null&&Tb(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");gi(d,ai(e||Nd,g||null,a));var f=!0}else if(Vh(d))d.then(e,g,a),f=!0;else{if(u(d))try{var l=d.then;if(typeof l==="function"){hi(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);
|
|
419
|
-
f=!0;break a}f=!1}}f||(a.ia=c,a.T=b,a.X=null,fi(a),b!=3||c instanceof Xh||ii(a,c))}},hi=function(a,b,c,d,e){var g=!1,f=function(m){g||(g=!0,c.call(e,m))},l=function(m){g||(g=!0,d.call(e,m))};try{b.call(a,f,l)}catch(m){l(m)}},fi=function(a){a.jf||(a.jf=!0,Th(a.Vk,a))},di=function(a){var b=null;a.fb&&(b=a.fb,a.fb=b.next,b.next=null);a.fb||(a.lc=null);b!=null&&E(b.Xb!=null);return b};Yh.prototype.Vk=function(){for(var a;a=di(this);)ei(this,a,this.T,this.ia);this.jf=!1};
|
|
420
|
-
var ei=function(a,b,c,d){if(c==3&&b.sc&&!b.sd)for(;a&&a.Md;a=a.X)a.Md=!1;if(b.Nb)b.Nb.X=null,ji(b,c,d);else try{b.sd?b.Xb.call(b.context):ji(b,c,d)}catch(e){ki.call(null,e)}$h.put(b)},ji=function(a,b,c){b==2?a.Xb.call(a.context,c):a.sc&&a.sc.call(a.context,c)},ii=function(a,b){a.Md=!0;Th(function(){a.Md&&ki.call(null,b)})},ki=Hh,Xh=function(a){Lb.call(this,a)};y(Xh,Lb);Xh.prototype.name="cancel";var li=function(a,b,c){if(typeof a==="function")c&&(a=w(a,c));else if(a&&typeof a.handleEvent=="function")a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:t.setTimeout(a,b||0)};var mi=function(a,b,c){I.call(this);this.el=c!=null?a.bind(c):a;this.bl=b;this.td=null;this.xc=!1;this.Zc=0;this.ec=null};r(mi,I);h=mi.prototype;h.nf=function(a){this.td=arguments;this.ec||this.Zc?this.xc=!0:ni(this)};h.stop=function(){this.ec&&(t.clearTimeout(this.ec),this.ec=null,this.xc=!1,this.td=null)};h.pause=function(){this.Zc++};h.resume=function(){this.Zc--;this.Zc||!this.xc||this.ec||(this.xc=!1,ni(this))};h.J=function(){I.prototype.J.call(this);this.stop()};
|
|
421
|
-
var ni=function(a){a.ec=li(function(){a.ec=null;a.xc&&!a.Zc&&(a.xc=!1,ni(a))},a.bl);var b=a.td;a.td=null;a.el.apply(null,b)};/*
|
|
416
|
+
c=a[0];for(d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return pb(c)};var gi=function(a,b){Va(b,function(c,d){d=="style"?a.style.cssText=c:d=="class"?a.className=c:d=="for"?a.htmlFor=c:fi.hasOwnProperty(d)?a.setAttribute(fi[d],c):d.lastIndexOf("aria-",0)==0||d.lastIndexOf("data-",0)==0?a.setAttribute(d,c):a[d]=c})},fi={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},ii=function(a,
|
|
417
|
+
b,c){return hi(document,arguments)},hi=function(a,b){var c=b[1],d=ji(a,String(b[0]));c&&(typeof c==="string"?d.className=c:Array.isArray(c)?d.className=c.join(" "):gi(d,c));b.length>2&&ki(a,d,b,2);return d},ki=function(a,b,c,d){function e(l){l&&b.appendChild(typeof l==="string"?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!xa(g)||u(g)&&g.nodeType>0)e(g);else{a:{if(g&&typeof g.length=="number"){if(u(g)){var f=typeof g.item=="function"||typeof g.item=="string";break a}if(typeof g==="function"){f=
|
|
418
|
+
typeof g.item=="function";break a}}f=!1}Xb(f?fc(g):g,e)}}},ji=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},li=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},mi=function(a){E(a,"Node cannot be null or undefined.");return a.nodeType==9?a:a.ownerDocument||a.document},ni=function(a){this.Dd=a||t.document||document};h=ni.prototype;h.getElementsByTagName=function(a,b){return(b||this.Dd).getElementsByTagName(String(a))};
|
|
419
|
+
h.Rk=function(a,b,c){return hi(this.Dd,arguments)};h.createElement=function(a){return ji(this.Dd,a)};h.createTextNode=function(a){return this.Dd.createTextNode(String(a))};h.appendChild=function(a,b){E(a!=null&&b!=null,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){ki(mi(a),a,arguments,1)};h.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
|
|
420
|
+
h.removeNode=li;h.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};/*
|
|
422
421
|
|
|
423
422
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
424
423
|
Copyright The Closure Library Authors.
|
|
@@ -426,11 +425,11 @@ var ni=function(a){a.ec=li(function(){a.ec=null;a.xc&&!a.Zc&&(a.xc=!1,ni(a))},a.
|
|
|
426
425
|
*/
|
|
427
426
|
var pi=function(a){var b=oi;this.ge=[];this.ai=b;this.mh=a||null;this.Nc=this.oc=!1;this.ia=void 0;this.ig=this.Og=this.Qe=!1;this.re=0;this.X=null;this.Re=0};pi.prototype.cancel=function(a){if(this.oc)this.ia instanceof pi&&this.ia.cancel();else{if(this.X){var b=this.X;delete this.X;a?b.cancel(a):(b.Re--,b.Re<=0&&b.cancel())}this.ai?this.ai.call(this.mh,this):this.ig=!0;this.oc||qi(this,new ri(this))}};pi.prototype.Zg=function(a,b){this.Qe=!1;si(this,a,b)};
|
|
428
427
|
var si=function(a,b,c){a.oc=!0;a.ia=c;a.Nc=!b;ti(a)},vi=function(a){if(a.oc){if(!a.ig)throw new ui(a);a.ig=!1}};pi.prototype.callback=function(a){vi(this);wi(a);si(this,!0,a)};var qi=function(a,b){vi(a);wi(b);si(a,!1,b)},wi=function(a){E(!(a instanceof pi),"An execution sequence may not be initiated with a blocking Deferred.")},zi=function(a){var b=xi();yi(b,a,null)},yi=function(a,b,c,d){E(!a.Og,"Blocking Deferreds can not be re-used");a.ge.push([b,c,d]);a.oc&&ti(a)};
|
|
429
|
-
pi.prototype.then=function(a,b,c){var d,e,g=new
|
|
430
|
-
var Bi=function(a){return $b(a.ge,function(b){return typeof b[1]==="function"})},Ai={},ti=function(a){if(a.re&&a.oc&&Bi(a)){var b=a.re,c=Ci[b];c&&(t.clearTimeout(c.fa),delete Ci[b]);a.re=0}a.X&&(a.X.Re--,delete a.X);b=a.ia;for(var d=c=!1;a.ge.length&&!a.Qe;){var e=a.ge.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Nc?f:g)try{var l=g.call(e||a.mh,b);l===Ai&&(l=void 0);l!==void 0&&(a.Nc=a.Nc&&(l==b||l instanceof Error),a.ia=b=l);if(
|
|
428
|
+
pi.prototype.then=function(a,b,c){var d,e,g=new Oh(function(f,l){e=f;d=l});yi(this,e,function(f){f instanceof ri?g.cancel():d(f);return Ai},this);return g.then(a,b,c)};pi.prototype.$goog_Thenable=!0;
|
|
429
|
+
var Bi=function(a){return $b(a.ge,function(b){return typeof b[1]==="function"})},Ai={},ti=function(a){if(a.re&&a.oc&&Bi(a)){var b=a.re,c=Ci[b];c&&(t.clearTimeout(c.fa),delete Ci[b]);a.re=0}a.X&&(a.X.Re--,delete a.X);b=a.ia;for(var d=c=!1;a.ge.length&&!a.Qe;){var e=a.ge.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Nc?f:g)try{var l=g.call(e||a.mh,b);l===Ai&&(l=void 0);l!==void 0&&(a.Nc=a.Nc&&(l==b||l instanceof Error),a.ia=b=l);if(Lh(b)||typeof t.Promise==="function"&&b instanceof t.Promise)d=!0,a.Qe=!0}catch(m){b=
|
|
431
430
|
m,a.Nc=!0,Bi(a)||(c=!0)}}a.ia=b;d&&(l=w(a.Zg,a,!0),d=w(a.Zg,a,!1),b instanceof pi?(yi(b,l,d),b.Og=!0):b.then(l,d));c&&(b=new Di(b),Ci[b.fa]=b,a.re=b.fa)},ui=function(){Lb.call(this)};y(ui,Lb);ui.prototype.message="Deferred has already fired";ui.prototype.name="AlreadyCalledError";var ri=function(){Lb.call(this)};y(ri,Lb);ri.prototype.message="Deferred was canceled";ri.prototype.name="CanceledError";var Di=function(a){this.fa=t.setTimeout(w(this.Al,this),0);this.Gd=a};
|
|
432
|
-
Di.prototype.Al=function(){E(Ci[this.fa],"Cannot throw an error that is not scheduled.");delete Ci[this.fa];throw this.Gd;};var Ci={};var xi=function(){var a=
|
|
433
|
-
d))};g=b.attributes||{};ib(g,{type:"text/javascript",charset:"UTF-8"});
|
|
431
|
+
Di.prototype.Al=function(){E(Ci[this.fa],"Cannot throw an error that is not scheduled.");delete Ci[this.fa];throw this.Gd;};var Ci={};var xi=function(){var a=ei(Ei),b={},c=b.document||document,d=qb(a).toString(),e=(new ni(c)).createElement("SCRIPT"),g={vi:e,ne:void 0},f=new pi(g),l=null,m=b.timeout!=null?b.timeout:5E3;m>0&&(l=window.setTimeout(function(){Fi(e,!0);qi(f,new Gi(1,"Timeout reached for loading script "+d))},m),g.ne=l);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(Fi(e,b.Jl||!1,l),f.callback(null))};e.onerror=function(){Fi(e,!0,l);qi(f,new Gi(0,"Error while loading script "+
|
|
432
|
+
d))};g=b.attributes||{};ib(g,{type:"text/javascript",charset:"UTF-8"});gi(e,g);Kb(e,a);Hi(c).appendChild(e);return f},Hi=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&b.length!==0?b[0]:a.documentElement},oi=function(){if(this&&this.vi){var a=this.vi;a&&a.tagName=="SCRIPT"&&Fi(a,!0,this.ne)}},Fi=function(a,b,c){c!=null&&t.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){li(a)},0)},Gi=function(a,
|
|
434
433
|
b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Lb.call(this,c);this.code=a};y(Gi,Lb);var Ii=function(){this.de=void 0};Ii.prototype.va=function(a){var b=[];Ji(this,a,b);return b.join("")};
|
|
435
434
|
var Ji=function(a,b,c){if(b==null)c.push("null");else{if(typeof b=="object"){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],Ji(a,a.de?a.de.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],typeof e!="function"&&(c.push(g),Ki(d,c),c.push(":"),Ji(a,a.de?a.de.call(b,d,e):e,c),g=","));c.push("}");
|
|
436
435
|
return}}switch(typeof b){case "string":Ki(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},Li={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Mi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Ki=function(a,b){b.push('"',a.replace(Mi,function(c){var d=Li[c];
|
|
@@ -438,32 +437,32 @@ d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),Li[c]=d);return d}),'"
|
|
|
438
437
|
h.send=function(a,b,c,d){if(this.s)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Td+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Td=a;this.Rc="";this.Mh=b;this.gf=!1;this.Ea=!0;this.s=new XMLHttpRequest;this.ve=this.Si?Pi(this.Si):Pi(Qi);this.s.onreadystatechange=w(this.di,this);this.ol&&"onprogress"in this.s&&(this.s.onprogress=w(function(f){this.ci(f,!0)},this),this.s.upload&&(this.s.upload.onprogress=w(this.ci,this)));try{Cc(this.ba,Wi(this,"Opening Xhr")),this.Af=
|
|
439
438
|
!0,this.s.open(b,String(a),!0),this.Af=!1}catch(f){Cc(this.ba,Wi(this,"Error opening Xhr: "+f.message));this.Gd(5,f);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=q(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(f){return"content-type"==
|
|
440
439
|
f.toLowerCase()});e=t.FormData&&a instanceof t.FormData;!cc(Ui,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=q(c);for(d=b.next();!d.done;d=b.next())c=q(d.value),d=c.next().value,c=c.next().value,this.s.setRequestHeader(d,c);this.wc&&(this.s.responseType=this.wc);"withCredentials"in this.s&&this.s.withCredentials!==this.Qi&&(this.s.withCredentials=this.Qi);if("setTrustToken"in this.s&&this.zg)try{this.s.setTrustToken(this.zg)}catch(f){Cc(this.ba,Wi(this,"Error SetTrustToken: "+
|
|
441
|
-
f.message))}if("setAttributionReporting"in this.s&&this.Oe)try{this.s.setAttributionReporting(this.Oe)}catch(f){Cc(this.ba,Wi(this,"Error SetAttributionReporting: "+f.message))}try{Xi(this),this.ld>0&&(Cc(this.ba,Wi(this,"Will abort after "+this.ld+"ms if incomplete")),this.me=
|
|
440
|
+
f.message))}if("setAttributionReporting"in this.s&&this.Oe)try{this.s.setAttributionReporting(this.Oe)}catch(f){Cc(this.ba,Wi(this,"Error SetAttributionReporting: "+f.message))}try{Xi(this),this.ld>0&&(Cc(this.ba,Wi(this,"Will abort after "+this.ld+"ms if incomplete")),this.me=bi(this.ne,this.ld,this)),Cc(this.ba,Wi(this,"Sending request")),this.Rd=!0,this.s.send(a),this.Rd=!1}catch(f){Cc(this.ba,Wi(this,"Send error: "+f.message)),this.Gd(5,f)}};
|
|
442
441
|
h.ne=function(){typeof va!="undefined"&&this.s&&(this.Rc="Timed out after "+this.ld+"ms, aborting",Cc(this.ba,Wi(this,this.Rc)),this.dispatchEvent("timeout"),this.abort(8))};h.Gd=function(a,b){this.Ea=!1;this.s&&(this.Tb=!0,this.s.abort(),this.Tb=!1);this.Rc=b;Yi(this);Zi(this)};var Yi=function(a){a.gf||(a.gf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
443
442
|
Si.prototype.abort=function(){this.s&&this.Ea&&(Cc(this.ba,Wi(this,"Aborting")),this.Ea=!1,this.Tb=!0,this.s.abort(),this.Tb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Zi(this))};Si.prototype.J=function(){this.s&&(this.Ea&&(this.Ea=!1,this.Tb=!0,this.s.abort(),this.Tb=!1),Zi(this,!0));Si.L.J.call(this)};Si.prototype.di=function(){this.Ra||(this.Af||this.Rd||this.Tb?$i(this):this.nl())};Si.prototype.nl=function(){$i(this)};
|
|
444
|
-
var $i=function(a){if(a.Ea&&typeof va!="undefined")if(a.ve[1]&&a.tb()==4&&a.getStatus()==2)Cc(a.ba,Wi(a,"Local request error detected and ignored"));else if(a.Rd&&a.tb()==4)
|
|
443
|
+
var $i=function(a){if(a.Ea&&typeof va!="undefined")if(a.ve[1]&&a.tb()==4&&a.getStatus()==2)Cc(a.ba,Wi(a,"Local request error detected and ignored"));else if(a.Rd&&a.tb()==4)bi(a.di,0,a);else if(a.dispatchEvent("readystatechange"),a.tb()==4){Cc(a.ba,Wi(a,"Request complete"));a.Ea=!1;try{var b=a.getStatus(),c;if(!(c=Ni(b))){var d;if(d=b===0){var e=String(a.Td).match(Kc)[1]||null;!e&&t.self&&t.self.location&&(e=t.self.location.protocol.slice(0,-1));d=!Ti.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
445
444
|
a.dispatchEvent("success");else{try{var g=a.tb()>2?a.s.statusText:""}catch(f){Cc(a.ba,"Can not get status: "+f.message),g=""}a.Rc=g+" ["+a.getStatus()+"]";Yi(a)}}finally{Zi(a)}}};Si.prototype.ci=function(a,b){E(a.type==="progress","goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(aj(a,"progress"));this.dispatchEvent(aj(a,b?"downloadprogress":"uploadprogress"))};
|
|
446
445
|
var aj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Zi=function(a,b){if(a.s){Xi(a);var c=a.s,d=a.ve[0]?function(){}:null;a.s=null;a.ve=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Bc(a.ba,"Problem encountered resetting onreadystatechange: "+e.message)}}},Xi=function(a){a.me&&(t.clearTimeout(a.me),a.me=null)};Si.prototype.isActive=function(){return!!this.s};Si.prototype.tb=function(){return this.s?this.s.readyState:0};
|
|
447
446
|
Si.prototype.getStatus=function(){try{return this.tb()>2?this.s.status:-1}catch(a){return-1}};var bj=function(a){try{if(!a.s)return null;if("response"in a.s)return a.s.response;switch(a.wc){case "":case "text":return a.s.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.s)return a.s.mozResponseArrayBuffer}Bc(a.ba,"Response type "+a.wc+" is not supported on this browser");return null}catch(b){return Cc(a.ba,"Can not get response: "+b.message),null}};
|
|
448
447
|
Si.prototype.getResponseHeader=function(a){if(this.s&&this.tb()==4)return a=this.s.getResponseHeader(a),a===null?void 0:a};Si.prototype.getAllResponseHeaders=function(){return this.s&&this.tb()>=2?this.s.getAllResponseHeaders()||"":""};
|
|
449
448
|
var cj=function(a){var b={};a=a.getAllResponseHeaders().split("\r\n");for(var c=0;c<a.length;c++)if(!/^[\s\xa0]*$/.test(a[c])){var d=Ec(a[c]),e=d[0];d=d[1];if(typeof d==="string"){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return Xa(b,function(f){return f.join(", ")})},Wi=function(a,b){return b+" ["+a.Mh+" "+a.Td+" "+a.getStatus()+"]"};var Ei=ia(["https://accounts.google.com/gsi/client"]),dj,K=function(a,b){ej();this.callback=a;this.M=new fj(!a,b)};K.prototype.pd=function(a){this.M.Qb=a;return this};K.prototype.handle=function(a){var b=this;if(a instanceof Promise){if(this.callback){var c=function(d,e){try{return b.callback(d,e)}catch(g){setTimeout(function(){throw g;},0)}};a.then(c,function(d){return c(void 0,d)})}}else a.then(function(d){a=d});return a};var gj=function(){return"projects/"+dj};h=K.prototype;h.Dc=function(){return new ch(this.M)};
|
|
450
449
|
h.assets=function(){return new eh(this.M)};h.Na=function(){return new lh(this.M)};h.value=function(){return new ph(this.M)};h.maps=function(){return new kh(this.M)};h.map=function(){return new jh(this.M)};h.image=function(){return new ih(this.M)};h.table=function(){return new mh(this.M)};h.video=function(){return new rh(this.M)};var fj=function(a,b){this.sync=a=a===void 0?!1:a;this.Qb=void 0;this.si=b!=null?b:a?5:10};r(fj,gd);
|
|
451
|
-
fj.prototype.send=function(a,b){var c=this;cd(a);var d=a.path||"",e=hj()+d,g=ij(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=jj(e,g,void 0,a.B,f,this.si,this.Qb);d=b?La(b,d):d;var l=function(m){return{then:function(p){return l(p(m))}}};return l(d)}return(new Promise(function(m,p){jj(e,g,function(v,z){z?p(z):m(v)},a.B,f,c.si,c.Qb)})).then(function(m){return b?La(b,m):m})};var
|
|
452
|
-
|
|
453
|
-
|
|
450
|
+
fj.prototype.send=function(a,b){var c=this;cd(a);var d=a.path||"",e=hj()+d,g=ij(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=jj(e,g,void 0,a.B,f,this.si,this.Qb);d=b?La(b,d):d;var l=function(m){return{then:function(p){return l(p(m))}}};return l(d)}return(new Promise(function(m,p){jj(e,g,function(v,z){z?p(z):m(v)},a.B,f,c.si,c.Qb)})).then(function(m){return b?La(b,m):m})};var mj=function(a){K.call(this,a);this.M=new kj;this.Qb=void 0};r(mj,K);
|
|
451
|
+
mj.prototype.pd=function(a){this.Qb=a;return this};
|
|
452
|
+
mj.prototype.send=function(a,b){var c=this,d=hj()+"/batch",e=a.map(function(f){var l=q(f);f=l.next().value;var m=q(l.next().value);l=m.next().value;m.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+f+">\r\n\r\n"+l+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",g=function(f){var l={};a.forEach(function(m){var p=q(m);m=p.next().value;p=q(p.next().value);p.next();p=p.next().value;f[m]!=null&&(l[m]=
|
|
454
453
|
La(p,f[m]))});return b?b(l):l};return this.callback?(jj(d,null,function(f,l){return c.callback(l?f:g(f),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Qb),null):g(jj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Qb))};var kj=function(){};r(kj,gd);
|
|
455
|
-
kj.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=
|
|
454
|
+
kj.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=nj();d!=null&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
456
455
|
var oj=function(a,b,c){a=q(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"))}},hj=function(){var a=pj.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},rj=function(a,b,c){var d=[];a&&(d=d.concat(qj));
|
|
457
456
|
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},xj=function(a,b,c){sj&&tj&&sj({client_id:String(tj),scope:uj.join(" "),plugin_name:"earthengine"},function(d){if(d.error=="immediate_failed"&&c)c();else if("window"in t)try{vj(function(){try{wj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else wj(a,
|
|
458
|
-
b,d)})},
|
|
459
|
-
(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=
|
|
457
|
+
b,d)})},nj=function(){yj&&Date.now()-yj>=0&&zj();return Aj},zj=function(){yj=Aj=null},ej=function(a,b,c,d){a!=null?pj=a:Bj||(pj="https://earthengine.googleapis.com/api");b!=null?Cj=b:Bj||(Cj="https://earthengine.googleapis.com");c!==void 0&&(Dj=c);dj=d!=null?d:dj||"earthengine-legacy";Bj=!0},jj=function(a,b,c,d,e,g,f){ej();var l=Ej,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.1.3";p==="1.1.3"&&
|
|
458
|
+
(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=nj();if(p!=null)m.Authorization=p;else if(c&&sj&&tj)return xj(function(){Fj(l,function(){jj(a,b,c,d)})}),null;b=b?b.clone():new Sc;Gj!=null&&b.add("key",Gj);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");dj&&dj!=="earthengine-legacy"&&(m["X-Goog-User-Project"]=dj);b=Hj(b,a);Dj!=null&&(m["X-XSRF-Token"]=Dj);Ij!=null&&(m["X-Earth-Engine-App-ID-Token"]=Ij);p=e||null;var v=b?b.toString():"";d==="POST"&&e===void 0?p=v:/^[\s\xa0]*$/.test(v)||(a+=a.indexOf("?")!=
|
|
460
459
|
-1?"&":"?",a+=v);e=a.startsWith("/")?pj+a:a;if(c)return Jj.push(Kj(e,c,d,p,m,g,f)),Lj.nf(),null;v=function(H,ea){this.setRequestHeader&&this.setRequestHeader(ea,H)};var z=0;for(g=g!=null?g:5;;){var C=new XMLHttpRequest;C.open(d,e,!1);Va(m,v,C);C.send(p);if(C.status!=429||z>g)break;z++}return Mj(C.status,function(H){try{return C.getResponseHeader(H)}catch(ea){return null}},C.responseText,l,void 0,e,d,f)},Kj=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=Ej,v=g!=null?g:10;
|
|
461
|
-
m.callback=function(z){z=z.target;if(z.getStatus()==429&&l<v)return l++,setTimeout(function(){Jj.push(m);Lj.nf()},Math.min(12E4,Math.pow(2,l)*1E3)),null;var C=Mj,H=z.getStatus(),ea=w(z.getResponseHeader,z);try{var
|
|
462
|
-
function(
|
|
463
|
-
C=c.parsed:z=c;else if(d==="multipart/mixed"){C={};var H=[];oj(b,c,function(
|
|
464
|
-
b():zi(b)},wj=function(a,b,c){if(c.access_token){b=c.token_type+" "+c.access_token;if(c.expires_in||c.expires_in===0){c=c.expires_in*900;var d=setTimeout(xj,c*.9);d.unref!==void 0&&d.unref();yj=Date.now()+c}Aj=b;a&&a()}else b&&b(c.error||"Unknown error.")},ij=function(a){var b=new Sc;a=q(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=q(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Jj=[],Lj=new
|
|
465
|
-
e=a.content;a=a.headers;var g=Nj,f=new Si;Vi.push(f);c&&f.Wa("complete",c);f.Uc("ready",f.Qk);g&&(f.ld=Math.max(0,g));f.send(b,d,e,a)}Jj.length==0||Lj.nf()},350),pj=null,Cj=null,Dj=null,Ij=null,Hj=Od,Aj=null,yj=null,tj=null,uj=[],sj=null,qj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],Gj=null,Bj=!1,Nj=0,Ej=null;x("ee.api.ListAssetsResponse",Dg);x("ee.api.EarthEngineAsset",zf);
|
|
466
|
-
x("ee.api.FeatureViewLocation",Cf);var Oj=function(){};Oj.prototype.Ch=function(){return null};var Pj=function(){};x("ee.Encodable.SourceFrame",Pj);
|
|
460
|
+
m.callback=function(z){z=z.target;if(z.getStatus()==429&&l<v)return l++,setTimeout(function(){Jj.push(m);Lj.nf()},Math.min(12E4,Math.pow(2,l)*1E3)),null;var C=Mj,H=z.getStatus(),ea=w(z.getResponseHeader,z);try{var W=z.s?z.s.responseText:""}catch(da){Cc(z.ba,"Can not get responseText: "+da.message),W=""}return C(H,ea,W,p,b,a,c,f)};return m},Fj=function(a,b){var c=Ej;try{Ej=a,b.call(void 0)}finally{Ej=c}},Mj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
|
|
461
|
+
function(W){try{var da=JSON.parse(W);return!(u(da)&&"error"in da&&"message"in da.error)||l&&l(da)?{parsed:da}:da.error.message}catch(Hb){return W===""?"":"Invalid JSON: "+W}},v=function(W){return W===0?"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.":W<200||W>=300?"Server returned HTTP code: "+W+" for "+f+" "+g:""},z,C;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if(d==="application/json"||d==="text/json")c=p(c),c.parsed?
|
|
462
|
+
C=c.parsed:z=c||v(a)||"Response was too large to parse. Hint: Use limit() to fetch less elements of a collection.";else if(d==="multipart/mixed"){C={};var H=[];oj(b,c,function(W,da,Hb){Hb=p(Hb);Hb.parsed&&(C[W]=Hb.parsed);(da=(Hb.parsed?"":Hb)||v(da))&&H.push(W+": "+da)});H.length&&(z=H.join("\n"))}else var ea="Response was unexpectedly not JSON, but "+d;z=z||v(a)||ea;if(e)return e(C,z),null;if(!z)return C;throw Error(z);},vj=function(a){var b=function(){sj||(sj=function(c,d){t.google.accounts.oauth2.initTokenClient({client_id:c.client_id,
|
|
463
|
+
callback:d,scope:c.scope}).requestAccessToken()});a()};u(t.default_gsi)?b():zi(b)},wj=function(a,b,c){if(c.access_token){b=c.token_type+" "+c.access_token;if(c.expires_in||c.expires_in===0){c=c.expires_in*900;var d=setTimeout(xj,c*.9);d.unref!==void 0&&d.unref();yj=Date.now()+c}Aj=b;a&&a()}else b&&b(c.error||"Unknown error.")},ij=function(a){var b=new Sc;a=q(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=q(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Jj=[],Lj=new ci(function(){var a=
|
|
464
|
+
Jj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var g=Nj,f=new Si;Vi.push(f);c&&f.Wa("complete",c);f.Uc("ready",f.Qk);g&&(f.ld=Math.max(0,g));f.send(b,d,e,a)}Jj.length==0||Lj.nf()},350),pj=null,Cj=null,Dj=null,Ij=null,Hj=Od,Aj=null,yj=null,tj=null,uj=[],sj=null,qj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],Gj=null,Bj=!1,Nj=0,Ej=null;x("ee.api.ListAssetsResponse",Dg);x("ee.api.EarthEngineAsset",zf);
|
|
465
|
+
x("ee.api.Operation",Gg);x("ee.api.ListFeaturesResponse",Eg);x("ee.api.FeatureViewLocation",Cf);var Oj=function(){};Oj.prototype.Ch=function(){return null};var Pj=function(){};x("ee.Encodable.SourceFrame",Pj);
|
|
467
466
|
var Qj=function(a){if(a===void 0||a===null)a=Ga;return new Ze({gb:a})},Rj=function(a){return new Ze({Oa:a})},Sj=function(a){return new Ze({Fa:new Ye({values:a})})},Tj=function(a){return new Ze({Ga:new wf({values:a})})},Uj=function(a,b){return new Ze({ya:new jg({functionName:a,arguments:b})})},Vj=function(a,b){return new Ze({ya:new jg({Ua:a,arguments:b})})},Wj=function(a,b){return new Ze({Ta:new ig({kc:a,body:b})})},Xj=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
|
|
468
467
|
case "AUTO":return"AUTO_JPEG_PNG";case "TIF":case "TIFF":case "GEOTIF":case "GEOTIFF":return"GEO_TIFF";case "TF_RECORD":case "TFRECORD":return"TF_RECORD_IMAGE";case "NUMPY":return"NPY";case "ZIPPED_TIF":case "ZIPPED_TIFF":case "ZIPPED_GEOTIF":case "ZIPPED_GEOTIFF":return"ZIPPED_GEO_TIFF";case "ZIPPED_TIF_PER_BAND":case "ZIPPED_TIFF_PER_BAND":case "ZIPPED_GEOTIF_PER_BAND":case "ZIPPED_GEOTIFF_PER_BAND":return"ZIPPED_GEO_TIFF_PER_BAND";default:return a}},Yj=function(a){if(!a)return"CSV";a=a.toUpperCase();
|
|
469
468
|
switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},Zj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if(a!=="HORIZONTAL"&&a!=="VERTICAL")throw Error('Orientation must be "horizontal" or "vertical"');return a},ak=function(a){if(!a)return[];if(typeof a==="string")return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},dk=function(a){var b=new Hf,c=!1;"palette"in a&&(c=a.palette,b.Yc=typeof c===
|
|
@@ -522,7 +521,7 @@ el=function(a){var b=null;a.writePublicTiles!=null&&(b=a.writePublicTiles?"PUBLI
|
|
|
522
521
|
JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},ol=function(a){var b=new Tg({direction:null,Zd:null,be:null,ae:null});a=a.trim();a=a.match(/^([\S]+.*)\s+(ASC|DESC)$/);if(a==null)throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");var c=q(a);c.next();a=c.next().value;c=c.next().value;switch(c.toUpperCase()){case "ASC":b.direction=
|
|
523
522
|
"ASCENDING";break;case "DESC":b.direction="DESCENDING";break;default:throw Error("Ranking rule direction '"+c+"' is invalid. Directions are: ASC, DESC.");}switch(a.trim()){case ".geometryType":b.ae=new Qg({});break;case ".minZoomLevel":b.be=new Sg({});break;default:b.Zd=new Pg({attributeName:L(a)})}return b};var pl=[],ql=function(a){E(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Cf";if(a.Cf&&a.hasOwnProperty(b))return a.Cf;pl.push(a);var c=new a;a.Cf=c;E(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var sl=function(a,b,c,d,e,g){d=rj(!g,!1,d||[]);tj=a;uj=d;a===null?zj():vj(function(){xj(b,c,e||Ea(rl,b,c))})};x("ee.data.authenticateViaOauth",sl);var tl=function(a,b,c,d,e){sl(a,b,c,d,e)};x("ee.data.authenticate",tl);var rl=function(a,b){t.google.accounts.oauth2.initTokenClient({client_id:tj,callback:Ea(wj,a,b),scope:uj.join(" ")}).requestAccessToken()};x("ee.data.authenticateViaPopup",rl);
|
|
524
523
|
var ul=function(a,b,c,d,e){if("window"in t)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");d=rj(!e,!e,d||[]);tj=a.client_email;uj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);sj=function(f,l){g.authorize(function(m,p){m?l({error:m}):l({access_token:p.access_token,token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};xj(b,c)};x("ee.data.authenticateViaPrivateKey",ul);
|
|
525
|
-
x("ee.data.setExpressionAugmenter",function(a){vl=a||Od});var vl=Od;x("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=rj(!l,!1,e||[]);tj=a;uj=e;wj(void 0,void 0,{token_type:b,access_token:c,state:e.join(" "),expires_in:d});f===!1?g&&g():vj(function(){g&&g()})});x("ee.data.refreshAuthToken",xj);x("ee.data.setAuthTokenRefresher",function(a){sj=a});x("ee.data.getAuthToken",
|
|
524
|
+
x("ee.data.setExpressionAugmenter",function(a){vl=a||Od});var vl=Od;x("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=rj(!l,!1,e||[]);tj=a;uj=e;wj(void 0,void 0,{token_type:b,access_token:c,state:e.join(" "),expires_in:d});f===!1?g&&g():vj(function(){g&&g()})});x("ee.data.refreshAuthToken",xj);x("ee.data.setAuthTokenRefresher",function(a){sj=a});x("ee.data.getAuthToken",nj);x("ee.data.clearAuthToken",zj);x("ee.data.getAuthClientId",function(){return tj});x("ee.data.getAuthScopes",function(){return uj});
|
|
526
525
|
x("ee.data.setDeadline",function(a){Nj=a});x("ee.data.setParamAugmenter",function(a){Hj=a||Od});
|
|
527
526
|
var wl=function(a){a=new K(a);return a.handle(a.Dc().list(gj(),{prettyPrint:!1}).then(ek))},zl=function(a,b){if(typeof a.image==="string")throw Error("Image as JSON string not supported.");if(a.version!==void 0)throw Error("Image version specification not supported.");a=new Gf({name:null,l:vl(Qk(a.image)),F:Xj(a.format),da:ak(a.bands),hc:dk(a)});var c={fields:"name"},d=xl();d&&(c.workloadTag=d);b=new K(b);return b.handle(b.maps().create(gj(),a,c).then(function(e){return yl(e.name,"")}))};
|
|
528
527
|
x("ee.data.getMapId",zl);var Al=function(a,b,c,d){if(!a.formatTileUrl){var e=yl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};x("ee.data.getTileUrl",Al);
|
|
@@ -539,10 +538,10 @@ if(typeof a.bands==="string")try{a.bands=JSON.parse(a.bands)}catch(e){a.bands=ak
|
|
|
539
538
|
JSON.parse(a.crs_transform)}catch(e){}var c=Il(a.image,a);a=new Yg({name:null,l:vl(Qk(c)),F:Xj(a.format),xa:a.name,da:a.bands&&ak(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=xl();d&&(c.workloadTag=d);b=new K(b);return b.handle((new oh(b.M)).create(gj(),a,c).then(function(e){return{docid:e.name,token:""}}))};x("ee.data.getDownloadId",Jl);var Kl=function(a){ej();return Cj+"/v1/"+a.docid+":getPixels"};x("ee.data.makeDownloadUrl",Kl);
|
|
540
539
|
var Ll=function(a,b){b=new K(b);var c=Yj(a.format),d=vl(Qk(a.table)),e=null;if(a.selectors!=null)if(typeof a.selectors==="string")e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(g){return typeof g==="string"}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new Wg({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=xl())c.workloadTag=d;return b.handle((new nh(b.M)).create(gj(),a,c).then(function(g){return{docid:g.name||
|
|
541
540
|
"",token:""}}))};x("ee.data.getTableDownloadId",Ll);var Ml=function(a){return Cj+"/v1/"+a.docid+":getFeatures"};x("ee.data.makeTableDownloadUrl",Ml);var Nl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,d*4)).toString(16).padStart(d,"0")};a=ic(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(Math.random()*4)).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};x("ee.data.newTaskId",Nl);
|
|
542
|
-
var Ol=function(a){return a.name&&a.done&&a.error},Ql=function(a,b){var c=Pl(a).map(vk);if(c.length===1)return a=(new K(b)).pd(Ol),a.handle(a.Na().get(c[0]).then(function(e){return[wk(e)]}));a=(new
|
|
541
|
+
var Ol=function(a){return a.name&&a.done&&a.error},Ql=function(a,b){var c=Pl(a).map(vk);if(c.length===1)return a=(new K(b)).pd(Ol),a.handle(a.Na().get(c[0]).then(function(e){return[wk(e)]}));a=(new mj(b)).pd(Ol);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return wk(e[g])})})};x("ee.data.getTaskStatus",Ql);
|
|
543
542
|
var Pl=function(a){if(typeof a==="string")return[a];if(Array.isArray(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},Sl=function(a){return Rl(void 0,a)};x("ee.data.getTaskList",Sl);var Rl=function(a,b){return b?(Tl(a,function(c,d){return b(c?{tasks:c.map(wk)}:null,d)}),null):{tasks:Tl(a).map(wk)}};x("ee.data.getTaskListWithLimit",Rl);
|
|
544
543
|
var Tl=function(a,b){var c=[],d={pageSize:500},e=function(l){gc(c,l.Na||[]);!l.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.nextPageToken,g.handle(f.list(gj(),d).then(e)));return null},g=new K(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Na();g.handle(f.list(gj(),d).then(e));return b?null:a?c.slice(0,a):c};x("ee.data.listOperations",Tl);
|
|
545
|
-
var Ul=function(a,b){a=Pl(a).map(vk);var c=new gf;if(a.length===1)b=new K(b),b.handle(b.Na().cancel(a[0],c));else{b=new
|
|
544
|
+
var Ul=function(a,b){a=Pl(a).map(vk);var c=new gf;if(a.length===1)b=new K(b),b.handle(b.Na().cancel(a[0],c));else{b=new mj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};x("ee.data.cancelOperation",Ul);var Vl=function(a,b){var c=Pl(a).map(vk);if(!Array.isArray(a))return a=(new K(b)).pd(Ol),a.handle(a.Na().get(c[0]));a=(new mj(b)).pd(Ol);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}))};x("ee.data.getOperation",Vl);
|
|
546
545
|
var Xl=function(a,b){return Wl(a,"CANCEL",b)};x("ee.data.cancelTask",Xl);var Wl=function(a,b,c){if(!ab(Yl,b))throw Error("Invalid action: "+b);a=Pl(a);a=a.map(vk);Ul(a,c);return null};x("ee.data.updateTask",Wl);
|
|
547
546
|
var dm=function(a,b,c){b.id=a;var d=b.type;a=b.sourceUrl!=null?{__source_url__:b.sourceUrl}:{};if("workloadTag"in b)b.workloadTag||delete b.workloadTag;else{var e=xl();e&&(b.workloadTag=e)}var g=new K(c);c=function(f){return g.handle(f.then(xk))};switch(d){case "EXPORT_IMAGE":return b=Zl(b,a),c(g.image().Ka(gj(),b));case "EXPORT_FEATURES":return b=il(b),b.l=vl(b.l,a),c(g.table().Ka(gj(),b));case "EXPORT_VIDEO":return b=$l(b,a),c(g.video().Ka(gj(),b));case "EXPORT_TILES":return b=am(b,a),c(g.map().Ka(gj(),
|
|
548
547
|
b));case "EXPORT_VIDEO_MAP":return b=bm(b),c((new sh(g.M)).Ka(gj(),b));case "EXPORT_CLASSIFIER":return b=cm(b,a),c((new fh(g.M)).Ka(gj(),b));default:throw Error("Unable to start processing for task of type "+d);}};x("ee.data.startProcessing",dm);
|
|
@@ -606,9 +605,9 @@ U.or=On;var Pn=function(a,b){var c=R(Pn,arguments);c=Q("DateRange",c.start,c.end
|
|
|
606
605
|
U.prototype.name=function(){return"Filter"};var Sn=function(a,b,c){b=b.toLowerCase();var d=!1;b.lastIndexOf("not_",0)==0&&(d=!0,b=b.substring(4));if(!(b in Gn))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+Gn[b],a,c);return d?a.rc():a};U.metadata=Sn;var V=function(a,b,c){S.call(this,a,b,c);Tn()};y(V,S);x("ee.Collection",V);var Un=!1,Tn=function(){Un||(an(V,"Collection","Collection"),an(V,"AggregateFeatureCollection","Collection","aggregate_"),Un=!0)};V.prototype.filter=function(a){a=R(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Hm(this,Q("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
|
|
607
606
|
V.prototype.mf=function(a,b,c){var d=R(V.prototype.mf,arguments);return this.filter(Sn(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.mf;V.prototype.vh=function(a){return this.filter(Rn(a))};V.prototype.filterBounds=V.prototype.vh;V.prototype.lf=function(a,b){var c=R(V.prototype.lf,arguments);return this.filter(Pn(c.start,c.end))};V.prototype.filterDate=V.prototype.lf;
|
|
608
607
|
V.prototype.limit=function(a,b,c){var d=R(V.prototype.limit,arguments);return Hm(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 Hm(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};
|
|
609
|
-
V.prototype.map=function(a,b){var c=this.elementType();return Hm(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Kh=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.Kh;var
|
|
610
|
-
c)throw Error('Can\'t specify both "id" and "system:index".');c=fb(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(
|
|
611
|
-
|
|
608
|
+
V.prototype.map=function(a,b){var c=this.elementType();return Hm(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Kh=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.Kh;var X=function(a,b){if(!(this instanceof X))return Gm(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)");Vn();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
|
+
c)throw Error('Can\'t specify both "id" and "system:index".');c=fb(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 Wn=!1,Vn=function(){Wn||(an(X,"Feature","Feature"),Wn=!0)};X.prototype.V=function(a){return X.L.V.call(this,a)};X.prototype.getInfo=X.prototype.V;
|
|
610
|
+
X.prototype.S=function(a,b){var c=R(X.prototype.getMap,arguments);return Q("Collection",[this]).S(c.visParams,c.callback)};X.prototype.getMapId=X.prototype.S;X.prototype.getMap=X.prototype.S;X.prototype.getMap=X.prototype.getMap;X.prototype.name=function(){return"Feature"};var em=function(a){var b={},c=Xn(a.element,a);c=Yn(c,a,b);b.element=c;return b},fm=function(a){var b={},c=a.element.map(function(d){d=Xn(d,a);return Yn(d,a,b)});b.element=c;return b},Yn=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Va(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 "+
|
|
612
611
|
f);break;case "dimensions_consumed":e=!0;break;case "bbox":d.geometry!=null&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof rn)){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 rn(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":d.geometry!=
|
|
613
612
|
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 yn(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}});db(d)||(d.input=a,a=g.some(function(f){return f in d})||e?Um("Image.clipToBoundsAndScale",
|
|
614
613
|
d):Um("Image.clip",d));return a},Xn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;d!=null&&(d=Zn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Um("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 rn([0,
|
|
@@ -623,24 +622,24 @@ var co=function(a,b){if(a.length==0)return Q("Image.constant",[]);for(var c=new
|
|
|
623
622
|
N.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(b.length>2||Lm(b[0])||Km(b[0])){for(var d=0;d<b.length;d++)if(!(Lm(b[d])||Km(b[d])||b[d]instanceof O))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Um("Image.select",c)};N.prototype.select=N.prototype.select;
|
|
624
623
|
N.prototype.l=function(a,b){var c=R(N.prototype.l,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var g=c.map,f;for(f in g)d.push(f),e[f]=new N(g[f])}var l=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Om;c.encode=function(m){return l.encode(m)};c.Ed=function(m,p){return Vj(Yk(m,l),p)};c.Z=function(){return{name:"",args:Zb(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
625
624
|
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.pi=function(a){var b=arguments.length!=1||Lm(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.pi;N.prototype.name=function(){return"Image"};var ho=function(a){if(this instanceof ho){if(arguments.length>1)throw Error("ee.List() only accepts 1 argument.");if(a instanceof ho)return a}else return Gm(ho,arguments);io();if(Array.isArray(a))O.call(this,null,null),this.Tc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Tc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};y(ho,O);x("ee.List",ho);var jo=!1,io=function(){jo||(an(ho,"List","List"),jo=!0)};
|
|
626
|
-
ho.prototype.encode=function(a){return Array.isArray(this.Tc)?Zb(this.Tc,function(b){return a(b)}):ho.L.encode.call(this,a)};ho.prototype.na=function(a){return Array.isArray(this.Tc)?Rj(Yk(a,this.Tc)):ho.L.na.call(this,a)};ho.prototype.name=function(){return"List"};var
|
|
627
|
-
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
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
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(
|
|
632
|
-
|
|
625
|
+
ho.prototype.encode=function(a){return Array.isArray(this.Tc)?Zb(this.Tc,function(b){return a(b)}):ho.L.encode.call(this,a)};ho.prototype.na=function(a){return Array.isArray(this.Tc)?Rj(Yk(a,this.Tc)):ho.L.na.call(this,a)};ho.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Gm(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)");ko();a instanceof T&&(a=new X(a));a instanceof X&&(a=[a]);if(Lm(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:Zb(a,function(d){return new X(d)})});else if(a instanceof ho)V.call(this,
|
|
626
|
+
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 lo=!1,ko=function(){lo||(an(Y,"FeatureCollection","FeatureCollection"),lo=!0)};
|
|
627
|
+
Y.prototype.S=function(a,b){var c=R(Y.prototype.S,arguments),d=Um("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.S(void 0,c.callback);else return d.S()};Y.prototype.getMapId=Y.prototype.S;Y.prototype.getMap=Y.prototype.S;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
|
+
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)Ll(g,function(f,l){f?e.callback(Ml(f)):e.callback(null,l)});else return Ml(Ll(g))};Y.prototype.getDownloadURL=Y.prototype.rb;
|
|
629
|
+
Y.prototype.select=function(a,b,c){if(Lm(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 Gm(Z,arguments);if(a instanceof Z)return a;if(arguments.length!=1)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");mo();a instanceof N&&(a=[a]);if(Lm(a))V.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new P("ImageCollection.fromImages"),{images:Zb(a,function(b){return new N(b)})});else if(a instanceof ho)V.call(this,new P("ImageCollection.fromImages"),{images:a});
|
|
630
|
+
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 no=!1,mo=function(){no||(an(Z,"ImageCollection","ImageCollection"),an(Z,"reduce","ImageCollection"),no=!0)};Z.prototype.tf=function(a,b){var c=R(Z.prototype.tf,arguments);return oo(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.tf;
|
|
631
|
+
Z.prototype.wf=function(a,b){var c=R(Z.prototype.wf,arguments);return oo(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.wf;
|
|
633
632
|
var oo=function(a,b,c,d){var e={};a=a.map(function(l){l=Xn(l,b.params);return Yn(l,b.params,e)});var g={},f=$n(e,g);g.imageCollection=a.map(function(l){f.image=l;return Um("Image.visualize",f)});b.params.dimensions!=null&&(g.dimensions=b.params.dimensions);if(g.format){if(!$b(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=El;switch(d){case "video":c=Fl;break;case "filmstrip":c=Gl}if(b.callback)c(g,function(l,m){var p="";
|
|
634
|
-
if(m===void 0)try{p=Hl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Hl(c(g))};
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
po.prototype.start=po.prototype.start;var so=function(a,b,c,d,e,g,f,l,m,p,v,z){var C=R(so,arguments);C=to(C,"ASSET","EXPORT_IMAGE");return ro(C)};x("module$contents$ee$batch_Export.image.toAsset",so);var uo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H,ea,
|
|
638
|
-
var vo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H,ea,
|
|
633
|
+
if(m===void 0)try{p=Hl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Hl(c(g))};Z.prototype.S=function(a,b){var c=R(Z.prototype.S,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.S(c.visParams,c.callback);else return d.S(c.visParams)};Z.prototype.getMapId=Z.prototype.S;Z.prototype.getMap=Z.prototype.S;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
|
+
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.Ff=function(a,b,c,d){var e=R(Z.prototype.Ff,arguments);return this.map(function(g){return Q("Image.linkCollection",g,e.imageCollection,e.linkedBands,e.linkedProperties,e.matchPropertyName)})};Z.prototype.linkCollection=Z.prototype.Ff;Z.prototype.first=function(){return new N(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;
|
|
635
|
+
Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return N};var po=function(a){this.Ye=a;this.id=null},ro=function(a){var b={element:qo(a)};Object.assign(b,a);b=Wa(b,function(c){return c!=null});return new po(b)};po.prototype.start=function(a,b){var c=this;E(this.Ye,"Task config must be specified for tasks to be started.");this.id=this.id||Nl(1)[0];Sb(this.id,"Failed to obtain task ID.");if(a)dm(this.id,this.Ye,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=dm(this.id,this.Ye).taskId)!=null?d:null}};
|
|
636
|
+
po.prototype.start=po.prototype.start;var so=function(a,b,c,d,e,g,f,l,m,p,v,z){var C=R(so,arguments);C=to(C,"ASSET","EXPORT_IMAGE");return ro(C)};x("module$contents$ee$batch_Export.image.toAsset",so);var uo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H,ea,W){var da=R(uo,arguments);da=to(da,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return ro(da)};x("module$contents$ee$batch_Export.image.toCloudStorage",uo);
|
|
637
|
+
var vo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H,ea,W){var da=R(vo,arguments);da=to(da,"DRIVE","EXPORT_IMAGE");return ro(da)};x("module$contents$ee$batch_Export.image.toDrive",vo);var wo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H){var ea=R(wo,arguments);ea=to(ea,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return ro(ea)};x("module$contents$ee$batch_Export.map.toCloudStorage",wo);var xo=function(a,b,c,d,e,g,f,l){var m=R(xo,arguments);m=to(m,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return ro(m)};
|
|
639
638
|
x("module$contents$ee$batch_Export.table.toCloudStorage",xo);var yo=function(a,b,c,d,e,g,f,l){var m=R(yo,arguments);m.type="EXPORT_FEATURES";m=to(m,"DRIVE","EXPORT_FEATURES");return ro(m)};x("module$contents$ee$batch_Export.table.toDrive",yo);var zo=function(a,b,c,d,e){var g=R(zo,arguments);g=to(g,"ASSET","EXPORT_FEATURES");return ro(g)};x("module$contents$ee$batch_Export.table.toAsset",zo);var Ao=function(a,b,c,d,e,g,f,l){var m=R(Ao,arguments);m=to(m,"FEATURE_VIEW","EXPORT_FEATURES");return ro(m)};
|
|
640
639
|
x("module$contents$ee$batch_Export.table.toFeatureView",Ao);var Bo=function(a,b,c,d,e,g,f,l){var m=R(Bo,arguments);m=to(m,"BIGQUERY","EXPORT_FEATURES");return ro(m)};x("module$contents$ee$batch_Export.table.toBigQuery",Bo);var Co=function(a,b,c,d,e,g,f,l,m,p,v,z,C){var H=R(Co,arguments);H=to(H,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return ro(H)};x("module$contents$ee$batch_Export.video.toCloudStorage",Co);
|
|
641
|
-
var Do=function(a,b,c,d,e,g,f,l,m,p,v,z,C){var H=R(Do,arguments);H=to(H,"DRIVE","EXPORT_VIDEO");return ro(H)};x("module$contents$ee$batch_Export.video.toDrive",Do);var Eo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H,ea,
|
|
640
|
+
var Do=function(a,b,c,d,e,g,f,l,m,p,v,z,C){var H=R(Do,arguments);H=to(H,"DRIVE","EXPORT_VIDEO");return ro(H)};x("module$contents$ee$batch_Export.video.toDrive",Do);var Eo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H,ea,W,da,Hb,Dq,Eq,Fq){var lj=R(Eo,arguments);lj=to(lj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return ro(lj)};x("module$contents$ee$batch_Export.videoMap.toCloudStorage",Eo);var Fo=function(a,b,c,d){var e=R(Fo,arguments);e=to(e,"ASSET","EXPORT_CLASSIFIER");return ro(e)};
|
|
642
641
|
x("module$contents$ee$batch_Export.classifier.toAsset",Fo);
|
|
643
|
-
var qo=function(a){var b=function(d){return d in a},c=Go.find(b);E(bc(Go,b)===1,'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof N||b instanceof
|
|
642
|
+
var qo=function(a){var b=function(d){return d in a},c=Go.find(b);E(bc(Go,b)===1,'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},to=function(a,b,c){var d=d===void 0?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":e.fileFormat==
|
|
644
643
|
null&&(e.fileFormat="GeoTIFF");a=e.fileFormat;a==null&&(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;e.formatOptions!=null&&(a=Ho(e,a),delete e.formatOptions,Object.assign(e,a));e=Io(e,b);e.crsTransform!=null&&(e.crs_transform=e.crsTransform,
|
|
645
644
|
delete e.crsTransform);break;case "EXPORT_TILES":b=Io(e,b);e=b.fileFormat;e==null&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;a==null&&
|
|
646
645
|
(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=Io(e,b);break;case "EXPORT_VIDEO":e=Jo(e);e=Io(e,b);e.crsTransform!=null&&
|
|
@@ -664,14 +663,14 @@ e)};return new O(new c,b)}throw Error("Invalid function value");},ep=function(a)
|
|
|
664
663
|
var ap=function(a){var b=La(pf,a),c={},d=function(f,l){if(!(f in c)){if(!(f in b.values))throw Error("Cannot find "+l+" "+f);c[f]=e(b.values[f])}return c[f]},e=function(f){if(f.gb!==null)f=f.gb;else if(f.Fa!==null)f=f.Fa.values.map(e);else if(f.Ga!==null)f=Xa(f.Ga.values,e);else if(f.Lb!==null)f=To(Object,f.Lb);else if(f.Ta!==null)f=g(f.Ta);else if(f.ya!==null){var l=f.ya;f=l.Ua?d(l.Ua,"function"):Tm(l.functionName);l=Xa(l.arguments,e);f=dp(f,l)}else f=f.pb!==null?cp(new Ze({pb:f.pb}),f.pb):f.Va!==
|
|
665
664
|
null?cp(new Ze({Va:f.Va}),f.Va):f.Oa!==null?d(f.Oa,"reference"):null;return f},g=function(f){var l=d(f.body,"function body");f={args:f.kc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new So(f,function(){return l})};return d(b.result,"result value")};x("ee.Deserializer.decodeCloudApi",ap);var fp=function(a){if(!(this instanceof fp))return Gm(fp,arguments);if(a instanceof fp)return a;gp();Mm(a)?(O.call(this,null,null),this.Ic=a):(a instanceof O&&a.I&&a.I.Z().returns=="Dictionary"?O.call(this,a.I,a.args,a.U):O.call(this,new P("Dictionary"),{input:a},null),this.Ic=null)};y(fp,O);x("ee.Dictionary",fp);var hp=!1,gp=function(){hp||(an(fp,"Dictionary","Dictionary"),hp=!0)};fp.prototype.encode=function(a){return this.Ic!==null?a(this.Ic):fp.L.encode.call(this,a)};
|
|
666
665
|
fp.prototype.na=function(a){return this.Ic!==null?Rj(Yk(a,this.Ic)):fp.L.na.call(this,a)};fp.prototype.name=function(){return"Dictionary"};var ip={};x("ee.Terrain",ip);ip.Bf=!1;ip.initialize=function(){ip.Bf||(an(ip,"Terrain","Terrain"),ip.Bf=!0)};ip.reset=function(){bn(ip);ip.Bf=!1};var op=function(a,b,c,d,e,g){if(jp!="ready"||a||b){var f=c!=null;if(d)if(f)kp.push(d);else throw Error("Can't pass an error callback without a success callback.");if(jp=="loading"&&f)lp.push(c);else if(jp="loading",ej(a,b,e,g),f)lp.push(c),Xm(mp,np);else try{Xm(),mp()}catch(l){throw np(l),l;}}else c&&c()};x("ee.initialize",op);
|
|
667
|
-
var rp=function(){jp="not_ready";Dj=Cj=pj=null;Bj=!1;Vm=null;Wm={};bn(Wo);Yo=!1;bn(fp);hp=!1;bn(S);jn=!1;bn(N);eo=!1;bn(
|
|
666
|
+
var rp=function(){jp="not_ready";Dj=Cj=pj=null;Bj=!1;Vm=null;Wm={};bn(Wo);Yo=!1;bn(fp);hp=!1;bn(S);jn=!1;bn(N);eo=!1;bn(X);Wn=!1;bn(V);Un=!1;bn(Z);no=!1;bn(Y);lo=!1;bn(U);Fn=!1;bn(T);mn=!1;bn(ho);jo=!1;bn(Mo);Oo=!1;bn(Po);Ro=!1;ip.reset();for(var a=t.ee,b=0;b<pp.length;b++){var c=pp[b];bn(a[c]);delete a[c]}pp=[];Im=a;a=qp;for(var d in a)delete a[d]};x("ee.reset",rp);var sp={Fl:"not_ready",LOADING:"loading",Gl:"ready"};x("ee.InitState",sp);x("ee.InitState.NOT_READY","not_ready");
|
|
668
667
|
x("ee.InitState.LOADING","loading");x("ee.InitState.READY","ready");var jp="not_ready",lp=[],kp=[];x("ee.TILE_SIZE",256);var pp=[],qp={};x("ee.Algorithms",qp);var tp=function(a,b){typeof a==="string"&&(a=new P(a));return Om.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};x("ee.call",tp);var up=function(a,b){typeof a==="string"&&(a=new P(a));return a.apply(b)};x("ee.apply",up);
|
|
669
668
|
var mp=function(){if(jp=="loading"){try{Xo();gp();hn();bo();Vn();Tn();mo();ko();En();kn();io();No();Qo();ip.initialize();var a=Ym(),b={},c={},d;for(d in a){var e=void 0;e=d.indexOf(".")!=-1?d.slice(0,d.indexOf(".")):d;b[e]=!0;var g=a[d].returns.replace(/<.*>/,"");c[g]=!0}var f=t.ee,l;for(l in b)l in c&&!(l in f)&&(f[l]=vp(l),pp.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,Wm[l]=!0):f[l].signature={});Im=f;wp()}catch(m){np(m);return}jp="ready";for(kp=[];lp.length>0;)lp.shift()()}},
|
|
670
669
|
np=function(a){if(jp=="loading")for(jp="not_ready",lp=[];kp.length>0;)kp.shift()(a)},wp=function(){var a=Zm();$a(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=qp;for(e.signature={};b.length>1;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=hc(b,1)}g=function(f){return Sm(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=w(c.toString,c);e[b[0]]=g}})},vp=function(a){var b=function(c){var d=t.ee[a],e=Array.prototype.slice.call(arguments),
|
|
671
670
|
g=e.length==1;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return Gm(d,e);d=$m(a);var f=!(e[0]instanceof O),l=!1;d&&(g?f?l=!0:e[0].I&&e[0].I.Z().returns==d.Z().returns||(l=!0):l=!0);if(l)e=Nm(e,d.Z())?e[0]:Qm(d,e),O.call(this,d,Rm(d,e));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];O.call(this,e.I,e.args,e.U)}};y(b,O);b.prototype.name=function(){return a};an(b,a,a);return b};
|
|
672
|
-
Pm=function(a,b){if(a===null)return null;if(a!==void 0){var c=t.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof V?Q("Feature",Q("Collection.geometry",a)):new
|
|
673
|
-
a:new
|
|
674
|
-
default:if(b in c){d=$m(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if(typeof a==="string"){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var xp=function(a,b,c){ge.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.yh=new Xd;this.xh=new Xd};r(xp,ge);xp.prototype.getTile=function(a,b){var c=he(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.xb,this.token].join("/");this.zb.push(c);this.xb+=1;var d=
|
|
671
|
+
Pm=function(a,b){if(a===null)return null;if(a!==void 0){var c=t.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof V?Q("Feature",Q("Collection.geometry",a)):new X(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new X(a);if(a instanceof O)return new S(a.I,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?
|
|
672
|
+
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new U(a);case "Algorithm":if(typeof a==="string")return new P(a);if(typeof a==="function"){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Vo(a,c)}if(a instanceof Oj)return a;throw Error("Argument is not a function: "+a);case "String":return Lm(a)||a instanceof Po||a instanceof O?new Po(a):a;case "Dictionary":return Mm(a)?a:new fp(a);case "List":return new ho(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Mo(a);
|
|
673
|
+
default:if(b in c){d=$m(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if(typeof a==="string"){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var xp=function(a,b,c){ge.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.yh=new Xd;this.xh=new Xd};r(xp,ge);xp.prototype.getTile=function(a,b){var c=he(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.xb,this.token].join("/");this.zb.push(c);this.xb+=1;var d=ii("DIV");yp(this,b,a,c,d);zp(this);return d};
|
|
675
674
|
var yp=function(a,b,c,d,e){var g=new XMLHttpRequest;g.open("GET",b,!0);g.responseType="arraybuffer";g.onreadystatechange=w(function(){if(g.readyState===XMLHttpRequest.DONE&&g.status===200){var f=g.response;if(f)f=new Float32Array(f),this.yh.set(c,f),this.xh.set(c,e),dc(this.zb,d),zp(this);else throw this.tg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},zp=function(a){a.dispatchEvent(new ie(a.zb.length))};xp.prototype.J=function(){this.xh=this.yh=null;ge.prototype.J.call(this)};
|
|
676
675
|
x("ee.FloatTileOverlay",xp);var Ap=function(){this.ie=new Map};Ap.prototype.clear=function(){this.ie.clear()};var Bp=function(a,b){a.ie.has(b)||a.ie.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ie.get(b)};var Cp=function(a){I.call(this);this.Sb=a;this.K={}};y(Cp,I);var Dp=[];Cp.prototype.Wa=function(a,b,c,d){Array.isArray(b)||(b&&(Dp[0]=b.toString()),b=Dp);for(var e=0;e<b.length;e++){var g=zd(a,b[e],c||this.handleEvent,d||!1,this.Sb||this);if(!g)break;this.K[g.key]=g}return this};Cp.prototype.Uc=function(a,b,c,d){return Ep(this,a,b,c,d)};
|
|
677
676
|
var Ep=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)Ep(a,b,c[f],d,e,g);else{b=yd(b,c,d||a.handleEvent,e,g||a.Sb||a);if(!b)return a;a.K[b.key]=b}return a};Cp.prototype.se=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.se(a,b[g],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Sb||this,c=Ad(c),d=!!d,b=od(a)?a.Kc(b,c,d,e):a?(a=Cd(a))?a.Kc(b,c,d,e):null:null,b&&(Hd(b),delete this.K[b.key])};
|
|
@@ -688,7 +687,7 @@ var Vp=function(a){if(!a.Df&&a.getStatus()=="loading")throw Error("startLoad() c
|
|
|
688
687
|
h.gd=function(a){var b=function(c){try{if(c=JSON.parse(c),c.error&&c.error.message)return c.error.message}catch(d){}return c};this.ti>=this.jl?(this.Tk=b(a),Up(this,"failed")):(this.Fc(),setTimeout(w(function(){this.Ra||(this.Df=!0,Vp(this),this.Df=!1)},this),1E3*Math.pow(2,this.ti++)))};h.abort=function(){this.Fc();this.getStatus()!="aborted"&&this.getStatus()!="removed"&&Up(this,this.je in Wp?"removed":"aborted")};h.getStatus=function(){return this.je};var Up=function(a,b){a.je=b;a.dispatchEvent("status-changed")};
|
|
689
688
|
Tp.prototype.J=function(){J.prototype.J.call(this);this.Fc();this.la.remove();this.ce=null};var Wp={aborted:!0,failed:!0,loaded:!0,removed:!0};var Xp=function(){I.call(this)};r(Xp,I);var Yp=function(a,b){Lp.call(this,a,b);this.Rg=new Xd;this.ph=new Xd};r(Yp,Lp);Yp.prototype.dh=function(a,b,c,d){var e=new Zp(a,b,c,d);this.ib.Wa(e,"status-changed",function(){e.getStatus()=="loaded"&&(this.Rg.set(a,new Float32Array(e.yd)),this.ph.set(a,e.la))});return e};Yp.prototype.J=function(){Lp.prototype.J.call(this);this.ph=this.Rg=null};x("ee.layers.BinaryOverlay",Yp);var Zp=function(a,b,c,d){Tp.call(this,a,b,c,d)};r(Zp,Tp);
|
|
690
689
|
Zp.prototype.Jc=function(){var a=new Jp;a.Wa("loadend",function(){this.yd=a.ca.result;Tp.prototype.Jc.call(this)},void 0,this);a.readAsArrayBuffer(this.Bi)};var $p=function(a){J.call(this);this.Pc={};this.Oc={};this.Sb=new Cp(this);this.X=a;this.We=!1};y($p,J);var aq=["load","abort","error"],bq=function(a,b,c){if(c=typeof c==="string"?c:c.src)a.We=!1,a.Pc[b]={src:c,bh:null}},cq=function(a,b){delete a.Pc[b];var c=a.Oc[b];c&&(delete a.Oc[b],a.Sb.se(c,aq,a.bi))};
|
|
691
|
-
$p.prototype.start=function(){var a=this.Pc;$a(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Ra)){if(this.X){var d=this.X;d=(d?new
|
|
690
|
+
$p.prototype.start=function(){var a=this.Pc;$a(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Ra)){if(this.X){var d=this.X;d=(d?new ni(mi(d)):Mb||(Mb=new ni)).Rk("IMG")}else d=new Image;c.bh&&(d.crossOrigin=c.bh);this.Sb.Wa(d,aq,this.bi);this.Oc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
692
691
|
$p.prototype.bi=function(a){var b=a.currentTarget;if(b){if(a.type=="readystatechange")if(b.readyState=="complete")a.type="load";else return;typeof b.naturalWidth=="undefined"&&(a.type=="load"?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));cq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ra&&db(this.Oc)&&db(this.Pc)&&!this.We&&(this.We=!0,this.dispatchEvent("complete"))}};$p.prototype.J=function(){delete this.Pc;delete this.Oc;hd(this.Sb);$p.L.J.call(this)};var dq=function(a,b){Lp.call(this,a,b)};r(dq,Lp);dq.prototype.dh=function(a,b,c,d){return new eq(a,b,c,d)};x("ee.layers.ImageOverlay",dq);var eq=function(a,b,c,d){Tp.call(this,a,b,c,d);this.ce=fq;this.Fh=this.ga=this.Qd=null;this.Xc=""};r(eq,Tp);
|
|
693
692
|
eq.prototype.Jc=function(){try{var a=Gb(this.Bi);this.Xc=Fb(a);var b=this.Xc!==Eb.toString()?this.Xc:this.Ca}catch(c){b=this.Ca}this.ga=new $p;bq(this.ga,this.la.id+"-image",b);this.Fh=yd(this.ga,gq,function(c){c.type=="load"?(this.Qd=c.target,Tp.prototype.Jc.call(this)):this.gd()},void 0,this);this.ga.start()};eq.prototype.Fc=function(){Tp.prototype.Fc.call(this);this.ga&&(Hd(this.Fh),hd(this.ga))};eq.prototype.J=function(){Tp.prototype.J.call(this);this.Xc&&URL.revokeObjectURL(this.Xc)};
|
|
694
693
|
var fq=function(a){a.la.appendChild(a.Qd)},gq=["load","abort","error"];var hq=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 iq=function(a,b,c,d){I.call(this);this.Qg=a;this.Yb=b;this.ng=d||"";this.Wd=c};r(iq,Xp);iq.prototype.Gf=function(a){if(a.zoom<=this.Wd)a.Ca=this.Ld(a.qb,a.zoom);else{var b=a.zoom-this.Wd,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.Ld(c,a.zoom-b);a.ce=Ea(jq,this.Wd)}var d=w(a.gd,a);a.gd=w(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Up(a,"loaded"):d(e)},a);Vp(a)};
|
|
@@ -706,20 +705,20 @@ xq.prototype.J=function(){J.prototype.J.call(this);this.pe.dispose();this.pe=nul
|
|
|
706
705
|
h.Yk=function(a){if(this.jc)this.ac&&this.ac(this);else switch(a.type){case "load":this.Ja=a;this.ac&&this.ac(this);break;case "error":case "abort":this.retry()||(this.Ja=a,this.ac&&this.ac(this))}};h.J=function(){I.prototype.J.call(this);delete this.yf;delete this.ac};h.retry=function(){if(this.Ig>this.kl)return!1;this.Ig++;cq(this.ga,this.fa);setTimeout(w(this.yl,this),0);return!0};
|
|
707
706
|
h.yl=function(){if(!this.jc){var a=w(function(d){this.jc||(bq(this.ga,this.fa,d),yd(this.ga,Aq,w(this.Yk,this)),this.ga.start())},this),b=this.getUrl();if(Zc(b).Ba.Ob("profiling")){var c=new Si;c.wc="blob";c.Wa("complete",w(function(){this.ki=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(c.getStatus()>=200&&c.getStatus()<300)try{var d=Fb(Gb(bj(c)));var e=d!==Eb.toString()}catch(g){}a(e?d:b)},this));c.Uc("ready",w(c.dispose,c));c.send(b,"GET")}else a(b)}};h.Ig=0;h.jc=!1;h.ga=null;
|
|
708
707
|
h.Mi=null;h.Ja=null;h.ki=null;var Aq=["load","abort","error"],Bq=function(){I.call(this);this.Ea=!1};r(Bq,I);Bq.prototype.setActive=function(a){this.Ea=a};Bq.prototype.isActive=function(){return this.Ea};var wq=function(a,b){rq.call(this,a,b)};r(wq,rq);wq.prototype.Ze=function(){return new Bq};wq.prototype.Cd=function(a){a.dispose()};wq.prototype.Qf=function(a){return!a.Ra&&!a.isActive()};var Cq=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.ug=new ae;this.Rf=1;this.ua=e||null};r(Cq,ge);h=Cq.prototype;h.Me=function(a){return zd(this,"tileevent",a)};h.Zf=function(a){Hd(a)};
|
|
709
|
-
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.xb,this.token].join("/");this.xb+=1;c=
|
|
708
|
+
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.xb,this.token].join("/");this.xb+=1;c=ii("DIV",{id:b});var d=(new Date).getTime()/1E3;this.zb.push(b);ql(xq).send(b,a,d,w(this.Xk,this,c,b));zp(this);return c};h.Lc=function(){return this.zb.length};
|
|
710
709
|
h.releaseTile=function(a){ql(xq).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.ug.remove(b);a.id!==""&&(this.tg.remove(a.id),this.ua&&this.ua.pl(a.id))};h.setOpacity=function(a){this.Rf=a;var b=this.ug.Da();Sd(b,function(c){Kp(c,a)})};
|
|
711
|
-
h.Xk=function(a,b,c,d){c.type=="error"?(dc(this.zb,b),this.tg.add(b),this.dispatchEvent(c)):(dc(this.zb,b),c.target&&c.type=="load"&&(c=c.target,this.ug.add(c),this.Rf!=1&&Kp(c,this.Rf),a.appendChild(c)),zp(this));this.ua&&d!==null&&this.ua.Lk(b,d)};x("ee.MapLayerOverlay",Cq);Cq.prototype.removeTileCallback=Cq.prototype.Zf;Cq.prototype.addTileCallback=Cq.prototype.Me;Cq.prototype.getTile=Cq.prototype.getTile;Cq.prototype.setOpacity=Cq.prototype.setOpacity;Cq.prototype.releaseTile=Cq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
712
|
-
c=[["name","
|
|
710
|
+
h.Xk=function(a,b,c,d){c.type=="error"?(dc(this.zb,b),this.tg.add(b),this.dispatchEvent(c)):(dc(this.zb,b),c.target&&c.type=="load"&&(c=c.target,this.ug.add(c),this.Rf!=1&&Kp(c,this.Rf),a.appendChild(c)),zp(this));this.ua&&d!==null&&this.ua.Lk(b,d)};x("ee.MapLayerOverlay",Cq);Cq.prototype.removeTileCallback=Cq.prototype.Zf;Cq.prototype.addTileCallback=Cq.prototype.Me;Cq.prototype.getTile=Cq.prototype.getTile;Cq.prototype.setOpacity=Cq.prototype.setOpacity;Cq.prototype.releaseTile=Cq.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.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.limit ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.map ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.authenticate ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.listBuckets ee.data.getTileUrl ee.data.getTableDownloadId ee.data.getTaskListWithLimit ee.data.makeTableDownloadUrl ee.data.startTableIngestion ee.data.listOperations ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.cancelOperation ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.listImages ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.getAssetRoots ee.data.getAsset ee.data.setWorkloadTag ee.data.createAssetHome ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createAsset ee.data.setDefaultWorkloadTag ee.data.newTaskId ee.data.getInfo ee.data.resetWorkloadTag ee.data.computeValue ee.data.cancelTask ee.data.getThumbId ee.data.updateAsset ee.data.getVideoThumbId ee.data.getList ee.data.getTaskStatus ee.data.updateTask ee.data.createFolder ee.data.startIngestion ee.data.setAssetAcl ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.makeThumbUrl ee.data.renameAsset ee.data.authenticateViaOauth ee.data.listAssets ee.data.setAssetProperties ee.data.getMapId ee.data.copyAsset ee.data.getTaskList ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.initialize ee.reset ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.Filter.gte ee.Filter.metadata ee.Filter.prototype.not ee.Filter.date ee.Filter.bounds ee.Filter ee.Filter.eq ee.Filter.and ee.Filter.inList ee.Filter.gt ee.Filter.or ee.Filter.lt ee.Filter.neq ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.MultiPoint ee.Geometry ee.Geometry.LineString ee.Geometry.Rectangle ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.prototype.serialize ee.Image.prototype.rename ee.Image.prototype.getThumbURL ee.Image.prototype.getMap ee.Image ee.Image.cat ee.Image.prototype.getDownloadURL ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.clip ee.Image.prototype.getThumbId ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
711
|
+
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(" "),
|
|
713
712
|
"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(" "),
|
|
714
713
|
"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(" "),
|
|
715
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(" "),
|
|
716
|
-
["
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
[],["
|
|
721
|
-
["var_args"],["
|
|
722
|
-
"
|
|
723
|
-
["params","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["
|
|
724
|
-
|
|
725
|
-
|
|
715
|
+
["filter"],["geometry"],["start","opt_end"],["property","opt_ascending"],["max","opt_property","opt_ascending"],["name","operator","value"],["algorithm","opt_first"],["algorithm","opt_dropNulls"],["callback"],["legacy"],["func","var_args"],["opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","opt_callback"],["rootId","opt_callback"],["project","opt_callback"],["id","x","y","z"],["params","opt_callback"],["opt_limit","opt_callback"],["id"],["taskId",
|
|
716
|
+
"request","opt_callback"],["opt_limit","opt_callback"],["assetId","opt_callback"],[],["operationName","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["parent","opt_params","opt_callback"],["id"],["params","opt_callback"],["asset","params","opt_callback"],["opt_callback"],["id","opt_callback"],["tag"],["requestedId","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["operationName","opt_callback"],["value","opt_path","opt_force",
|
|
717
|
+
"opt_properties","opt_callback"],["tag"],["opt_count","opt_callback"],["id","opt_callback"],["opt_resetDefault"],["obj","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["taskId","action","opt_callback"],["path","opt_force","opt_callback"],["taskId","request","opt_callback"],["assetId","aclUpdate","opt_callback"],["params","opt_callback"],["taskId","params",
|
|
718
|
+
"opt_callback"],["id"],["sourceId","destinationId","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["parent","opt_params","opt_callback"],["assetId","properties","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["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(" "),
|
|
719
|
+
[],["func","var_args"],["var_args"],[],["geometry","opt_properties"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_visParams","opt_callback"],["name","value"],["name","operator","value"],[],["start","opt_end"],["geometry","opt_errorMargin"],["opt_filter"],["name",
|
|
720
|
+
"value"],["var_args"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["var_args"],["name","value"],["name","value"],["name","value"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["west","south","east","north"],["coords","opt_proj"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj",
|
|
721
|
+
"opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],["legacy"],["var_args"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_args"],["var_args"],["params","opt_callback"],["var_args"],["opt_callback"],["opt_visParams","opt_callback"],["r","g","b"],["expression","opt_map"],["geometry"],["params","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties",
|
|
722
|
+
"opt_matchPropertyName"],["params","opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["selectors","opt_names"],[],["args"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["string"],[]];[Q,Tm,Um,Eo,Bo,uo,Co,Ao,Do,yo,vo,zo,xo,Fo,so,wo,V.prototype.filter,V.prototype.vh,V.prototype.lf,V.prototype.sort,V.prototype.limit,V.prototype.mf,V.prototype.Kh,V.prototype.map,O.prototype.evaluate,
|
|
723
|
+
O.prototype.va,O.prototype.Eg,O.prototype.V,tl,wm,Bm,pm,Al,Ll,Rl,Ml,jm,Tl,xm,xl,Ul,Jl,rl,om,Kl,Bl,Cl,qm,km,Dm,rm,ul,Vl,sm,Em,Nl,km,Fm,Dl,Xl,El,ym,Fl,mm,Ql,Wl,tm,hm,zm,Gl,dm,Hl,um,sl,nm,Am,zl,vm,Sl,Wo,Zo,ap,$o,ep,fp,qp,sp,up,256,op,rp,tp,S.prototype.set,Pj,X,X.prototype.V,X.prototype.S,X.prototype.getMap,Y.prototype.rb,Y.prototype.S,Y.prototype.V,Y.prototype.select,Y,Y.prototype.getMap,Kn,Sn,U.prototype.rc,Pn,Rn,U,Hn,Nn,Qn,Ln,On,Jn,In,Mn,Om.prototype.apply,Om.prototype.call,zn,T.prototype.oe,wn,xn,
|
|
724
|
+
T.prototype.wg,sn,qn,T,vn,rn,yn,nn,T.prototype.va,N.prototype.pi,N.prototype.vf,N.prototype.getMap,N,go,N.prototype.rb,N.prototype.select,N.prototype.V,N.prototype.S,fo,N.prototype.l,N.prototype.clip,N.prototype.Kd,Z.prototype.Ff,Z.prototype.wf,Z.prototype.V,Z.prototype.S,Z.prototype.getMap,Z.prototype.select,Z.prototype.first,Z,Z.prototype.tf,ho,Mo,Wk,Ok,Xk,Vk,Lk,Mk,Rk,Po,ip].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|