@google/earthengine 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/browser.js +3354 -3339
- package/build/ee_api_js.js +49 -50
- package/build/ee_api_js_debug.js +3331 -3316
- package/build/ee_api_js_npm.js +3354 -3339
- package/build/main.js +3354 -3339
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/build/ee_api_js.js
CHANGED
|
@@ -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){Fh||Ih();Gh||(Fh(),Gh=!0);a=Dh(a,"goog.async.run");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,30 +437,30 @@ 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.2";p==="1.1.2"&&
|
|
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
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 Z=z.s?z.s.responseText:""}catch(da){Cc(z.ba,"Can not get responseText: "+da.message),Z=""}return C(H,ea,Z,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=
|
|
462
461
|
function(Z){try{var da=JSON.parse(Z);return!(u(da)&&"error"in da&&"message"in da.error)||l&&l(da)?{parsed:da}:da.error.message}catch(Hb){return"Invalid JSON: "+Z}},v=function(Z){if(Z===0)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(Z<200||Z>=300)return"Server returned HTTP code: "+Z+" 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?
|
|
463
462
|
C=c.parsed:z=c;else if(d==="multipart/mixed"){C={};var H=[];oj(b,c,function(Z,da,Hb){Hb=p(Hb);Hb.parsed&&(C[Z]=Hb.parsed);(da=(Hb.parsed?"":Hb)||v(da))&&H.push(Z+": "+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,callback:d,scope:c.scope}).requestAccessToken()});a()};u(t.default_gsi)?
|
|
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
|
|
463
|
+
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=Jj.shift();if(a){var b=a.url,c=a.callback,d=a.method,
|
|
465
464
|
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);x("ee.api.Operation",Gg);x("ee.api.ListFeaturesResponse",Eg);
|
|
466
465
|
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";
|
|
@@ -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);
|
|
@@ -638,7 +637,7 @@ po.prototype.start=po.prototype.start;var so=function(a,b,c,d,e,g,f,l,m,p,v,z){v
|
|
|
638
637
|
var vo=function(a,b,c,d,e,g,f,l,m,p,v,z,C,H,ea,Z){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,Z,da,Hb,Dq,Eq,Fq){var
|
|
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,Z,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
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 X||b instanceof Y||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,
|
|
@@ -671,7 +670,7 @@ np=function(a){if(jp=="loading")for(jp="not_ready",lp=[];kp.length>0;)kp.shift()
|
|
|
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
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 W(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new W(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 X?Q("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?
|
|
673
672
|
a:new X(a);case "ImageCollection":return new Y(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);
|
|
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=
|
|
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.limit ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.iterate ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.filter ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.data.resetWorkloadTag ee.data.getFilmstripThumbId ee.data.getTaskStatus ee.data.updateAsset ee.data.updateTask ee.data.startProcessing ee.data.getList ee.data.startIngestion ee.data.listAssets ee.data.createFolder ee.data.authenticateViaOauth ee.data.makeThumbUrl ee.data.setAssetAcl ee.data.getMapId ee.data.renameAsset ee.data.authenticate ee.data.setAssetProperties ee.data.getTaskList ee.data.listBuckets ee.data.getTileUrl ee.data.getTableDownloadId ee.data.copyAsset ee.data.makeTableDownloadUrl ee.data.getTaskListWithLimit ee.data.getAssetRootQuota ee.data.cancelOperation ee.data.startTableIngestion ee.data.deleteAsset ee.data.listOperations ee.data.getDownloadId ee.data.authenticateViaPopup ee.data.makeDownloadUrl ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.listImages ee.data.listFeatures ee.data.getAssetAcl ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.setWorkloadTag ee.data.getOperation ee.data.newTaskId ee.data.createAssetHome ee.data.computeValue ee.data.getThumbId ee.data.getInfo ee.data.setDefaultWorkloadTag ee.data.createAsset ee.data.cancelTask ee.data.getVideoThumbId ee.Date ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Dictionary ee.call ee.reset ee.initialize ee.Algorithms ee.InitState ee.apply ee.TILE_SIZE ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getMap ee.Feature ee.Feature.prototype.getMapId ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.bounds ee.Filter.prototype.not ee.Filter.and ee.Filter.neq ee.Filter.lt ee.Filter.gt ee.Filter.inList ee.Filter.or ee.Filter.gte ee.Filter.lte ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Point ee.Geometry.prototype.serialize ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSON ee.Geometry.LineString ee.Geometry ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.BBox ee.Geometry.Polygon ee.Image.prototype.getDownloadURL ee.Image.prototype.rename ee.Image ee.Image.prototype.getMapId ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.getThumbURL ee.Image.prototype.clip ee.Image.cat ee.Image.prototype.select ee.Image.rgb ee.Image.prototype.expression ee.Image.prototype.getInfo ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode 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"],["name","value"],["name","value"],["name","value"],["
|
|
722
|
-
"opt_proj"],["coords","opt_proj","opt_geodesic","
|
|
723
|
-
|
|
724
|
-
Wl,mm,hm,tm,
|
|
725
|
-
|
|
715
|
+
["max","opt_property","opt_ascending"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["geometry"],["algorithm","opt_first"],["name","operator","value"],["start","opt_end"],["filter"],["func","var_args"],["opt_callback"],["legacy"],["callback"],["opt_resetDefault"],["params","opt_callback"],["taskId","opt_callback"],["assetId","asset","updateFields","opt_callback"],["taskId","action","opt_callback"],["taskId","params","opt_callback"],["params","opt_callback"],["taskId","request","opt_callback"],
|
|
716
|
+
["parent","opt_params","opt_callback"],["path","opt_force","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["id"],["assetId","aclUpdate","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","properties","opt_callback"],["opt_callback"],["project","opt_callback"],["id","x","y","z"],["params","opt_callback"],
|
|
717
|
+
["sourceId","destinationId","opt_overwrite","opt_callback"],["id"],["opt_limit","opt_callback"],["rootId","opt_callback"],["operationName","opt_callback"],["taskId","request","opt_callback"],["assetId","opt_callback"],["opt_limit","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["id"],[],["params","opt_callback"],["parent","opt_params","opt_callback"],["asset","params","opt_callback"],["assetId","opt_callback"],["id","opt_callback"],["opt_callback"],["privateKey","opt_success",
|
|
718
|
+
"opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["tag"],["operationName","opt_callback"],["opt_count","opt_callback"],["requestedId","opt_callback"],["obj","opt_callback"],["params","opt_callback"],["id","opt_callback"],["tag"],["value","opt_path","opt_force","opt_properties","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],["func","var_args"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
719
|
+
[],[],["func","namedArgs"],[],["var_args"],[],["opt_visParams","opt_callback"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["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"],["geometry","opt_errorMargin"],[],["var_args"],["name","value"],["name","value"],["name","value"],["opt_leftField",
|
|
720
|
+
"opt_rightValue","opt_rightField","opt_leftValue"],["var_args"],["name","value"],["name","value"],["opt_filter"],["name","value"],["start","opt_end"],["name","operator","value"],["namedArgs"],["var_args"],["coords","opt_proj"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],
|
|
721
|
+
[],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["params","opt_callback"],["var_args"],["opt_args"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["geometry"],["var_args"],["var_args"],["r","g","b"],["expression","opt_map"],["opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["imageCollection",
|
|
722
|
+
"opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],["params","opt_callback"],[],["args"],["opt_visParams","opt_callback"],["opt_callback"],["selectors","opt_names"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["string"],[]];[Q,Tm,Um,Eo,Bo,uo,Co,Ao,Do,yo,vo,zo,xo,Fo,so,wo,V.prototype.limit,V.prototype.sort,V.prototype.map,V.prototype.vh,V.prototype.Kh,V.prototype.mf,V.prototype.lf,V.prototype.filter,O.prototype.Eg,O.prototype.V,O.prototype.va,
|
|
723
|
+
O.prototype.evaluate,Fm,Gl,Ql,ym,Wl,dm,mm,hm,nm,tm,sl,Hl,zm,zl,um,tl,Am,Sl,pm,Al,Ll,vm,Ml,Rl,Bm,Ul,jm,wm,Tl,Jl,rl,Kl,xl,Bl,om,Cl,xm,km,qm,ul,Dm,Vl,Nl,rm,Dl,El,km,Em,sm,Xl,Fl,Wo,$o,ap,ep,Zo,fp,tp,rp,op,qp,sp,up,256,S.prototype.set,Pj,W.prototype.getMap,W,W.prototype.S,W.prototype.V,X.prototype.getMap,X.prototype.rb,X.prototype.S,X.prototype.V,X.prototype.select,X,Rn,U.prototype.rc,Nn,In,Jn,Ln,Qn,On,Kn,Mn,U,Hn,Pn,Sn,Om.prototype.apply,Om.prototype.call,nn,T.prototype.va,xn,zn,T.prototype.oe,vn,T,wn,
|
|
724
|
+
T.prototype.wg,qn,rn,sn,yn,N.prototype.rb,N.prototype.pi,N,N.prototype.S,N.prototype.getMap,N.prototype.Kd,N.prototype.vf,N.prototype.clip,go,N.prototype.select,fo,N.prototype.l,N.prototype.V,Y.prototype.tf,Y.prototype.getMap,Y.prototype.Ff,Y.prototype.wf,Y.prototype.first,Y,Y.prototype.S,Y.prototype.V,Y.prototype.select,ho,Mo,Vk,Mk,Rk,Wk,Ok,Xk,Lk,Po,ip].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|