@google/earthengine 0.1.395 → 0.1.396
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 +42 -28
- package/build/ee_api_js.js +147 -146
- package/build/ee_api_js_debug.js +20 -7
- package/build/ee_api_js_npm.js +42 -28
- package/build/main.js +42 -28
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +40 -7
- package/src/examples/Demos/Landsat8HarmonicModeling.js +3 -1
package/build/ee_api_js.js
CHANGED
|
@@ -10,8 +10,8 @@ da("Promise",function(a){function b(){this.pb=null}function c(f){return f instan
|
|
|
10
10
|
})};var e=function(f){this.T=0;this.ia=void 0;this.uc=[];this.Lh=!1;var l=this.cf();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.cf=function(){function f(p){return function(v){m||(m=!0,p.call(l,v))}}var l=this,m=!1;return{resolve:f(this.vl),reject:f(this.ag)}};e.prototype.vl=function(f){if(f===this)this.ag(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.xl(f);else{a:switch(typeof f){case "object":var l=null!=f;break a;case "function":l=!0;break a;default:l=
|
|
11
11
|
!1}l?this.ul(f):this.Ch(f)}};e.prototype.ul=function(f){var l=void 0;try{l=f.then}catch(m){this.ag(m);return}"function"==typeof l?this.yl(l,f):this.Ch(f)};e.prototype.ag=function(f){this.zi(2,f)};e.prototype.Ch=function(f){this.zi(1,f)};e.prototype.zi=function(f,l){if(0!=this.T)throw Error("Cannot settle("+f+", "+l+"): Promise already settled in state"+this.T);this.T=f;this.ia=l;2===this.T&&this.wl();this.Wk()};e.prototype.wl=function(){var f=this;d(function(){if(f.ml()){var l=k.console;"undefined"!==
|
|
12
12
|
typeof l&&l.error(f.ia)}},1)};e.prototype.ml=function(){if(this.Lh)return!1;var f=k.CustomEvent,l=k.Event,m=k.dispatchEvent;if("undefined"===typeof m)return!0;"function"===typeof f?f=new f("unhandledrejection",{cancelable:!0}):"function"===typeof l?f=new l("unhandledrejection",{cancelable:!0}):(f=k.document.createEvent("CustomEvent"),f.initCustomEvent("unhandledrejection",!1,!0,f));f.promise=this;f.reason=this.ia;return m(f)};e.prototype.Wk=function(){if(null!=this.uc){for(var f=0;f<this.uc.length;++f)g.Ig(this.uc[f]);
|
|
13
|
-
this.uc=null}};var g=new b;e.prototype.xl=function(f){var l=this.cf();f.
|
|
14
|
-
break;case 2:l(p.ia);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;null==this.uc?g.Ig(m):this.uc.push(m);this.Lh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var p=n(f),v=p.next();!v.done;v=p.next())c(v.value).
|
|
13
|
+
this.uc=null}};var g=new b;e.prototype.xl=function(f){var l=this.cf();f.Bd(l.resolve,l.reject)};e.prototype.yl=function(f,l){var m=this.cf();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(C,J){return"function"==typeof C?function(fa){try{p(C(fa))}catch(X){v(X)}}:J}var p,v,A=new e(function(C,J){p=C;v=J});this.Bd(m(f,p),m(l,v));return A};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Bd=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;null==this.uc?g.Ig(m):this.uc.push(m);this.Lh=!0};e.resolve=c;e.reject=function(f){return new e(function(l,m){m(f)})};e.race=function(f){return new e(function(l,m){for(var p=n(f),v=p.next();!v.done;v=p.next())c(v.value).Bd(l,m)})};e.all=function(f){var l=n(f),m=l.next();return m.done?c([]):new e(function(p,v){function A(fa){return function(X){C[fa]=X;J--;0==J&&p(C)}}var C=[],J=0;do C.push(void 0),J++,c(m.value).Bd(A(C.length-
|
|
15
15
|
1),v),m=l.next();while(!m.done)})};return e});
|
|
16
16
|
da("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!la(m,g)){var p=new b;ba(m,g,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(2!=v.get(m)||3!=v.get(p))return!1;v.delete(m);v.set(p,4);return!v.has(m)&&4==v.get(p)}catch(A){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=n(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};l.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!la(m,g))throw Error("WeakMap key fail: "+m);m[g][this.fa]=p;return this};l.prototype.get=function(m){return c(m)&&la(m,g)?m[g][this.fa]:void 0};l.prototype.has=function(m){return c(m)&&la(m,g)&&la(m[g],
|
|
@@ -37,7 +37,7 @@ b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d
|
|
|
37
37
|
var wa=wa||{},r=this||self,xa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ya=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length},za=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Ca=function(a){return Object.prototype.hasOwnProperty.call(a,Aa)&&a[Aa]||(a[Aa]=++Ba)},Aa="closure_uid_"+(1E9*Math.random()>>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind,
|
|
38
38
|
arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},u=function(a,b,c){u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Da:Ea;return u.apply(null,arguments)},Fa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=
|
|
39
39
|
c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},w=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},x=function(a,b){function c(){}c.prototype=b.prototype;a.L=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ll=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
|
-
f)}},Ga=function(a){return a};function Ha(a){a&&"function"==typeof a.Ra&&a.Ra()};var y=function(){this.Sa=this.Sa;this.Zd=this.Zd};y.prototype.Sa=!1;y.prototype.Ra=function(){this.Sa||(this.Sa=!0,this.J())};y.prototype.J=function(){if(this.Zd)for(;this.Zd.length;)this.Zd.shift()()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.
|
|
40
|
+
f)}},Ga=function(a){return a};function Ha(a){a&&"function"==typeof a.Ra&&a.Ra()};var y=function(){this.Sa=this.Sa;this.Zd=this.Zd};y.prototype.Sa=!1;y.prototype.Ra=function(){this.Sa||(this.Sa=!0,this.J())};y.prototype.J=function(){if(this.Zd)for(;this.Zd.length;)this.Zd.shift()()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.dd=!1};z.prototype.stopPropagation=function(){this.dd=!0};z.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ia(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Ia);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}x(Ia,Error);Ia.prototype.name="CustomError";var Ja;function Ka(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");Ia.call(this,c+a[d])}x(Ka,Ia);Ka.prototype.name="AssertionError";function La(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new Ka(""+e,g||[]);}
|
|
41
41
|
var B=function(a,b,c){a||La("",null,b,Array.prototype.slice.call(arguments,2))},Ma=function(a,b,c){null==a&&La("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a},Na=function(a,b){throw new Ka("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Oa=function(a,b,c){"number"!==typeof a&&La("Expected number but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Pa=function(a,b,c){"string"!==typeof a&&La("Expected string but got %s: %s.",
|
|
42
42
|
[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Qa=function(a,b,c){"function"!==typeof a&&La("Expected function but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Ra=function(a,b,c){t(a)||La("Expected object but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Sa=Array.prototype.indexOf?function(a,b){B(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ta=Array.prototype.lastIndexOf?function(a,b){B(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
|
|
43
43
|
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ua=Array.prototype.forEach?function(a,b){B(null!=a.length);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)e in d&&b.call(void 0,d[e],e,a)},Va=Array.prototype.filter?function(a,b){B(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,g="string"===typeof a?a.split(""):a,f=0;f<c;f++)if(f in
|
|
@@ -47,28 +47,28 @@ function bb(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)}function c
|
|
|
47
47
|
function fb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function gb(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=eb(d,e,e+8192);g=gb.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var hb=Object.freeze||function(a){return a};var ib=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};r.addEventListener("test",c,b);r.removeEventListener("test",c,b)}catch(d){}return a}();var jb,kb;a:{for(var lb=["CLOSURE_FLAGS"],mb=r,nb=0;nb<lb.length;nb++)if(mb=mb[lb[nb]],null==mb){kb=null;break a}kb=mb}var ob=kb&&kb[610401301];jb=null!=ob?ob:!1;function pb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}var qb,rb=r.navigator;qb=rb?rb.userAgentData||null:null;function sb(a){return-1!=pb().indexOf(a)};function tb(){return jb&&qb&&0<qb.brands.length?!1:sb("Trident")||sb("MSIE")};var ub=function(a){ub[" "](a);return a};ub[" "]=function(){};var vb=tb(),wb=sb("Gecko")&&!(-1!=pb().toLowerCase().indexOf("webkit")&&!sb("Edge"))&&!(sb("Trident")||sb("MSIE"))&&!sb("Edge"),xb=-1!=pb().toLowerCase().indexOf("webkit")&&!sb("Edge");var zb=function(a,b){z.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Ja=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;
|
|
48
48
|
this.currentTarget=b;if(b=a.relatedTarget){if(wb){a:{try{ub(b.nodeName);var e=!0;break a}catch(g){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=xb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=xb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?
|
|
49
49
|
a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:yb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.Ja=
|
|
50
|
-
a;a.defaultPrevented&&zb.L.preventDefault.call(this)}};x(zb,z);var yb=hb({2:"touch",3:"pen",4:"mouse"});zb.prototype.stopPropagation=function(){zb.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};zb.prototype.preventDefault=function(){zb.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ab="closure_listenable_"+(1E6*Math.random()|0),Bb=function(a){return!(!a||!a[Ab])};var Cb=0;var Db=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.jb=e;this.key=++Cb;this.
|
|
50
|
+
a;a.defaultPrevented&&zb.L.preventDefault.call(this)}};x(zb,z);var yb=hb({2:"touch",3:"pen",4:"mouse"});zb.prototype.stopPropagation=function(){zb.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};zb.prototype.preventDefault=function(){zb.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ab="closure_listenable_"+(1E6*Math.random()|0),Bb=function(a){return!(!a||!a[Ab])};var Cb=0;var Db=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.jb=e;this.key=++Cb;this.gd=this.Ad=!1},Eb=function(a){a.gd=!0;a.listener=null;a.proxy=null;a.src=null;a.jb=null};function Fb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Gb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Hb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Ib(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Kb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Lb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Mb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
51
51
|
function Nb(a){var b=Ob,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Pb(a){for(var b in a)return!1;return!0}function Qb(a,b){b in a&&delete a[b]}function Rb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
52
52
|
function Sb(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=Sb(a[c]);return b}var Tb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
53
|
-
function Ub(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Tb.length;g++)c=Tb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Vb=function(a){this.src=a;this.ha={};this.
|
|
54
|
-
var Xb=function(a,b){var c=b.type;c in a.ha&&ab(a.ha[c],b)&&(Eb(b),0==a.ha[c].length&&(delete a.ha[c],a.
|
|
55
|
-
Vb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Ib(this.ha,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var Wb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.
|
|
53
|
+
function Ub(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Tb.length;g++)c=Tb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Vb=function(a){this.src=a;this.ha={};this.nd=0};Vb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.nd++);var f=Wb(a,b,d,e);-1<f?(b=a[f],c||(b.Ad=!1)):(b=new Db(b,this.src,g,!!d,e),b.Ad=c,a.push(b));return b};Vb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=Wb(e,b,c,d);return-1<b?(Eb(e[b]),bb(e,b),0==e.length&&(delete this.ha[a],this.nd--),!0):!1};
|
|
54
|
+
var Xb=function(a,b){var c=b.type;c in a.ha&&ab(a.ha[c],b)&&(Eb(b),0==a.ha[c].length&&(delete a.ha[c],a.nd--))};Vb.prototype.fd=function(a){a=a&&a.toString();var b=0,c;for(c in this.ha)if(!a||c==a){for(var d=this.ha[c],e=0;e<d.length;e++)++b,Eb(d[e]);delete this.ha[c];this.nd--}};Vb.prototype.Mc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=Wb(a,b,c,d));return-1<e?a[e]:null};
|
|
55
|
+
Vb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Ib(this.ha,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var Wb=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.gd&&g.listener==b&&g.capture==!!c&&g.jb==d)return e}return-1};var Yb="closure_lm_"+(1E6*Math.random()|0),Zb={},$b=0,bc=function(a,b,c,d,e){if(d&&d.once)return ac(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)bc(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?a.Xa(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!1,d,e)},dc=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=ec(a);l||(a[Yb]=l=new Vb(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=fc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)ib||(e=f),void 0===
|
|
56
56
|
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(gc(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");$b++;return c},fc=function(){var a=hc,b=function(c){return a.call(b.src,b.listener,c)};return b},ac=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)ac(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?
|
|
57
|
-
a.
|
|
58
|
-
(Xb(c,a),0==c.
|
|
57
|
+
a.Wc(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!0,d,e)},ic=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)ic(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=cc(c),Bb(a)?a.se(b,c,d,e):a&&(a=ec(a))&&(b=a.Mc(b,c,d,e))&&jc(b)},jc=function(a){if("number"!==typeof a&&a&&!a.gd){var b=a.src;if(Bb(b))Xb(b.Ia,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(gc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);$b--;(c=ec(b))?
|
|
58
|
+
(Xb(c,a),0==c.nd&&(c.src=null,b[Yb]=null)):Eb(a)}}},gc=function(a){return a in Zb?Zb[a]:Zb[a]="on"+a},hc=function(a,b){if(a.gd)a=!0;else{b=new zb(b,this);var c=a.listener,d=a.jb||a.src;a.Ad&&jc(a);a=c.call(d,b)}return a},ec=function(a){a=a[Yb];return a instanceof Vb?a:null},kc="__closure_events_fn_"+(1E9*Math.random()>>>0),cc=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[kc]||(a[kc]=function(b){return a.handleEvent(b)});
|
|
59
59
|
return a[kc]};var D=function(){y.call(this);this.Ia=new Vb(this);this.Kk=this;this.Uf=null};x(D,y);D.prototype[Ab]=!0;h=D.prototype;h.addEventListener=function(a,b,c,d){bc(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ic(this,a,b,c,d)};
|
|
60
|
-
h.dispatchEvent=function(a){lc(this);var b=this.Uf;if(b){var c=[];for(var d=1;b;b=b.Uf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Kk;d=a.type||a;if("string"===typeof a)a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Ub(a,e)}e=!0;if(c)for(var g=c.length-1;!a.
|
|
61
|
-
return e};h.J=function(){D.L.J.call(this);this.Ia&&this.Ia.
|
|
60
|
+
h.dispatchEvent=function(a){lc(this);var b=this.Uf;if(b){var c=[];for(var d=1;b;b=b.Uf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Kk;d=a.type||a;if("string"===typeof a)a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Ub(a,e)}e=!0;if(c)for(var g=c.length-1;!a.dd&&0<=g;g--){var f=a.currentTarget=c[g];e=mc(f,d,!0,a)&&e}a.dd||(f=a.currentTarget=b,e=mc(f,d,!0,a)&&e,a.dd||(e=mc(f,d,!1,a)&&e));if(c)for(g=0;!a.dd&&g<c.length;g++)f=a.currentTarget=c[g],e=mc(f,d,!1,a)&&e;
|
|
61
|
+
return e};h.J=function(){D.L.J.call(this);this.Ia&&this.Ia.fd();this.Uf=null};h.Xa=function(a,b,c,d){lc(this);return this.Ia.add(String(a),b,!1,c,d)};h.Wc=function(a,b,c,d){return this.Ia.add(String(a),b,!0,c,d)};h.se=function(a,b,c,d){this.Ia.remove(String(a),b,c,d)};var mc=function(a,b,c,d){b=a.Ia.ha[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.gd&&f.capture==c){var l=f.listener,m=f.jb||f.src;f.Ad&&Xb(a.Ia,f);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};
|
|
62
62
|
D.prototype.Mc=function(a,b,c,d){return this.Ia.Mc(String(a),b,c,d)};D.prototype.hasListener=function(a,b){return this.Ia.hasListener(void 0!==a?String(a):void 0,b)};var lc=function(a){B(a.Ia,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var nc=function(a,b){this.Pk=a[r.Symbol.iterator]();this.hl=b};nc.prototype[Symbol.iterator]=function(){return this};nc.prototype.next=function(){var a=this.Pk.next();return{value:a.done?void 0:this.hl.call(void 0,a.value),done:a.done}};var oc=function(a,b){return new nc(a,b)};var pc=function(){},qc=function(a){return a};var rc=function(){};rc.prototype.next=function(){return sc};var sc=hb({done:!0,value:void 0});rc.prototype.Da=function(){return this};
|
|
63
63
|
var tc=function(a){if(a instanceof rc)return a;if("function"==typeof a.Da)return a.Da(!1);if(ya(a)){var b=0,c=new rc;c.next=function(){for(;;){if(b>=a.length)return sc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},uc=function(a,b){if(ya(a))Ua(a,b);else for(a=tc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var yc=function(a){if(a instanceof vc||a instanceof wc||a instanceof xc)return a;if("function"==typeof a.next)return new vc(function(){return a});if("function"==typeof a[Symbol.iterator])return new vc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Da)return new vc(function(){return a.Da()});throw Error("Not an iterator or iterable.");},vc=function(a){this.uf=a};vc.prototype.Da=function(){return new wc(this.uf())};vc.prototype[Symbol.iterator]=function(){return new xc(this.uf())};
|
|
64
|
-
vc.prototype.xg=function(){return new xc(this.uf())};var wc=function(a){this.Sc=a};q(wc,rc);wc.prototype.next=function(){return this.Sc.next()};wc.prototype[Symbol.iterator]=function(){return new xc(this.Sc)};wc.prototype.xg=function(){return new xc(this.Sc)};var xc=function(a){vc.call(this,function(){return a});this.Sc=a};q(xc,vc);xc.prototype.next=function(){return this.Sc.next()};var zc=function(a,b){this.A={};this.K=[];this.
|
|
65
|
-
h.Ic=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(Bc(this.A,c)&&this.A[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.size!=a.R())return!1;b=b||Cc;Ac(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Cc=function(a,b){return a===b};zc.prototype.isEmpty=function(){return 0==this.size};zc.prototype.clear=function(){this.A={};this.K.length=0;this.mb(0);this.
|
|
66
|
-
zc.prototype.delete=function(a){return Bc(this.A,a)?(delete this.A[a],this.mb(this.size-1),this.
|
|
67
|
-
h.set=function(a,b){Bc(this.A,a)||(this.mb(this.size+1),this.K.push(a),this.
|
|
68
|
-
h.entries=function(){var a=this;return oc(this.keys(),function(b){return[b,a.get(b)]})};h.Da=function(a){Ac(this);var b=0,c=this.
|
|
64
|
+
vc.prototype.xg=function(){return new xc(this.uf())};var wc=function(a){this.Sc=a};q(wc,rc);wc.prototype.next=function(){return this.Sc.next()};wc.prototype[Symbol.iterator]=function(){return new xc(this.Sc)};wc.prototype.xg=function(){return new xc(this.Sc)};var xc=function(a){vc.call(this,function(){return a});this.Sc=a};q(xc,vc);xc.prototype.next=function(){return this.Sc.next()};var zc=function(a,b){this.A={};this.K=[];this.pd=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=zc.prototype;h.R=function(){return this.size};h.aa=function(){Ac(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.tb=function(){Ac(this);return this.K.concat()};h.Pb=function(a){return this.has(a)};h.has=function(a){return Bc(this.A,a)};
|
|
65
|
+
h.Ic=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(Bc(this.A,c)&&this.A[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.size!=a.R())return!1;b=b||Cc;Ac(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Cc=function(a,b){return a===b};zc.prototype.isEmpty=function(){return 0==this.size};zc.prototype.clear=function(){this.A={};this.K.length=0;this.mb(0);this.pd=0};zc.prototype.remove=function(a){return this.delete(a)};
|
|
66
|
+
zc.prototype.delete=function(a){return Bc(this.A,a)?(delete this.A[a],this.mb(this.size-1),this.pd++,this.K.length>2*this.size&&Ac(this),!0):!1};var Ac=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];Bc(a.A,d)&&(a.K[c++]=d);b++}a.K.length=c}if(a.size!=a.K.length){var e={};for(c=b=0;b<a.K.length;)d=a.K[b],Bc(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=zc.prototype;h.get=function(a,b){return Bc(this.A,a)?this.A[a]:b};
|
|
67
|
+
h.set=function(a,b){Bc(this.A,a)||(this.mb(this.size+1),this.K.push(a),this.pd++);this.A[a]=b};h.addAll=function(a){if(a instanceof zc)for(var b=a.tb(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};h.forEach=function(a,b){for(var c=this.tb(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};h.clone=function(){return new zc(this)};h.keys=function(){return yc(this.Da(!0)).xg()};h.values=function(){return yc(this.Da(!1)).xg()};
|
|
68
|
+
h.entries=function(){var a=this;return oc(this.keys(),function(b){return[b,a.get(b)]})};h.Da=function(a){Ac(this);var b=0,c=this.pd,d=this,e=new rc;e.next=function(){if(c!=d.pd)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return sc;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.mb=function(a){this.size=a};var Bc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Dc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(ya(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Ec=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Kb(a)},Fc=function(a){if(a.tb&&"function"==typeof a.tb)return a.tb();
|
|
69
69
|
if(!a.aa||"function"!=typeof a.aa){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ya(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Lb(a)}}},Gc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ya(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Fc(a),e=Ec(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Hc=function(a,
|
|
70
|
-
b){if("function"==typeof a.every)return a.every(b,void 0);if(ya(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Fc(a),d=Ec(a),e=d.length,g=0;g<e;g++)if(!b.call(void 0,d[g],c&&c[g],a))return!1;return!0};var Ic=function(a){this.A=new zc;this.size=0;a&&this.addAll(a)},Jc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.slice(0,1)+a};h=Ic.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(Jc(a),a);this.mb(this.A.size)};h.addAll=function(a){a=Ec(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.mb(this.A.size)};h.
|
|
71
|
-
h.delete=function(a){a=this.A.remove(Jc(a));this.mb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.mb(0)};h.isEmpty=function(){return 0===this.A.size};h.has=function(a){return this.A.Pb(Jc(a))};h.contains=function(a){return this.A.Pb(Jc(a))};var Kc=function(a,b){var c=new Ic;b=Ec(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Lc=function(a,b){a=a.clone();a.
|
|
70
|
+
b){if("function"==typeof a.every)return a.every(b,void 0);if(ya(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Fc(a),d=Ec(a),e=d.length,g=0;g<e;g++)if(!b.call(void 0,d[g],c&&c[g],a))return!1;return!0};var Ic=function(a){this.A=new zc;this.size=0;a&&this.addAll(a)},Jc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.slice(0,1)+a};h=Ic.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(Jc(a),a);this.mb(this.A.size)};h.addAll=function(a){a=Ec(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.mb(this.A.size)};h.fd=function(a){a=Ec(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.mb(this.A.size)};
|
|
71
|
+
h.delete=function(a){a=this.A.remove(Jc(a));this.mb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.mb(0)};h.isEmpty=function(){return 0===this.A.size};h.has=function(a){return this.A.Pb(Jc(a))};h.contains=function(a){return this.A.Pb(Jc(a))};var Kc=function(a,b){var c=new Ic;b=Ec(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Lc=function(a,b){a=a.clone();a.fd(b);return a};Ic.prototype.aa=function(){return this.A.aa()};
|
|
72
72
|
Ic.prototype.values=function(){return this.A.values()};Ic.prototype.clone=function(){return new Ic(this)};Ic.prototype.equals=function(a){return this.R()==Dc(a)&&Mc(this,a)};var Mc=function(a,b){var c=Dc(b);if(a.R()>c)return!1;!(b instanceof Ic)&&5<c&&(b=new Ic(b));return Hc(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Ic&&"function"==typeof e.Ic?e.Ic(d):ya(e)||"string"===typeof e?$a(e,d):Mb(e,d)})};Ic.prototype.Da=function(){return this.A.Da(!1)};
|
|
73
73
|
Ic.prototype[Symbol.iterator]=function(){return this.values()};Ic.prototype.mb=function(a){this.size=a};var Nc=function(a,b,c){D.call(this);this.il=b;this.token=c;this.Ab=[];this.vg=new Ic;this.yb=0;this.url=a};x(Nc,D);w("ee.AbstractOverlay",Nc);var Oc=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.il,c,e,b.y].join("/")};Nc.prototype.Nc=function(){return this.Ab.length};var Pc=function(a){z.call(this,"tileevent");this.count=a};x(Pc,z);var Qc=function(){},Rc=new Qc;function Sc(a){return Object.assign({},{P:{},Nl:{},keys:[],Ma:{},s:{},H:{},sh:!1},a)}var E=function(){this.h={}},F=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},G=function(a,b){return null!=a.h[b]};function Tc(a,b){return F(b,a)}function Uc(a,b,c){b[a]=c}function Vc(){return{}}function Wc(a,b){var c=new a;return null==b?c:Xc(b,Yc,Zc,$c,a)}function Yc(a,b){return b[a]}function Zc(a,b,c){b.h[a]=c}
|
|
74
74
|
function $c(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
@@ -80,9 +80,9 @@ var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.li;Na("expect
|
|
|
80
80
|
SPDX-License-Identifier: Apache-2.0
|
|
81
81
|
*/
|
|
82
82
|
var id=ia([""]),jd=ja(["\x00"],["\\0"]),kd=ja(["\n"],["\\n"]),ld=ja(["\x00"],["\\u0000"]),md=ia([""]),nd=ja(["\x00"],["\\0"]),od=ja(["\n"],["\\n"]),pd=ja(["\x00"],["\\u0000"]);function qd(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function rd(a){return-1===a.toString().indexOf("`")}var sd=rd(function(a){return a(id)})||rd(function(a){return a(jd)})||rd(function(a){return a(kd)})||rd(function(a){return a(ld)}),td=qd(md)&&qd(nd)&&qd(od)&&qd(pd);var vd=function(a,b){if(b!==ud)throw Error("SafeUrl is not meant to be built directly");this.ki=a};vd.prototype.toString=function(){return this.ki.toString()};var wd=function(a){if(a instanceof vd&&a.constructor===vd)return a.ki;Na("expected object of type SafeUrl, got '"+a+"' of type "+xa(a));return"type_error:SafeUrl"},ud={},xd=function(a){return new vd(a,ud)};xd("about:invalid#zClosurez");xd("about:blank");xd("about:blank");var yd=xd("about:invalid#zClosurez");function zd(a){if("undefined"!==typeof MediaSource&&a instanceof MediaSource)return xd(URL.createObjectURL(a));var b=a.type.match(/^([^;]+)(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i);if(2!==(null==b?void 0:b.length)||!(/^image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif|avif|x-ms-bmp)$/i.test(b[1])||/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])||/^font\/\w+/i.test(b[1])))throw Error("unsafe blob MIME type: "+
|
|
83
|
-
a.type);return xd(URL.createObjectURL(a))}var Ad=[],Bd=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};-1===Ad.indexOf(Bd)&&Ad.push(Bd);var Cd={},Dd=function(){if(Cd!==Cd)throw Error("SafeStyle is not meant to be built directly");this.ql=""};Dd.prototype.toString=function(){return this.ql.toString()};new Dd;var Ed={},Fd=function(){if(Ed!==Ed)throw Error("SafeStyleSheet is not meant to be built directly");this.pl=""};Fd.prototype.toString=function(){return this.pl.toString()};new Fd;var Gd={},Hd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(Gd!==Gd)throw Error("SafeHtml is not meant to be built directly");this.ol=a};Hd.prototype.toString=function(){return this.ol.toString()};new Hd;var Id=function(a,b){this.name=a;this.value=b};Id.prototype.toString=function(){return this.name};var Jd=new Id("OFF",Infinity),Kd=new Id("SEVERE",1E3),Ld=new Id("CONFIG",700),Md=new Id("FINE",500),Nd=function(){this.
|
|
83
|
+
a.type);return xd(URL.createObjectURL(a))}var Ad=[],Bd=function(a){console.warn("A URL with content '"+a+"' was sanitized away.")};-1===Ad.indexOf(Bd)&&Ad.push(Bd);var Cd={},Dd=function(){if(Cd!==Cd)throw Error("SafeStyle is not meant to be built directly");this.ql=""};Dd.prototype.toString=function(){return this.ql.toString()};new Dd;var Ed={},Fd=function(){if(Ed!==Ed)throw Error("SafeStyleSheet is not meant to be built directly");this.pl=""};Fd.prototype.toString=function(){return this.pl.toString()};new Fd;var Gd={},Hd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(Gd!==Gd)throw Error("SafeHtml is not meant to be built directly");this.ol=a};Hd.prototype.toString=function(){return this.ol.toString()};new Hd;var Id=function(a,b){this.name=a;this.value=b};Id.prototype.toString=function(){return this.name};var Jd=new Id("OFF",Infinity),Kd=new Id("SEVERE",1E3),Ld=new Id("CONFIG",700),Md=new Id("FINE",500),Nd=function(){this.Cd=0;this.clear()},Od;Nd.prototype.clear=function(){this.zd=Array(this.Cd);this.kh=-1;this.Kh=!1};var Pd=function(a,b,c){this.reset(a||Jd,b,c,void 0,void 0)};Pd.prototype.reset=function(){};
|
|
84
84
|
var Qd=function(a,b){this.level=null;this.Zk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.gl={wf:function(){return a}}},Rd=function(a){if(a.level)return a.level;if(a.parent)return Rd(a.parent);Na("Root logger has no level set.");return Jd},Sd=function(a,b){for(;a;)a.Zk.forEach(function(c){c(b)}),a=a.parent},Td=function(){this.entries={};var a=new Qd("");a.level=Ld;this.entries[""]=a},Ud,Vd=function(a,b){var c=a.entries[b];if(c)return c;c=Vd(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
85
|
-
0)));var d=new Qd(b,c);a.entries[b]=d;c.children.push(d);return d},Wd=function(){Ud||(Ud=new Td);return Ud},Xd=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Rd(Vd(Wd(),a.wf())):Jd;d=d>=e.value}if(d){b=b||Jd;d=Vd(Wd(),a.wf());"function"===typeof c&&(c=c());Od||(Od=new Nd);e=Od;a=a.wf();if(0<e.
|
|
85
|
+
0)));var d=new Qd(b,c);a.entries[b]=d;c.children.push(d);return d},Wd=function(){Ud||(Ud=new Td);return Ud},Xd=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Rd(Vd(Wd(),a.wf())):Jd;d=d>=e.value}if(d){b=b||Jd;d=Vd(Wd(),a.wf());"function"===typeof c&&(c=c());Od||(Od=new Nd);e=Od;a=a.wf();if(0<e.Cd){var g=(e.kh+1)%e.Cd;e.kh=g;e.Kh?(e=e.zd[g],e.reset(b,c,a),a=e):(e.Kh=g==e.Cd-1,a=e.zd[g]=new Pd(b,c,a))}else a=new Pd(b,c,a);Sd(d,a)}},Yd=function(a,b){a&&Xd(a,Kd,b)},Zd=function(a,b){a&&Xd(a,
|
|
86
86
|
Md,b)};var $d=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},ae=function(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var be=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),ce=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var de=function(a){this.ib=this.hc=this.wb="";this.vc=null;this.Sb=this.Zb="";this.za=this.cl=!1;if(a instanceof de){this.za=a.za;fe(this,a.wb);var b=a.hc;ge(this);this.hc=b;b=a.ib;ge(this);this.ib=b;he(this,a.vc);this.setPath(a.getPath());ie(this,a.Ba.clone());a=a.Sb;ge(this);this.Sb=a}else a&&(b=String(a).match(be))?(this.za=!1,fe(this,b[1]||"",!0),a=b[2]||"",ge(this),this.hc=je(a),a=b[3]||"",ge(this),this.ib=je(a,!0),he(this,b[4]),this.setPath(b[5]||"",!0),ie(this,b[6]||"",!0),a=b[7]||"",ge(this),
|
|
87
87
|
this.Sb=je(a)):(this.za=!1,this.Ba=new ke(null,this.za))};
|
|
88
88
|
de.prototype.toString=function(){var a=[],b=this.wb;b&&a.push(le(b,me,!0),":");var c=this.ib;if(c||"file"==b)a.push("//"),(b=this.hc)&&a.push(le(b,me,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.vc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.ib&&"/"!=c.charAt(0)&&a.push("/"),a.push(le(c,"/"==c.charAt(0)?ne:oe,!0));(c=this.Ba.toString())&&a.push("?",c);(c=this.Sb)&&a.push("#",le(c,pe));return a.join("")};
|
|
@@ -115,14 +115,14 @@ of.prototype.i=function(){return{P:{arguments:pf},keys:"arguments deprecated dep
|
|
|
115
115
|
k.Object.defineProperties(of.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecated")?F(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},ff:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?F(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
116
116
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return G(this,"hidden")?F(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return G(this,"preview")?F(this,"preview"):null},set:function(a){this.h.preview=
|
|
117
117
|
a}},cg:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?F(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return G(this,"sourceCodeUri")?F(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
118
|
-
var pf=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.
|
|
119
|
-
k.Object.defineProperties(pf.prototype,{
|
|
118
|
+
var pf=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.vd?null:a.vd;this.h.type=null==a.type?null:a.type;this.h.description=null==a.description?null:a.description;this.h.optional=null==a.optional?null:a.optional;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue};q(pf,E);pf.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
119
|
+
k.Object.defineProperties(pf.prototype,{vd:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentName")?F(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
|
|
120
120
|
enumerable:!0,get:function(){return G(this,"optional")?F(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});var qf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(qf,E);qf.prototype.i=function(){return{P:{values:rf},keys:["values"]}};
|
|
121
121
|
k.Object.defineProperties(qf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var sf=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.yi?null:a.yi;this.h.auditLogConfigs=null==a.Mg?null:a.Mg};q(sf,E);sf.prototype.i=function(){return{P:{auditLogConfigs:tf},keys:["auditLogConfigs","service"]}};
|
|
122
122
|
k.Object.defineProperties(sf.prototype,{Mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?F(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},yi:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
123
123
|
var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Sh?null:a.Sh;this.h.exemptedMembers=null==a.th?null:a.th;this.h.ignoreChildExemptions=null==a.Hh?null:a.Hh};q(tf,E);tf.prototype.i=function(){return{H:{logType:Be},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
124
124
|
k.Object.defineProperties(tf.prototype,{th:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},Hh:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?F(this,"logType"):null},set:function(a){this.h.logType=
|
|
125
|
-
a}}});var uf=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.
|
|
125
|
+
a}}});var uf=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.bd?null:a.bd};q(uf,E);uf.prototype.i=function(){return{H:{permissionType:Ce},keys:["permissionType"]}};k.Object.defineProperties(uf.prototype,{bd:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
126
126
|
var vf=function(a){a=void 0===a?{}:a;this.h={};this.h.table=null==a.table?null:a.table;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.append=null==a.append?null:a.append};q(vf,E);vf.prototype.i=function(){return{keys:["append","overwrite","table"]}};
|
|
127
127
|
k.Object.defineProperties(vf.prototype,{append:{configurable:!0,enumerable:!0,get:function(){return G(this,"append")?F(this,"append"):null},set:function(a){this.h.append=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},table:{configurable:!0,enumerable:!0,get:function(){return G(this,"table")?F(this,"table"):null},set:function(a){this.h.table=a}}});
|
|
128
128
|
var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.bigqueryDestination=null==a.Re?null:a.Re};q(wf,E);wf.prototype.i=function(){return{keys:["bigqueryDestination"],s:{bigqueryDestination:vf}}};k.Object.defineProperties(wf.prototype,{Re:{configurable:!0,enumerable:!0,get:function(){return G(this,"bigqueryDestination")?F(this,"bigqueryDestination"):null},set:function(a){this.h.bigqueryDestination=a}}});
|
|
@@ -130,9 +130,9 @@ var xf=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.role?null:a.r
|
|
|
130
130
|
k.Object.defineProperties(xf.prototype,{Pg:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindingId")?F(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},ah:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?F(this,"condition"):null},set:function(a){this.h.condition=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return G(this,"members")?F(this,"members"):null},set:function(a){this.h.members=a}},role:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
131
131
|
"role")?F(this,"role"):null},set:function(a){this.h.role=a}}});var zf=function(){this.h={}};q(zf,E);zf.prototype.i=function(){return{keys:[]}};var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Vg?null:a.Vg};q(Af,E);Af.prototype.i=function(){return{H:{capabilities:De},keys:["capabilities"]}};
|
|
132
132
|
k.Object.defineProperties(Af.prototype,{Vg:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?F(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ha?null:a.Ha};q(Bf,E);Bf.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:Cf}}};
|
|
133
|
-
k.Object.defineProperties(Bf.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Rh?null:a.Rh;this.h.authorizationLoggingOptions=null==a.Ng?null:a.Ng;this.h.permissionType=null==a.
|
|
133
|
+
k.Object.defineProperties(Bf.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Rh?null:a.Rh;this.h.authorizationLoggingOptions=null==a.Ng?null:a.Ng;this.h.permissionType=null==a.bd?null:a.bd};q(Df,E);
|
|
134
134
|
Df.prototype.i=function(){return{H:{logName:Ee,permissionType:Fe},keys:["authorizationLoggingOptions","logName","permissionType"],s:{authorizationLoggingOptions:uf}}};
|
|
135
|
-
k.Object.defineProperties(Df.prototype,{Ng:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.h.logName=a}},
|
|
135
|
+
k.Object.defineProperties(Df.prototype,{Ng:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.h.logName=a}},bd:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=
|
|
136
136
|
a}}});var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.Ue?null:a.Ue;this.h.filenamePrefix=null==a.xa?null:a.xa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.Ve?null:a.Ve};q(Ef,E);Ef.prototype.i=function(){return{H:{permissions:Ge},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
137
137
|
k.Object.defineProperties(Ef.prototype,{Ue:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.h.bucket=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},xa:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
138
138
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(Ef,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Ge}}});var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris};q(Ff,E);Ff.prototype.i=function(){return{keys:["uris"]}};
|
|
@@ -149,11 +149,11 @@ var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Qh?null:a.
|
|
|
149
149
|
Of.prototype.i=function(){return{keys:["values"],Ma:{values:{ka:rf,pa:!1,qa:!0,ra:!1}}}};k.Object.defineProperties(Of.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(Pf,E);Pf.prototype.i=function(){return{keys:["max","min"]}};
|
|
150
150
|
k.Object.defineProperties(Pf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.h.min=a}}});var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.tf?null:a.tf;this.h.filenamePrefix=null==a.xa?null:a.xa};q(Qf,E);Qf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
151
151
|
k.Object.defineProperties(Qf.prototype,{xa:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
152
|
-
var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.tilestoreLocation?null:a.tilestoreLocation;this.h.cloudStorageLocation=null==a.cloudStorageLocation?null:a.cloudStorageLocation;this.h.featureViewAssetLocation=null==a.
|
|
152
|
+
var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.tilestoreLocation?null:a.tilestoreLocation;this.h.cloudStorageLocation=null==a.cloudStorageLocation?null:a.cloudStorageLocation;this.h.featureViewAssetLocation=null==a.Id?null:a.Id;this.h.tableLocation=null==a.Ji?null:a.Ji;this.h.type=null==a.type?null:a.type;this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.updateTime?null:a.updateTime;this.h.properties=null==a.properties?null:
|
|
153
153
|
a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.featureCount=null==a.featureCount?null:a.featureCount;this.h.quota=null==a.quota?null:a.quota;this.h.expression=null==a.l?null:a.l;this.h.tilesets=null==a.tilesets?null:a.tilesets};q(Rf,E);
|
|
154
154
|
Rf.prototype.i=function(){return{P:{bands:Sf,tilesets:Tf},H:{type:Le},keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilesets tilestoreLocation type updateTime".split(" "),Ma:{geometry:{ka:null,pa:!1,qa:!1,ra:!1},properties:{ka:null,pa:!1,qa:!1,ra:!1}},s:{cloudStorageLocation:Ff,expression:Hf,featureViewAssetLocation:Uf,quota:Vf,tableLocation:Wf,tilestoreLocation:Xf}}};
|
|
155
155
|
k.Object.defineProperties(Rf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.h.bands=a}},cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageLocation")?F(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,
|
|
156
|
-
enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},featureCount:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureCount")?F(this,"featureCount"):null},set:function(a){this.h.featureCount=a}},
|
|
156
|
+
enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},featureCount:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureCount")?F(this,"featureCount"):null},set:function(a){this.h.featureCount=a}},Id:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewAssetLocation")?F(this,"featureViewAssetLocation"):null},set:function(a){this.h.featureViewAssetLocation=a}},geometry:{configurable:!0,enumerable:!0,
|
|
157
157
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,
|
|
158
158
|
enumerable:!0,get:function(){return G(this,"quota")?F(this,"quota"):null},set:function(a){this.h.quota=a}},sizeBytes:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},Ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"tableLocation")?F(this,"tableLocation"):
|
|
159
159
|
null},set:function(a){this.h.tableLocation=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},tilestoreLocation:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreLocation")?F(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}},updateTime:{configurable:!0,
|
|
@@ -177,11 +177,11 @@ fg.prototype.i=function(){return{keys:"description expression maxWorkers priorit
|
|
|
177
177
|
k.Object.defineProperties(fg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},priority:{configurable:!0,
|
|
178
178
|
enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ec:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?
|
|
179
179
|
F(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
180
|
-
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.oa?null:a.oa;this.h.assetExportOptions=null==a.sa?null:a.sa;this.h.featureViewExportOptions=null==a.
|
|
180
|
+
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.oa?null:a.oa;this.h.assetExportOptions=null==a.sa?null:a.sa;this.h.featureViewExportOptions=null==a.Jd?null:a.Jd;this.h.bigqueryExportOptions=null==a.xd?null:a.xd;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.selectors=null==a.selectors?null:a.selectors;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxErrorMeters=null==a.Vb?null:a.Vb;this.h.maxWorkers=
|
|
181
181
|
null==a.O?null:a.O;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag;this.h.policy=null==a.kb?null:a.kb;this.h.priority=null==a.priority?null:a.priority};q(hg,E);
|
|
182
182
|
hg.prototype.i=function(){return{keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy priority requestId selectors workloadTag".split(" "),s:{assetExportOptions:ig,bigqueryExportOptions:wf,expression:Hf,featureViewExportOptions:jg,fileExportOptions:kg,policy:lg}}};
|
|
183
|
-
k.Object.defineProperties(hg.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},
|
|
184
|
-
a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
183
|
+
k.Object.defineProperties(hg.prototype,{sa:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},xd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bigqueryExportOptions")?F(this,"bigqueryExportOptions"):null},set:function(a){this.h.bigqueryExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=
|
|
184
|
+
a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},Jd:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewExportOptions")?F(this,"featureViewExportOptions"):null},set:function(a){this.h.featureViewExportOptions=a}},oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Vb:{configurable:!0,
|
|
185
185
|
enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?
|
|
186
186
|
F(this,"policy"):null},set:function(a){this.h.policy=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):null},set:function(a){this.h.selectors=a}},workloadTag:{configurable:!0,
|
|
187
187
|
enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
@@ -234,20 +234,20 @@ var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=nul
|
|
|
234
234
|
cg.prototype.i=function(){return{H:{pyramidingPolicy:Se,pyramidingPolicyOverrides:Te},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Ma:{pyramidingPolicyOverrides:{ka:null,pa:!1,qa:!1,ra:!1}},s:{earthEngineDestination:Cf}}};
|
|
235
235
|
k.Object.defineProperties(cg.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?F(this,"pyramidingPolicyOverrides"):
|
|
236
236
|
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileSize")?F(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
|
|
237
|
-
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.dataType=null==a.dataType?null:a.dataType;this.h.grid=null==a.grid?null:a.grid;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData;this.h.tilesetId=null==a.nb?null:a.nb;this.h.tilesetBandIndex=null==a.
|
|
237
|
+
var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.dataType=null==a.dataType?null:a.dataType;this.h.grid=null==a.grid?null:a.grid;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData;this.h.tilesetId=null==a.nb?null:a.nb;this.h.tilesetBandIndex=null==a.ld?null:a.ld};q(Sf,E);
|
|
238
238
|
Sf.prototype.i=function(){return{P:{tilesets:Ig},H:{pyramidingPolicy:Ue},keys:"dataType grid id missingData pyramidingPolicy tilesetBandIndex tilesetId tilesets".split(" "),s:{dataType:Jg,grid:eg,missingData:Kg}}};
|
|
239
239
|
k.Object.defineProperties(Sf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.h.dataType=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
240
|
-
F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},
|
|
241
|
-
set:function(a){this.h.tilesetId=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ma?null:a.ma;this.h.cloudStorageDestination=null==a.ja?null:a.ja;this.h.geoTiffOptions=null==a.
|
|
240
|
+
F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},ld:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},
|
|
241
|
+
set:function(a){this.h.tilesetId=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ma?null:a.ma;this.h.cloudStorageDestination=null==a.ja?null:a.ja;this.h.geoTiffOptions=null==a.Kd?null:a.Kd;this.h.tfRecordOptions=null==a.me?null:a.me;this.h.fileFormat=null==a.F?null:a.F};q(dg,E);
|
|
242
242
|
dg.prototype.i=function(){return{H:{fileFormat:Ve},keys:["cloudStorageDestination","driveDestination","fileFormat","geoTiffOptions","tfRecordOptions"],s:{cloudStorageDestination:Ef,driveDestination:Qf,geoTiffOptions:Cg,tfRecordOptions:Lg}}};
|
|
243
243
|
k.Object.defineProperties(dg.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
244
|
-
a}},
|
|
245
|
-
var Mg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.
|
|
244
|
+
a}},Kd:{configurable:!0,enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},me:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
245
|
+
var Mg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.od?null:a.od;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Mf?null:a.Mf;this.h.footprint=null==a.Bh?null:a.Bh;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.startTime=null==a.startTime?
|
|
246
246
|
null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.minTileAreaRatio=null==a.Xh?null:a.Xh;this.h.skipMetadataRead=null==a.Bi?null:a.Bi};q(Mg,E);Mg.prototype.i=function(){return{P:{bands:Ng,maskBands:Og,tilesets:Tf},H:{pyramidingPolicy:We},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),Ma:{properties:{ka:null,pa:!1,qa:!1,ra:!1}},s:{footprint:Pg,missingData:Kg}}};
|
|
247
247
|
k.Object.defineProperties(Mg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},Bh:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.h.footprint=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
248
248
|
"maskBands")?F(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Xh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minTileAreaRatio")?F(this,"minTileAreaRatio"):null},set:function(a){this.h.minTileAreaRatio=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.h.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=
|
|
249
249
|
a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Bi:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipMetadataRead")?F(this,"skipMetadataRead"):null},set:function(a){this.h.skipMetadataRead=a}},startTime:{configurable:!0,
|
|
250
|
-
enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},
|
|
250
|
+
enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},od:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
251
251
|
var Qg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.affineTransform=null==a.Lb?null:a.Lb;this.h.dimensions=null==a.dimensions?null:a.dimensions};q(Qg,E);Qg.prototype.i=function(){return{keys:["affineTransform","dimensions","uris"],s:{affineTransform:nf,dimensions:Eg}}};
|
|
252
252
|
k.Object.defineProperties(Qg.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
253
253
|
var Rg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.Bf?null:a.Bf;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId;this.h.mode=null==a.mode?null:a.mode};q(Rg,E);Rg.prototype.i=function(){return{H:{mode:Xe},keys:["description","imageManifest","mode","overwrite","requestId"],s:{imageManifest:Mg}}};
|
|
@@ -271,8 +271,8 @@ var Yg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.n
|
|
|
271
271
|
k.Object.defineProperties(Yg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return G(this,"done")?F(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return G(this,"error")?F(this,"error"):null},set:function(a){this.h.error=a}},metadata:{configurable:!0,enumerable:!0,get:function(){return G(this,"metadata")?F(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
272
272
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return G(this,"response")?F(this,"response"):null},set:function(a){this.h.response=a}}});
|
|
273
273
|
var bh=function(a){a=void 0===a?{}:a;this.h={};this.h.state=null==a.state?null:a.state;this.h.description=null==a.description?null:a.description;this.h.type=null==a.type?null:a.type;this.h.priority=null==a.priority?null:a.priority;this.h.createTime=null==a.df?null:a.df;this.h.updateTime=null==a.updateTime?null:a.updateTime;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.progress=null==a.progress?null:a.progress;this.h.stages=null==a.Di?null:
|
|
274
|
-
a.Di;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.fg?null:a.fg;this.h.destinationUris=null==a.gf?null:a.gf;this.h.notifications=null==a.bi?null:a.bi;this.h.batchEecuUsageSeconds=null==a.
|
|
275
|
-
k.Object.defineProperties(bh.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return G(this,"attempt")?F(this,"attempt"):null},set:function(a){this.h.attempt=a}},
|
|
274
|
+
a.Di;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.fg?null:a.fg;this.h.destinationUris=null==a.gf?null:a.gf;this.h.notifications=null==a.bi?null:a.bi;this.h.batchEecuUsageSeconds=null==a.wd?null:a.wd};q(bh,E);bh.prototype.i=function(){return{P:{notifications:ch,stages:dh},H:{state:Ye},keys:"attempt batchEecuUsageSeconds createTime description destinationUris endTime notifications priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
275
|
+
k.Object.defineProperties(bh.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return G(this,"attempt")?F(this,"attempt"):null},set:function(a){this.h.attempt=a}},wd:{configurable:!0,enumerable:!0,get:function(){return G(this,"batchEecuUsageSeconds")?F(this,"batchEecuUsageSeconds"):null},set:function(a){this.h.batchEecuUsageSeconds=a}},df:{configurable:!0,enumerable:!0,get:function(){return G(this,"createTime")?F(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,
|
|
276
276
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},gf:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationUris")?F(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.h.endTime=a}},bi:{configurable:!0,enumerable:!0,get:function(){return G(this,"notifications")?F(this,
|
|
277
277
|
"notifications"):null},set:function(a){this.h.notifications=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return G(this,"progress")?F(this,"progress"):null},set:function(a){this.h.progress=a}},fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},Di:{configurable:!0,
|
|
278
278
|
enumerable:!0,get:function(){return G(this,"stages")?F(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return G(this,"state")?F(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=
|
|
@@ -280,14 +280,14 @@ a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"upda
|
|
|
280
280
|
k.Object.defineProperties(ch.prototype,{detail:{configurable:!0,enumerable:!0,get:function(){return G(this,"detail")?F(this,"detail"):null},set:function(a){this.h.detail=a}},severity:{configurable:!0,enumerable:!0,get:function(){return G(this,"severity")?F(this,"severity"):null},set:function(a){this.h.severity=a}},Oi:{configurable:!0,enumerable:!0,get:function(){return G(this,"topic")?F(this,"topic"):null},set:function(a){this.h.topic=a}}});
|
|
281
281
|
var dh=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Zg?null:a.Zg;this.h.totalWorkUnits=null==a.Pi?null:a.Pi;this.h.description=null==a.description?null:a.description};q(dh,E);dh.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
282
282
|
k.Object.defineProperties(dh.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"completeWorkUnits")?F(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return G(this,"displayName")?F(this,"displayName"):null},set:function(a){this.h.displayName=
|
|
283
|
-
a}},Pi:{configurable:!0,enumerable:!0,get:function(){return G(this,"totalWorkUnits")?F(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var Jg=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.
|
|
284
|
-
k.Object.defineProperties(Jg.prototype,{qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensionsCount")?F(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?F(this,"precision"):null},set:function(a){this.h.precision=a}},
|
|
283
|
+
a}},Pi:{configurable:!0,enumerable:!0,get:function(){return G(this,"totalWorkUnits")?F(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var Jg=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.ed?null:a.ed;this.h.dimensionsCount=null==a.qh?null:a.qh};q(Jg,E);Jg.prototype.i=function(){return{H:{precision:$e},keys:["dimensionsCount","precision","range"],s:{range:Pf}}};
|
|
284
|
+
k.Object.defineProperties(Jg.prototype,{qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensionsCount")?F(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?F(this,"precision"):null},set:function(a){this.h.precision=a}},ed:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
285
285
|
var Pg=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Og?null:a.Og};q(Pg,E);Pg.prototype.i=function(){return{P:{points:Hg},keys:["bandId","points"]}};
|
|
286
286
|
k.Object.defineProperties(Pg.prototype,{Og:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandId")?F(this,"bandId"):null},set:function(a){this.h.bandId=a}},points:{configurable:!0,enumerable:!0,get:function(){return G(this,"points")?F(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
287
287
|
var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.ef?null:a.ef;this.h.crsWkt=null==a.gh?null:a.gh;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Lb?null:a.Lb};q(eg,E);eg.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:nf,dimensions:Eg}}};
|
|
288
288
|
k.Object.defineProperties(eg.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsWkt")?F(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
289
|
-
get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.
|
|
290
|
-
k.Object.defineProperties(lg.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},
|
|
289
|
+
get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.yd?null:a.yd;this.h.auditConfigs=null==a.Lg?null:a.Lg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.kf?null:a.kf};q(lg,E);lg.prototype.i=function(){return{P:{auditConfigs:sf,bindings:xf,rules:eh},keys:["auditConfigs","bindings","etag","rules","version"]}};
|
|
290
|
+
k.Object.defineProperties(lg.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},yd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.h.bindings=a}},kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"etag")?F(this,"etag"):null},set:function(a){this.h.etag=a}},rules:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
291
291
|
"rules")?F(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.h.version=a}}});var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.prerenderTiles=null==a.ii?null:a.ii;this.h.tileLimiting=null==a.Ki?null:a.Ki};q(vg,E);vg.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],s:{tileLimiting:fh}}};
|
|
292
292
|
k.Object.defineProperties(vg.prototype,{ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderTiles")?F(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileLimiting")?F(this,"tileLimiting"):null},set:function(a){this.h.tileLimiting=a}}});var gh=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};q(gh,E);gh.prototype.i=function(){return{keys:["attributeName"]}};
|
|
293
293
|
k.Object.defineProperties(gh.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return G(this,"attributeName")?F(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});var hh=function(){this.h={}};q(hh,E);hh.prototype.i=function(){return{keys:[]}};var ih=function(){this.h={}};q(ih,E);ih.prototype.i=function(){return{keys:[]}};var jh=function(){this.h={}};q(jh,E);jh.prototype.i=function(){return{keys:[]}};
|
|
@@ -312,19 +312,19 @@ k.Object.defineProperties(nh.prototype,{l:{configurable:!0,enumerable:!0,get:fun
|
|
|
312
312
|
k.Object.defineProperties(ig.prototype,{Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.ma?null:a.ma;this.h.cloudStorageDestination=null==a.ja?null:a.ja;this.h.fileFormat=null==a.F?null:a.F};q(kg,E);
|
|
313
313
|
kg.prototype.i=function(){return{H:{fileFormat:cf},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:Ef,driveDestination:Qf}}};
|
|
314
314
|
k.Object.defineProperties(kg.prototype,{ja:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
315
|
-
a}}});var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.paths=null==a.paths?null:a.paths;this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.shardCount=null==a.Ai?null:a.Ai;this.h.primaryGeometryColumn=null==a.
|
|
316
|
-
k.Object.defineProperties(Wf.prototype,{paths:{configurable:!0,enumerable:!0,get:function(){return G(this,"paths")?F(this,"paths"):null},set:function(a){this.h.paths=a}},
|
|
315
|
+
a}}});var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.paths=null==a.paths?null:a.paths;this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.shardCount=null==a.Ai?null:a.Ai;this.h.primaryGeometryColumn=null==a.cd?null:a.cd};q(Wf,E);Wf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
|
|
316
|
+
k.Object.defineProperties(Wf.prototype,{paths:{configurable:!0,enumerable:!0,get:function(){return G(this,"paths")?F(this,"paths"):null},set:function(a){this.h.paths=a}},cd:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},Ai:{configurable:!0,enumerable:!0,get:function(){return G(this,"shardCount")?F(this,"shardCount"):null},set:function(a){this.h.shardCount=a}},sizeBytes:{configurable:!0,
|
|
317
317
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});
|
|
318
|
-
var Tg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.
|
|
318
|
+
var Tg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.od?null:a.od;this.h.sources=null==a.sources?null:a.sources;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.csvColumnDataTypeOverrides=null==a.hh?null:a.hh;this.h.policy=null==a.kb?null:a.kb;this.h.columnDataTypeOverrides=null==a.Yg?null:a.Yg};q(Tg,E);
|
|
319
319
|
Tg.prototype.i=function(){return{P:{sources:oh},H:{columnDataTypeOverrides:ef,csvColumnDataTypeOverrides:ff},keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime name policy properties sources startTime uriPrefix".split(" "),Ma:{columnDataTypeOverrides:{ka:null,pa:!1,qa:!1,ra:!1},csvColumnDataTypeOverrides:{ka:null,pa:!1,qa:!1,ra:!1},properties:{ka:null,pa:!1,qa:!1,ra:!1}},s:{policy:lg}}};
|
|
320
320
|
k.Object.defineProperties(Tg.prototype,{Yg:{configurable:!0,enumerable:!0,get:function(){return G(this,"columnDataTypeOverrides")?F(this,"columnDataTypeOverrides"):null},set:function(a){this.h.columnDataTypeOverrides=a}},hh:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvColumnDataTypeOverrides")?F(this,"csvColumnDataTypeOverrides"):null},set:function(a){this.h.csvColumnDataTypeOverrides=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):
|
|
321
321
|
null},set:function(a){this.h.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?F(this,"policy"):null},set:function(a){this.h.policy=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
322
|
-
"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},
|
|
323
|
-
var oh=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.charset=null==a.charset?null:a.charset;this.h.maxErrorMeters=null==a.Vb?null:a.Vb;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.crs=null==a.crs?null:a.crs;this.h.geodesic=null==a.geodesic?null:a.geodesic;this.h.primaryGeometryColumn=null==a.
|
|
322
|
+
"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.h.startTime=a}},od:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
323
|
+
var oh=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.charset=null==a.charset?null:a.charset;this.h.maxErrorMeters=null==a.Vb?null:a.Vb;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.crs=null==a.crs?null:a.crs;this.h.geodesic=null==a.geodesic?null:a.geodesic;this.h.primaryGeometryColumn=null==a.cd?null:a.cd;this.h.xColumn=null==a.Si?null:a.Si;this.h.yColumn=null==a.Ti?null:a.Ti;this.h.dateFormat=null==a.nh?null:a.nh;this.h.csvDelimiter=null==
|
|
324
324
|
a.ih?null:a.ih;this.h.csvQualifier=null==a.jh?null:a.jh};q(oh,E);oh.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
325
325
|
k.Object.defineProperties(oh.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return G(this,"charset")?F(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.h.crs=a}},ih:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},jh:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
326
326
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dateFormat")?F(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return G(this,"geodesic")?F(this,"geodesic"):null},set:function(a){this.h.geodesic=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=
|
|
327
|
-
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},
|
|
327
|
+
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},cd:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}},Si:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
328
328
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Ti:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
329
329
|
var Lg=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.cc?null:a.cc;this.h.marginDimensions=null==a.Lf?null:a.Lf;this.h.compress=null==a.Ze?null:a.Ze;this.h.maxSizeBytes=null==a.Wb?null:a.Wb;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.le?null:a.le;this.h.sequenceData=null==a.gg?null:a.gg;this.h.collapseBands=null==a.Xe?null:a.Xe;this.h.maxMaskedRatio=null==a.Pf?null:a.Pf};q(Lg,E);
|
|
330
330
|
Lg.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),Ma:{tensorDepths:{ka:null,pa:!1,qa:!1,ra:!1}},s:{marginDimensions:Eg,tileDimensions:Eg}}};
|
|
@@ -348,8 +348,8 @@ a}},Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")
|
|
|
348
348
|
Tf.prototype.i=function(){return{P:{sources:Qg},H:{dataType:kf},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
349
349
|
k.Object.defineProperties(Tf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?
|
|
350
350
|
F(this,"sources"):null},set:function(a){this.h.sources=a}},Fi:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Gi:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
351
|
-
var Ng=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.nb?null:a.nb;this.h.tilesetBandIndex=null==a.
|
|
352
|
-
k.Object.defineProperties(Ng.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},
|
|
351
|
+
var Ng=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.nb?null:a.nb;this.h.tilesetBandIndex=null==a.ld?null:a.ld;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(Ng,E);Ng.prototype.i=function(){return{H:{pyramidingPolicy:jf},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:Kg}}};
|
|
352
|
+
k.Object.defineProperties(Ng.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},ld:{configurable:!0,
|
|
353
353
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var Og=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.nb?null:a.nb;this.h.bandIds=null==a.da?null:a.da};q(Og,E);Og.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
354
354
|
k.Object.defineProperties(Og.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(Xf,E);
|
|
355
355
|
Xf.prototype.i=function(){return{P:{sources:rh},keys:["pathPrefix","sources"]}};k.Object.defineProperties(Xf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?F(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(this,"sources"):null},set:function(a){this.h.sources=a}}});
|
|
@@ -370,17 +370,17 @@ a}}});var og=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null
|
|
|
370
370
|
k.Object.defineProperties(og.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return G(this,"framesPerSecond")?F(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFrames")?F(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixelsPerFrame")?F(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
|
|
371
371
|
a}}});var th=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.videoOptions=null==a.Pa?null:a.Pa;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};q(th,E);th.prototype.i=function(){return{H:{fileFormat:mf},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:Hf,grid:eg,videoOptions:og}}};
|
|
372
372
|
k.Object.defineProperties(th.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
373
|
-
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Wf?null:a.Wf;this.h.paletteColors=null==a.
|
|
373
|
+
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Wf?null:a.Wf;this.h.paletteColors=null==a.Zc?null:a.Zc;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(Zf,E);
|
|
374
374
|
Zf.prototype.i=function(){return{P:{ranges:Pf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
375
|
-
k.Object.defineProperties(Zf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return G(this,"gamma")?F(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?F(this,"opacity"):null},set:function(a){this.h.opacity=a}},
|
|
375
|
+
k.Object.defineProperties(Zf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return G(this,"gamma")?F(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?F(this,"opacity"):null},set:function(a){this.h.opacity=a}},Zc:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?F(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
376
376
|
"ranges")?F(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var qh=function(a){a=void 0===a?{}:a;this.h={};this.h.start=null==a.start?null:a.start;this.h.end=null==a.end?null:a.end};q(qh,E);qh.prototype.i=function(){return{keys:["end","start"]}};
|
|
377
377
|
k.Object.defineProperties(qh.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return G(this,"end")?F(this,"end"):null},set:function(a){this.h.end=a}},start:{configurable:!0,enumerable:!0,get:function(){return G(this,"start")?F(this,"start"):null},set:function(a){this.h.start=a}}});
|
|
378
378
|
var we={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",parent:"parent",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",updateMask:"updateMask",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view",workloadTag:"workloadTag"},uh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
379
379
|
uh.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:H(b,c),G:Ug})};var vh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
380
|
-
vh.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:H(b,c),G:Af})};vh.prototype.
|
|
380
|
+
vh.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:H(b,c),G:Af})};vh.prototype.Uc=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:H(b,c),G:Vg})};
|
|
381
381
|
var wh=function(a){this.m="v1";this.j=new ze(a,null)};h=wh.prototype;h.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:H(c,d),G:Rf})};
|
|
382
382
|
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:H(b,c),G:$f})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:H(b,c),G:Rf})};
|
|
383
|
-
h.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:H(c,d),G:Rf})};h.
|
|
383
|
+
h.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:H(c,d),G:Rf})};h.Uc=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:H(b,c),G:Vg})};
|
|
384
384
|
h.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",u:H(c,d),G:Rf})};var xh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
385
385
|
xh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",u:H(c,d),G:Yg})};var yh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
386
386
|
yh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.featureView.create",path:"/"+this.m+"/"+a+"/featureView",u:H(c,d),G:rg})};var zh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
@@ -397,28 +397,28 @@ Gh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j
|
|
|
397
397
|
var Hh=function(a){this.m="v1";this.j=new ze(a,null)},Ih=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return I(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",u:H(d,e),G:If})},Jh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
398
398
|
Jh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",u:H(c,d),G:Yg})};var Kh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
399
399
|
Kh.prototype.Ka=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",u:H(c,d),G:Yg})};var Lh=function(a){this.m="v1";this.j=new ze(a,null)};
|
|
400
|
-
Lh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:H(c,d),G:th})};var Mh=function(){};Mh.prototype.send=function(a,b){ve(a);return(void 0).then(function(c){return b?Wc(b,c):c})};var Nh=function(a,b){this.dl=100;this.Sk=a;this.tl=b;this.Yd=0;this.
|
|
400
|
+
Lh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",u:H(c,d),G:th})};var Mh=function(){};Mh.prototype.send=function(a,b){ve(a);return(void 0).then(function(c){return b?Wc(b,c):c})};var Nh=function(a,b){this.dl=100;this.Sk=a;this.tl=b;this.Yd=0;this.Qd=null};Nh.prototype.get=function(){if(0<this.Yd){this.Yd--;var a=this.Qd;this.Qd=a.next;a.next=null}else a=this.Sk();return a};Nh.prototype.put=function(a){this.tl(a);this.Yd<this.dl&&(this.Yd++,a.next=this.Qd,this.Qd=a)};function Oh(a){var b=ta.apply(1,arguments);if(!Array.isArray(a)||!Array.isArray(a.raw)||a.length!==a.raw.length||!sd&&a===a.raw||!(sd&&!td||qd(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 ##############################");
|
|
401
401
|
if(0===b.length)return hd(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.");
|
|
402
402
|
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||1<c.length&&"/"!==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("about:blank"!==c&&!/^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.");
|
|
403
403
|
c=a[0];for(d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return hd(c)};var Qh=function(a,b){if(!t(a)||!t(a)||!t(a)||1!==a.nodeType||a.namespaceURI&&"http://www.w3.org/1999/xhtml"!==a.namespaceURI||a.tagName.toUpperCase()!=="SCRIPT".toString()){var c="SCRIPT".toString()+"; got: ";if(t(a))try{var d=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(e){d="<object could not be stringified>"}else d=void 0===a?"undefined":null===a?"null":typeof a;Na("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView||
|
|
404
404
|
r).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Ph.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=gd(b)},Ph=/^[\w+/_-]+[=]{0,2}$/;var Sh=function(a,b){Fb(b,function(c,d){"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Rh.hasOwnProperty(d)?a.setAttribute(Rh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Rh={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"},Uh=function(a,
|
|
405
405
|
b,c){return Th(document,arguments)},Th=function(a,b){var c=b[1],d=Vh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):Sh(d,c));2<b.length&&Wh(a,d,b,2);return d},Wh=function(a,b,c,d){function e(l){l&&b.appendChild("string"===typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!ya(g)||t(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(t(g)){var f="function"==typeof g.item||"string"==typeof g.item;break a}if("function"===typeof g){f=
|
|
406
|
-
"function"==typeof g.item;break a}}f=!1}Ua(f?cb(g):g,e)}}},Vh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Xh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Yh=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Zh=function(a){this.
|
|
407
|
-
h.Rk=function(a,b,c){return Th(this.
|
|
406
|
+
"function"==typeof g.item;break a}}f=!1}Ua(f?cb(g):g,e)}}},Vh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Xh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Yh=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Zh=function(a){this.Ed=a||r.document||document};h=Zh.prototype;h.getElementsByTagName=function(a,b){return(b||this.Ed).getElementsByTagName(String(a))};
|
|
407
|
+
h.Rk=function(a,b,c){return Th(this.Ed,arguments)};h.createElement=function(a){return Vh(this.Ed,a)};h.createTextNode=function(a){return this.Ed.createTextNode(String(a))};h.appendChild=function(a,b){B(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};h.append=function(a,b){Wh(Yh(a),a,arguments,1)};h.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
|
|
408
408
|
h.removeNode=Xh;h.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var $h,ai=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!sb("Presto")&&(a=function(){var e=Vh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var f="callImmediate"+Math.random(),l="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=u(function(m){if(("*"==l||m.origin==l)&&m.data==f)this.port1.onmessage()},
|
|
409
409
|
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,l)}}});if("undefined"!==typeof a&&!tb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Wg;c.Wg=null;e()}};return function(e){d.next={Wg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function bi(a){r.setTimeout(function(){throw a;},0)};var ci=function(){this.ve=this.jc=null};ci.prototype.add=function(a,b){var c=di.get();c.set(a,b);this.ve?this.ve.next=c:(B(!this.jc),this.jc=c);this.ve=c};ci.prototype.remove=function(){var a=null;this.jc&&(a=this.jc,this.jc=this.jc.next,this.jc||(this.ve=null),a.next=null);return a};var di=new Nh(function(){return new ei},function(a){return a.reset()}),ei=function(){this.next=this.scope=this.sf=null};ei.prototype.set=function(a,b){this.sf=a;this.scope=b;this.next=null};
|
|
410
410
|
ei.prototype.reset=function(){this.next=this.scope=this.sf=null};var fi=r.console&&r.console.createTask?r.console.createTask.bind(r.console):void 0,gi=fi?Symbol("consoleTask"):void 0;
|
|
411
411
|
function hi(a,b){function c(){var l=ta.apply(0,arguments),m=this;return f.run(function(){return a.call.apply(a,[m].concat(ka(l)))})}b=void 0===b?"anonymous":b;if(gi&&a[gi])return a;var d=a,e,g=null==(e=ii)?void 0:e();a=function(){var l=ta.apply(0,arguments),m,p=null==(m=ii)?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,
|
|
412
412
|
[this].concat(ka(l)))};if(!fi)return a;var f=fi(a.name||b);c[Ma(gi)]=f;return c}var ii;var ji,ki=!1,li=new ci,ni=function(a,b){ji||mi();ki||(ji(),ki=!0);a=hi(a,"goog.async.run");li.add(a,b)},mi=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);ji=function(){a.then(oi)}}else ji=function(){var b=oi;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&(jb&&qb&&0<qb.brands.length||!sb("Edge"))&&r.Window.prototype.setImmediate==r.setImmediate?($h||($h=ai()),$h(b)):r.setImmediate(b)}},oi=function(){for(var a;a=li.remove();){try{a.sf.call(a.scope)}catch(b){bi(b)}di.put(a)}ki=
|
|
413
|
-
!1};var pi=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var si=function(a){this.T=0;this.ia=void 0;this.mc=this.gb=this.X=null;this.
|
|
413
|
+
!1};var pi=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var si=function(a){this.T=0;this.ia=void 0;this.mc=this.gb=this.X=null;this.Nd=this.lf=!1;if(a!=pc)try{var b=this;a.call(void 0,function(c){qi(b,2,c)},function(c){if(!(c instanceof ri))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}qi(b,3,c)})}catch(c){qi(this,3,c)}},ti=function(){this.next=this.context=this.tc=this.Yb=this.Ob=null;this.td=!1};ti.prototype.reset=function(){this.context=this.tc=this.Yb=this.Ob=null;this.td=!1};
|
|
414
414
|
var ui=new Nh(function(){return new ti},function(a){a.reset()}),vi=function(a,b,c){var d=ui.get();d.Yb=a;d.tc=b;d.context=c;return d};si.prototype.then=function(a,b,c){null!=a&&Qa(a,"opt_onFulfilled should be a function.");null!=b&&Qa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return wi(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};si.prototype.$goog_Thenable=!0;
|
|
415
415
|
si.prototype.Cl=function(a,b){return wi(this,null,a,b)};si.prototype.catch=si.prototype.Cl;si.prototype.cancel=function(a){if(0==this.T){var b=new ri(a);ni(function(){xi(this,b)},this)}};
|
|
416
|
-
var xi=function(a,b){if(0==a.T)if(a.X){var c=a.X;if(c.gb){for(var d=0,e=null,g=null,f=c.gb;f&&(f.
|
|
416
|
+
var xi=function(a,b){if(0==a.T)if(a.X){var c=a.X;if(c.gb){for(var d=0,e=null,g=null,f=c.gb;f&&(f.td||(d++,f.Ob==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.T&&1==d?xi(c,b):(g?(d=g,B(c.gb),B(null!=d),d.next==c.mc&&(c.mc=d),d.next=d.next.next):yi(c),zi(c,e,3,b)))}a.X=null}else qi(a,3,b)},Bi=function(a,b){a.gb||2!=a.T&&3!=a.T||Ai(a);B(null!=b.Yb);a.mc?a.mc.next=b:a.gb=b;a.mc=b},wi=function(a,b,c,d){b&&(b=hi(b,"goog.Promise.then"));c&&(c=hi(c,"goog.Promise.then"));var e=vi(null,null,null);e.Ob=new si(function(g,
|
|
417
417
|
f){e.Yb=b?function(l){try{var m=b.call(d,l);g(m)}catch(p){f(p)}}:g;e.tc=c?function(l){try{var m=c.call(d,l);void 0===m&&l instanceof ri?f(l):g(m)}catch(p){f(p)}}:f});e.Ob.X=a;Bi(a,e);return e.Ob};si.prototype.El=function(a){B(1==this.T);this.T=0;qi(this,2,a)};si.prototype.Fl=function(a){B(1==this.T);this.T=0;qi(this,3,a)};
|
|
418
418
|
var qi=function(a,b,c){if(0==a.T){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.El,g=a.Fl;if(d instanceof si){null!=e&&Qa(e,"opt_onFulfilled should be a function.");null!=g&&Qa(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Bi(d,vi(e||pc,g||null,a));var f=!0}else if(pi(d))d.then(e,g,a),f=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){Ci(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);
|
|
419
419
|
f=!0;break a}f=!1}}f||(a.ia=c,a.T=b,a.X=null,Ai(a),3!=b||c instanceof ri||Di(a,c))}},Ci=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)}},Ai=function(a){a.lf||(a.lf=!0,ni(a.Vk,a))},yi=function(a){var b=null;a.gb&&(b=a.gb,a.gb=b.next,b.next=null);a.gb||(a.mc=null);null!=b&&B(null!=b.Yb);return b};si.prototype.Vk=function(){for(var a;a=yi(this);)zi(this,a,this.T,this.ia);this.lf=!1};
|
|
420
|
-
var zi=function(a,b,c,d){if(3==c&&b.tc&&!b.
|
|
421
|
-
var Ii=function(a){a.fc=Gi(function(){a.fc=null;a.yc&&!a.
|
|
420
|
+
var zi=function(a,b,c,d){if(3==c&&b.tc&&!b.td)for(;a&&a.Nd;a=a.X)a.Nd=!1;if(b.Ob)b.Ob.X=null,Ei(b,c,d);else try{b.td?b.Yb.call(b.context):Ei(b,c,d)}catch(e){Fi.call(null,e)}ui.put(b)},Ei=function(a,b,c){2==b?a.Yb.call(a.context,c):a.tc&&a.tc.call(a.context,c)},Di=function(a,b){a.Nd=!0;ni(function(){a.Nd&&Fi.call(null,b)})},Fi=bi,ri=function(a){Ia.call(this,a)};x(ri,Ia);ri.prototype.name="cancel";var Gi=function(a,b,c){if("function"===typeof a)c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Hi=function(a,b,c){y.call(this);this.el=null!=c?a.bind(c):a;this.bl=b;this.ud=null;this.yc=!1;this.ad=0;this.fc=null};q(Hi,y);h=Hi.prototype;h.qf=function(a){this.ud=arguments;this.fc||this.ad?this.yc=!0:Ii(this)};h.stop=function(){this.fc&&(r.clearTimeout(this.fc),this.fc=null,this.yc=!1,this.ud=null)};h.pause=function(){this.ad++};h.resume=function(){this.ad--;this.ad||!this.yc||this.fc||(this.yc=!1,Ii(this))};h.J=function(){y.prototype.J.call(this);this.stop()};
|
|
421
|
+
var Ii=function(a){a.fc=Gi(function(){a.fc=null;a.yc&&!a.ad&&(a.yc=!1,Ii(a))},a.bl);var b=a.ud;a.ud=null;a.el.apply(null,b)};function Ji(){};/*
|
|
422
422
|
|
|
423
423
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
424
424
|
Copyright The Closure Library Authors.
|
|
@@ -428,59 +428,59 @@ var Ki=function(a,b){this.he=[];this.ci=a;this.oh=b||null;this.Pc=this.pc=!1;thi
|
|
|
428
428
|
var Ni=function(a,b,c){a.pc=!0;a.ia=c;a.Pc=!b;Oi(a)},Qi=function(a){if(a.pc){if(!a.kg)throw new Pi(a);a.kg=!1}};Ki.prototype.callback=function(a){Qi(this);Ri(a);Ni(this,!0,a)};var Li=function(a,b){Qi(a);Ri(b);Ni(a,!1,b)},Ri=function(a){B(!(a instanceof Ki),"An execution sequence may not be initiated with a blocking Deferred.")},Ui=function(a){var b=Si();Ti(b,a,null)},Ti=function(a,b,c,d){B(!a.Qg,"Blocking Deferreds can not be re-used");a.he.push([b,c,d]);a.pc&&Oi(a)};
|
|
429
429
|
Ki.prototype.then=function(a,b,c){var d,e,g=new si(function(f,l){e=f;d=l});Ti(this,e,function(f){f instanceof Mi?g.cancel():d(f);return Vi},this);return g.then(a,b,c)};Ki.prototype.$goog_Thenable=!0;
|
|
430
430
|
var Wi=function(a){return Xa(a.he,function(b){return"function"===typeof b[1]})},Vi={},Oi=function(a){if(a.re&&a.pc&&Wi(a)){var b=a.re,c=Xi[b];c&&(r.clearTimeout(c.fa),delete Xi[b]);a.re=0}a.X&&(a.X.Te--,delete a.X);b=a.ia;for(var d=c=!1;a.he.length&&!a.Se;){var e=a.he.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Pc?f:g)try{var l=g.call(e||a.oh,b);l===Vi&&(l=void 0);void 0!==l&&(a.Pc=a.Pc&&(l==b||l instanceof Error),a.ia=b=l);if(pi(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Se=!0}catch(m){b=
|
|
431
|
-
m,a.Pc=!0,Wi(a)||(c=!0)}}a.ia=b;d&&(l=u(a.bh,a,!0),d=u(a.bh,a,!1),b instanceof Ki?(Ti(b,l,d),b.Qg=!0):b.then(l,d));c&&(b=new Yi(b),Xi[b.fa]=b,a.re=b.fa)},Pi=function(){Ia.call(this)};x(Pi,Ia);Pi.prototype.message="Deferred has already fired";Pi.prototype.name="AlreadyCalledError";var Mi=function(){Ia.call(this)};x(Mi,Ia);Mi.prototype.message="Deferred was canceled";Mi.prototype.name="CanceledError";var Yi=function(a){this.fa=r.setTimeout(u(this.Dl,this),0);this.
|
|
432
|
-
Yi.prototype.Dl=function(){B(Xi[this.fa],"Cannot throw an error that is not scheduled.");delete Xi[this.fa];throw this.
|
|
433
|
-
d))};g=b.attributes||{};Ub(g,{type:"text/javascript",charset:"UTF-8"});Sh(e,g);Qh(e,a);cj(c).appendChild(e);return f},cj=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},$i=function(){if(this&&this.xi){var a=this.xi;a&&"SCRIPT"==a.tagName&&aj(a,!0,this.
|
|
431
|
+
m,a.Pc=!0,Wi(a)||(c=!0)}}a.ia=b;d&&(l=u(a.bh,a,!0),d=u(a.bh,a,!1),b instanceof Ki?(Ti(b,l,d),b.Qg=!0):b.then(l,d));c&&(b=new Yi(b),Xi[b.fa]=b,a.re=b.fa)},Pi=function(){Ia.call(this)};x(Pi,Ia);Pi.prototype.message="Deferred has already fired";Pi.prototype.name="AlreadyCalledError";var Mi=function(){Ia.call(this)};x(Mi,Ia);Mi.prototype.message="Deferred was canceled";Mi.prototype.name="CanceledError";var Yi=function(a){this.fa=r.setTimeout(u(this.Dl,this),0);this.Hd=a};
|
|
432
|
+
Yi.prototype.Dl=function(){B(Xi[this.fa],"Cannot throw an error that is not scheduled.");delete Xi[this.fa];throw this.Hd;};var Xi={};var Si=function(){var a=Oh(Zi),b={},c=b.document||document,d=gd(a).toString(),e=(new Zh(c)).createElement("SCRIPT"),g={xi:e,md:void 0},f=new Ki($i,g),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){aj(e,!0);Li(f,new bj(1,"Timeout reached for loading script "+d))},m),g.md=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(aj(e,b.Ml||!1,l),f.callback(null))};e.onerror=function(){aj(e,!0,l);Li(f,new bj(0,"Error while loading script "+
|
|
433
|
+
d))};g=b.attributes||{};Ub(g,{type:"text/javascript",charset:"UTF-8"});Sh(e,g);Qh(e,a);cj(c).appendChild(e);return f},cj=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},$i=function(){if(this&&this.xi){var a=this.xi;a&&"SCRIPT"==a.tagName&&aj(a,!0,this.md)}},aj=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Xh(a)},0)},bj=function(a,
|
|
434
434
|
b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Ia.call(this,c);this.code=a};x(bj,Ia);var dj=function(){this.fe=void 0};dj.prototype.va=function(a){var b=[];ej(this,a,b);return b.join("")};
|
|
435
435
|
var ej=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],ej(a,a.fe?a.fe.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),fj(d,c),c.push(":"),ej(a,a.fe?a.fe.call(b,d,e):e,c),g=","));c.push("}");
|
|
436
436
|
return}}switch(typeof b){case "string":fj(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);}}},gj={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},hj=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,fj=function(a,b){b.push('"',a.replace(hj,function(c){var d=gj[c];
|
|
437
|
-
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),gj[c]=d);return d}),'"')};var ij=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var jj=function(){};jj.prototype.Ug=null;var lj=function(a){var b;(b=a.Ug)||(b={},kj(a)&&(b[0]=!0,b[1]=!0),b=a.Ug=b);return b};var mj,nj=function(){};x(nj,jj);var oj=function(a){return(a=kj(a))?new ActiveXObject(a):new XMLHttpRequest},kj=function(a){if(!a.Gh&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Gh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Gh};mj=new nj;var pj=function(a){D.call(this);this.headers=new Map;this.xe=a||null;this.Ea=!1;this.we=this.o=null;this.Tc=this.Oh=this.
|
|
438
|
-
pj.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.
|
|
439
|
-
this.Cf=!0,this.o.open(b,String(a),!0),this.Cf=!1}catch(f){Zd(this.ba,tj(this,"Error opening Xhr: "+f.message));this.
|
|
437
|
+
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),gj[c]=d);return d}),'"')};var ij=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var jj=function(){};jj.prototype.Ug=null;var lj=function(a){var b;(b=a.Ug)||(b={},kj(a)&&(b[0]=!0,b[1]=!0),b=a.Ug=b);return b};var mj,nj=function(){};x(nj,jj);var oj=function(a){return(a=kj(a))?new ActiveXObject(a):new XMLHttpRequest},kj=function(a){if(!a.Gh&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.Gh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Gh};mj=new nj;var pj=function(a){D.call(this);this.headers=new Map;this.xe=a||null;this.Ea=!1;this.we=this.o=null;this.Tc=this.Oh=this.Ud="";this.Ub=this.Cf=this.Sd=this.jf=!1;this.zc=0;this.ne=null;this.xc="";this.te=this.rl=this.Ri=!1;this.Qe=this.Bg=null};x(pj,D);pj.prototype.ba=Vd(Wd(),"goog.net.XhrIo").gl;var qj=/^https?$/i,rj=["POST","PUT"],sj=[];pj.prototype.Qk=function(){this.Ra();ab(sj,this)};pj.prototype.setTrustToken=function(a){this.Bg=a};pj.prototype.setAttributionReporting=function(a){this.Qe=a};
|
|
438
|
+
pj.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Ud+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Ud=a;this.Tc="";this.Oh=b;this.jf=!1;this.Ea=!0;this.o=this.xe?oj(this.xe):oj(mj);this.we=this.xe?lj(this.xe):lj(mj);this.o.onreadystatechange=u(this.fi,this);this.rl&&"onprogress"in this.o&&(this.o.onprogress=u(function(f){this.ei(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=u(this.ei,this)));try{Zd(this.ba,tj(this,"Opening Xhr")),
|
|
439
|
+
this.Cf=!0,this.o.open(b,String(a),!0),this.Cf=!1}catch(f){Zd(this.ba,tj(this,"Error opening Xhr: "+f.message));this.Hd(5,f);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=n(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(f){return"content-type"==
|
|
440
440
|
f.toLowerCase()});e=r.FormData&&a instanceof r.FormData;!$a(rj,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=n(c);for(d=b.next();!d.done;d=b.next())c=n(d.value),d=c.next().value,c=c.next().value,this.o.setRequestHeader(d,c);this.xc&&(this.o.responseType=this.xc);"withCredentials"in this.o&&this.o.withCredentials!==this.Ri&&(this.o.withCredentials=this.Ri);if("setTrustToken"in this.o&&this.Bg)try{this.o.setTrustToken(this.Bg)}catch(f){Zd(this.ba,tj(this,"Error SetTrustToken: "+
|
|
441
|
-
f.message))}if("setAttributionReporting"in this.o&&this.Qe)try{this.o.setAttributionReporting(this.Qe)}catch(f){Zd(this.ba,tj(this,"Error SetAttributionReporting: "+f.message))}try{uj(this),0<this.zc&&(this.te=vj(this.o),Zd(this.ba,tj(this,"Will abort after "+this.zc+"ms if incomplete, xhr2 "+this.te)),this.te?(this.o.timeout=this.zc,this.o.ontimeout=u(this.
|
|
442
|
-
"Send error: "+f.message)),this.
|
|
443
|
-
pj.prototype.abort=function(){this.o&&this.Ea&&(Zd(this.ba,tj(this,"Aborting")),this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),xj(this))};pj.prototype.J=function(){this.o&&(this.Ea&&(this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1),xj(this,!0));pj.L.J.call(this)};pj.prototype.fi=function(){this.Sa||(this.Cf||this.
|
|
444
|
-
var yj=function(a){if(a.Ea&&"undefined"!=typeof wa)if(a.we[1]&&4==a.ub()&&2==a.getStatus())Zd(a.ba,tj(a,"Local request error detected and ignored"));else if(a.
|
|
441
|
+
f.message))}if("setAttributionReporting"in this.o&&this.Qe)try{this.o.setAttributionReporting(this.Qe)}catch(f){Zd(this.ba,tj(this,"Error SetAttributionReporting: "+f.message))}try{uj(this),0<this.zc&&(this.te=vj(this.o),Zd(this.ba,tj(this,"Will abort after "+this.zc+"ms if incomplete, xhr2 "+this.te)),this.te?(this.o.timeout=this.zc,this.o.ontimeout=u(this.md,this)):this.ne=Gi(this.md,this.zc,this)),Zd(this.ba,tj(this,"Sending request")),this.Sd=!0,this.o.send(a),this.Sd=!1}catch(f){Zd(this.ba,tj(this,
|
|
442
|
+
"Send error: "+f.message)),this.Hd(5,f)}};var vj=function(a){return vb&&"number"===typeof a.timeout&&void 0!==a.ontimeout};pj.prototype.md=function(){"undefined"!=typeof wa&&this.o&&(this.Tc="Timed out after "+this.zc+"ms, aborting",Zd(this.ba,tj(this,this.Tc)),this.dispatchEvent("timeout"),this.abort(8))};pj.prototype.Hd=function(a,b){this.Ea=!1;this.o&&(this.Ub=!0,this.o.abort(),this.Ub=!1);this.Tc=b;wj(this);xj(this)};var wj=function(a){a.jf||(a.jf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
443
|
+
pj.prototype.abort=function(){this.o&&this.Ea&&(Zd(this.ba,tj(this,"Aborting")),this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),xj(this))};pj.prototype.J=function(){this.o&&(this.Ea&&(this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1),xj(this,!0));pj.L.J.call(this)};pj.prototype.fi=function(){this.Sa||(this.Cf||this.Sd||this.Ub?yj(this):this.nl())};pj.prototype.nl=function(){yj(this)};
|
|
444
|
+
var yj=function(a){if(a.Ea&&"undefined"!=typeof wa)if(a.we[1]&&4==a.ub()&&2==a.getStatus())Zd(a.ba,tj(a,"Local request error detected and ignored"));else if(a.Sd&&4==a.ub())Gi(a.fi,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ub()){Zd(a.ba,tj(a,"Request complete"));a.Ea=!1;try{var b=a.getStatus(),c;if(!(c=ij(b))){var d;if(d=0===b){var e=String(a.Ud).match(be)[1]||null;!e&&r.self&&r.self.location&&(e=r.self.location.protocol.slice(0,-1));d=!qj.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
445
445
|
a.dispatchEvent("success");else{try{var g=2<a.ub()?a.o.statusText:""}catch(f){Zd(a.ba,"Can not get status: "+f.message),g=""}a.Tc=g+" ["+a.getStatus()+"]";wj(a)}}finally{xj(a)}}};pj.prototype.ei=function(a,b){B("progress"===a.type,"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
446
|
var Aj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},xj=function(a,b){if(a.o){uj(a);var c=a.o,d=a.we[0]?function(){}:null;a.o=null;a.we=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Yd(a.ba,"Problem encountered resetting onreadystatechange: "+e.message)}}},uj=function(a){a.o&&a.te&&(a.o.ontimeout=null);a.ne&&(r.clearTimeout(a.ne),a.ne=null)};pj.prototype.isActive=function(){return!!this.o};
|
|
447
447
|
pj.prototype.ub=function(){return this.o?this.o.readyState:0};pj.prototype.getStatus=function(){try{return 2<this.ub()?this.o.status:-1}catch(a){return-1}};
|
|
448
448
|
var Bj=function(a){try{if(!a.o)return null;if("response"in a.o)return a.o.response;switch(a.xc){case "":case "text":return a.o.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.o)return a.o.mozResponseArrayBuffer}Yd(a.ba,"Response type "+a.xc+" is not supported on this browser");return null}catch(b){return Zd(a.ba,"Can not get response: "+b.message),null}};pj.prototype.getResponseHeader=function(a){if(this.o&&4==this.ub())return a=this.o.getResponseHeader(a),null===a?void 0:a};
|
|
449
|
-
pj.prototype.getAllResponseHeaders=function(){return this.o&&2<=this.ub()?this.o.getAllResponseHeaders()||"":""};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=ae(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return Hb(b,function(f){return f.join(", ")})},tj=function(a,b){return b+" ["+a.Oh+" "+a.
|
|
449
|
+
pj.prototype.getAllResponseHeaders=function(){return this.o&&2<=this.ub()?this.o.getAllResponseHeaders()||"":""};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=ae(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return Hb(b,function(f){return f.join(", ")})},tj=function(a,b){return b+" ["+a.Oh+" "+a.Ud+" "+a.getStatus()+"]"};var Zi=ia(["https://accounts.google.com/gsi/client"]),Dj,K=function(a,b){Ej();this.callback=a;this.M=new Fj(!a,b)};K.prototype.qd=function(a){this.M.Rb=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.Fc=function(){return new uh(this.M)};
|
|
450
450
|
h.assets=function(){return new wh(this.M)};h.Na=function(){return new Dh(this.M)};h.value=function(){return new Hh(this.M)};h.maps=function(){return new Ch(this.M)};h.map=function(){return new Bh(this.M)};h.image=function(){return new Ah(this.M)};h.table=function(){return new Eh(this.M)};h.video=function(){return new Jh(this.M)};var Fj=function(a,b){this.sync=a=void 0===a?!1:a;this.Rb=void 0;this.ui=null!=b?b:a?5:10};q(Fj,Mh);
|
|
451
451
|
Fj.prototype.send=function(a,b){var c=this;ve(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.ui,this.Rb);d=b?Wc(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,A){A?p(A):m(v)},a.B,f,c.ui,c.Rb)})).then(function(m){return b?Wc(b,m):m})};var Lj=function(a){K.call(this,a);this.M=new Kj;this.Rb=void 0};q(Lj,K);
|
|
452
|
-
Lj.prototype.
|
|
452
|
+
Lj.prototype.qd=function(a){this.Rb=a;return this};
|
|
453
453
|
Lj.prototype.send=function(a,b){var c=this,d=Hj()+"/batch",e=a.map(function(f){var l=n(f);f=l.next().value;l=n(l.next().value);var m=l.next().value;l.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+f+">\r\n\r\n"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",g=function(f){var l={};a.forEach(function(m){var p=n(m);m=p.next().value;p=n(p.next().value);p.next();p=p.next().value;null!=f[m]&&(l[m]=
|
|
454
454
|
Wc(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.Rb),null):g(Jj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Rb))};var Kj=function(){};q(Kj,Mh);
|
|
455
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=Mj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
456
456
|
var Nj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},Hj=function(){var a=Oj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Qj=function(a,b,c){var d=[];a&&(d=d.concat(Pj));
|
|
457
457
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=t(g)?"o"+Ca(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Wj=function(a,b,c){Rj&&Sj&&Rj({client_id:String(Sj),scope:Tj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Uj(function(){try{Vj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Vj(a,
|
|
458
|
-
b,d)})},Mj=function(){Xj&&0<=Date.now()-Xj&&Yj();return Zj},Yj=function(){Xj=Zj=null},Ej=function(a,b,c,d){null!=a?Oj=a:ak||(Oj="https://earthengine.googleapis.com/api");null!=b?bk=b:ak||(bk="https://earthengine.googleapis.com");void 0!==c&&(ck=c);Dj=null!=d?d:Dj||"earthengine-legacy";ak=!0},Jj=function(a,b,c,d,e,g,f){Ej();var l=dk,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.
|
|
458
|
+
b,d)})},Mj=function(){Xj&&0<=Date.now()-Xj&&Yj();return Zj},Yj=function(){Xj=Zj=null},Ej=function(a,b,c,d){null!=a?Oj=a:ak||(Oj="https://earthengine.googleapis.com/api");null!=b?bk=b:ak||(bk="https://earthengine.googleapis.com");void 0!==c&&(ck=c);Dj=null!=d?d:Dj||"earthengine-legacy";ak=!0},Jj=function(a,b,c,d,e,g,f){Ej();var l=dk,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.396";"0.1.396"===
|
|
459
459
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=Mj();if(null!=p)m.Authorization=p;else if(c&&Rj&&Sj)return Wj(function(){ek(l,function(){Jj(a,b,c,d)})}),null;b=b?b.clone():new ke;null!=fk&&b.add("key",fk);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Dj&&"earthengine-legacy"!==Dj&&(m["X-Goog-User-Project"]=Dj);b=gk(b,a);null!=ck&&(m["X-XSRF-Token"]=ck);null!=hk&&(m["X-Earth-Engine-App-ID-Token"]=hk);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=-1!=
|
|
460
460
|
a.indexOf("?")?"&":"?",a+=v);e=a.startsWith("/")?Oj+a:a;if(c)return ik.push(jk(e,c,d,p,m,g,f)),kk.qf(),null;v=function(J,fa){this.setRequestHeader&&this.setRequestHeader(fa,J)};var A=0;for(g=null!=g?g:5;;){var C=oj(mj);C.open(d,e,!1);Fb(m,v,C);C.send(p);if(429!=C.status||A>g)break;A++}return lk(C.status,function(J){try{return C.getResponseHeader(J)}catch(fa){return null}},C.responseText,l,void 0,e,d,f)},jk=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=dk,v=null!=g?g:10;
|
|
461
461
|
m.callback=function(A){A=A.target;if(429==A.getStatus()&&l<v)return l++,setTimeout(function(){ik.push(m);kk.qf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=lk,J=A.getStatus(),fa=u(A.getResponseHeader,A);try{var X=A.o?A.o.responseText:""}catch(ea){Zd(A.ba,"Can not get responseText: "+ea.message),X=""}return C(J,fa,X,p,b,a,c,f)};return m},ek=function(a,b){var c=dk;try{dk=a,b.call(void 0)}finally{dk=c}},lk=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
462
|
function(X){try{var ea=JSON.parse(X);return!(t(ea)&&"error"in ea&&"message"in ea.error)||l&&l(ea)?{parsed:ea}:ea.error.message}catch(Jb){return"Invalid JSON: "+X}},v=function(X){if(0===X)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>X||300<=X)return"Server returned HTTP code: "+X+" for "+f+" "+g},A,C;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)c=p(c),c.parsed?
|
|
463
463
|
C=c.parsed:A=c;else if("multipart/mixed"===d){C={};var J=[];Nj(b,c,function(X,ea,Jb){Jb=p(Jb);Jb.parsed&&(C[X]=Jb.parsed);(ea=(Jb.parsed?"":Jb)||v(ea))&&J.push(X+": "+ea)});J.length&&(A=J.join("\n"))}else var fa="Response was unexpectedly not JSON, but "+d;A=A||v(a)||fa;if(e)return e(C,A),null;if(!A)return C;throw Error(A);},Uj=function(a){var b=function(){Rj||(Rj=function(c,d){r.google.accounts.oauth2.initTokenClient({client_id:c.client_id,callback:d,scope:c.scope}).requestAccessToken()});a()};t(r.default_gsi)?
|
|
464
464
|
b():Ui(b)},Vj=function(a,b,c){if(c.access_token){b=c.token_type+" "+c.access_token;if(c.expires_in||0===c.expires_in){c=900*c.expires_in;var d=setTimeout(Wj,.9*c);void 0!==d.unref&&d.unref();Xj=Date.now()+c}Zj=b;a&&a()}else b&&b(c.error||"Unknown error.")},Ij=function(a){var b=new ke;a=n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=n(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},ik=[],kk=new Hi(function(){var a=ik.shift();if(a){var b=a.url,c=a.callback,d=a.method,
|
|
465
|
-
e=a.content;a=a.headers;var g=mk,f=new pj;sj.push(f);c&&f.Xa("complete",c);f.
|
|
465
|
+
e=a.content;a=a.headers;var g=mk,f=new pj;sj.push(f);c&&f.Xa("complete",c);f.Wc("ready",f.Qk);g&&(f.zc=Math.max(0,g));f.send(b,d,e,a)}0==ik.length||kk.qf()},350),Oj=null,bk=null,ck=null,hk=null,gk=qc,Zj=null,Xj=null,Sj=null,Tj=[],Rj=null,Pj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],fk=null,ak=!1,mk=0,dk=null;w("ee.api.ListAssetsResponse",Vg);w("ee.api.EarthEngineAsset",Rf);w("ee.api.Operation",Yg);w("ee.api.ListFeaturesResponse",Wg);
|
|
466
466
|
w("ee.api.FeatureViewLocation",Uf);var nk=function(){};nk.prototype.Eh=function(){return null};var ok=function(){};w("ee.Encodable.SourceFrame",ok);
|
|
467
467
|
var pk=function(a){if(void 0===a||null===a)a=Rc;return new rf({hb:a})},qk=function(a){return new rf({Oa:a})},rk=function(a){return new rf({Fa:new qf({values:a})})},sk=function(a){return new rf({Ga:new Of({values:a})})},tk=function(a,b){return new rf({ya:new Bg({functionName:a,arguments:b})})},uk=function(a,b){return new rf({ya:new Bg({Va:a,arguments:b})})},vk=function(a,b){return new rf({Ua:new Ag({lc:a,body:b})})},wk=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
|
|
468
468
|
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}},xk=function(a){if(!a)return"CSV";a=a.toUpperCase();
|
|
469
|
-
switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},yk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},zk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Ck=function(a){var b=new Zf,c=!1;"palette"in a&&(c=a.palette,b.
|
|
470
|
-
typeof c?c.split(","):c,c=!0);var d=[];if("gain"in a||"bias"in a){if("min"in a||"max"in a)throw Error("Gain and bias can't be specified with min and max");var e=b.
|
|
471
|
-
b:null},Bk=function(a){return a?a.split(",").map(Number):[]},Ak=function(a,b,c){var d=Bk(a[b]),e=Bk(a[c]);if(0===d.length)return e.map(function(g){var f={};return f[b]=0,f[c]=g,f});if(0===e.length)return d.map(function(g){var f={};return f[b]=g,f[c]=1,f});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(g,f){var l={};return l[b]=g,l[c]=e[f],l})},Dk=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.
|
|
472
|
-
(l.name=f.
|
|
469
|
+
switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},yk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},zk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Ck=function(a){var b=new Zf,c=!1;"palette"in a&&(c=a.palette,b.Zc="string"===
|
|
470
|
+
typeof c?c.split(","):c,c=!0);var d=[];if("gain"in a||"bias"in a){if("min"in a||"max"in a)throw Error("Gain and bias can't be specified with min and max");var e=b.Zc?b.Zc.length-1:255;d=Ak(a,"bias","gain").map(function(g){var f=-g.bias/g.gain;return{min:f,max:e/g.gain+f}})}else if("min"in a||"max"in a)d=Ak(a,"min","max");0!==d.length&&(b.Wf=d.map(function(g){return new Pf(g)}),c=!0);a=Bk(a.gamma);if(1<a.length)throw Error("Only one gamma value is supported");1===a.length&&(b.gamma=a[0],c=!0);return c?
|
|
471
|
+
b:null},Bk=function(a){return a?a.split(",").map(Number):[]},Ak=function(a,b,c){var d=Bk(a[b]),e=Bk(a[c]);if(0===d.length)return e.map(function(g){var f={};return f[b]=0,f[c]=g,f});if(0===e.length)return d.map(function(g){var f={};return f[b]=g,f[c]=1,f});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(g,f){var l={};return l[b]=g,l[c]=e[f],l})},Dk=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.vd&&
|
|
472
|
+
(l.name=f.vd);void 0!==f.defaultValue&&(l["default"]=f.defaultValue);null!=f.optional&&(l.optional=f.optional);return l},c=function(f){var l={};l.args=(f.arguments||[]).map(b);l.description=f.description||"";l.returns=f.cg||"";null!=f.hidden&&(l.hidden=f.hidden);f.preview&&(l.preview=f.preview);f.deprecated&&(l.deprecated=f.ff);f.sourceCodeUri&&(l.sourceCodeUri=f.sourceCodeUri);return l},d={};a=n(a.Fc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=e.name.replace(/^algorithms\//,"");d[g]=
|
|
473
473
|
c(e)}return d},Ek=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Fk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Gk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Hk=function(a){return(a=Ek.exec(a))?a[1]:"earthengine-legacy"},Ik=function(a){return Fk.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
474
474
|
a},Kk=function(a){return(a.assets||[]).map(Jk)},Lk=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";case "CLASSIFIER":return"Classifier";case "FEATURE_VIEW":return"FeatureView";default:return"Unknown"}},Jk=function(a){var b=Mk(Lk(a.type),a.name),c=Object.assign({},a.properties||{});a.sizeBytes&&(c["system:asset_size"]=Number(a.sizeBytes));a.startTime&&(c["system:time_start"]=
|
|
475
475
|
Date.parse(a.startTime));a.endTime&&(c["system:time_end"]=Date.parse(a.endTime));a.geometry&&(c["system:footprint"]=a.geometry);"string"===typeof a.title?c["system:title"]=a.title:"string"===typeof c.title&&(c["system:title"]=c.title);"string"===typeof a.description?c["system:description"]=a.description:"string"===typeof c.description&&(c["system:description"]=c.description);a.updateTime&&(b.version=1E3*Date.parse(a.updateTime));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,
|
|
476
|
-
crs:d.grid.ef,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Lb){var g=d.grid.Lb;e.crs_transform=[g.dg||0,g.ig||0,g.zg||0,g.jg||0,g.eg||0,g.Ag||0]}null!=d.grid.dimensions&&(e.dimensions=[d.grid.dimensions.width,d.grid.dimensions.height])}d.dataType&&(g={type:"PixelType"},g.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.
|
|
476
|
+
crs:d.grid.ef,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Lb){var g=d.grid.Lb;e.crs_transform=[g.dg||0,g.ig||0,g.zg||0,g.jg||0,g.eg||0,g.Ag||0]}null!=d.grid.dimensions&&(e.dimensions=[d.grid.dimensions.width,d.grid.dimensions.height])}d.dataType&&(g={type:"PixelType"},g.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.ed&&(g.min=d.dataType.ed.min||0,g.max=d.dataType.ed.max),e.data_type=g);return e}));a.Id&&(b.mapLocation=a.Id);a.featureCount&&(b.featureCount=a.featureCount);
|
|
477
477
|
return b},Nk=function(a){var b=new Rf,c=function(g){return null===g?Rc:void 0},d=Object.assign({},a),e;a=function(g){e=d[g];delete d[g];return e};void 0!==a("system:asset_size")&&(b.sizeBytes=c(e)||String(e));void 0!==a("system:time_start")&&(b.startTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:time_end")&&(b.endTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:footprint")&&(b.geometry=c(e)||e);a("system:title");"string"!==typeof e&&null!==e||null!=d.title||(d.title=
|
|
478
478
|
c(e)||e);a("system:description");"string"!==typeof e&&null!==e||null!=d.description||(d.description=c(e)||e);Object.entries(d).forEach(function(g){var f=n(g);g=f.next().value;f=f.next().value;d[g]=c(f)||f});b.properties=d;return b},Mk=function(a,b){var c={};c.type=a;null!=b&&(a=b.split("/"),b="projects"===a[0]&&"assets"===a[2]&&["earthengine-legacy","earthengine-public"].includes(a[1])?a.slice(3).join("/"):b,c.id=b);return c},Qk=function(a){var b={};a.num&&(b.pageSize=a.num);a.starttime&&(b.startTime=
|
|
479
479
|
(new Date(a.starttime)).toISOString());a.endtime&&(b.endTime=(new Date(a.endtime)).toISOString());a.bbox&&(b.region=Ok(a.bbox));a.region&&(b.region=a.region);a.bbox&&a.region&&console.warn("Multiple request parameters converted to region");var c="id num starttime endtime bbox region".split(" ");a=n(Object.keys(a).filter(function(e){return!c.includes(e)}));for(var d=a.next();!d.done;d=a.next())console.warn("Unrecognized key "+d.value+" ignored");return Pk(b)},Ok=function(a){return'{"type":"Polygon","coordinates":[[['+
|
|
480
|
-
[[0,1],[2,1],[2,3],[0,3],[0,1]].map(function(b){return a[b[0]]+","+a[b[1]]}).join("],[")+"]]]}"},Rk=function(a){var b={};(a.
|
|
481
|
-
e.length&&(d.all_users_can_read=!0);return d},Sk=function(a){var b=function(d){return(a[d]||[]).map(function(e){if(e.includes(":"))return e;var g="user:";e.includes("@")?a.groups&&a.groups.has(e)?g="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(g="serviceAccount:"):g="domain:";return g+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{role:"roles/owner",Xb:b("owners")},{role:"roles/viewer",Xb:b("readers").concat(c)},{role:"roles/editor",Xb:b("writers")}].map(function(d){return new xf(d)});return new lg({
|
|
480
|
+
[[0,1],[2,1],[2,3],[0,3],[0,1]].map(function(b){return a[b[0]]+","+a[b[1]]}).join("],[")+"]]]}"},Rk=function(a){var b={};(a.yd||[]).forEach(function(g){b[g.role]=g.Xb});var c=new Set,d=function(g){var f=g.replace(/^domain:|^group:|^serviceAccount:|^user:/,"");g.startsWith("group:")&&c.add(f);return f};a=b["roles/viewer"]||[];var e=a.filter(function(g){return"allUsers"!==g});d={owners:(b["roles/owner"]||[]).map(d),writers:(b["roles/editor"]||[]).map(d),readers:e.map(d)};0<c.size&&(d.groups=c);a.length!=
|
|
481
|
+
e.length&&(d.all_users_can_read=!0);return d},Sk=function(a){var b=function(d){return(a[d]||[]).map(function(e){if(e.includes(":"))return e;var g="user:";e.includes("@")?a.groups&&a.groups.has(e)?g="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(g="serviceAccount:"):g="domain:";return g+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{role:"roles/owner",Xb:b("owners")},{role:"roles/viewer",Xb:b("readers").concat(c)},{role:"roles/editor",Xb:b("writers")}].map(function(d){return new xf(d)});return new lg({yd:b.filter(function(d){return d.Xb.length}),
|
|
482
482
|
kf:null})},Uk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Tk(a)},Tk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Vk=function(a){var b={},c=function(g,f){null!=f&&(b[g]=Date.parse(f))},d=function(g){switch(g){case "PENDING":return"READY";case "RUNNING":return"RUNNING";case "CANCELLING":return"CANCEL_REQUESTED";case "SUCCEEDED":return"COMPLETED";case "CANCELLED":return"CANCELLED";case "FAILED":return"FAILED";
|
|
483
|
-
default:return"UNKNOWN"}},e=Wc(bh,a.metadata||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.df);c("update_timestamp_ms",e.updateTime);c("start_timestamp_ms",e.startTime);b.attempt=e.attempt;a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=Tk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.gf;b.source_url=e.fg;null!=e.
|
|
483
|
+
default:return"UNKNOWN"}},e=Wc(bh,a.metadata||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.df);c("update_timestamp_ms",e.updateTime);c("start_timestamp_ms",e.startTime);b.attempt=e.attempt;a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=Tk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.gf;b.source_url=e.fg;null!=e.wd&&(b.batch_eecu_usage_seconds=e.wd);return b},Wk=function(a){var b=
|
|
484
484
|
{started:"OK"};a.name&&(b.taskId=Tk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Xk=function(a){return a.primaryPath?[a.primaryPath].concat(ka(a.additionalPaths||[])):null},$k=function(a){var b=function(g){var f=Wc(Qg,g);f.uris=Xk(g);return f},c=Wc(Mg,a);c.name=Ik(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Wc(Tf,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Wc(Ng,g);f.missingData=Yk(g.missingData);return f});c.missingData=
|
|
485
485
|
Yk(a.missingData);c.Mf=gb((a.tilesets||[]).map(Zk));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(g){e=d[g];delete d[g];return e};a("system:time_start")&&(c.startTime=(new Date(Number(e))).toISOString());a("system:time_end")&&(c.endTime=(new Date(Number(e))).toISOString());c.properties=d}return c},Zk=function(a){var b=[];if(!Array.isArray(a.fileBands))return b;var c=function(d){var e=[];null!=d&&Array.isArray(d.bandId)&&(e=d.bandId.map(function(g){return g||
|
|
486
486
|
""}));return new Og({nb:a.id||"",da:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},al=function(a){var b=Wc(Tg,a);b.name=Ik(a.id);b.sources=(a.sources||[]).map(function(e){var g=Wc(oh,e);g.uris=Xk(e);e.maxError&&(g.Vb=e.maxError);return g});if(a.properties){var c=Object.assign({},a.properties),d;a=function(e){d=c[e];delete c[e];return d};a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&
|
|
@@ -498,24 +498,24 @@ f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c
|
|
|
498
498
|
4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[3]+2399980690&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[10]+4293915773&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[1]+2240044497&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[8]+1873313359&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[15]+4264355552&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[6]+2734768916&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[13]+1309151649&
|
|
499
499
|
4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.W[0]=a.W[0]+b&4294967295;a.W[1]=a.W[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.W[2]=a.W[2]+e&4294967295;a.W[3]=a.W[3]+g&4294967295};
|
|
500
500
|
dl.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Nk,e=this.Gc,g=0;g<b;){if(0==e)for(;g<=c;)el(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){el(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){el(this,d);e=0;break}}this.Gc=e;this.qe+=b};
|
|
501
|
-
dl.prototype.digest=function(){var a=Array((56>this.Gc?this.blockSize:2*this.blockSize)-this.Gc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.qe;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.W[b]>>>d&255;return a};var fl=function(a){this.
|
|
502
|
-
var ll=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):gl.va(a)},il=function(a,b){b=a.
|
|
503
|
-
fl.prototype.
|
|
504
|
-
Wa(a,function(e){return this.
|
|
501
|
+
dl.prototype.digest=function(){var a=Array((56>this.Gc?this.blockSize:2*this.blockSize)-this.Gc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.qe;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.W[b]>>>d&255;return a};var fl=function(a){this.rd="__ee_hash__";this.Td=!1!==a;this.Ya=[];this.wa={};this.Dg=[];this.Pd=new WeakMap;this.ng=new WeakMap;this.Qi=void 0};w("ee.Serializer",fl);var gl=new dj,hl=new dl,jl=function(a,b){return il(new fl(void 0!==b?b:!0),a)};w("ee.Serializer.encode",jl);var kl=function(a){return gl.va(jl(a))};w("ee.Serializer.toJSON",kl);var ml=function(a){return ll(jl(a,!1))};w("ee.Serializer.toReadableJSON",ml);
|
|
502
|
+
var ll=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):gl.va(a)},il=function(a,b){b=a.Gd(b);a.Td&&(b=t(b)&&"ValueRef"==b.type&&1==a.Ya.length?a.Ya[0][1]:{type:"CompoundValue",scope:a.Ya,value:b},a.Ya=[],Ua(a.Dg,u(function(c){delete c[this.rd]},a)),a.Dg=[],a.wa={});return b};
|
|
503
|
+
fl.prototype.Gd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.rd]:null;if(this.Td&&null!=b&&this.wa[b])return{type:"ValueRef",value:this.wa[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(za(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof nk){var c=a.encode(u(this.Gd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
504
|
+
Wa(a,function(e){return this.Gd(e)},this);else if(t(a)&&"function"!==typeof a)c=Hb(a,function(e){if("function"!==typeof e)return this.Gd(e)},this),Qb(c,this.rd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Td){b=nl(c);if(this.wa[b])var d=this.wa[b];else d=String(this.Ya.length),this.Ya.push([d,c]),this.wa[b]=d;a[this.rd]=b;this.Dg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
505
505
|
var nl=function(a){hl.reset();hl.update(gl.va(a));return hl.digest().toString()},pl=function(a){return Xc(ol(a),Tc,Uc,Vc)};w("ee.Serializer.encodeCloudApi",pl);
|
|
506
506
|
var ol=function(a,b){return ql(new fl(!0),a,b)},ql=function(a,b,c){a.Qi=c;return rl(a,b)},sl=function(a,b){var c={};b=b.values;for(var d in b){var e=a.ng.get(b[d]);c[d]=Object.assign({},e)}return c},tl=function(a){a=rl(new fl(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(rf);d=n(Object.entries(g?d.h:d));for(var f=d.next();!f.done;f=d.next()){var l=n(f.value);f=l.next().value;l=l.next().value;g?null!==l&&(e[f]="functionDefinitionValue"===
|
|
507
507
|
f&&null!=l.body?{argumentNames:l.lc,body:c(b[l.body])}:"functionInvocationValue"===f&&null!=l.Va?{arguments:Hb(l.arguments,c),functionReference:c(b[l.Va])}:"constantValue"===f?l===Rc?null:l:c(l)):e[f]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",tl);var ul=function(a){return gl.va(pl(a))};w("ee.Serializer.toCloudApiJSON",ul);var vl=function(a){return ll(tl(a))};w("ee.Serializer.toReadableCloudApiJSON",vl);
|
|
508
|
-
var rl=function(a,b){try{var c=wl(a,b),d=new xl(c,a.Ya,a.
|
|
509
|
-
if(b instanceof nk){var d=b.na(a),e=b.Eh();null!==e&&a.ng.set(d,e);return c(d)}if(Array.isArray(b))return c(rk(b.map(function(f){return qk(wl(a,f))})));if(t(b)&&"function"!==typeof b){var g={};Object.keys(b).sort().forEach(function(f){g[f]=qk(wl(a,b[f]))});return c(sk(g))}throw Error("Can't encode object: "+b);},xl=function(a,b,c,d){var e=this;this.wi=a;this.values={};b.forEach(function(g){return e.values[g[0]]=g[1]});this.pi=c?zl(this):null;this.hi={};this.Zf={};this.ll=0;this.
|
|
510
|
-
b){if(b in a.Zf)return a.Zf[b];var c=String(a.ll++);a.Zf[b]=c;a.hi[c]=Al(a,a.values[b],0);return c},Al=function(a,b,c){var d=function(A){return null!==A.hb},e=function(A){return A===Rc?null:A},g=function(A,C){a.
|
|
508
|
+
var rl=function(a,b){try{var c=wl(a,b),d=new xl(c,a.Ya,a.Td,a.ng),e=yl(d,d.wi);return new Hf({result:e,values:d.hi})}finally{a.Pd=new WeakMap,a.wa={},a.Ya=[]}},wl=function(a,b){var c=function(f){var l=nl(f);t(b)&&a.Pd.set(b,l);if(a.wa[l])return a.wa[l];var m=String(a.Ya.length);a.Ya.push([m,f]);return a.wa[l]=m};if(t(b)&&a.wa[a.Pd.get(b)])return a.wa[a.Pd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(pk(b));if(za(b))return c(tk("Date",{value:pk(Math.floor(b.getTime()))}));
|
|
509
|
+
if(b instanceof nk){var d=b.na(a),e=b.Eh();null!==e&&a.ng.set(d,e);return c(d)}if(Array.isArray(b))return c(rk(b.map(function(f){return qk(wl(a,f))})));if(t(b)&&"function"!==typeof b){var g={};Object.keys(b).sort().forEach(function(f){g[f]=qk(wl(a,b[f]))});return c(sk(g))}throw Error("Can't encode object: "+b);},xl=function(a,b,c,d){var e=this;this.wi=a;this.values={};b.forEach(function(g){return e.values[g[0]]=g[1]});this.pi=c?zl(this):null;this.hi={};this.Zf={};this.ll=0;this.jd=d},yl=function(a,
|
|
510
|
+
b){if(b in a.Zf)return a.Zf[b];var c=String(a.ll++);a.Zf[b]=c;a.hi[c]=Al(a,a.values[b],0);return c},Al=function(a,b,c){var d=function(A){return null!==A.hb},e=function(A){return A===Rc?null:A},g=function(A,C){a.jd&&a.jd.has(A)&&!a.jd.has(C)&&a.jd.set(C,a.jd.get(A));return C};if(d(b)||null!=b.Wa||null!=b.qb||null!=b.Mb)return b;if(null!=b.Oa){d=a.values[b.Oa];if(null===a.pi||50>c&&1===a.pi[b.Oa])return d=Al(a,d,c),g(b,d);if(Bl(d))return g(b,d);d=qk(yl(a,b.Oa));return g(b,d)}if(null!=b.Fa){var f=b.Fa.values.map(function(A){return Al(a,
|
|
511
511
|
A,c+3)});d=f.every(d)?pk(f.map(function(A){return e(A.hb)})):rk(f);return g(b,d)}if(null!=b.Ga){f={};for(var l={},m=n(Object.entries(b.Ga.values||{})),p=m.next();!p.done;p=m.next()){var v=n(p.value);p=v.next().value;v=v.next().value;f[p]=Al(a,v,c+3);null!==l&&d(f[p])?l[p]=e(f[p].hb):l=null}return null!==l?g(b,pk(l)):g(f,sk(f))}if(null!=b.Ua)return d=b.Ua,d=vk(d.lc||[],yl(a,d.body||"")),g(b,d);if(null!=b.ya){d=b.ya;f={};l=n(Object.keys(d.arguments||{}));for(m=l.next();!m.done;m=l.next())m=m.value,
|
|
512
512
|
f[m]=Al(a,d.arguments[m],c+3);d=d.functionName?tk(d.functionName,f):uk(yl(a,d.Va||""),f);return g(b,d)}throw Error("Can't optimize value: "+b);},Bl=function(a){var b=a.hb;return null!==b?b===Rc||"number"===typeof b||"boolean"===typeof b:null!=a.Mb},zl=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Fa?e.Fa.values.forEach(d):null!=e.Ga?Object.values(e.Ga.values).forEach(d):null!=e.Ua?c(e.Ua.body):null!=e.ya?(e=e.ya,null!=e.Va&&c(e.Va),Object.values(e.arguments).forEach(d)):
|
|
513
|
-
null!=e.Oa&&c(e.Oa)};c(a.wi);return b};var Hl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=a.selectors||null;null!=b&&"string"===typeof b&&(b=b.split(","));b=new hg({l:ol(a.element),description:L(a.description),oa:null,sa:null,
|
|
514
|
-
c?d.ja=Dl(a):d.ma=El(a);b.oa=d;break;case "ASSET":b.sa=new ig({Ha:Fl(a)});break;case "FEATURE_VIEW":c=new sg({name:Ik(a.mapName)});d=null==a?null:new xg({Of:M(a.maxFeaturesPerTile),tg:a.thinningStrategy});var e=null==a?null:new wg({Eg:Gl(a.zOrderRanking),sg:Gl(a.thinningRanking)});d=new tg({rg:d,Yf:e});c=new jg({mf:c,rc:d});b.
|
|
513
|
+
null!=e.Oa&&c(e.Oa)};c(a.wi);return b};var Hl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=a.selectors||null;null!=b&&"string"===typeof b&&(b=b.split(","));b=new hg({l:ol(a.element),description:L(a.description),oa:null,sa:null,Jd:null,xd:null,selectors:b,Vb:M(a.maxErrorMeters),requestId:L(a.id),maxVertices:M(a.maxVertices),O:M(a.maxWorkers),priority:M(a.priority)});var c=Cl(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new kg({ja:null,ma:null,F:xk(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===
|
|
514
|
+
c?d.ja=Dl(a):d.ma=El(a);b.oa=d;break;case "ASSET":b.sa=new ig({Ha:Fl(a)});break;case "FEATURE_VIEW":c=new sg({name:Ik(a.mapName)});d=null==a?null:new xg({Of:M(a.maxFeaturesPerTile),tg:a.thinningStrategy});var e=null==a?null:new wg({Eg:Gl(a.zOrderRanking),sg:Gl(a.thinningRanking)});d=new tg({rg:d,Yf:e});c=new jg({mf:c,rc:d});b.Jd=c;break;case "BIGQUERY":b.xd=new wf({Re:new vf({table:L(a.table),overwrite:!!a.overwrite,append:!!a.append})});break;default:throw Error('Export destination "'+c+'" unknown');
|
|
515
515
|
}a.workloadTag&&(b.workloadTag=a.workloadTag);return b};function L(a){return null!=a?String(a):null}function M(a){return null!=a?Number(a):null}
|
|
516
516
|
var Cl=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId?b="ASSET":null!=a.mapName&&(b="FEATURE_VIEW");null!=a.table&&(b="BIGQUERY");return b},Jl=function(a){var b=new Lg({Ze:!!a.tfrecordCompressed,Wb:L(a.tfrecordMaxFileSize),gg:!!a.tfrecordSequenceData,Xe:!!a.tfrecordCollapseBands,Pf:M(a.tfrecordMaskedThreshold),defaultValue:M(a.tfrecordDefaultValue),cc:Il(a.tfrecordPatchDimensions),Lf:Il(a.tfrecordKernelSize),le:null});
|
|
517
|
-
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Fb(a,function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.le=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Kl=function(a,b){var c=new dg({ja:null,ma:null,
|
|
518
|
-
var d=a.tiffShardSize||a.shardSize;var e=!!a.tiffCloudOptimized;var g=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),f=Il(a.fileDimensions||a.tiffFileDimensions);d=M(d);var l=a.tiffNoData;l=null!=l?new Dg({rf:Number(l)}):null;e=new Cg({We:e,mg:g,cc:f,tileSize:d,Rf:l});c.
|
|
517
|
+
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Fb(a,function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.le=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Kl=function(a,b){var c=new dg({ja:null,ma:null,Kd:null,me:null,F:wk(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
518
|
+
var d=a.tiffShardSize||a.shardSize;var e=!!a.tiffCloudOptimized;var g=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),f=Il(a.fileDimensions||a.tiffFileDimensions);d=M(d);var l=a.tiffNoData;l=null!=l?new Dg({rf:Number(l)}):null;e=new Cg({We:e,mg:g,cc:f,tileSize:d,Rf:l});c.Kd=e}else"TF_RECORD_IMAGE"===c.F&&(c.me=Jl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ja=Dl(a):c.ma=El(a);return c},Ll=function(a,b){var c=new ng({ja:null,ma:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ja=Dl(a):c.ma=El(a);return c},Ml=function(a){var b,
|
|
519
519
|
c,d,e,g=M(null!=(b=a.endZoom)?b:a.maxZoom);b=M(null!=(c=a.startZoom)?c:a.minZoom);c=M(a.scale);var f=!(null!=(d=a.skipEmpty)?!d:!a.skipEmptyTiles);d=L(a.mapsApiKey);var l=Il(null!=(e=a.dimensions)?e:a.tileDimensions);e=M(a.stride);var m=M(a.minTimeMachineZoomSubset);a=M(a.maxTimeMachineZoomSubset);a=null==m&&null==a?null:new qh({start:null!=m?m:0,end:a});return new gg({hf:g,og:b,scale:c,lg:f,Kf:d,dimensions:l,stride:e,Fg:a})},Il=function(a){if(null==a)return null;var b=new Eg({height:0,width:0});
|
|
520
520
|
"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+a);else if("number"!==typeof a||isNaN(a))if(t(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},
|
|
521
521
|
Dl=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Ef({Ue:L(a.outputBucket),xa:L(a.outputPrefix),Ve:a.bucketCorsUris||null,permissions:b})},El=function(a){return new Qf({tf:L(a.driveFolder),xa:L(a.driveFileNamePrefix)})},Fl=function(a){return new Cf({name:Ik(a.assetId)})},Gl=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new lh({Xf:(a||[]).map(Nl)});throw Error("Unable to build ranking rule from rules: "+
|
|
@@ -539,10 +539,10 @@ if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(e){a.bands=zk
|
|
|
539
539
|
JSON.parse(a.crs_transform)}catch(e){}var c=gm(a.image,a);a=new ph({name:null,l:Ul(ol(c)),F:wk(a.format),xa:a.name,da:a.bands&&zk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Wl();d&&(c.workloadTag=d);b=new K(b);return b.handle((new Gh(b.M)).create(Gj(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",hm);var im=function(a){Ej();return bk+"/v1/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",im);
|
|
540
540
|
var jm=function(a,b){b=new K(b);var c=xk(a.format),d=Ul(ol(a.table)),e=null;if(null!=a.selectors)if("string"===typeof a.selectors)e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(g){return"string"===typeof g}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new nh({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Wl())c.workloadTag=d;return b.handle((new Fh(b.M)).create(Gj(),a,c).then(function(g){return{docid:g.name||
|
|
541
541
|
"",token:""}}))};w("ee.data.getTableDownloadId",jm);var km=function(a){return bk+"/v1/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",km);var lm=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=fb(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};w("ee.data.newTaskId",lm);
|
|
542
|
-
var mm=function(a){return a.name&&a.done&&a.error},om=function(a,b){var c=nm(a).map(Uk);if(1===c.length)return a=(new K(b)).
|
|
542
|
+
var mm=function(a){return a.name&&a.done&&a.error},om=function(a,b){var c=nm(a).map(Uk);if(1===c.length)return a=(new K(b)).qd(mm),a.handle(a.Na().get(c[0]).then(function(e){return[Vk(e)]}));a=(new Lj(b)).qd(mm);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Vk(e[g])})})};w("ee.data.getTaskStatus",om);
|
|
543
543
|
var nm=function(a){if("string"===typeof a)return[a];if(Array.isArray(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},qm=function(a){return pm(void 0,a)};w("ee.data.getTaskList",qm);var pm=function(a,b){return b?(rm(a,function(c,d){return b(c?{tasks:c.map(Vk)}:null,d)}),null):{tasks:rm(a).map(Vk)}};w("ee.data.getTaskListWithLimit",pm);
|
|
544
544
|
var rm=function(a,b){var c=[],d={pageSize:500},e=function(l){db(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};w("ee.data.listOperations",rm);
|
|
545
|
-
var sm=function(a,b){a=nm(a).map(Uk);var c=new zf;if(1===a.length)b=new K(b),b.handle(b.Na().cancel(a[0],c));else{b=new Lj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",sm);var tm=function(a,b){var c=nm(a).map(Uk);if(!Array.isArray(a))return a=(new K(b)).
|
|
545
|
+
var sm=function(a,b){a=nm(a).map(Uk);var c=new zf;if(1===a.length)b=new K(b),b.handle(b.Na().cancel(a[0],c));else{b=new Lj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",sm);var tm=function(a,b){var c=nm(a).map(Uk);if(!Array.isArray(a))return a=(new K(b)).qd(mm),a.handle(a.Na().get(c[0]));a=(new Lj(b)).qd(mm);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",tm);
|
|
546
546
|
var vm=function(a,b){return um(a,"CANCEL",b)};w("ee.data.cancelTask",vm);var um=function(a,b,c){if(!Mb(wm,b))throw Error("Invalid action: "+b);a=nm(a);a=a.map(Uk);sm(a,c);return null};w("ee.data.updateTask",um);
|
|
547
547
|
var Cm=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};if("workloadTag"in b)b.workloadTag||delete b.workloadTag;else{var e=Wl();e&&(b.workloadTag=e)}var g=new K(c);c=function(f){return g.handle(f.then(Wk))};switch(d){case "EXPORT_IMAGE":return b=xm(b,a),c(g.image().Ka(Gj(),b));case "EXPORT_FEATURES":return b=Hl(b),b.l=Ul(b.l,a),c(g.table().Ka(Gj(),b));case "EXPORT_VIDEO":return b=ym(b,a),c(g.video().Ka(Gj(),b));case "EXPORT_TILES":return b=zm(b,a),c(g.map().Ka(Gj(),
|
|
548
548
|
b));case "EXPORT_VIDEO_MAP":return b=Am(b),c((new Kh(g.M)).Ka(Gj(),b));case "EXPORT_CLASSIFIER":return b=Bm(b,a),c((new xh(g.M)).Ka(Gj(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",Cm);
|
|
@@ -552,9 +552,10 @@ oa:null,requestId:L(c.id),O:M(c.maxWorkers),priority:M(c.priority)});d.oa=Ll(c,C
|
|
|
552
552
|
return c},Am=function(a){var b=a.scale;delete a.scale;var c=Em(a);c.scale=b;if(null==c.element)throw Error('"element" not found in params '+c);b=new mg({l:ol(c.element),description:L(c.description),Pa:new og({framesPerSecond:M(c.framesPerSecond),maxFrames:M(c.maxFrames),maxPixelsPerFrame:null}),ec:Ml(c),dc:Ll(c,"GOOGLE_CLOUD_STORAGE"),requestId:L(c.id),version:L(c.version),O:M(c.maxWorkers),priority:M(c.priority)});b.l=Ul(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},Bm=function(a,b){if(null==
|
|
553
553
|
a.element)throw Error('"element" not found in params '+a);var c=Cl(a);if("ASSET"!=c)throw Error('Export destination "'+c+'" unknown');c=new ag({l:ol(a.element),description:L(a.description),requestId:L(a.id),sa:new Bf({Ha:Fl(a)}),O:M(a.maxWorkers),priority:M(a.priority)});c.l=Ul(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},Gm=function(a,b,c){b=$k(b);var d=function(e){return e?Wk(e):null};return d(Fm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",Gm);
|
|
554
554
|
var Fm=function(a,b,c){b=new Rg({Bf:b,requestId:a,overwrite:null,description:null});a=new K(c,a?void 0:0);return a.handle(a.image().import(Gj(),b))},Hm=function(a,b,c){b=new Sg({qg:b,requestId:a,overwrite:null,description:null});a=new K(c,a?void 0:0);return a.handle(a.table().import(Gj(),b))},Im=function(a,b,c){b=al(b);var d=function(e){return e?Wk(e):null};return d(Hm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startTableIngestion",Im);
|
|
555
|
-
var Jm=function(a,b){b=new K(b);a=Ik(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(Jk))};w("ee.data.getAsset",Jm);w("ee.data.getInfo",Jm);
|
|
556
|
-
|
|
557
|
-
var
|
|
555
|
+
var Jm=function(a,b){b=new K(b);a=Ik(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(Jk))};w("ee.data.getAsset",Jm);w("ee.data.getInfo",Jm);
|
|
556
|
+
var Km=function(a,b,c,d){b=void 0===b?{}:b;d=void 0===d?qc:d;var e=Object.assign({},b),g=new K(c),f=(b=Gk.test(a))?new vh(g.M):g.assets();a=b?"projects/"+Hk(a):Ik(a);var l=function(m){if(null!=e.pageSize||!m.nextPageToken)return m;var p=m.assets||[];e.pageToken=m.nextPageToken;m=f.Uc(a,e).then(function(v){v.assets=p.concat(v.assets);return v}).then(l);return c?m:g.handle(m)};return g.handle(f.Uc(a,e).then(l).then(d))},Lm=function(a,b){var c=Qk(a);c.pageSize||(c.pageSize=1E3);return Km(a.id,c,b,function(d){return null==
|
|
557
|
+
d?null:Kk(d)})};w("ee.data.getList",Lm);var Mm=function(a,b,c){b=void 0===b?{}:b;return Km(a,b,c)};w("ee.data.listAssets",Mm);var Nm=function(a,b,c){b=void 0===b?{}:b;b=Pk(b);return Km(a,b,c,function(d){if(null==d)return null;var e={};d.assets&&(e.images=d.assets);d.nextPageToken&&(e.nextPageToken=d.nextPageToken);return e})};w("ee.data.listImages",Nm);var Om=function(a,b){b=new K(b);return b.handle((new vh(b.M)).Uc(a||Gj()))};w("ee.data.listBuckets",Om);var Pm=function(a){a=new K(a);return a.handle((new vh(a.M)).Uc(Gj()).then(Kk))};
|
|
558
|
+
w("ee.data.getAssetRoots",Pm);var Qm=function(a,b){var c="projects/"+Hk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new Rf({type:"Folder"});b=new K(b);b.handle(b.assets().create(c,d,{assetId:a}).then(Jk))};w("ee.data.createAssetHome",Qm);
|
|
558
559
|
var Rm=function(a,b,c,d,e){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");b=a.name||b&&Ik(b);if(!b)throw Error("Either asset name or opt_path must be specified.");c=b.indexOf("/assets/");if(-1===c)throw Error("Asset name must contain /assets/.");a=Object.assign({},a);a.tilestoreEntry&&!a.tilestoreLocation&&(a.tilestoreLocation=a.tilestoreEntry,delete a.tilestoreEntry);a.tilestoreLocation&&(a.tilestoreLocation=new Xf(a.tilestoreLocation));
|
|
559
560
|
a.gcsLocation&&!a.cloudStorageLocation&&(a.cloudStorageLocation=a.gcsLocation,delete a.gcsLocation);a.cloudStorageLocation&&(a.cloudStorageLocation=new Ff(a.cloudStorageLocation));d&&!a.properties&&(a.properties=Object.assign({},d));d=n(["title","description"]);for(var g=d.next();!g.done;g=d.next())if(g=g.value,a[g]){var f={};a.properties=Object.assign((f[g]=a[g],f),a.properties||{});delete a[g]}a=new Rf(a);d=b.slice(0,c);b=b.slice(c+8);a.id=null;a.name=null;a:switch(c=a.type,c){case "ImageCollection":c=
|
|
560
561
|
"IMAGE_COLLECTION";break a;case "Folder":c="FOLDER"}a.type=c;e=new K(e);return e.handle(e.assets().create(d,a,{assetId:b}).then(Jk))};w("ee.data.createAsset",Rm);var Sm=function(a,b,c){return Rm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Sm);var Tm=function(a,b,c){a=Ik(a);b=Ik(b);b=new $g({Qb:b});c=new K(c);c.handle(c.assets().move(a,b).then(Jk))};w("ee.data.renameAsset",Tm);
|
|
@@ -568,14 +569,14 @@ var an=function(){this.default=this.tag=""};an.prototype.get=function(){return t
|
|
|
568
569
|
an.prototype.validate=function(a){if(null==a||""===a)return"";a=String(a);if(!/^([a-z0-9]|[a-z0-9][-_a-z0-9]{0,61}[a-z0-9])$/g.test(a))throw Error('Invalid tag, "'+a+'". Tags must be 1-63 characters, beginning and ending with a lowercase alphanumeric character ([a-z0-9]) with dashes (-), underscores (_), and lowercase alphanumerics between.');return a};var Wl=function(){return Pl(an).get()};w("ee.data.getWorkloadTag",Wl);var bn=function(a){Pl(an).set(a)};w("ee.data.setWorkloadTag",bn);
|
|
569
570
|
var cn=function(a){var b=Pl(an);b.default=b.validate(a);Pl(an).set(a)};w("ee.data.setDefaultWorkloadTag",cn);var dn=function(a){a&&(a=Pl(an),a.default=a.validate(""));Pl(an).reset()};w("ee.data.resetWorkloadTag",dn);var wm={Hl:"CANCEL",Kl:"UPDATE"};var O=function(a,b,c){if(!(this instanceof O))return en(O,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.I=a;this.args=b;this.U=c||null;this.zl=null};x(O,nk);w("ee.ComputedObject",O);O.prototype.Eh=function(){return this.zl};O.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");bm(this,a)};
|
|
570
571
|
O.prototype.evaluate=O.prototype.evaluate;O.prototype.V=function(a){return bm(this,a)};O.prototype.getInfo=O.prototype.V;O.prototype.encode=function(a){if(null===this.I&&null===this.args)return{type:"ArgumentRef",value:this.U};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.I);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
571
|
-
O.prototype.na=function(a){if(null===this.I&&null===this.args){a=this.U||a.Qi;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new rf({Mb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=qk(wl(a,this.args[c])));return"string"===typeof this.I?tk(String(this.I),b):this.I.
|
|
572
|
+
O.prototype.na=function(a){if(null===this.I&&null===this.args){a=this.U||a.Qi;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new rf({Mb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=qk(wl(a,this.args[c])));return"string"===typeof this.I?tk(String(this.I),b):this.I.Fd(a,b)};O.prototype.va=function(a){return(void 0===a?0:a)?kl(this):ul(this)};O.prototype.serialize=O.prototype.va;
|
|
572
573
|
O.prototype.toString=function(){return"ee."+this.name()+"("+ml(this)+")"};w("ee.ComputedObject.prototype.toString",O.prototype.toString);O.prototype.name=function(){return"ComputedObject"};O.prototype.Gg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};O.prototype.aside=O.prototype.Gg;
|
|
573
574
|
var fn=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.I=b.I;a.args=b.args;a.U=b.U;return a},en=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var gn={},hn=function(a,b){if(b==a)return!0;switch(a){case "Element":return"Element"==b||"Image"==b||"Feature"==b||"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "FeatureCollection":case "Collection":return"Collection"==b||"ImageCollection"==b||"FeatureCollection"==b;case "Object":return!0;default:return!1}},jn=function(a){return"number"===typeof a||a instanceof O&&"Number"==a.name()},kn=function(a){return"string"===typeof a||a instanceof O&&"String"==a.name()},ln=function(a){return t(a)&&
|
|
574
575
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},mn=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&ln(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var nn=function(){if(!(this instanceof nn))return new nn};x(nn,nk);w("ee.Function",nn);var on=qc;nn.prototype.call=function(a){return this.apply(pn(this,Array.prototype.slice.call(arguments,0)))};nn.prototype.call=nn.prototype.call;nn.prototype.apply=function(a){a=new O(this,qn(this,a));return on(a,this.Z().returns)};nn.prototype.apply=nn.prototype.apply;
|
|
575
576
|
var rn=function(a,b,c){var d=void 0!==b,e=a.Z();if(mn(c,e,d)){if(c=Rb(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=pn(a,d?[b].concat(c):c);return a.apply(c)},qn=function(a,b){for(var c=a.Z().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&void 0!==b[f])d[f]=on(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+f+") missing to function: "+a);e[f]=!0}c=[];for(var l in b)e[l]||c.push(l);if(0<c.length)throw Error("Unrecognized arguments ("+
|
|
576
577
|
c+") to function: "+a);return d},pn=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
577
578
|
nn.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Wa(c.args.slice(b?1:0),function(g){return g.name}).join(", "));d.push(")\n");d.push("\n");c.description?d.push(c.description):d.push("Undocumented.");d.push("\n");if(c.args.length)for(d.push("\nArgs:\n"),a=0;a<c.args.length;a++){b&&0==a?d.push(" this:"):d.push("\n ");var e=c.args[a];d.push(e.name);d.push(" (");d.push(e.type);e.optional&&d.push(", optional");d.push("): ");e.description?d.push(e.description):
|
|
578
|
-
d.push("Undocumented.")}return d.join("")};nn.prototype.va=function(a){return(void 0===a?0:a)?kl(this):ul(this)};var P=function(a,b){if(void 0===b)return sn(a);if(!(this instanceof P))return en(P,arguments);this.xb=Sb(b);this.xb.name=a};x(P,nn);w("ee.ApiFunction",P);var Q=function(a,b){return nn.prototype.call.apply(sn(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",Q);var tn=function(a,b){return sn(a).apply(b)};w("ee.ApiFunction._apply",tn);P.prototype.encode=function(){return this.xb.name};P.prototype.
|
|
579
|
+
d.push("Undocumented.")}return d.join("")};nn.prototype.va=function(a){return(void 0===a?0:a)?kl(this):ul(this)};var P=function(a,b){if(void 0===b)return sn(a);if(!(this instanceof P))return en(P,arguments);this.xb=Sb(b);this.xb.name=a};x(P,nn);w("ee.ApiFunction",P);var Q=function(a,b){return nn.prototype.call.apply(sn(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",Q);var tn=function(a,b){return sn(a).apply(b)};w("ee.ApiFunction._apply",tn);P.prototype.encode=function(){return this.xb.name};P.prototype.Fd=function(a,b){return tk(this.xb.name,b)};P.prototype.Z=function(){return this.xb};
|
|
579
580
|
var un=null,vn={},xn=function(){wn();return Hb(un,function(a){return a.Z()})},yn=function(){wn();return Gb(un,function(a,b){return!vn[b]})},sn=function(a){var b=zn(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",sn);
|
|
580
581
|
var zn=function(a){wn();return un[a]||null},wn=function(a,b){if(un)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(un=Hb(d,function(g,f){g.returns=g.returns.replace(/<.*>/,"");for(var l=0;l<g.args.length;l++)g.args[l].type=g.args[l].type.replace(/<.*>/,"");return new P(f,g)}),a&&a())};a?Vl(c):c(Vl())}},An=function(a,b,c,d){wn();var e=d||"";Fb(un,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.Z();vn[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p="Object"!=f&&hn(f,c));
|
|
581
582
|
f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return rn(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,p),f[l].signature=m)}})},Bn=function(a){var b=function(c){for(var d in c)"function"===typeof c[d]&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var R=function(a,b){var c=Cn(a),d=Wa(c,function(m){return m.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},g=b[0],f=t(g)&&"function"!==typeof g&&!Array.isArray(g)&&"Object"===Object.getPrototypeOf(g).constructor.name;if(1<b.length||!f){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(g=0;g<b.length;g++)e[d[g]]=b[g]}else{f=new Ic(Lb(g));
|
|
@@ -616,13 +617,13 @@ b));c.image=a;return c},zo=function(a,b){var c="bands gain bias min max gamma pa
|
|
|
616
617
|
var f=c(b);e=c(e);e=c(Object.assign(f,e));g=wo(g,e);return g=xo(g,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,g){return Q("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=wo(a,d),a=xo(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return en(N,arguments);if(a instanceof N)return a;Bo();var b=arguments.length;if(0==b||1==b&&void 0===a)S.call(this,new P("Image.mask"),{image:new N(0),mask:new N(0)});else if(1==b)if(jn(a))S.call(this,new P("Image.constant"),{value:a});else if(kn(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return Co(Wa(a,function(d){return new N(d)}));if(a instanceof O)"Array"==a.name()?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.I,
|
|
617
618
|
a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(kn(b)&&jn(c))S.call(this,new P("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};x(N,S);w("ee.Image",N);var Do=!1,Bo=function(){Do||(An(N,"Image","Image"),Do=!0)};N.prototype.V=function(a){return N.L.V.call(this,a)};
|
|
618
619
|
N.prototype.getInfo=N.prototype.V;N.prototype.S=function(a,b){var c=this,d=R(N.prototype.getMap,arguments),e=Ao(this,d.visParams);if(d.callback){var g=d.callback;Yl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Yl(e),d.image=this,d};N.prototype.getMapId=N.prototype.S;N.prototype.getMap=N.prototype.S;N.prototype.getMap=N.prototype.getMap;
|
|
619
|
-
N.prototype.sb=function(a,b){var c=R(N.prototype.sb,arguments),d=c.params?Rb(c.params):{};d.image=this;if(c.callback){var e=c.callback;hm(d,function(g,f){g?e(im(g)):e(null,f)})}else return im(hm(d))};N.prototype.getDownloadURL=N.prototype.sb;N.prototype.
|
|
620
|
-
N.prototype.xf=function(a,b){var c=R(N.prototype.xf,arguments);if(c.callback)this.
|
|
620
|
+
N.prototype.sb=function(a,b){var c=R(N.prototype.sb,arguments),d=c.params?Rb(c.params):{};d.image=this;if(c.callback){var e=c.callback;hm(d,function(g,f){g?e(im(g)):e(null,f)})}else return im(hm(d))};N.prototype.getDownloadURL=N.prototype.sb;N.prototype.Ld=function(a,b){var c=R(N.prototype.sb,arguments),d=c.params?Rb(c.params):{},e={},g=wo(this,d);g=xo(g,d,e);d=Ao(g,e);return c.callback?(cm(d,c.callback),null):cm(d)};N.prototype.getThumbId=N.prototype.Ld;
|
|
621
|
+
N.prototype.xf=function(a,b){var c=R(N.prototype.xf,arguments);if(c.callback)this.Ld(c.params,function(d,e){var g="";if(void 0===e)try{g=fm(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return fm(this.Ld(c.params))};N.prototype.getThumbURL=N.prototype.xf;var Eo=function(a,b,c){var d=R(Eo,arguments);return Co([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};N.rgb=Eo;var Fo=function(a){return Co(Array.prototype.slice.call(arguments),null)};N.cat=Fo;
|
|
621
622
|
var Co=function(a,b){if(0==a.length)return Q("Image.constant",[]);for(var c=new N(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
622
623
|
N.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||kn(b[0])||jn(b[0])){for(var d=0;d<b.length;d++)if(!(kn(b[d])||jn(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 tn("Image.select",c)};N.prototype.select=N.prototype.select;
|
|
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 nn;c.encode=function(m){return l.encode(m)};c.
|
|
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.si=function(a){var b=1!=arguments.length||kn(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.si;N.prototype.name=function(){return"Image"};var Go=function(a){if(this instanceof Go){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Go)return a}else return en(Go,arguments);Ho();if(Array.isArray(a))O.call(this,null,null),this.
|
|
625
|
-
Go.prototype.encode=function(a){return Array.isArray(this.
|
|
624
|
+
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 nn;c.encode=function(m){return l.encode(m)};c.Fd=function(m,p){return uk(wl(m,l),p)};c.Z=function(){return{name:"",args:Wa(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
625
|
+
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.si=function(a){var b=1!=arguments.length||kn(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.si;N.prototype.name=function(){return"Image"};var Go=function(a){if(this instanceof Go){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Go)return a}else return en(Go,arguments);Ho();if(Array.isArray(a))O.call(this,null,null),this.Vc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Vc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Go,O);w("ee.List",Go);var Io=!1,Ho=function(){Io||(An(Go,"List","List"),Io=!0)};
|
|
626
|
+
Go.prototype.encode=function(a){return Array.isArray(this.Vc)?Wa(this.Vc,function(b){return a(b)}):Go.L.encode.call(this,a)};Go.prototype.na=function(a){return Array.isArray(this.Vc)?qk(wl(a,this.Vc)):Go.L.na.call(this,a)};Go.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return en(Y,arguments);if(a instanceof Y)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Jo();a instanceof T&&(a=new W(a));a instanceof W&&(a=[a]);if(kn(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:Wa(a,function(d){return new W(d)})});else if(a instanceof Go)V.call(this,
|
|
626
627
|
new P("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)V.call(this,new P("Collection"),{features:a.features.map(function(d){return new W(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);};x(Y,V);w("ee.FeatureCollection",Y);var Ko=!1,Jo=function(){Ko||(An(Y,"FeatureCollection","FeatureCollection"),Ko=!0)};
|
|
627
628
|
Y.prototype.S=function(a,b){var c=R(Y.prototype.S,arguments),d=tn("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
629
|
Y.prototype.sb=function(a,b,c,d){var e=R(Y.prototype.sb,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)jm(g,function(f,l){f?e.callback(km(f)):e.callback(null,l)});else return km(jm(g))};Y.prototype.getDownloadURL=Y.prototype.sb;
|
|
@@ -648,17 +649,17 @@ a&&(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":ca
|
|
|
648
649
|
a.assetId||"";break;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=xa(a.folder);if(!$a(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},ip={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
649
650
|
jp={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},hp=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;null==b&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},fp=function(a,b){var c=a.formatOptions;if(null==c)return{};
|
|
650
651
|
if(Object.keys(a).some(function(m){return null!==c&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=jp[b];for(var d=ip[b],e={},g=n(Object.entries(c)),f=g.next();!f.done;f=g.next()){var l=n(f.value);f=l.next().value;l=l.next().value;if(!$a(d,f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+f[0].toUpperCase()+f.substring(1)]=Array.isArray(l)?l.join():l}return e},
|
|
651
|
-
ep=["image","collection","classifier"];var kp=function(a){if(!(this instanceof kp))return en(kp,arguments);if(a instanceof kp)return a;lp();if("number"===typeof a)O.call(this,null,null),this.
|
|
652
|
-
kp.prototype.na=function(a){return"number"===typeof this.
|
|
653
|
-
np.prototype.encode=function(a){return"string"===typeof this.
|
|
654
|
-
qp.prototype.na=function(a){return vk(this.xb.args.map(function(b){return b.name}),wl(a,this.Rg))};qp.prototype.
|
|
652
|
+
ep=["image","collection","classifier"];var kp=function(a){if(!(this instanceof kp))return en(kp,arguments);if(a instanceof kp)return a;lp();if("number"===typeof a)O.call(this,null,null),this.Xc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Xc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(kp,O);w("ee.Number",kp);var mp=!1,lp=function(){mp||(An(kp,"Number","Number"),mp=!0)};kp.prototype.encode=function(a){return"number"===typeof this.Xc?this.Xc:kp.L.encode.call(this,a)};
|
|
653
|
+
kp.prototype.na=function(a){return"number"===typeof this.Xc?qk(wl(a,this.Xc)):kp.L.na.call(this,a)};kp.prototype.name=function(){return"Number"};var np=function(a){if(!(this instanceof np))return en(np,arguments);if(a instanceof np)return a;op();if("string"===typeof a)O.call(this,null,null),this.kd=a;else if(a instanceof O)this.kd=null,a.I&&"String"==a.I.Z().returns?O.call(this,a.I,a.args,a.U):O.call(this,new P("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(np,O);w("ee.String",np);var pp=!1,op=function(){pp||(An(np,"String","String"),pp=!0)};
|
|
654
|
+
np.prototype.encode=function(a){return"string"===typeof this.kd?this.kd:np.L.encode.call(this,a)};np.prototype.na=function(a){return"string"===typeof this.kd?qk(wl(a,this.kd)):np.L.na.call(this,a)};np.prototype.name=function(){return"String"};var qp=function(a,b){if(!(this instanceof qp))return en(qp,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(rp(f in gn?gn[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.xb=sp(a,c,b);this.Rg=b.apply(null,c)};x(qp,nn);w("ee.CustomFunction",qp);qp.prototype.encode=function(a){return{type:"Function",argumentNames:Wa(this.xb.args,function(b){return b.name}),body:a(this.Rg)}};
|
|
655
|
+
qp.prototype.na=function(a){return vk(this.xb.args.map(function(b){return b.name}),wl(a,this.Rg))};qp.prototype.Fd=function(a,b){return uk(wl(a,this),b)};qp.prototype.Z=function(){return this.xb};
|
|
655
656
|
var rp=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=np;else if(a==Number)a=kp;else if(a==Array)a=r.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=O;var c=function(d){this.args=this.I=null;this.U=d};c.prototype=a.prototype;return new c(b)},tp=function(a,b){b={name:"",returns:"Object",args:Wa(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof O?c.prototype.name.call(null):c==Number?
|
|
656
657
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new qp(b,a)},sp=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].U&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(l){var m=function(v){return v.map(p).reduce(function(A,C){return A+C},0)},p=function(v){return v.Ua?1:v.Fa?m(v.Fa.values):v.Ga?m(Object.values(v.Ga.values)):v.ya?m(Object.values(v.ya.arguments)):0};return m(Object.values(l.values))}(ol(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
|
|
657
658
|
d.length;e++){var g=d[e],f=c+e;b[g].U=f;a.args[g].name=f}return a};var up=function(a,b){if(!(this instanceof up))return en(up,arguments);if(a instanceof up)return a;vp();var c=R(up,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},g=null;if(kn(a)){if(e.value=a,c)if(kn(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(jn(a))e.value=a;else if(za(a))e.value=Math.floor(a.getTime());else if(a instanceof O)a.I&&"Date"==a.I.Z().returns?(d=a.I,e=a.args,g=a.U):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
658
659
|
a);O.call(this,d,e,g)};x(up,O);w("ee.Date",up);var wp=!1,vp=function(){wp||(An(up,"Date","Date"),wp=!0)};up.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var yp=function(a){return xp(JSON.parse(a))};w("ee.Deserializer.fromJSON",yp);var xp=function(a){if("result"in a&&"values"in a)return zp(a);var b={};if(t(a)&&"CompoundValue"===a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],g=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=Ap(g,b)}a=a.value}return Ap(a,b)};w("ee.Deserializer.decode",xp);
|
|
659
660
|
var Ap=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Wa(a,function(e){return Ap(e,b)});if(!t(a)||"function"===typeof a)throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if("string"!==typeof a)throw Error("Invalid variable name: "+a);return rp(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
660
661
|
a);return new up(a/1E3);case "Bytes":return Bp(new rf({qb:a}),a);case "Invocation":return c="functionName"in a?sn(a.functionName):Ap(a["function"],b),a=Hb(a.arguments,function(e){return Ap(e,b)}),Cp(c,a);case "Dictionary":return Hb(a.value,function(e){return Ap(e,b)});case "Function":var d=Ap(a.body,b);a={name:"",args:Wa(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new qp(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new T(a);
|
|
661
|
-
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},Bp=function(a,b){var c=function(){};q(c,nk);c.prototype.encode=function(){return b};c.prototype.na=function(){return a};return new c},Cp=function(a,b){if(a instanceof nn)return a.apply(b);if(a instanceof O){var c=function(){return nn.apply(this,arguments)||this};q(c,nn);c.prototype.encode=function(d){return a.encode(d)};c.prototype.
|
|
662
|
+
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},Bp=function(a,b){var c=function(){};q(c,nk);c.prototype.encode=function(){return b};c.prototype.na=function(){return a};return new c},Cp=function(a,b){if(a instanceof nn)return a.apply(b);if(a instanceof O){var c=function(){return nn.apply(this,arguments)||this};q(c,nn);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Fd=function(d,e){return uk(wl(d,a),
|
|
662
663
|
e)};return new O(new c,b)}throw Error("Invalid function value");},Dp=function(a){return zp(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",Dp);
|
|
663
664
|
var zp=function(a){var b=Wc(Hf,a),c={},d=function(f,l){if(!(f in c)){if(!(f in b.values))throw Error("Cannot find "+l+" "+f);c[f]=e(b.values[f])}return c[f]},e=function(f){if(null!==f.hb)f=f.hb;else if(null!==f.Fa)f=f.Fa.values.map(e);else if(null!==f.Ga)f=Hb(f.Ga.values,e);else if(null!==f.Mb)f=rp(Object,f.Mb);else if(null!==f.Ua)f=g(f.Ua);else if(null!==f.ya){var l=f.ya;f=l.Va?d(l.Va,"function"):sn(l.functionName);l=Hb(l.arguments,e);f=Cp(f,l)}else f=null!==f.qb?Bp(new rf({qb:f.qb}),f.qb):null!==
|
|
664
665
|
f.Wa?Bp(new rf({Wa:f.Wa}),f.Wa):null!==f.Oa?d(f.Oa,"reference"):null;return f},g=function(f){var l=d(f.body,"function body");f={args:f.lc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new qp(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",zp);var Ep=function(a){if(!(this instanceof Ep))return en(Ep,arguments);if(a instanceof Ep)return a;Fp();ln(a)?(O.call(this,null,null),this.Kc=a):(a instanceof O&&a.I&&"Dictionary"==a.I.Z().returns?O.call(this,a.I,a.args,a.U):O.call(this,new P("Dictionary"),{input:a},null),this.Kc=null)};x(Ep,O);w("ee.Dictionary",Ep);var Gp=!1,Fp=function(){Gp||(An(Ep,"Dictionary","Dictionary"),Gp=!0)};Ep.prototype.encode=function(a){return null!==this.Kc?a(this.Kc):Ep.L.encode.call(this,a)};
|
|
@@ -672,9 +673,9 @@ on=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){cas
|
|
|
672
673
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new U(a);case "Algorithm":if("string"===typeof a)return new P(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return tp(a,c)}if(a instanceof nk)return a;throw Error("Argument is not a function: "+a);case "String":return kn(a)||a instanceof np||a instanceof O?new np(a):a;case "Dictionary":return ln(a)?a:new Ep(a);case "List":return new Go(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new kp(a);
|
|
673
674
|
default:if(b in c){d=zn(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if("string"===typeof a){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var Wp=function(a,b,c){Nc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Ah=new zc;this.zh=new zc};q(Wp,Nc);Wp.prototype.getTile=function(a,b){var c=Oc(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.yb,this.token].join("/");this.Ab.push(c);this.yb+=1;var d=Uh("DIV");Xp(this,b,a,c,d);Yp(this);return d};
|
|
674
675
|
var Xp=function(a,b,c,d,e){var g=oj(mj);g.open("GET",b,!0);g.responseType="arraybuffer";g.onreadystatechange=u(function(){if(g.readyState===XMLHttpRequest.DONE&&200===g.status){var f=g.response;if(f)f=new Float32Array(f),this.Ah.set(c,f),this.zh.set(c,e),ab(this.Ab,d),Yp(this);else throw this.vg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Yp=function(a){a.dispatchEvent(new Pc(a.Ab.length))};Wp.prototype.J=function(){this.zh=this.Ah=null;Nc.prototype.J.call(this)};
|
|
675
|
-
w("ee.FloatTileOverlay",Wp);var Zp=function(){this.je=new Map};Zp.prototype.clear=function(){this.je.clear()};var $p=function(a,b){a.je.has(b)||a.je.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.je.get(b)};var aq=function(a){y.call(this);this.Tb=a;this.K={}};x(aq,y);var bq=[];aq.prototype.Xa=function(a,b,c,d){Array.isArray(b)||(b&&(bq[0]=b.toString()),b=bq);for(var e=0;e<b.length;e++){var g=bc(a,b[e],c||this.handleEvent,d||!1,this.Tb||this);if(!g)break;this.K[g.key]=g}return this};aq.prototype.
|
|
676
|
+
w("ee.FloatTileOverlay",Wp);var Zp=function(){this.je=new Map};Zp.prototype.clear=function(){this.je.clear()};var $p=function(a,b){a.je.has(b)||a.je.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.je.get(b)};var aq=function(a){y.call(this);this.Tb=a;this.K={}};x(aq,y);var bq=[];aq.prototype.Xa=function(a,b,c,d){Array.isArray(b)||(b&&(bq[0]=b.toString()),b=bq);for(var e=0;e<b.length;e++){var g=bc(a,b[e],c||this.handleEvent,d||!1,this.Tb||this);if(!g)break;this.K[g.key]=g}return this};aq.prototype.Wc=function(a,b,c,d){return cq(this,a,b,c,d)};
|
|
676
677
|
var cq=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)cq(a,b,c[f],d,e,g);else{b=ac(b,c,d||a.handleEvent,e,g||a.Tb||a);if(!b)return a;a.K[b.key]=b}return a};aq.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=t(d)?!!d.capture:!!d,e=e||this.Tb||this,c=cc(c),d=!!d,b=Bb(a)?a.Mc(b,c,d,e):a?(a=ec(a))?a.Mc(b,c,d,e):null:null,b&&(jc(b),delete this.K[b.key])};
|
|
677
|
-
aq.prototype.
|
|
678
|
+
aq.prototype.fd=function(){Fb(this.K,function(a,b){this.K.hasOwnProperty(b)&&jc(a)},this);this.K={}};aq.prototype.J=function(){aq.L.J.call(this);this.fd()};aq.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var eq=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Ob[a.name]):(this.code=a=Oa(a.code),this.name=dq(a));Ia.call(this,$d("%s %s",this.name,b))};x(eq,Ia);
|
|
678
679
|
var dq=function(a){var b=Nb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},fq={},Ob=(fq.AbortError=3,fq.EncodingError=5,fq.InvalidModificationError=9,fq.InvalidStateError=7,fq.NotFoundError=1,fq.NotReadableError=4,fq.NoModificationAllowedError=6,fq.PathExistsError=12,fq.QuotaExceededError=10,fq.SecurityError=2,fq.SyntaxError=8,fq.TypeMismatchError=11,fq);var gq=function(a,b){z.call(this,a.type,b);this.Ja=a};x(gq,z);var hq=function(){D.call(this);this.ca=new FileReader;this.ca.onloadstart=u(this.nc,this);this.ca.onprogress=u(this.nc,this);this.ca.onload=u(this.nc,this);this.ca.onabort=u(this.nc,this);this.ca.onerror=u(this.nc,this);this.ca.onloadend=u(this.nc,this)};x(hq,D);h=hq.prototype;h.abort=function(){try{this.ca.abort()}catch(a){throw new eq(a,"aborting read");}};h.ub=function(){return this.ca.readyState};h.getError=function(){return this.ca.error&&new eq(this.ca.error,"reading file")};
|
|
679
680
|
h.nc=function(a){this.dispatchEvent(new gq(a,this))};h.J=function(){hq.L.J.call(this);delete this.ca};h.readAsBinaryString=function(a){this.ca.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.ca.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.ca.readAsText(a,b)};var iq=function(a,b){B(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var jq=function(a,b){D.call(this);b=b||{};this.minZoom=b.minZoom||0;this.maxZoom=b.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=b.tileSize||new google.maps.Size(256,256);this.name=b.name;this.opacity="opacity"in b?b.opacity:1;this.ie=new Zp(a.getUniqueId());this.zb=new zc;this.yb=0;this.ug=a;this.jb=new aq(this);this.radius=0};q(jq,D);h=jq.prototype;h.Oe=function(a){return bc(this,"tile-load",a)};h.bg=function(a){jc(a)};
|
|
680
681
|
h.Nc=function(){return kq(this,"throttled")+kq(this,"loading")+kq(this,"new")};h.setOpacity=function(a){this.opacity=a;this.zb.forEach(function(b){iq(b.la,this.opacity)},this)};h.getStats=function(){return this.ie};
|
|
@@ -682,43 +683,43 @@ h.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.c
|
|
|
682
683
|
var lq=function(a,b){a.jb.Xa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.fl,d=(new Date).getTime();$p(this.ie,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new nq(this.Nc()));break;case "throttled":$p(this.ie,b.zoom).throttleCount++;this.dispatchEvent(new oq(b.Ca));break;case "failed":$p(this.ie,b.zoom).errorCount++;this.dispatchEvent(new pq(b.Ca,b.Tk));break;case "aborted":this.dispatchEvent(new qq(this.Nc()))}})};
|
|
683
684
|
jq.prototype.J=function(){D.prototype.J.call(this);this.zb.forEach(Ha);this.zb.clear();this.zb=null;Ha(this.jb);this.ug=this.jb=null};var kq=function(a,b){return Za(a.zb.aa(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",jq);jq.prototype.removeTileCallback=jq.prototype.bg;jq.prototype.addTileCallback=jq.prototype.Oe;var nq=function(){z.call(this,"tile-load")};q(nq,z);var mq=function(){z.call(this,"tile-start")};q(mq,z);var oq=function(){z.call(this,"tile-throttle")};q(oq,z);
|
|
684
685
|
var pq=function(a,b){z.call(this,"tile-fail");this.errorMessage=b};q(pq,z);var qq=function(){z.call(this,"tile-abort")};q(qq,z);var rq=function(a,b,c,d){D.call(this);this.rb=a;this.zoom=b;this.la=c.createElement("div");this.la.id=d;this.jl=5;this.de=function(){};this.ke="new";this.vi=0;this.Ff=!1};q(rq,D);rq.prototype.getDiv=function(){return this.la};
|
|
685
|
-
var tq=function(a){if(!a.Ff&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");sq(a,"loading");a.fl=(new Date).getTime();a.Za=new pj;a.Za.xc="blob";a.Za.Xa("complete",function(){var b=Bj(a.Za),c=a.Za.getStatus();429==c&&sq(a,"throttled");if(ij(c)){var d={};Fb(Cj(a.Za),function(g,f){d[f.toLowerCase()]=g});a.Al=d;a.Ci=b;a.Lc()}else if(b){var e=new hq;e.Xa("loadend",function(){a.
|
|
686
|
-
!1);a.Za.
|
|
687
|
-
h.
|
|
688
|
-
rq.prototype.J=function(){D.prototype.J.call(this);this.Hc();this.la.remove();this.de=null};var uq={aborted:!0,failed:!0,loaded:!0,removed:!0};var vq=function(){y.call(this)};q(vq,y);var wq=function(a,b){jq.call(this,a,b);this.Tg=new zc;this.rh=new zc};q(wq,jq);wq.prototype.fh=function(a,b,c,d){var e=new xq(a,b,c,d);this.jb.Xa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Tg.set(a,new Float32Array(e.
|
|
689
|
-
xq.prototype.Lc=function(){var a=new hq;a.Xa("loadend",function(){this.
|
|
686
|
+
var tq=function(a){if(!a.Ff&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");sq(a,"loading");a.fl=(new Date).getTime();a.Za=new pj;a.Za.xc="blob";a.Za.Xa("complete",function(){var b=Bj(a.Za),c=a.Za.getStatus();429==c&&sq(a,"throttled");if(ij(c)){var d={};Fb(Cj(a.Za),function(g,f){d[f.toLowerCase()]=g});a.Al=d;a.Ci=b;a.Lc()}else if(b){var e=new hq;e.Xa("loadend",function(){a.hd(e.ca.result)});e.readAsText(b)}else a.hd("Failed to load tile.")},
|
|
687
|
+
!1);a.Za.Wc("ready",Fa(Ha,a.Za));a.Ca&&a.Ca.endsWith("&profiling=1")&&(a.Ca=a.Ca.replace("&profiling=1",""),a.Za.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.Za.send(a.Ca,"GET")};h=rq.prototype;h.Lc=function(){this.de(this);sq(this,"loaded")};h.Hc=function(){Ha(this.Za)};
|
|
688
|
+
h.hd=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.vi>=this.jl?(this.Tk=b(a),sq(this,"failed")):(this.Hc(),setTimeout(u(function(){this.Sa||(this.Ff=!0,tq(this),this.Ff=!1)},this),1E3*Math.pow(2,this.vi++)))};h.abort=function(){this.Hc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&sq(this,this.ke in uq?"removed":"aborted")};h.getStatus=function(){return this.ke};var sq=function(a,b){a.ke=b;a.dispatchEvent("status-changed")};
|
|
689
|
+
rq.prototype.J=function(){D.prototype.J.call(this);this.Hc();this.la.remove();this.de=null};var uq={aborted:!0,failed:!0,loaded:!0,removed:!0};var vq=function(){y.call(this)};q(vq,y);var wq=function(a,b){jq.call(this,a,b);this.Tg=new zc;this.rh=new zc};q(wq,jq);wq.prototype.fh=function(a,b,c,d){var e=new xq(a,b,c,d);this.jb.Xa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Tg.set(a,new Float32Array(e.zd)),this.rh.set(a,e.la))});return e};wq.prototype.J=function(){jq.prototype.J.call(this);this.rh=this.Tg=null};w("ee.layers.BinaryOverlay",wq);var xq=function(a,b,c,d){rq.call(this,a,b,c,d)};q(xq,rq);
|
|
690
|
+
xq.prototype.Lc=function(){var a=new hq;a.Xa("loadend",function(){this.zd=a.ca.result;rq.prototype.Lc.call(this)},void 0,this);a.readAsArrayBuffer(this.Ci)};var yq=function(a){D.call(this);this.Rc={};this.Qc={};this.Tb=new aq(this);this.X=a;this.Ye=!1};x(yq,D);var zq=["load","abort","error"],Aq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ye=!1,a.Rc[b]={src:c,eh:null}},Bq=function(a,b){delete a.Rc[b];var c=a.Qc[b];c&&(delete a.Qc[b],a.Tb.se(c,zq,a.di))};
|
|
690
691
|
yq.prototype.start=function(){var a=this.Rc;Lb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Sa)){if(this.X){var d=this.X;d=(d?new Zh(Yh(d)):Ja||(Ja=new Zh)).Rk("IMG")}else d=new Image;c.eh&&(d.crossOrigin=c.eh);this.Tb.Xa(d,zq,this.di);this.Qc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
691
|
-
yq.prototype.di=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));Bq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Sa&&Pb(this.Qc)&&Pb(this.Rc)&&!this.Ye&&(this.Ye=!0,this.dispatchEvent("complete"))}};yq.prototype.J=function(){delete this.Rc;delete this.Qc;Ha(this.Tb);yq.L.J.call(this)};var Cq=function(a,b){jq.call(this,a,b)};q(Cq,jq);Cq.prototype.fh=function(a,b,c,d){return new Dq(a,b,c,d)};w("ee.layers.ImageOverlay",Cq);var Dq=function(a,b,c,d){rq.call(this,a,b,c,d);this.de=Eq;this.Ih=this.ga=this.
|
|
692
|
-
Dq.prototype.Lc=function(){try{var a=zd(this.Ci);this.
|
|
693
|
-
var Eq=function(a){a.la.appendChild(a.
|
|
694
|
-
Hq.prototype.getUniqueId=function(){return[this.Sg,this.Zb,this.Xd,this.pg].join("-")};Hq.prototype.
|
|
695
|
-
var Iq=function(a,b){if(!b.
|
|
696
|
-
h.remove=function(a){var b=this.La;var c=Ta(b,a);0<=c?(bb(b,c),b=!0):b=!1;return b||ab(this.Qa,a)};h.aa=function(){for(var a=[],b=this.La.length-1;0<=b;--b)a.push(this.La[b]);var c=this.Qa.length;for(b=0;b<c;++b)a.push(this.Qa[b]);return a};var Kq=function(a,b){y.call(this);this.Vh=a||0;this.Wd=b||10;if(this.Vh>this.Wd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ta=new Jq;this.vb=new Ic;this.delay=0;this.Gf=null;this.
|
|
697
|
-
var Lq=function(a,b){return a.vb.remove(b)?(a.Ne(b),!0):!1};h=Kq.prototype;h.Ne=function(a){this.vb.remove(a);this.Sf(a)&&this.R()<this.Wd?this.Ta.enqueue(a):this.
|
|
698
|
-
h.contains=function(a){return this.Ta.contains(a)||this.vb.contains(a)};h.R=function(){return this.Ta.R()+this.vb.R()};h.isEmpty=function(){return this.Ta.isEmpty()&&this.vb.isEmpty()};h.J=function(){Kq.L.J.call(this);if(0<this.vb.R())throw Error("[goog.structs.Pool] Objects not released");delete this.vb;for(var a=this.Ta;!a.isEmpty();)this.
|
|
692
|
+
yq.prototype.di=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));Bq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Sa&&Pb(this.Qc)&&Pb(this.Rc)&&!this.Ye&&(this.Ye=!0,this.dispatchEvent("complete"))}};yq.prototype.J=function(){delete this.Rc;delete this.Qc;Ha(this.Tb);yq.L.J.call(this)};var Cq=function(a,b){jq.call(this,a,b)};q(Cq,jq);Cq.prototype.fh=function(a,b,c,d){return new Dq(a,b,c,d)};w("ee.layers.ImageOverlay",Cq);var Dq=function(a,b,c,d){rq.call(this,a,b,c,d);this.de=Eq;this.Ih=this.ga=this.Rd=null;this.Yc=""};q(Dq,rq);
|
|
693
|
+
Dq.prototype.Lc=function(){try{var a=zd(this.Ci);this.Yc=wd(a);var b=this.Yc!==yd.toString()?this.Yc:this.Ca}catch(c){b=this.Ca}this.ga=new yq;Aq(this.ga,this.la.id+"-image",b);this.Ih=ac(this.ga,Fq,function(c){"load"==c.type?(this.Rd=c.target,rq.prototype.Lc.call(this)):this.hd()},void 0,this);this.ga.start()};Dq.prototype.Hc=function(){rq.prototype.Hc.call(this);this.ga&&(jc(this.Ih),Ha(this.ga))};Dq.prototype.J=function(){rq.prototype.J.call(this);this.Yc&&URL.revokeObjectURL(this.Yc)};
|
|
694
|
+
var Eq=function(a){a.la.appendChild(a.Rd)},Fq=["load","abort","error"];var Gq=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(0==d.lastIndexOf("/",0))b=d;else{var e;(e=""==b)||(e=b.length-1,e=0<=e&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var Hq=function(a,b,c,d){y.call(this);this.Sg=a;this.Zb=b;this.pg=d||"";this.Xd=c};q(Hq,vq);Hq.prototype.If=function(a){if(a.zoom<=this.Xd)a.Ca=this.Md(a.rb,a.zoom);else{var b=a.zoom-this.Xd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.rb.x/c),Math.floor(a.rb.y/c));a.Ca=this.Md(c,a.zoom-b);a.de=Fa(Iq,this.Xd)}var d=u(a.hd,a);a.hd=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?sq(a,"loaded"):d(e)},a);tq(a)};
|
|
695
|
+
Hq.prototype.getUniqueId=function(){return[this.Sg,this.Zb,this.Xd,this.pg].join("-")};Hq.prototype.Md=function(a,b){a=Gq("https://storage.googleapis.com",this.Sg,this.Zb,String(b),String(a.x),String(a.y));this.pg&&(a+=this.pg);return a};
|
|
696
|
+
var Iq=function(a,b){if(!b.Rd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.la.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.la.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Rd,c/a*(b.rb.x%a),c/a*(b.rb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Hq);var Jq=function(){this.La=[];this.Qa=[]};h=Jq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Jc=function(){0===this.La.length&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.R=function(){return this.La.length+this.Qa.length};h.isEmpty=function(){return 0===this.La.length&&0===this.Qa.length};h.clear=function(){this.La=[];this.Qa=[]};h.contains=function(a){return $a(this.La,a)||$a(this.Qa,a)};
|
|
697
|
+
h.remove=function(a){var b=this.La;var c=Ta(b,a);0<=c?(bb(b,c),b=!0):b=!1;return b||ab(this.Qa,a)};h.aa=function(){for(var a=[],b=this.La.length-1;0<=b;--b)a.push(this.La[b]);var c=this.Qa.length;for(b=0;b<c;++b)a.push(this.Qa[b]);return a};var Kq=function(a,b){y.call(this);this.Vh=a||0;this.Wd=b||10;if(this.Vh>this.Wd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ta=new Jq;this.vb=new Ic;this.delay=0;this.Gf=null;this.sd()};x(Kq,y);Kq.prototype.Oc=function(){var a=Date.now();if(!(null!=this.Gf&&a-this.Gf<this.delay)){for(var b;0<this.Ta.R()&&(b=this.Ta.Jc(),!this.Sf(b));)this.sd();!b&&this.R()<this.Wd&&(b=this.bf());b&&(this.Gf=a,this.vb.add(b));return b}};
|
|
698
|
+
var Lq=function(a,b){return a.vb.remove(b)?(a.Ne(b),!0):!1};h=Kq.prototype;h.Ne=function(a){this.vb.remove(a);this.Sf(a)&&this.R()<this.Wd?this.Ta.enqueue(a):this.Dd(a)};h.sd=function(){for(var a=this.Ta;this.R()<this.Vh;)a.enqueue(this.bf());for(;this.R()>this.Wd&&0<this.Ta.R();)this.Dd(a.Jc())};h.bf=function(){return{}};h.Dd=function(a){if("function"==typeof a.Ra)a.Ra();else for(var b in a)a[b]=null};h.Sf=function(a){return"function"==typeof a.Ok?a.Ok():!0};
|
|
699
|
+
h.contains=function(a){return this.Ta.contains(a)||this.vb.contains(a)};h.R=function(){return this.Ta.R()+this.vb.R()};h.isEmpty=function(){return this.Ta.isEmpty()&&this.vb.isEmpty()};h.J=function(){Kq.L.J.call(this);if(0<this.vb.R())throw Error("[goog.structs.Pool] Objects not released");delete this.vb;for(var a=this.Ta;!a.isEmpty();)this.Dd(a.Jc());delete this.Ta};var Mq=function(a,b){this.Nh=a;this.ue=b};Mq.prototype.getKey=function(){return this.Nh};Mq.prototype.clone=function(){return new Mq(this.Nh,this.ue)};var Nq=function(a){this.Aa=[];if(a)a:{if(a instanceof Nq){var b=a.tb();a=a.aa();if(0>=this.R()){for(var c=this.Aa,d=0;d<b.length;d++)c.push(new Mq(b[d],a[d]));break a}}else b=Lb(a),a=Kb(a);for(c=0;c<b.length;c++)Oq(this,b[c],a[c])}},Oq=function(a,b,c){var d=a.Aa;d.push(new Mq(b,c));b=d.length-1;a=a.Aa;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};h=Nq.prototype;
|
|
699
700
|
h.remove=function(){var a=this.Aa,b=a.length,c=a[0];if(!(0>=b)){if(1==b)a.length=0;else{a[0]=a.pop();a=0;b=this.Aa;for(var d=b.length,e=b[a];a<d>>1;){var g=2*a+1,f=2*a+2;g=f<d&&b[f].getKey()<b[g].getKey()?f:g;if(b[g].getKey()>e.getKey())break;b[a]=b[g];a=g}b[a]=e}return c.ue}};h.aa=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].ue);return b};h.tb=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
700
|
-
h.Ic=function(a){return this.Aa.some(function(b){return b.ue==a})};h.Pb=function(a){return this.Aa.some(function(b){return b.getKey()==a})};h.clone=function(){return new Nq(this)};h.R=function(){return this.Aa.length};h.isEmpty=function(){return 0===this.Aa.length};h.clear=function(){this.Aa.length=0};var Pq=function(){Nq.apply(this,arguments)};q(Pq,Nq);Pq.prototype.enqueue=function(a,b){Oq(this,a,b)};Pq.prototype.Jc=function(){return this.remove()};var Qq=function(a,b){this.ph=void 0;this.ge=new Pq;Kq.call(this,a,b)};x(Qq,Kq);h=Qq.prototype;h.Oc=function(a,b){if(!a)return(a=Qq.L.Oc.call(this))&&this.delay&&(this.ph=r.setTimeout(u(this.
|
|
701
|
-
h.J=function(){Qq.L.J.call(this);r.clearTimeout(this.ph);this.ge.clear();this.ge=null};var Rq=function(a,b){y.call(this);this.Jf=a;this.ua=b||null};q(Rq,vq);Rq.prototype.If=function(a,b){var c=bc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Al["x-earth-engine-computation-profile"];this.ua&&e&&this.ua.Lk(a.la.id,e);break;case "failed":case "aborted":this.ua&&""!==a.la.id&&this.ua.sl(a.la.id),jc(c)}},void 0,this);a.Ca=this.
|
|
702
|
-
Rq.prototype.zf=function(a,b){var c=Sq();if(a.Sa||"aborted"==a.getStatus())Lq(c,b);else{var d=bc(a,"status-changed",function(){a.ke in uq&&(jc(d),Lq(c,b))});tq(a)}};Rq.prototype.
|
|
701
|
+
h.Ic=function(a){return this.Aa.some(function(b){return b.ue==a})};h.Pb=function(a){return this.Aa.some(function(b){return b.getKey()==a})};h.clone=function(){return new Nq(this)};h.R=function(){return this.Aa.length};h.isEmpty=function(){return 0===this.Aa.length};h.clear=function(){this.Aa.length=0};var Pq=function(){Nq.apply(this,arguments)};q(Pq,Nq);Pq.prototype.enqueue=function(a,b){Oq(this,a,b)};Pq.prototype.Jc=function(){return this.remove()};var Qq=function(a,b){this.ph=void 0;this.ge=new Pq;Kq.call(this,a,b)};x(Qq,Kq);h=Qq.prototype;h.Oc=function(a,b){if(!a)return(a=Qq.L.Oc.call(this))&&this.delay&&(this.ph=r.setTimeout(u(this.Od,this),this.delay)),a;this.ge.enqueue(void 0!==b?b:100,a);this.Od()};h.Od=function(){for(var a=this.ge;0<a.R();){var b=this.Oc();if(b)a.Jc().apply(this,[b]);else break}};h.Ne=function(a){Qq.L.Ne.call(this,a);this.Od()};h.sd=function(){Qq.L.sd.call(this);this.Od()};
|
|
702
|
+
h.J=function(){Qq.L.J.call(this);r.clearTimeout(this.ph);this.ge.clear();this.ge=null};var Rq=function(a,b){y.call(this);this.Jf=a;this.ua=b||null};q(Rq,vq);Rq.prototype.If=function(a,b){var c=bc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Al["x-earth-engine-computation-profile"];this.ua&&e&&this.ua.Lk(a.la.id,e);break;case "failed":case "aborted":this.ua&&""!==a.la.id&&this.ua.sl(a.la.id),jc(c)}},void 0,this);a.Ca=this.Md(a.rb,a.zoom);var d=u(this.zf,this,a);Sq().Oc(d,b)};Rq.prototype.getUniqueId=function(){return this.Jf.mapid+"-"+this.Jf.token};
|
|
703
|
+
Rq.prototype.zf=function(a,b){var c=Sq();if(a.Sa||"aborted"==a.getStatus())Lq(c,b);else{var d=bc(a,"status-changed",function(){a.ke in uq&&(jc(d),Lq(c,b))});tq(a)}};Rq.prototype.Md=function(a,b){a=Zl(this.Jf,a.x,a.y,b);return this.ua&&this.ua.isEnabled()?a+"&profiling=1":a};var Sq=function(){Tq||(Tq=new Qq(0,4));return Tq};w("ee.layers.EarthEngineTileSource",Rq);var Tq=null;var Uq=function(a){y.call(this);this.Li=a};q(Uq,vq);Uq.prototype.If=function(a){a.Ca=this.Li.formatTileUrl(a.rb.x,a.rb.y,a.zoom);tq(a)};Uq.prototype.getUniqueId=function(){return this.Li.token};w("ee.layers.FeatureViewTileSource",Uq);var Wq=function(){D.call(this);this.pe=new Vq(0,60);this.wc=new zc};q(Wq,D);Wq.prototype.send=function(a,b,c,d,e){if(this.wc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Xq(a,b,d,u(this.ri,this),void 0!==e?e:1);this.wc.set(a,b);a=u(this.zf,this,b);this.pe.Oc(a,c);return b};Wq.prototype.abort=function(a){if(a=this.wc.get(a))a.kc||(a.kc=!0,a.Ja=new z("abort")),this.ri(a)};
|
|
703
704
|
Wq.prototype.zf=function(a,b){if(a.ga||a.kc)Yq(this,b);else if(a.Ni=b,b.setActive(!0),b=new yq,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};Wq.prototype.ri=function(a){this.wc.remove(a.getId());a.ga&&(Yq(this,a.Ni),a.ga.Ra());a.Af&&a.Af(a.Ja,a.mi)};var Yq=function(a,b){b.setActive(!1);if(!Lq(a.pe,b))throw Error("Object not released");};Wq.prototype.J=function(){D.prototype.J.call(this);this.pe.Ra();this.pe=null;var a=this.wc;Ua(a.aa(),function(b){b.Ra()});a.clear();this.wc=null};
|
|
704
705
|
w("ee.MapTileManager",Wq);var Xq=function(a,b,c,d,e){y.call(this);this.fa=a;this.Gl=b;this.kl=void 0!==e?e:1;this.Af=c;this.bc=d};q(Xq,y);h=Xq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Gl};h.Yk=function(a){if(this.kc)this.bc&&this.bc(this);else switch(a.type){case "load":this.Ja=a;this.bc&&this.bc(this);break;case "error":case "abort":this.retry()||(this.Ja=a,this.bc&&this.bc(this))}};h.J=function(){y.prototype.J.call(this);delete this.Af;delete this.bc};
|
|
705
706
|
h.retry=function(){if(this.Kg>this.kl)return!1;this.Kg++;Bq(this.ga,this.fa);setTimeout(u(this.Bl,this),0);return!0};
|
|
706
|
-
h.Bl=function(){if(!this.kc){var a=u(function(d){this.kc||(Aq(this.ga,this.fa,d),ac(this.ga,Zq,u(this.Yk,this)),this.ga.start())},this),b=this.getUrl();if(re(b).Ba.Pb("profiling")){var c=new pj;c.xc="blob";c.Xa("complete",u(function(){this.mi=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=wd(zd(Bj(c)));var e=d!==yd.toString()}catch(g){}a(e?d:b)},this));c.
|
|
707
|
-
h.Ni=null;h.Ja=null;h.mi=null;var Zq=["load","abort","error"],$q=function(){y.call(this);this.Ea=!1};q($q,y);$q.prototype.setActive=function(a){this.Ea=a};$q.prototype.isActive=function(){return this.Ea};var Vq=function(a,b){Qq.call(this,a,b)};q(Vq,Qq);Vq.prototype.bf=function(){return new $q};Vq.prototype.
|
|
707
|
+
h.Bl=function(){if(!this.kc){var a=u(function(d){this.kc||(Aq(this.ga,this.fa,d),ac(this.ga,Zq,u(this.Yk,this)),this.ga.start())},this),b=this.getUrl();if(re(b).Ba.Pb("profiling")){var c=new pj;c.xc="blob";c.Xa("complete",u(function(){this.mi=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=wd(zd(Bj(c)));var e=d!==yd.toString()}catch(g){}a(e?d:b)},this));c.Wc("ready",u(c.Ra,c));c.send(b,"GET")}else a(b)}};h.Kg=0;h.kc=!1;h.ga=null;
|
|
708
|
+
h.Ni=null;h.Ja=null;h.mi=null;var Zq=["load","abort","error"],$q=function(){y.call(this);this.Ea=!1};q($q,y);$q.prototype.setActive=function(a){this.Ea=a};$q.prototype.isActive=function(){return this.Ea};var Vq=function(a,b){Qq.call(this,a,b)};q(Vq,Qq);Vq.prototype.bf=function(){return new $q};Vq.prototype.Dd=function(a){a.Ra()};Vq.prototype.Sf=function(a){return!a.Sa&&!a.isActive()};var ar=function(a,b,c,d,e){Nc.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.wg=new Ic;this.Tf=1;this.ua=e||null};q(ar,Nc);h=ar.prototype;h.Oe=function(a){return bc(this,"tileevent",a)};h.bg=function(a){jc(a)};
|
|
708
709
|
h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=Oc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.yb,this.token].join("/");this.yb+=1;c=Uh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Ab.push(b);Pl(Wq).send(b,a,d,u(this.Xk,this,c,b));Yp(this);return c};h.Nc=function(){return this.Ab.length};
|
|
709
710
|
h.releaseTile=function(a){Pl(Wq).abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.wg.remove(b);""!==a.id&&(this.vg.remove(a.id),this.ua&&this.ua.sl(a.id))};h.setOpacity=function(a){this.Tf=a;var b=this.wg.Da();uc(b,function(c){iq(c,a)})};
|
|
710
|
-
h.Xk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&iq(c,this.Tf),a.appendChild(c)),Yp(this));this.ua&&null!==d&&this.ua.Lk(b,d)};w("ee.MapLayerOverlay",ar);ar.prototype.removeTileCallback=ar.prototype.bg;ar.prototype.addTileCallback=ar.prototype.Oe;ar.prototype.getTile=ar.prototype.getTile;ar.prototype.setOpacity=ar.prototype.setOpacity;ar.prototype.releaseTile=ar.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.
|
|
711
|
-
c=[["name","namedArgs"],["name"],["name","var_args"],"
|
|
712
|
-
"
|
|
713
|
-
"collection opt_description
|
|
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(" "),
|
|
715
|
-
["algorithm","opt_first"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["name","operator","value"],["
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
"opt_callback"],["
|
|
719
|
-
[
|
|
720
|
-
["
|
|
721
|
-
"
|
|
722
|
-
["
|
|
723
|
-
km,pm,sm,rm,
|
|
724
|
-
N.prototype.
|
|
711
|
+
h.Xk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&iq(c,this.Tf),a.appendChild(c)),Yp(this));this.ua&&null!==d&&this.ua.Lk(b,d)};w("ee.MapLayerOverlay",ar);ar.prototype.removeTileCallback=ar.prototype.bg;ar.prototype.addTileCallback=ar.prototype.Oe;ar.prototype.getTile=ar.prototype.getTile;ar.prototype.setOpacity=ar.prototype.setOpacity;ar.prototype.releaseTile=ar.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call 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.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.data.authenticateViaOauth ee.data.deleteAsset ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.getMapId ee.data.getWorkloadTag ee.data.getTaskList ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.authenticate ee.data.listImages ee.data.getAssetAcl ee.data.getTileUrl ee.data.getTaskListWithLimit ee.data.cancelOperation ee.data.listOperations ee.data.getAsset ee.data.getAssetRoots ee.data.getDownloadId ee.data.setWorkloadTag ee.data.makeDownloadUrl ee.data.createAssetHome ee.data.getFeatureViewTilesKey ee.data.authenticateViaPopup ee.data.getInfo ee.data.listFeatures ee.data.createAsset ee.data.setDefaultWorkloadTag ee.data.getOperation ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.newTaskId ee.data.updateAsset ee.data.getList ee.data.computeValue ee.data.cancelTask ee.data.startIngestion ee.data.createFolder ee.data.getThumbId ee.data.getVideoThumbId ee.data.setAssetAcl ee.data.listAssets ee.data.updateTask ee.data.startProcessing ee.data.renameAsset ee.data.getFilmstripThumbId ee.data.getTaskStatus ee.data.setAssetProperties ee.data.copyAsset ee.data.listBuckets ee.data.makeThumbUrl ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.Algorithms ee.InitState ee.apply ee.reset ee.initialize ee.TILE_SIZE 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.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.Filter.gt ee.Filter.lt ee.Filter.inList ee.Filter.neq ee.Filter.or ee.Filter.lte ee.Filter.gte ee.Filter.prototype.not ee.Filter ee.Filter.date ee.Filter.eq ee.Filter.metadata ee.Filter.bounds ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.serialize ee.Geometry ee.Geometry.Point ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSONString ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.LineString ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.expression ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.cat ee.Image ee.Image.rgb ee.Image.prototype.select ee.Image.prototype.getThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.List ee.Number ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
712
|
+
c=[["name","namedArgs"],["name"],["name","var_args"],"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
|
+
"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
|
+
"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
|
+
["collection","opt_description","opt_assetId","opt_maxVertices","opt_priority"],["classifier","opt_description","opt_assetId","opt_priority"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),"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
|
+
["algorithm","opt_first"],["start","opt_end"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["filter"],["name","operator","value"],["geometry"],["algorithm","opt_dropNulls"],["func","var_args"],["opt_callback"],["legacy"],["callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["assetId","opt_callback"],["taskId","request","opt_callback"],["rootId","opt_callback"],["params","opt_callback"],[],["opt_callback"],["params",
|
|
717
|
+
"opt_callback"],["id"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["parent","opt_params","opt_callback"],["assetId","opt_callback"],["id","x","y","z"],["opt_limit","opt_callback"],["operationName","opt_callback"],["opt_limit","opt_callback"],["id","opt_callback"],["opt_callback"],["params","opt_callback"],["tag"],["id"],["requestedId","opt_callback"],["params","opt_callback"],["opt_success","opt_error"],["id","opt_callback"],["asset","params","opt_callback"],["value",
|
|
718
|
+
"opt_path","opt_force","opt_properties","opt_callback"],["tag"],["operationName","opt_callback"],["opt_resetDefault"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["opt_count","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["obj","opt_callback"],["taskId","opt_callback"],["taskId","request","opt_callback"],["path","opt_force","opt_callback"],["params","opt_callback"],["params","opt_callback"],["assetId","aclUpdate",
|
|
719
|
+
"opt_callback"],["parent","opt_params","opt_callback"],["taskId","action","opt_callback"],["taskId","params","opt_callback"],["sourceId","destinationId","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["assetId","properties","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["project","opt_callback"],["id"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],["func","namedArgs"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),
|
|
720
|
+
[],["func","var_args"],["var_args"],[],["geometry","opt_properties"],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["args","opt_column"],["name","value"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["var_args"],
|
|
721
|
+
["name","value"],["name","value"],[],["opt_filter"],["start","opt_end"],["name","value"],["name","operator","value"],["geometry","opt_errorMargin"],["var_args"],["namedArgs"],["var_args"],["legacy"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["west","south","east","north"],["coords","opt_proj",
|
|
722
|
+
"opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["expression","opt_map"],["opt_visParams","opt_callback"],["params","opt_callback"],["geometry"],["var_args"],["var_args"],["opt_args"],["r","g","b"],["var_args"],["params","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],
|
|
723
|
+
["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_callback"],["selectors","opt_names"],[],["params","opt_callback"],["args"],["list"],["number"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[tn,sn,Q,cp,$o,To,ap,Zo,bp,Xo,Uo,Yo,dp,Wo,Ro,Vo,V.prototype.Mh,V.prototype.nf,V.prototype.limit,V.prototype.sort,V.prototype.filter,V.prototype.pf,V.prototype.xh,V.prototype.map,O.prototype.Gg,O.prototype.V,O.prototype.va,
|
|
724
|
+
O.prototype.evaluate,Rl,Vm,Im,$m,Yl,Wl,qm,jm,km,Sl,Nm,Wm,Zl,pm,sm,rm,Jm,Pm,hm,bn,im,Qm,$l,Ql,Jm,am,Rm,cn,tm,dn,Tl,lm,Xm,Lm,bm,vm,Gm,Sm,cm,dm,Ym,Mm,um,Cm,Tm,em,om,Zm,Um,Om,fm,up,Dp,xp,yp,zp,Ep,Pp,Rp,Tp,Qp,Np,256,Sp,S.prototype.set,ok,W,W.prototype.V,W.prototype.S,W.prototype.getMap,Y.prototype.S,Y.prototype.V,Y.prototype.select,Y.prototype.getMap,Y.prototype.sb,Y,ko,io,po,ho,no,lo,jo,U.prototype.sc,U,oo,go,ro,qo,mo,nn.prototype.apply,nn.prototype.call,T.prototype.va,T,Mn,Wn,T.prototype.oe,Vn,T.prototype.yg,
|
|
725
|
+
Pn,Qn,Rn,Yn,Xn,Un,N.prototype.V,N.prototype.S,N.prototype.sb,N.prototype.l,N.prototype.getMap,N.prototype.Ld,N.prototype.clip,N.prototype.si,Fo,N,Eo,N.prototype.select,N.prototype.xf,Z.prototype.Hf,Z.prototype.S,Z.prototype.getMap,Z.prototype.vf,Z.prototype.V,Z.prototype.select,Z.prototype.first,Z.prototype.yf,Z,Go,kp,jl,ul,kl,pl,ml,vl,tl,np,Hp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|