@google/earthengine 0.1.396 → 0.1.397

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.
@@ -7,11 +7,11 @@ b)},ma="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;
7
7
  if("function"==typeof Object.setPrototypeOf)oa=Object.setPrototypeOf;else{var pa;a:{var qa={a:!0},ra={};try{ra.__proto__=qa;pa=ra.a;break a}catch(a){}pa=!1}oa=pa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
8
8
  var sa=oa,q=function(a,b){a.prototype=na(b.prototype);a.prototype.constructor=a;if(sa)sa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.L=b.prototype},ta=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
9
9
  da("Promise",function(a){function b(){this.pb=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Ig=function(f){if(null==this.pb){this.pb=[];var l=this;this.Jg(function(){l.Uk()})}this.pb.push(f)};var d=k.setTimeout;b.prototype.Jg=function(f){d(f,0)};b.prototype.Uk=function(){for(;this.pb&&this.pb.length;){var f=this.pb;this.pb=[];for(var l=0;l<f.length;++l){var m=f[l];f[l]=null;try{m()}catch(p){this.Mk(p)}}}this.pb=null};b.prototype.Mk=function(f){this.Jg(function(){throw f;
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
- !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
- 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.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-
10
+ })};var e=function(f){this.T=0;this.ia=void 0;this.uc=[];this.Kh=!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
+ !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.yi(2,f)};e.prototype.Ch=function(f){this.yi(1,f)};e.prototype.yi=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
+ typeof l&&l.error(f.ia)}},1)};e.prototype.ml=function(){if(this.Kh)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.Cd(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.Cd(m(f,p),m(l,v));return A};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.Cd=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.Kh=!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).Cd(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).Cd(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.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||[]);}
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.ae=this.ae};y.prototype.Sa=!1;y.prototype.Ra=function(){this.Sa||(this.Sa=!0,this.J())};y.prototype.J=function(){if(this.ae)for(;this.ae.length;)this.ae.shift()()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ed=!1};z.prototype.stopPropagation=function(){this.ed=!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,42 +47,42 @@ 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.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}
50
+ a;a.defaultPrevented&&zb.L.preventDefault.call(this)}};x(zb,z);var yb=hb({2:"touch",3:"pen",4:"mouse"});zb.prototype.stopPropagation=function(){zb.L.stopPropagation.call(this);this.Ja.stopPropagation?this.Ja.stopPropagation():this.Ja.cancelBubble=!0};zb.prototype.preventDefault=function(){zb.L.preventDefault.call(this);var a=this.Ja;a.preventDefault?a.preventDefault():a.returnValue=!1};var Ab="closure_listenable_"+(1E6*Math.random()|0),Bb=function(a){return!(!a||!a[Ab])};var Cb=0;var Db=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.jb=e;this.key=++Cb;this.hd=this.Bd=!1},Eb=function(a){a.hd=!0;a.listener=null;a.proxy=null;a.src=null;a.jb=null};function Fb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Gb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Hb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function 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.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===
53
+ function Ub(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Tb.length;g++)c=Tb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Vb=function(a){this.src=a;this.ha={};this.od=0};Vb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ha[g];a||(a=this.ha[g]=[],this.od++);var f=Wb(a,b,d,e);-1<f?(b=a[f],c||(b.Bd=!1)):(b=new Db(b,this.src,g,!!d,e),b.Bd=c,a.push(b));return b};Vb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ha))return!1;var e=this.ha[a];b=Wb(e,b,c,d);return-1<b?(Eb(e[b]),bb(e,b),0==e.length&&(delete this.ha[a],this.od--),!0):!1};
54
+ var Xb=function(a,b){var c=b.type;c in a.ha&&ab(a.ha[c],b)&&(Eb(b),0==a.ha[c].length&&(delete a.ha[c],a.od--))};Vb.prototype.gd=function(a){a=a&&a.toString();var b=0,c;for(c in this.ha)if(!a||c==a){for(var d=this.ha[c],e=0;e<d.length;e++)++b,Eb(d[e]);delete this.ha[c];this.od--}};Vb.prototype.Mc=function(a,b,c,d){a=this.ha[a.toString()];var e=-1;a&&(e=Wb(a,b,c,d));return-1<e?a[e]:null};
55
+ Vb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return 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.hd&&g.listener==b&&g.capture==!!c&&g.jb==d)return e}return-1};var Yb="closure_lm_"+(1E6*Math.random()|0),Zb={},$b=0,bc=function(a,b,c,d,e){if(d&&d.once)return ac(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)bc(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?a.Xa(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!1,d,e)},dc=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=ec(a);l||(a[Yb]=l=new Vb(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=fc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)ib||(e=f),void 0===
56
56
  e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(gc(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");$b++;return c},fc=function(){var a=hc,b=function(c){return a.call(b.src,b.listener,c)};return b},ac=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)ac(a,b[g],c,d,e);return null}c=cc(c);return Bb(a)?
57
- 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)});
57
+ a.Wc(b,c,t(d)?!!d.capture:!!d,e):dc(a,b,c,!0,d,e)},ic=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)ic(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=cc(c),Bb(a)?a.te(b,c,d,e):a&&(a=ec(a))&&(b=a.Mc(b,c,d,e))&&jc(b)},jc=function(a){if("number"!==typeof a&&a&&!a.hd){var b=a.src;if(Bb(b))Xb(b.Ia,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(gc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);$b--;(c=ec(b))?
58
+ (Xb(c,a),0==c.od&&(c.src=null,b[Yb]=null)):Eb(a)}}},gc=function(a){return a in Zb?Zb[a]:Zb[a]="on"+a},hc=function(a,b){if(a.hd)a=!0;else{b=new zb(b,this);var c=a.listener,d=a.jb||a.src;a.Bd&&jc(a);a=c.call(d,b)}return a},ec=function(a){a=a[Yb];return a instanceof Vb?a:null},kc="__closure_events_fn_"+(1E9*Math.random()>>>0),cc=function(a){B(a,"Listener can not be null.");if("function"===typeof a)return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[kc]||(a[kc]=function(b){return a.handleEvent(b)});
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.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};
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.ed&&0<=g;g--){var f=a.currentTarget=c[g];e=mc(f,d,!0,a)&&e}a.ed||(f=a.currentTarget=b,e=mc(f,d,!0,a)&&e,a.ed||(e=mc(f,d,!1,a)&&e));if(c)for(g=0;!a.ed&&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.gd();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.te=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.hd&&f.capture==c){var l=f.listener,m=f.jb||f.src;f.Bd&&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.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();
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.qd=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.qd=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.qd++,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.qd++);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.qd,d=this,e=new rc;e.next=function(){if(c!=d.qd)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.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()};
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.gd=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.gd(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}
75
- function Xc(a,b,c,d,e){e=d(e);for(var g=ad(a,e),f=g.P||{},l=g.s||{},m=g.Ma||{},p=n(g.keys||[]),v=p.next(),A={};!v.done;A={Vd:void 0},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var J=void 0;if(f.hasOwnProperty(v)){if(g.sh&&0===C.length)continue;J=bd(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))J=bd(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))A.Vd=m[v],J=A.Vd.pa?C.map(function(fa){return function(X){return cd(X,fa.Vd,b,c,d)}}(A)):cd(C,A.Vd,b,c,d);else if(Array.isArray(C)){if(g.sh&&0===C.length)continue;
75
+ function Xc(a,b,c,d,e){e=d(e);for(var g=ad(a,e),f=g.P||{},l=g.s||{},m=g.Ma||{},p=n(g.keys||[]),v=p.next(),A={};!v.done;A={Wd:void 0},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var J=void 0;if(f.hasOwnProperty(v)){if(g.sh&&0===C.length)continue;J=bd(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))J=bd(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))A.Wd=m[v],J=A.Wd.pa?C.map(function(fa){return function(X){return cd(X,fa.Wd,b,c,d)}}(A)):cd(C,A.Wd,b,c,d);else if(Array.isArray(C)){if(g.sh&&0===C.length)continue;
76
76
  J=bd(C,b,c,d,!0,!1)}else J=C instanceof Qc?null:C;c(v,e,J)}}return e}function cd(a,b,c,d,e){for(var g={},f=n(Object.keys(a)),l=f.next();!l.done;l=f.next()){l=l.value;var m=a[l];null!=m&&(g[l]=bd(m,c,d,e,b.ra,b.qa,b.ka))}return g}
77
- function bd(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.li=a};fd.prototype.toString=function(){return this.li+""};
78
- var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.li;Na("expected object of type TrustedResourceUrl, got '%s' of type %s",a,xa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){if(void 0===dd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}dd=b}a=(b=dd)?b.createScriptURL(a):a;return new fd(a,ed)};/*
77
+ function bd(a,b,c,d,e,g,f){if(g&&null==f)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&g?a.map(function(l){return Xc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Xc(a,b,c,d,f):a instanceof Qc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function ad(a,b){if(b instanceof E)a=Sc(b.i());else if(a instanceof E)a=Sc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var dd;var fd=function(a,b){if(b!==ed)throw Error("TrustedResourceUrl is not meant to be built directly");this.ki=a};fd.prototype.toString=function(){return this.ki+""};
78
+ var gd=function(a){if(a instanceof fd&&a.constructor===fd)return a.ki;Na("expected object of type TrustedResourceUrl, got '%s' of type %s",a,xa(a));return"type_error:TrustedResourceUrl"},ed={},hd=function(a){if(void 0===dd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ga,createScript:Ga,createScriptURL:Ga})}catch(d){r.console&&r.console.error(d.message)}dd=b}a=(b=dd)?b.createScriptURL(a):a;return new fd(a,ed)};/*
79
79
 
80
80
  SPDX-License-Identifier: Apache-2.0
81
81
  */
82
- var id=ia([""]),jd=ja(["\x00"],["\\0"]),kd=ja(["\n"],["\\n"]),ld=ja(["\x00"],["\\u0000"]),md=ia([""]),nd=ja(["\x00"],["\\0"]),od=ja(["\n"],["\\n"]),pd=ja(["\x00"],["\\u0000"]);function qd(a){return Object.isFrozen(a)&&Object.isFrozen(a.raw)}function rd(a){return-1===a.toString().indexOf("`")}var sd=rd(function(a){return a(id)})||rd(function(a){return a(jd)})||rd(function(a){return a(kd)})||rd(function(a){return a(ld)}),td=qd(md)&&qd(nd)&&qd(od)&&qd(pd);var vd=function(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.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(){};
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.ji=a};vd.prototype.toString=function(){return this.ji.toString()};var wd=function(a){if(a instanceof vd&&a.constructor===vd)return a.ji;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.Dd=0;this.clear()},Od;Nd.prototype.clear=function(){this.Ad=Array(this.Dd);this.kh=-1;this.Jh=!1};var Pd=function(a,b,c){this.reset(a||Jd,b,c,void 0,void 0)};Pd.prototype.reset=function(){};
84
84
  var Qd=function(a,b){this.level=null;this.Zk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.gl={wf:function(){return a}}},Rd=function(a){if(a.level)return a.level;if(a.parent)return Rd(a.parent);Na("Root logger has no level set.");return Jd},Sd=function(a,b){for(;a;)a.Zk.forEach(function(c){c(b)}),a=a.parent},Td=function(){this.entries={};var a=new Qd("");a.level=Ld;this.entries[""]=a},Ud,Vd=function(a,b){var c=a.entries[b];if(c)return c;c=Vd(a,b.slice(0,Math.max(b.lastIndexOf("."),
85
- 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,
85
+ 0)));var d=new Qd(b,c);a.entries[b]=d;c.children.push(d);return d},Wd=function(){Ud||(Ud=new Td);return Ud},Xd=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Rd(Vd(Wd(),a.wf())):Jd;d=d>=e.value}if(d){b=b||Jd;d=Vd(Wd(),a.wf());"function"===typeof c&&(c=c());Od||(Od=new Nd);e=Od;a=a.wf();if(0<e.Dd){var g=(e.kh+1)%e.Dd;e.kh=g;e.Jh?(e=e.Ad[g],e.reset(b,c,a),a=e):(e.Jh=g==e.Dd-1,a=e.Ad[g]=new Pd(b,c,a))}else a=new Pd(b,c,a);Sd(d,a)}},Yd=function(a,b){a&&Xd(a,Kd,b)},Zd=function(a,b){a&&Xd(a,
86
86
  Md,b)};var $d=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")},ae=function(a){var b=1;a=a.split(":");for(var c=[];0<b&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var be=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),ce=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var de=function(a){this.ib=this.hc=this.wb="";this.vc=null;this.Sb=this.Zb="";this.za=this.cl=!1;if(a instanceof de){this.za=a.za;fe(this,a.wb);var b=a.hc;ge(this);this.hc=b;b=a.ib;ge(this);this.ib=b;he(this,a.vc);this.setPath(a.getPath());ie(this,a.Ba.clone());a=a.Sb;ge(this);this.Sb=a}else a&&(b=String(a).match(be))?(this.za=!1,fe(this,b[1]||"",!0),a=b[2]||"",ge(this),this.hc=je(a),a=b[3]||"",ge(this),this.ib=je(a,!0),he(this,b[4]),this.setPath(b[5]||"",!0),ie(this,b[6]||"",!0),a=b[7]||"",ge(this),
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("")};
@@ -95,7 +95,7 @@ function(a){a.N||(a.N=new Map,a.Y=0,a.ta&&ce(a.ta,function(b,c){a.add(decodeURIC
95
95
  h.isEmpty=function(){te(this);return 0==this.Y};h.Pb=function(a){te(this);a=ue(this,a);return this.N.has(a)};h.Ic=function(a){var b=this.aa();return $a(b,a)};h.forEach=function(a,b){te(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.tb=function(){te(this);for(var a=Array.from(this.N.values()),b=Array.from(this.N.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
96
96
  h.aa=function(a){te(this);var b=[];if("string"===typeof a)this.Pb(a)&&(b=b.concat(this.N.get(ue(this,a))));else{a=Array.from(this.N.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};h.set=function(a,b){te(this);this.ta=null;a=ue(this,a);this.Pb(a)&&(this.Y=Oa(this.Y)-this.N.get(a).length);this.N.set(a,[b]);this.Y=Oa(this.Y)+1;return this};h.get=function(a,b){if(!a)return b;a=this.aa(a);return 0<a.length?String(a[0]):b};
97
97
  h.setValues=function(a,b){this.remove(a);0<b.length&&(this.ta=null,this.N.set(ue(this,a),cb(b)),this.Y=Oa(this.Y)+b.length)};h.toString=function(){if(this.ta)return this.ta;if(!this.N)return"";for(var a=[],b=Array.from(this.N.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.aa(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.ta=a.join("&")};
98
- h.clone=function(){var a=new ke;a.ta=this.ta;this.N&&(a.N=new Map(this.N),a.Y=this.Y);return a};var ue=function(a,b){b=String(b);a.za&&(b=b.toLowerCase());return b};ke.prototype.hg=function(a){a&&!this.za&&(te(this),this.ta=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.za=a};ke.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Gc(arguments[b],function(c,d){this.add(d,c)},this)};function ve(a){if(null!=a.u){var b={},c;for(c in a.u)void 0!==a.u[c]&&(b[c]=a.u[c]);a.u=b}}function H(a,b){var c=we;b=void 0===b?{}:b;c=n(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=n(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var xe=function(){};xe.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function ye(a,b){if(null==a)return null;a=a.Ol(b);return null==a?null:a};var ze=function(a,b){this.M=a;this.al=void 0===b?null:b};q(ze,xe);var Ae=function(a,b,c){var d=ye(a.al,b);if(null==d)return c;d.Pl();return c.then(function(e){d.Rl(e);return e},function(e){d.Ql(e);throw e;})},I=function(a,b){var c=b.G||void 0,d=a.M,e=d.send,g=b.body instanceof E?Xc(b.body,Tc,Uc,Vc):b.body;return Ae(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,Ei:b.Ei&&b.Ei},c))};var Be={Ac:"ADMIN_READ",Bc:"DATA_READ",Cc:"DATA_WRITE",bk:"LOG_TYPE_UNSPECIFIED",values:function(){return[Be.bk,Be.Ac,Be.Cc,Be.Bc]}},Ce={Ac:"ADMIN_READ",ye:"ADMIN_WRITE",Bc:"DATA_READ",Cc:"DATA_WRITE",Ge:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[Ce.Ge,Ce.Ac,Ce.ye,Ce.Bc,Ce.Cc]}},De={cj:"AUTO_APPEAL_ELIGIBLE",gj:"CAPABILITY_GROUP_UNSPECIFIED",ij:"CLOUD_ALPHA",Dj:"EXTERNAL",Uj:"INTERNAL",Xj:"LIMITED",jk:"PREAUTHORIZED",lk:"PREVIEW",Ec:"PUBLIC",nk:"RESTRICTED",values:function(){return[De.gj,
98
+ h.clone=function(){var a=new ke;a.ta=this.ta;this.N&&(a.N=new Map(this.N),a.Y=this.Y);return a};var ue=function(a,b){b=String(b);a.za&&(b=b.toLowerCase());return b};ke.prototype.hg=function(a){a&&!this.za&&(te(this),this.ta=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.za=a};ke.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Gc(arguments[b],function(c,d){this.add(d,c)},this)};function ve(a){if(null!=a.u){var b={},c;for(c in a.u)void 0!==a.u[c]&&(b[c]=a.u[c]);a.u=b}}function H(a,b){var c=we;b=void 0===b?{}:b;c=n(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=n(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var xe=function(){};xe.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function ye(a,b){if(null==a)return null;a=a.Ol(b);return null==a?null:a};var ze=function(a,b){this.M=a;this.al=void 0===b?null:b};q(ze,xe);var Ae=function(a,b,c){var d=ye(a.al,b);if(null==d)return c;d.Pl();return c.then(function(e){d.Rl(e);return e},function(e){d.Ql(e);throw e;})},I=function(a,b){var c=b.G||void 0,d=a.M,e=d.send,g=b.body instanceof E?Xc(b.body,Tc,Uc,Vc):b.body;return Ae(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,Di:b.Di&&b.Di},c))};var Be={Ac:"ADMIN_READ",Bc:"DATA_READ",Cc:"DATA_WRITE",bk:"LOG_TYPE_UNSPECIFIED",values:function(){return[Be.bk,Be.Ac,Be.Cc,Be.Bc]}},Ce={Ac:"ADMIN_READ",ye:"ADMIN_WRITE",Bc:"DATA_READ",Cc:"DATA_WRITE",Ge:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[Ce.Ge,Ce.Ac,Ce.ye,Ce.Bc,Ce.Cc]}},De={cj:"AUTO_APPEAL_ELIGIBLE",gj:"CAPABILITY_GROUP_UNSPECIFIED",ij:"CLOUD_ALPHA",Dj:"EXTERNAL",Uj:"INTERNAL",Xj:"LIMITED",jk:"PREAUTHORIZED",lk:"PREVIEW",Ec:"PUBLIC",nk:"RESTRICTED",values:function(){return[De.gj,
99
99
  De.Ec,De.Uj,De.Dj,De.Xj,De.jk,De.lk,De.ij,De.nk,De.cj]}},Ee={Vi:"ADMIN_ACTIVITY",tj:"DATA_ACCESS",Dk:"UNSPECIFIED_LOG_NAME",values:function(){return[Ee.Dk,Ee.Vi,Ee.tj]}},Fe={Ac:"ADMIN_READ",ye:"ADMIN_WRITE",Bc:"DATA_READ",Cc:"DATA_WRITE",Ge:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[Fe.Ge,Fe.Ac,Fe.ye,Fe.Bc,Fe.Cc]}},Ge={wj:"DEFAULT_OBJECT_ACL",Ec:"PUBLIC",yk:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[Ge.yk,Ge.Ec,Ge.wj]}},He={Yi:"APPROVER",aj:"ATTRIBUTION",bj:"AUTHORITY",nj:"CREDENTIALS_TYPE",
100
100
  oj:"CREDS_ASSERTION",Wj:"JUSTIFICATION_TYPE",Fe:"NO_ATTR",qk:"SECURITY_REALM",values:function(){return[He.Fe,He.bj,He.aj,He.qk,He.Yi,He.Wj,He.nj,He.oj]}},Ie={Bj:"DISCHARGED",Cj:"EQUALS",Oj:"IN",dk:"NOT_EQUALS",ek:"NOT_IN",gk:"NO_OP",values:function(){return[Ie.gk,Ie.Cj,Ie.dk,Ie.Oj,Ie.ek,Ie.Bj]}},Je={Vj:"IP",ck:"NAME",Fe:"NO_ATTR",mk:"REGION",rk:"SERVICE",values:function(){return[Je.Fe,Je.mk,Je.rk,Je.ck,Je.Vj]}},Ke={Zj:"LOG_FAIL_CLOSED",ak:"LOG_MODE_UNSPECIFIED",values:function(){return[Ke.ak,Ke.Zj]}},
101
101
  Le={hj:"CLASSIFIER",Fj:"FEATURE_VIEW",Hj:"FOLDER",Lj:"IMAGE",Mj:"IMAGE_COLLECTION",xk:"TABLE",Ke:"TYPE_UNSPECIFIED",values:function(){return[Le.Ke,Le.Lj,Le.Mj,Le.xk,Le.Hj,Le.hj,Le.Fj]}},Me={Bb:"AUTO_JPEG_PNG",Cb:"GEO_TIFF",Db:"IMAGE_FILE_FORMAT_UNSPECIFIED",Eb:"JPEG",Fb:"MULTI_BAND_IMAGE_TILE",Gb:"NPY",Hb:"PNG",Ib:"TF_RECORD_IMAGE",Jb:"ZIPPED_GEO_TIFF",Kb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Me.Db,Me.Eb,Me.Hb,Me.Bb,Me.Gb,Me.Cb,Me.Ib,Me.Fb,Me.Jb,Me.Kb]}},Ne={Ek:"V1",Fk:"V2",Gk:"VERSION_UNSPECIFIED",
@@ -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.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,
118
+ var pf=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.wd?null:a.wd;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,{wd:{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
- 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
- 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
- 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
- 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.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}}});
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.xi?null:a.xi;this.h.auditLogConfigs=null==a.Mg?null:a.Mg};q(sf,E);sf.prototype.i=function(){return{P:{auditLogConfigs:tf},keys:["auditLogConfigs","service"]}};
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}},xi:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.h.service=a}}});
123
+ var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Rh?null:a.Rh;this.h.exemptedMembers=null==a.th?null:a.th;this.h.ignoreChildExemptions=null==a.Gh?null:a.Gh};q(tf,E);tf.prototype.i=function(){return{H:{logType:Be},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
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}},Gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Rh:{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.cd?null:a.cd};q(uf,E);uf.prototype.i=function(){return{H:{permissionType:Ce},keys:["permissionType"]}};k.Object.defineProperties(uf.prototype,{cd:{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,32 +130,32 @@ 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.bd?null:a.bd};q(Df,E);
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.Qh?null:a.Qh;this.h.authorizationLoggingOptions=null==a.Ng?null:a.Ng;this.h.permissionType=null==a.cd?null:a.cd};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}},bd:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=
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}},Qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.h.logName=a}},cd:{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"]}};
139
139
  k.Object.defineProperties(Ff.prototype,{uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};q(Gf,E);Gf.prototype.i=function(){return{keys:["expression","workloadTag"],s:{expression:Hf}}};
140
140
  k.Object.defineProperties(Gf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var If=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(If,E);If.prototype.i=function(){return{keys:["result"]}};
141
- k.Object.defineProperties(If.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}}});var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Fh?null:a.Fh;this.h.sys=null==a.Ii?null:a.Ii;this.h.svc=null==a.Hi?null:a.Hi;this.h.op=null==a.gi?null:a.gi;this.h.values=null==a.values?null:a.values};q(Jf,E);Jf.prototype.i=function(){return{H:{iam:He,op:Ie,sys:Je},keys:["iam","op","svc","sys","values"]}};
142
- k.Object.defineProperties(Jf.prototype,{Fh:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?F(this,"iam"):null},set:function(a){this.h.iam=a}},gi:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.h.op=a}},Hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.h.svc=a}},Ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.h.sys=
141
+ k.Object.defineProperties(If.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}}});var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Fh?null:a.Fh;this.h.sys=null==a.Hi?null:a.Hi;this.h.svc=null==a.Gi?null:a.Gi;this.h.op=null==a.fi?null:a.fi;this.h.values=null==a.values?null:a.values};q(Jf,E);Jf.prototype.i=function(){return{H:{iam:He,op:Ie,sys:Je},keys:["iam","op","svc","sys","values"]}};
142
+ k.Object.defineProperties(Jf.prototype,{Fh:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?F(this,"iam"):null},set:function(a){this.h.iam=a}},fi:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.h.op=a}},Gi:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.h.svc=a}},Hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.h.sys=
143
143
  a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Kf=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Qb?null:a.Qb;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.da?null:a.da};q(Kf,E);Kf.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
144
144
  k.Object.defineProperties(Kf.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
145
- var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Uh?null:a.Uh;this.h.field=null==a.vh?null:a.vh;this.h.customFields=null==a.lh?null:a.lh};q(Lf,E);Lf.prototype.i=function(){return{P:{customFields:Mf},keys:["customFields","field","metric"]}};
146
- k.Object.defineProperties(Lf.prototype,{lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"customFields")?F(this,"customFields"):null},set:function(a){this.h.customFields=a}},vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?F(this,"field"):null},set:function(a){this.h.field=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(this,"metric"):null},set:function(a){this.h.metric=a}}});
145
+ var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Th?null:a.Th;this.h.field=null==a.vh?null:a.vh;this.h.customFields=null==a.lh?null:a.lh};q(Lf,E);Lf.prototype.i=function(){return{P:{customFields:Mf},keys:["customFields","field","metric"]}};
146
+ k.Object.defineProperties(Lf.prototype,{lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"customFields")?F(this,"customFields"):null},set:function(a){this.h.customFields=a}},vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?F(this,"field"):null},set:function(a){this.h.field=a}},Th:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(this,"metric"):null},set:function(a){this.h.metric=a}}});
147
147
  var Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.value=null==a.value?null:a.value};q(Mf,E);Mf.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(Mf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return G(this,"value")?F(this,"value"):null},set:function(a){this.h.value=a}}});
148
- var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Qh?null:a.Qh};q(Nf,E);Nf.prototype.i=function(){return{H:{logMode:Ke},keys:["logMode"]}};k.Object.defineProperties(Nf.prototype,{Qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Of,E);
148
+ var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Ph?null:a.Ph};q(Nf,E);Nf.prototype.i=function(){return{H:{logMode:Ke},keys:["logMode"]}};k.Object.defineProperties(Nf.prototype,{Ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Of,E);
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.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:
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.Jd?null:a.Jd;this.h.tableLocation=null==a.Ii?null:a.Ii;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}},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,
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}},Jd:{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
- 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"):
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}},Ii:{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,
160
160
  enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.overwrite=null==a.overwrite?null:a.overwrite};q(Cf,E);Cf.prototype.i=function(){return{keys:["name","overwrite"]}};
161
161
  k.Object.defineProperties(Cf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
@@ -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.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=
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.Kd?null:a.Kd;this.h.bigqueryExportOptions=null==a.yd?null:a.yd;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}},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,
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}},yd:{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}},Kd:{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}}});
@@ -208,8 +208,8 @@ k.Object.defineProperties(jg.prototype,{mf:{configurable:!0,enumerable:!0,get:fu
208
208
  var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.type=null==a.type?null:a.type};q(ug,E);ug.prototype.i=function(){return{H:{type:Oe},keys:["name","type"]}};k.Object.defineProperties(ug.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});
209
209
  var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.assetVersion=null==a.Hg?null:a.Hg;this.h.permissions=null==a.permissions?null:a.permissions};q(sg,E);sg.prototype.i=function(){return{H:{permissions:Pe},keys:["assetVersion","name","permissions"]}};
210
210
  k.Object.defineProperties(sg.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetVersion")?F(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=a}}});
211
- k.Object.defineProperties(sg,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Pe}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.rg?null:a.rg;this.h.rankingOptions=null==a.Yf?null:a.Yf;this.h.prerenderingOptions=null==a.ji?null:a.ji};q(tg,E);tg.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],s:{prerenderingOptions:vg,rankingOptions:wg,thinningOptions:xg}}};
212
- k.Object.defineProperties(tg.prototype,{ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderingOptions")?F(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Yf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankingOptions")?F(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningOptions")?F(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
211
+ k.Object.defineProperties(sg,{Permissions:{configurable:!0,enumerable:!0,get:function(){return Pe}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.rg?null:a.rg;this.h.rankingOptions=null==a.Yf?null:a.Yf;this.h.prerenderingOptions=null==a.ii?null:a.ii};q(tg,E);tg.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],s:{prerenderingOptions:vg,rankingOptions:wg,thinningOptions:xg}}};
212
+ k.Object.defineProperties(tg.prototype,{ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderingOptions")?F(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Yf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankingOptions")?F(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningOptions")?F(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
213
213
  a}}});var Uf=function(a){a=void 0===a?{}:a;this.h={};this.h.location=null==a.location?null:a.location;this.h.assetOptions=null==a.assetOptions?null:a.assetOptions};q(Uf,E);Uf.prototype.i=function(){return{keys:["assetOptions","location"],s:{assetOptions:yg}}};
214
214
  k.Object.defineProperties(Uf.prototype,{assetOptions:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetOptions")?F(this,"assetOptions"):null},set:function(a){this.h.assetOptions=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.h.location=a}}});var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewAttributes=null==a.uh?null:a.uh;this.h.ingestionTimeParameters=null==a.rc?null:a.rc};q(yg,E);
215
215
  yg.prototype.i=function(){return{P:{featureViewAttributes:ug},keys:["featureViewAttributes","ingestionTimeParameters"],s:{ingestionTimeParameters:tg}}};
@@ -226,29 +226,30 @@ k.Object.defineProperties(Bg.prototype,{arguments:{configurable:!0,enumerable:!0
226
226
  a}}});var Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.We?null:a.We;this.h.tileDimensions=null==a.cc?null:a.cc;this.h.skipEmptyFiles=null==a.mg?null:a.mg;this.h.tileSize=null==a.tileSize?null:a.tileSize;this.h.noData=null==a.Rf?null:a.Rf};q(Cg,E);Cg.prototype.i=function(){return{keys:["cloudOptimized","noData","skipEmptyFiles","tileDimensions","tileSize"],s:{noData:Dg,tileDimensions:Eg}}};
227
227
  k.Object.defineProperties(Cg.prototype,{We:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?F(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},Rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"noData")?F(this,"noData"):null},set:function(a){this.h.noData=a}},mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},cc:{configurable:!0,enumerable:!0,
228
228
  get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileSize")?F(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var Fg=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(Fg,E);Fg.prototype.i=function(){return{keys:["options"],s:{options:Gg}}};
229
- k.Object.defineProperties(Fg.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.h.options=a}}});var Gg=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.ti?null:a.ti};q(Gg,E);Gg.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};
230
- k.Object.defineProperties(Gg.prototype,{ti:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});var Eg=function(a){a=void 0===a?{}:a;this.h={};this.h.width=null==a.width?null:a.width;this.h.height=null==a.height?null:a.height};q(Eg,E);Eg.prototype.i=function(){return{keys:["height","width"]}};
229
+ k.Object.defineProperties(Fg.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.h.options=a}}});var Gg=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.si?null:a.si};q(Gg,E);Gg.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};
230
+ k.Object.defineProperties(Gg.prototype,{si:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});var Eg=function(a){a=void 0===a?{}:a;this.h={};this.h.width=null==a.width?null:a.width;this.h.height=null==a.height?null:a.height};q(Eg,E);Eg.prototype.i=function(){return{keys:["height","width"]}};
231
231
  k.Object.defineProperties(Eg.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return G(this,"height")?F(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return G(this,"width")?F(this,"width"):null},set:function(a){this.h.width=a}}});var Hg=function(a){a=void 0===a?{}:a;this.h={};this.h.x=null==a.x?null:a.x;this.h.y=null==a.y?null:a.y};q(Hg,E);Hg.prototype.i=function(){return{keys:["x","y"]}};
232
232
  k.Object.defineProperties(Hg.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return G(this,"x")?F(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return G(this,"y")?F(this,"y"):null},set:function(a){this.h.y=a}}});
233
233
  var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ha?null:a.Ha;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Vf?null:a.Vf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(cg,E);
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.ld?null:a.ld};q(Sf,E);
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.md?null:a.md};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}},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);
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}},md:{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.Ld?null:a.Ld;this.h.tfRecordOptions=null==a.ne?null:a.ne;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}},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
- 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}}};
244
+ a}},Ld:{configurable:!0,enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},ne:{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.pd?null:a.pd;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
+ null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.minTileAreaRatio=null==a.Wh?null:a.Wh;this.h.skipMetadataRead=null==a.Ai?null:a.Ai;this.h.memo=null==a.Xc?null:a.Xc};q(Mg,E);
247
+ Mg.prototype.i=function(){return{P:{bands:Ng,maskBands:Og,tilesets:Tf},H:{pyramidingPolicy:We},keys:"bands endTime footprint maskBands memo 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
248
  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
- "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
- 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}},od:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
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}}};
249
+ "maskBands")?F(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Xc:{configurable:!0,enumerable:!0,get:function(){return G(this,"memo")?F(this,"memo"):null},set:function(a){this.h.memo=a}},Wh:{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=
250
+ 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}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Ai:{configurable:!0,enumerable:!0,get:function(){return G(this,
251
+ "skipMetadataRead")?F(this,"skipMetadataRead"):null},set:function(a){this.h.skipMetadataRead=a}},startTime:{configurable:!0,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}},pd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=
252
+ a}}});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
253
  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
254
  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}}};
254
255
  k.Object.defineProperties(Rg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},Bf:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},mode:{configurable:!0,enumerable:!0,get:function(){return G(this,"mode")?F(this,"mode"):null},set:function(a){this.h.mode=a}},overwrite:{configurable:!0,enumerable:!0,
@@ -270,38 +271,38 @@ k.Object.defineProperties(Dg.prototype,{rf:{configurable:!0,enumerable:!0,get:fu
270
271
  var Yg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.metadata=null==a.metadata?null:a.metadata;this.h.done=null==a.done?null:a.done;this.h.error=null==a.error?null:a.error;this.h.response=null==a.response?null:a.response};q(Yg,E);Yg.prototype.i=function(){return{keys:["done","error","metadata","name","response"],Ma:{metadata:{ka:null,pa:!1,qa:!1,ra:!1},response:{ka:null,pa:!1,qa:!1,ra:!1}},s:{error:ah}}};
271
272
  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
273
  "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
- 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.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
- 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
- "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,
274
+ 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.Ci?null:
275
+ a.Ci;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.ai?null:a.ai;this.h.batchEecuUsageSeconds=null==a.xd?null:a.xd};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(" ")}};
276
+ 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}},xd:{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,
277
+ 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}},ai:{configurable:!0,enumerable:!0,get:function(){return G(this,"notifications")?F(this,
278
+ "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}},Ci:{configurable:!0,
278
279
  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=
279
- a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var ch=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Oi?null:a.Oi;this.h.detail=null==a.detail?null:a.detail};q(ch,E);ch.prototype.i=function(){return{H:{severity:Ze},keys:["detail","severity","topic"]}};
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
- 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"]}};
280
+ a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var ch=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Ni?null:a.Ni;this.h.detail=null==a.detail?null:a.detail};q(ch,E);ch.prototype.i=function(){return{H:{severity:Ze},keys:["detail","severity","topic"]}};
281
+ 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}},Ni:{configurable:!0,enumerable:!0,get:function(){return G(this,"topic")?F(this,"topic"):null},set:function(a){this.h.topic=a}}});
282
+ 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.Oi?null:a.Oi;this.h.description=null==a.description?null:a.description};q(dh,E);dh.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
282
283
  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.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}}});
284
+ a}},Oi:{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.fd?null:a.fd;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}}};
285
+ 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}},fd:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(this,"range"):null},set:function(a){this.h.range=a}}});
285
286
  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
287
  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
288
  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
289
  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.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
- "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
- 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"]}};
290
+ 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.zd?null:a.zd;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"]}};
291
+ 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}},zd:{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,
292
+ "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.hi?null:a.hi;this.h.tileLimiting=null==a.Ji?null:a.Ji};q(vg,E);vg.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],s:{tileLimiting:fh}}};
293
+ k.Object.defineProperties(vg.prototype,{hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderTiles")?F(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Ji:{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
294
  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:[]}};
294
- var kh=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.ae?null:a.ae;this.h.rankByMinVisibleLodRule=null==a.oi?null:a.oi;this.h.rankByGeometryTypeRule=null==a.be?null:a.be;this.h.rankByMinZoomLevelRule=null==a.ce?null:a.ce;this.h.direction=null==a.direction?null:a.direction};q(kh,E);
295
+ var kh=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.be?null:a.be;this.h.rankByMinVisibleLodRule=null==a.ni?null:a.ni;this.h.rankByGeometryTypeRule=null==a.ce?null:a.ce;this.h.rankByMinZoomLevelRule=null==a.de?null:a.de;this.h.direction=null==a.direction?null:a.direction};q(kh,E);
295
296
  kh.prototype.i=function(){return{H:{direction:af},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByMinZoomLevelRule"],s:{rankByAttributeRule:gh,rankByGeometryTypeRule:hh,rankByMinVisibleLodRule:ih,rankByMinZoomLevelRule:jh}}};
296
- k.Object.defineProperties(kh.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return G(this,"direction")?F(this,"direction"):null},set:function(a){this.h.direction=a}},ae:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByAttributeRule")?F(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},be:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByGeometryTypeRule")?F(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
297
- a}},oi:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinVisibleLodRule")?F(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},ce:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinZoomLevelRule")?F(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
297
+ k.Object.defineProperties(kh.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return G(this,"direction")?F(this,"direction"):null},set:function(a){this.h.direction=a}},be:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByAttributeRule")?F(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},ce:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByGeometryTypeRule")?F(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
298
+ a}},ni:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinVisibleLodRule")?F(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},de:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinZoomLevelRule")?F(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
298
299
  var wg=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.Eg?null:a.Eg;this.h.thinningRankingRule=null==a.sg?null:a.sg};q(wg,E);wg.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],s:{thinningRankingRule:lh,zOrderRankingRule:lh}}};
299
300
  k.Object.defineProperties(wg.prototype,{sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningRankingRule")?F(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},Eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zOrderRankingRule")?F(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
300
- var lh=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Xf?null:a.Xf;this.h.pseudoRandomTiebreaking=null==a.ni?null:a.ni};q(lh,E);lh.prototype.i=function(){return{P:{rankByOneThingRule:kh},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
301
- k.Object.defineProperties(lh.prototype,{ni:{configurable:!0,enumerable:!0,get:function(){return G(this,"pseudoRandomTiebreaking")?F(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByOneThingRule")?F(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
302
- var eh=function(a){a=void 0===a?{}:a;this.h={};this.h.description=null==a.description?null:a.description;this.h.permissions=null==a.permissions?null:a.permissions;this.h.action=null==a.action?null:a.action;this.h["in"]=null==a.Jh?null:a.Jh;this.h.notIn=null==a.ai?null:a.ai;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Ph?null:a.Ph};q(eh,E);eh.prototype.i=function(){return{P:{conditions:Jf,logConfig:Zg},H:{action:bf},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
303
- k.Object.defineProperties(eh.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return G(this,"action")?F(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?F(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},Jh:{configurable:!0,enumerable:!0,
304
- get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.h["in"]=a}},Ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},ai:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?F(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=
301
+ var lh=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Xf?null:a.Xf;this.h.pseudoRandomTiebreaking=null==a.mi?null:a.mi};q(lh,E);lh.prototype.i=function(){return{P:{rankByOneThingRule:kh},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
302
+ k.Object.defineProperties(lh.prototype,{mi:{configurable:!0,enumerable:!0,get:function(){return G(this,"pseudoRandomTiebreaking")?F(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByOneThingRule")?F(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
303
+ var eh=function(a){a=void 0===a?{}:a;this.h={};this.h.description=null==a.description?null:a.description;this.h.permissions=null==a.permissions?null:a.permissions;this.h.action=null==a.action?null:a.action;this.h["in"]=null==a.Ih?null:a.Ih;this.h.notIn=null==a.Zh?null:a.Zh;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Oh?null:a.Oh};q(eh,E);eh.prototype.i=function(){return{P:{conditions:Jf,logConfig:Zg},H:{action:bf},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
304
+ k.Object.defineProperties(eh.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return G(this,"action")?F(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?F(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},Ih:{configurable:!0,enumerable:!0,
305
+ get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.h["in"]=a}},Oh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},Zh:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?F(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=
305
306
  a}}});var mh=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.kb?null:a.kb;this.h.updateMask=null==a.updateMask?null:a.updateMask};q(mh,E);mh.prototype.i=function(){return{keys:["policy","updateMask"],s:{policy:lg}}};
306
307
  k.Object.defineProperties(mh.prototype,{kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?F(this,"policy"):null},set:function(a){this.h.policy=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var ah=function(a){a=void 0===a?{}:a;this.h={};this.h.code=null==a.code?null:a.code;this.h.message=null==a.message?null:a.message;this.h.details=null==a.details?null:a.details};
307
308
  q(ah,E);ah.prototype.i=function(){return{keys:["code","details","message"],Ma:{details:{ka:null,pa:!0,qa:!1,ra:!1}}}};
@@ -312,51 +313,51 @@ k.Object.defineProperties(nh.prototype,{l:{configurable:!0,enumerable:!0,get:fun
312
313
  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
314
  kg.prototype.i=function(){return{H:{fileFormat:cf},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:Ef,driveDestination:Qf}}};
314
315
  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.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,
316
+ 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.zi?null:a.zi;this.h.primaryGeometryColumn=null==a.dd?null:a.dd};q(Wf,E);Wf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
317
+ 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}},dd:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},zi:{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
318
  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.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
- 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}}};
319
+ 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.pd?null:a.pd;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;this.h.memo=null==a.Xc?null:a.Xc};
320
+ q(Tg,E);Tg.prototype.i=function(){return{P:{sources:oh},H:{columnDataTypeOverrides:ef,csvColumnDataTypeOverrides:ff},keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime memo 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
321
  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
- 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}},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==
322
+ null},set:function(a){this.h.endTime=a}},Xc:{configurable:!0,enumerable:!0,get:function(){return G(this,"memo")?F(this,"memo"):null},set:function(a){this.h.memo=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")?
323
+ F(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"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}},pd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
324
+ 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.dd?null:a.dd;this.h.xColumn=null==a.Ri?null:a.Ri;this.h.yColumn=null==a.Ti?null:a.Ti;this.h.dateFormat=null==a.nh?null:a.nh;this.h.csvDelimiter=null==
324
325
  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
326
  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
327
  "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}},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
+ a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},dd:{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}},Ri:{configurable:!0,enumerable:!0,get:function(){return G(this,
328
329
  "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
- 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
+ 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.me?null:a.me;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
331
  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}}};
331
332
  k.Object.defineProperties(Lg.prototype,{Xe:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?F(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return G(this,"compress")?F(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},Lf:{configurable:!0,
332
333
  enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},gg:{configurable:!0,enumerable:!0,get:function(){return G(this,
333
- "sequenceData")?F(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},le:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
334
+ "sequenceData")?F(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},me:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
334
335
  var xg=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Of?null:a.Of;this.h.thinningStrategy=null==a.tg?null:a.tg};q(xg,E);xg.prototype.i=function(){return{H:{thinningStrategy:gf},keys:["maxFeaturesPerTile","thinningStrategy"]}};
335
336
  k.Object.defineProperties(xg.prototype,{Of:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFeaturesPerTile")?F(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningStrategy")?F(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=a}}});
336
337
  var ph=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.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.da?null:a.da;this.h.visualizationOptions=null==a.ic?null:a.ic;this.h.grid=null==a.grid?null:a.grid;this.h.filenamePrefix=null==a.xa?null:a.xa};q(ph,E);
337
338
  ph.prototype.i=function(){return{H:{fileFormat:hf},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),s:{expression:Hf,grid:eg,visualizationOptions:Zf}}};
338
339
  k.Object.defineProperties(ph.prototype,{da:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},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}},xa:{configurable:!0,enumerable:!0,get:function(){return G(this,
339
340
  "filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=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,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},ic:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
340
- a}}});var fh=function(a){a=void 0===a?{}:a;this.h={};this.h.maxPrerenderZoom=null==a.Th?null:a.Th;this.h.minVerticesPerTile=null==a.Yh?null:a.Yh;this.h.neighborDepth=null==a.Zh?null:a.Zh;this.h.minFeaturesPerTile=null==a.Wh?null:a.Wh};q(fh,E);fh.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
341
- k.Object.defineProperties(fh.prototype,{Th:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPrerenderZoom")?F(this,"maxPrerenderZoom"):null},set:function(a){this.h.maxPrerenderZoom=a}},Wh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minFeaturesPerTile")?F(this,"minFeaturesPerTile"):null},set:function(a){this.h.minFeaturesPerTile=a}},Yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minVerticesPerTile")?F(this,"minVerticesPerTile"):null},set:function(a){this.h.minVerticesPerTile=
342
- a}},Zh:{configurable:!0,enumerable:!0,get:function(){return G(this,"neighborDepth")?F(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
341
+ a}}});var fh=function(a){a=void 0===a?{}:a;this.h={};this.h.maxPrerenderZoom=null==a.Sh?null:a.Sh;this.h.minVerticesPerTile=null==a.Xh?null:a.Xh;this.h.neighborDepth=null==a.Yh?null:a.Yh;this.h.minFeaturesPerTile=null==a.Vh?null:a.Vh};q(fh,E);fh.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
342
+ k.Object.defineProperties(fh.prototype,{Sh:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPrerenderZoom")?F(this,"maxPrerenderZoom"):null},set:function(a){this.h.maxPrerenderZoom=a}},Vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minFeaturesPerTile")?F(this,"minFeaturesPerTile"):null},set:function(a){this.h.minFeaturesPerTile=a}},Xh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minVerticesPerTile")?F(this,"minVerticesPerTile"):null},set:function(a){this.h.minVerticesPerTile=
343
+ a}},Yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"neighborDepth")?F(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
343
344
  var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.hf?null:a.hf;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.og?null:a.og;this.h.skipEmpty=null==a.lg?null:a.lg;this.h.mapsApiKey=null==a.Kf?null:a.Kf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.stride=null==a.stride?null:a.stride;this.h.zoomSubset=null==a.Fg?null:a.Fg};q(gg,E);
344
345
  gg.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey scale skipEmpty startZoom stride zoomSubset".split(" "),s:{dimensions:Eg,zoomSubset:qh}}};
345
346
  k.Object.defineProperties(gg.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},hf:{configurable:!0,enumerable:!0,get:function(){return G(this,"endZoom")?F(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapsApiKey")?F(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},scale:{configurable:!0,enumerable:!0,
346
347
  get:function(){return G(this,"scale")?F(this,"scale"):null},set:function(a){this.h.scale=a}},lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmpty")?F(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=a}},og:{configurable:!0,enumerable:!0,get:function(){return G(this,"startZoom")?F(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},stride:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?F(this,"stride"):null},set:function(a){this.h.stride=
347
- a}},Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.sources=null==a.sources?null:a.sources;this.h.dataType=null==a.dataType?null:a.dataType;this.h.crs=null==a.crs?null:a.crs;this.h.subdatasetPrefix=null==a.Fi?null:a.Fi;this.h.subdatasetSuffix=null==a.Gi?null:a.Gi};q(Tf,E);
348
+ a}},Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.sources=null==a.sources?null:a.sources;this.h.dataType=null==a.dataType?null:a.dataType;this.h.crs=null==a.crs?null:a.crs;this.h.subdatasetPrefix=null==a.Ei?null:a.Ei;this.h.subdatasetSuffix=null==a.Fi?null:a.Fi};q(Tf,E);
348
349
  Tf.prototype.i=function(){return{P:{sources:Qg},H:{dataType:kf},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
349
350
  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
- 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.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,
351
+ F(this,"sources"):null},set:function(a){this.h.sources=a}},Ei:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Fi:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
352
+ 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.md?null:a.md;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}}};
353
+ 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}},md:{configurable:!0,
353
354
  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
355
  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
356
  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}}});
356
357
  var rh=function(a){a=void 0===a?{}:a;this.h={};this.h.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.h.headerSizeBytes=null==a.headerSizeBytes?null:a.headerSizeBytes};q(rh,E);rh.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
357
358
  k.Object.defineProperties(rh.prototype,{headerSizeBytes:{configurable:!0,enumerable:!0,get:function(){return G(this,"headerSizeBytes")?F(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathSuffix")?F(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
358
- var Ig=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.wh?null:a.wh;this.h.firstTileIndex=null==a.yh?null:a.yh;this.h.tilesPerFile=null==a.Mi?null:a.Mi};q(Ig,E);Ig.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
359
- k.Object.defineProperties(Ig.prototype,{wh:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Mi:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
359
+ var Ig=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.wh?null:a.wh;this.h.firstTileIndex=null==a.yh?null:a.yh;this.h.tilesPerFile=null==a.Li?null:a.Li};q(Ig,E);Ig.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
360
+ k.Object.defineProperties(Ig.prototype,{wh:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Li:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
360
361
  var sh=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Nb?null:a.Nb;this.h.updateMask=null==a.updateMask?null:a.updateMask};q(sh,E);sh.prototype.i=function(){return{keys:["asset","updateMask"],s:{asset:Rf}}};
361
362
  k.Object.defineProperties(sh.prototype,{Nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?F(this,"asset"):null},set:function(a){this.h.asset=a}},updateMask:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
362
363
  var rf=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.hb?null:a.hb;this.h.integerValue=null==a.Wa?null:a.Wa;this.h.bytesValue=null==a.qb?null:a.qb;this.h.arrayValue=null==a.Fa?null:a.Fa;this.h.dictionaryValue=null==a.Ga?null:a.Ga;this.h.functionDefinitionValue=null==a.Ua?null:a.Ua;this.h.functionInvocationValue=null==a.ya?null:a.ya;this.h.argumentReference=null==a.Mb?null:a.Mb;this.h.valueReference=null==a.Oa?null:a.Oa};q(rf,E);
@@ -370,9 +371,9 @@ a}}});var og=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null
370
371
  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
372
  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
373
  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.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
+ "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.ad?null:a.ad;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(Zf,E);
374
375
  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}},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
+ 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}},ad:{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
377
  "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
378
  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
379
  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)};
@@ -397,97 +398,97 @@ Gh.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j
397
398
  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
399
  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
400
  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.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
+ 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.Zd=0;this.Rd=null};Nh.prototype.get=function(){if(0<this.Zd){this.Zd--;var a=this.Rd;this.Rd=a.next;a.next=null}else a=this.Sk();return a};Nh.prototype.put=function(a){this.tl(a);this.Zd<this.dl&&(this.Zd++,a.next=this.Rd,this.Rd=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
402
  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
403
  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
404
  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
405
  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
406
  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.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};
407
+ "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.Fd=a||r.document||document};h=Zh.prototype;h.getElementsByTagName=function(a,b){return(b||this.Fd).getElementsByTagName(String(a))};
408
+ h.Rk=function(a,b,c){return Th(this.Fd,arguments)};h.createElement=function(a){return Vh(this.Fd,a)};h.createTextNode=function(a){return this.Fd.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
409
  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
- 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
+ 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.we=this.jc=null};ci.prototype.add=function(a,b){var c=di.get();c.set(a,b);this.we?this.we.next=c:(B(!this.jc),this.jc=c);this.we=c};ci.prototype.remove=function(){var a=null;this.jc&&(a=this.jc,this.jc=this.jc.next,this.jc||(this.we=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
411
  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
412
  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
413
  [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.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
+ !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.Od=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.ud=!1};ti.prototype.reset=function(){this.context=this.tc=this.Yb=this.Ob=null;this.ud=!1};
414
415
  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
416
  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.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
+ 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.ud||(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
418
  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
419
  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
420
  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.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(){};/*
421
+ var zi=function(a,b,c,d){if(3==c&&b.tc&&!b.ud)for(;a&&a.Od;a=a.X)a.Od=!1;if(b.Ob)b.Ob.X=null,Ei(b,c,d);else try{b.ud?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.Od=!0;ni(function(){a.Od&&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.vd=null;this.yc=!1;this.bd=0;this.fc=null};q(Hi,y);h=Hi.prototype;h.qf=function(a){this.vd=arguments;this.fc||this.bd?this.yc=!0:Ii(this)};h.stop=function(){this.fc&&(r.clearTimeout(this.fc),this.fc=null,this.yc=!1,this.vd=null)};h.pause=function(){this.bd++};h.resume=function(){this.bd--;this.bd||!this.yc||this.fc||(this.yc=!1,Ii(this))};h.J=function(){y.prototype.J.call(this);this.stop()};
422
+ var Ii=function(a){a.fc=Gi(function(){a.fc=null;a.yc&&!a.bd&&(a.yc=!1,Ii(a))},a.bl);var b=a.vd;a.vd=null;a.el.apply(null,b)};function Ji(){};/*
422
423
 
423
424
  Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
424
425
  Copyright The Closure Library Authors.
425
426
  SPDX-License-Identifier: MIT
426
427
  */
427
- var Ki=function(a,b){this.he=[];this.ci=a;this.oh=b||null;this.Pc=this.pc=!1;this.ia=void 0;this.kg=this.Qg=this.Se=!1;this.re=0;this.X=null;this.Te=0};x(Ki,Ji);Ki.prototype.cancel=function(a){if(this.pc)this.ia instanceof Ki&&this.ia.cancel();else{if(this.X){var b=this.X;delete this.X;a?b.cancel(a):(b.Te--,0>=b.Te&&b.cancel())}this.ci?this.ci.call(this.oh,this):this.kg=!0;this.pc||Li(this,new Mi(this))}};Ki.prototype.bh=function(a,b){this.Se=!1;Ni(this,a,b)};
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)};
428
+ var Ki=function(a,b){this.ie=[];this.bi=a;this.oh=b||null;this.Pc=this.pc=!1;this.ia=void 0;this.kg=this.Qg=this.Se=!1;this.se=0;this.X=null;this.Te=0};x(Ki,Ji);Ki.prototype.cancel=function(a){if(this.pc)this.ia instanceof Ki&&this.ia.cancel();else{if(this.X){var b=this.X;delete this.X;a?b.cancel(a):(b.Te--,0>=b.Te&&b.cancel())}this.bi?this.bi.call(this.oh,this):this.kg=!0;this.pc||Li(this,new Mi(this))}};Ki.prototype.bh=function(a,b){this.Se=!1;Ni(this,a,b)};
429
+ 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.ie.push([b,c,d]);a.pc&&Oi(a)};
429
430
  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
- 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.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
- 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
- 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("}");
431
+ var Wi=function(a){return Xa(a.ie,function(b){return"function"===typeof b[1]})},Vi={},Oi=function(a){if(a.se&&a.pc&&Wi(a)){var b=a.se,c=Xi[b];c&&(r.clearTimeout(c.fa),delete Xi[b]);a.se=0}a.X&&(a.X.Te--,delete a.X);b=a.ia;for(var d=c=!1;a.ie.length&&!a.Se;){var e=a.ie.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=
432
+ 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.se=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.Id=a};
433
+ Yi.prototype.Dl=function(){B(Xi[this.fa],"Cannot throw an error that is not scheduled.");delete Xi[this.fa];throw this.Id;};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={wi:e,nd: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.nd=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 "+
434
+ 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.wi){var a=this.wi;a&&"SCRIPT"==a.tagName&&aj(a,!0,this.nd)}},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,
435
+ b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Ia.call(this,c);this.code=a};x(bj,Ia);var dj=function(){this.ge=void 0};dj.prototype.va=function(a){var b=[];ej(this,a,b);return b.join("")};
436
+ 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.ge?a.ge.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.ge?a.ge.call(b,d,e):e,c),g=","));c.push("}");
436
437
  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.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
- 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.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
- 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
- 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
- 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
- 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.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
- 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
- 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.qd=function(a){this.Rb=a;return this};
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
- 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
- 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
- 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
- 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.396";"0.1.396"===
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
- 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
- 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
- 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
- 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
- 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.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
- w("ee.api.FeatureViewLocation",Uf);var nk=function(){};nk.prototype.Eh=function(){return null};var ok=function(){};w("ee.Encodable.SourceFrame",ok);
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
- 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.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
- 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
- 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"]=
438
+ 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 kj=function(a){var b;(b=a.Ug)||(b=a.Ug={});return b};var lj,mj=function(){};x(mj,jj);lj=new mj;var nj=function(a){D.call(this);this.headers=new Map;this.Si=a||null;this.Ea=!1;this.xe=this.o=null;this.Tc=this.Nh=this.Vd="";this.Ub=this.Cf=this.Td=this.jf=!1;this.zc=0;this.oe=null;this.xc="";this.ue=this.rl=this.Qi=!1;this.Qe=this.Bg=null};x(nj,D);nj.prototype.ba=Vd(Wd(),"goog.net.XhrIo").gl;var oj=/^https?$/i,pj=["POST","PUT"],qj=[];nj.prototype.Qk=function(){this.Ra();ab(qj,this)};nj.prototype.setTrustToken=function(a){this.Bg=a};nj.prototype.setAttributionReporting=function(a){this.Qe=a};
439
+ nj.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Vd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Vd=a;this.Tc="";this.Nh=b;this.jf=!1;this.Ea=!0;this.o=new XMLHttpRequest;this.xe=this.Si?kj(this.Si):kj(lj);this.o.onreadystatechange=u(this.ei,this);this.rl&&"onprogress"in this.o&&(this.o.onprogress=u(function(f){this.di(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=u(this.di,this)));try{Zd(this.ba,rj(this,"Opening Xhr")),
440
+ this.Cf=!0,this.o.open(b,String(a),!0),this.Cf=!1}catch(f){Zd(this.ba,rj(this,"Error opening Xhr: "+f.message));this.Id(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"==
441
+ f.toLowerCase()});e=r.FormData&&a instanceof r.FormData;!$a(pj,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.Qi&&(this.o.withCredentials=this.Qi);if("setTrustToken"in this.o&&this.Bg)try{this.o.setTrustToken(this.Bg)}catch(f){Zd(this.ba,rj(this,"Error SetTrustToken: "+
442
+ f.message))}if("setAttributionReporting"in this.o&&this.Qe)try{this.o.setAttributionReporting(this.Qe)}catch(f){Zd(this.ba,rj(this,"Error SetAttributionReporting: "+f.message))}try{sj(this),0<this.zc&&(this.ue=tj(this.o),Zd(this.ba,rj(this,"Will abort after "+this.zc+"ms if incomplete, xhr2 "+this.ue)),this.ue?(this.o.timeout=this.zc,this.o.ontimeout=u(this.nd,this)):this.oe=Gi(this.nd,this.zc,this)),Zd(this.ba,rj(this,"Sending request")),this.Td=!0,this.o.send(a),this.Td=!1}catch(f){Zd(this.ba,rj(this,
443
+ "Send error: "+f.message)),this.Id(5,f)}};var tj=function(a){return vb&&"number"===typeof a.timeout&&void 0!==a.ontimeout};nj.prototype.nd=function(){"undefined"!=typeof wa&&this.o&&(this.Tc="Timed out after "+this.zc+"ms, aborting",Zd(this.ba,rj(this,this.Tc)),this.dispatchEvent("timeout"),this.abort(8))};nj.prototype.Id=function(a,b){this.Ea=!1;this.o&&(this.Ub=!0,this.o.abort(),this.Ub=!1);this.Tc=b;uj(this);vj(this)};var uj=function(a){a.jf||(a.jf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
444
+ nj.prototype.abort=function(){this.o&&this.Ea&&(Zd(this.ba,rj(this,"Aborting")),this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),vj(this))};nj.prototype.J=function(){this.o&&(this.Ea&&(this.Ea=!1,this.Ub=!0,this.o.abort(),this.Ub=!1),vj(this,!0));nj.L.J.call(this)};nj.prototype.ei=function(){this.Sa||(this.Cf||this.Td||this.Ub?wj(this):this.nl())};nj.prototype.nl=function(){wj(this)};
445
+ var wj=function(a){if(a.Ea&&"undefined"!=typeof wa)if(a.xe[1]&&4==a.ub()&&2==a.getStatus())Zd(a.ba,rj(a,"Local request error detected and ignored"));else if(a.Td&&4==a.ub())Gi(a.ei,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ub()){Zd(a.ba,rj(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.Vd).match(be)[1]||null;!e&&r.self&&r.self.location&&(e=r.self.location.protocol.slice(0,-1));d=!oj.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
446
+ 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()+"]";uj(a)}}finally{vj(a)}}};nj.prototype.di=function(a,b){B("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(yj(a,"progress"));this.dispatchEvent(yj(a,b?"downloadprogress":"uploadprogress"))};
447
+ var yj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},vj=function(a,b){if(a.o){sj(a);var c=a.o,d=a.xe[0]?function(){}:null;a.o=null;a.xe=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Yd(a.ba,"Problem encountered resetting onreadystatechange: "+e.message)}}},sj=function(a){a.o&&a.ue&&(a.o.ontimeout=null);a.oe&&(r.clearTimeout(a.oe),a.oe=null)};nj.prototype.isActive=function(){return!!this.o};
448
+ nj.prototype.ub=function(){return this.o?this.o.readyState:0};nj.prototype.getStatus=function(){try{return 2<this.ub()?this.o.status:-1}catch(a){return-1}};
449
+ var zj=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}};nj.prototype.getResponseHeader=function(a){if(this.o&&4==this.ub())return a=this.o.getResponseHeader(a),null===a?void 0:a};
450
+ nj.prototype.getAllResponseHeaders=function(){return this.o&&2<=this.ub()?this.o.getAllResponseHeaders()||"":""};var Aj=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(", ")})},rj=function(a,b){return b+" ["+a.Nh+" "+a.Vd+" "+a.getStatus()+"]"};var Zi=ia(["https://accounts.google.com/gsi/client"]),Bj,K=function(a,b){Cj();this.callback=a;this.M=new Dj(!a,b)};K.prototype.rd=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 Ej=function(){return"projects/"+Bj};h=K.prototype;h.Fc=function(){return new uh(this.M)};
451
+ 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 Dj=function(a,b){this.sync=a=void 0===a?!1:a;this.Rb=void 0;this.ti=null!=b?b:a?5:10};q(Dj,Mh);
452
+ Dj.prototype.send=function(a,b){var c=this;ve(a);var d=a.path||"",e=Fj()+d,g=Gj(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=Hj(e,g,void 0,a.B,f,this.ti,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){Hj(e,g,function(v,A){A?p(A):m(v)},a.B,f,c.ti,c.Rb)})).then(function(m){return b?Wc(b,m):m})};var Jj=function(a){K.call(this,a);this.M=new Ij;this.Rb=void 0};q(Jj,K);
453
+ Jj.prototype.rd=function(a){this.Rb=a;return this};
454
+ Jj.prototype.send=function(a,b){var c=this,d=Fj()+"/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]=
455
+ Wc(p,f[m]))});return b?b(l):l};return this.callback?(Hj(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(Hj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Rb))};var Ij=function(){};q(Ij,Mh);
456
+ Ij.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=Kj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
457
+ var Lj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},Fj=function(){var a=Mj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Oj=function(a,b,c){var d=[];a&&(d=d.concat(Nj));
458
+ b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=t(g)?"o"+Ca(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Uj=function(a,b,c){Pj&&Qj&&Pj({client_id:String(Qj),scope:Rj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Sj(function(){try{Tj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Tj(a,
459
+ b,d)})},Kj=function(){Vj&&0<=Date.now()-Vj&&Wj();return Xj},Wj=function(){Vj=Xj=null},Cj=function(a,b,c,d){null!=a?Mj=a:Yj||(Mj="https://earthengine.googleapis.com/api");null!=b?Zj=b:Yj||(Zj="https://earthengine.googleapis.com");void 0!==c&&(ak=c);Bj=null!=d?d:Bj||"earthengine-legacy";Yj=!0},Hj=function(a,b,c,d,e,g,f){Cj();var l=bk,m="application/x-www-form-urlencoded";e&&(m="application/json",d&&d.startsWith("multipart")&&(m=d,d="POST"));d=d||"POST";m={"Content-Type":m};var p="0.1.397";"0.1.397"===
460
+ p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=Kj();if(null!=p)m.Authorization=p;else if(c&&Pj&&Qj)return Uj(function(){ck(l,function(){Hj(a,b,c,d)})}),null;b=b?b.clone():new ke;null!=dk&&b.add("key",dk);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");Bj&&"earthengine-legacy"!==Bj&&(m["X-Goog-User-Project"]=Bj);b=ek(b,a);null!=ak&&(m["X-XSRF-Token"]=ak);null!=fk&&(m["X-Earth-Engine-App-ID-Token"]=fk);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=-1!=
461
+ a.indexOf("?")?"&":"?",a+=v);e=a.startsWith("/")?Mj+a:a;if(c)return gk.push(hk(e,c,d,p,m,g,f)),ik.qf(),null;v=function(J,fa){this.setRequestHeader&&this.setRequestHeader(fa,J)};var A=0;for(g=null!=g?g:5;;){var C=new XMLHttpRequest;C.open(d,e,!1);Fb(m,v,C);C.send(p);if(429!=C.status||A>g)break;A++}return jk(C.status,function(J){try{return C.getResponseHeader(J)}catch(fa){return null}},C.responseText,l,void 0,e,d,f)},hk=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=bk,v=null!=
462
+ g?g:10;m.callback=function(A){A=A.target;if(429==A.getStatus()&&l<v)return l++,setTimeout(function(){gk.push(m);ik.qf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=jk,J=A.getStatus(),fa=u(A.getResponseHeader,A);try{var X=A.o?A.o.responseText:""}catch(ea){Zd(A.ba,"Can not get responseText: "+ea.message),X=""}return C(J,fa,X,p,b,a,c,f)};return m},ck=function(a,b){var c=bk;try{bk=a,b.call(void 0)}finally{bk=c}},jk=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);
463
+ var p=function(X){try{var ea=JSON.parse(X);return!(t(ea)&&"error"in ea&&"message"in ea.error)||l&&l(ea)?{parsed:ea}:ea.error.message}catch(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?
464
+ C=c.parsed:A=c;else if("multipart/mixed"===d){C={};var J=[];Lj(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);},Sj=function(a){var b=function(){Pj||(Pj=function(c,d){r.google.accounts.oauth2.initTokenClient({client_id:c.client_id,callback:d,scope:c.scope}).requestAccessToken()});a()};t(r.default_gsi)?
465
+ b():Ui(b)},Tj=function(a,b,c){if(c.access_token){b=c.token_type+" "+c.access_token;if(c.expires_in||0===c.expires_in){c=900*c.expires_in;var d=setTimeout(Uj,.9*c);void 0!==d.unref&&d.unref();Vj=Date.now()+c}Xj=b;a&&a()}else b&&b(c.error||"Unknown error.")},Gj=function(a){var b=new ke;a=n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=n(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},gk=[],ik=new Hi(function(){var a=gk.shift();if(a){var b=a.url,c=a.callback,d=a.method,
466
+ e=a.content;a=a.headers;var g=kk,f=new nj;qj.push(f);c&&f.Xa("complete",c);f.Wc("ready",f.Qk);g&&(f.zc=Math.max(0,g));f.send(b,d,e,a)}0==gk.length||ik.qf()},350),Mj=null,Zj=null,ak=null,fk=null,ek=qc,Xj=null,Vj=null,Qj=null,Rj=[],Pj=null,Nj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],dk=null,Yj=!1,kk=0,bk=null;w("ee.api.ListAssetsResponse",Vg);w("ee.api.EarthEngineAsset",Rf);w("ee.api.Operation",Yg);w("ee.api.ListFeaturesResponse",Wg);
467
+ w("ee.api.FeatureViewLocation",Uf);var lk=function(){};lk.prototype.Eh=function(){return null};var mk=function(){};w("ee.Encodable.SourceFrame",mk);
468
+ var nk=function(a){if(void 0===a||null===a)a=Rc;return new rf({hb:a})},ok=function(a){return new rf({Oa:a})},pk=function(a){return new rf({Fa:new qf({values:a})})},qk=function(a){return new rf({Ga:new Of({values:a})})},rk=function(a,b){return new rf({ya:new Bg({functionName:a,arguments:b})})},sk=function(a,b){return new rf({ya:new Bg({Va:a,arguments:b})})},tk=function(a,b){return new rf({Ua:new Ag({lc:a,body:b})})},uk=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
469
+ 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}},vk=function(a){if(!a)return"CSV";a=a.toUpperCase();
470
+ switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},wk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},xk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Ak=function(a){var b=new Zf,c=!1;"palette"in a&&(c=a.palette,b.ad="string"===
471
+ 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.ad?b.ad.length-1:255;d=yk(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=yk(a,"min","max");0!==d.length&&(b.Wf=d.map(function(g){return new Pf(g)}),c=!0);a=zk(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?
472
+ b:null},zk=function(a){return a?a.split(",").map(Number):[]},yk=function(a,b,c){var d=zk(a[b]),e=zk(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})},Bk=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.wd&&
473
+ (l.name=f.wd);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]=
474
+ c(e)}return d},Ck=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Dk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Ek=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Fk=function(a){return(a=Ck.exec(a))?a[1]:"earthengine-legacy"},Gk=function(a){return Dk.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
475
+ a},Ik=function(a){return(a.assets||[]).map(Hk)},Jk=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"}},Hk=function(a){var b=Kk(Jk(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
476
  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.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
- 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
- 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
- (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.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
- 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.wd&&(b.batch_eecu_usage_seconds=e.wd);return b},Wk=function(a){var b=
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
- 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
- ""}));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")&&
487
- (b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},Yk=function(a){if(null==a)return null;var b=new Kg({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);Array.isArray(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b},bl=function(a){var b=[];"startTime"in a&&(b.push('startTime >= "'+(new Date(a.startTime)).toISOString()+'"'),delete a.startTime);"endTime"in a&&(b.push('endTime < "'+(new Date(a.endTime)).toISOString()+
477
+ 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.fd&&(g.min=d.dataType.fd.min||0,g.max=d.dataType.fd.max),e.data_type=g);return e}));a.Jd&&(b.mapLocation=a.Jd);a.featureCount&&(b.featureCount=a.featureCount);
478
+ return b},Lk=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=
479
+ 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},Kk=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},Ok=function(a){var b={};a.num&&(b.pageSize=a.num);a.starttime&&(b.startTime=
480
+ (new Date(a.starttime)).toISOString());a.endtime&&(b.endTime=(new Date(a.endtime)).toISOString());a.bbox&&(b.region=Mk(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 Nk(b)},Mk=function(a){return'{"type":"Polygon","coordinates":[[['+
481
+ [[0,1],[2,1],[2,3],[0,3],[0,1]].map(function(b){return a[b[0]]+","+a[b[1]]}).join("],[")+"]]]}"},Pk=function(a){var b={};(a.zd||[]).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!=
482
+ e.length&&(d.all_users_can_read=!0);return d},Qk=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({zd:b.filter(function(d){return d.Xb.length}),
483
+ kf:null})},Sk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Rk(a)},Rk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Tk=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";
484
+ 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=Rk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.gf;b.source_url=e.fg;null!=e.xd&&(b.batch_eecu_usage_seconds=e.xd);return b},Uk=function(a){var b=
485
+ {started:"OK"};a.name&&(b.taskId=Rk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Vk=function(a){return a.primaryPath?[a.primaryPath].concat(ka(a.additionalPaths||[])):null},Yk=function(a){var b=function(g){var f=Wc(Qg,g);f.uris=Vk(g);return f},c=Wc(Mg,a);c.name=Gk(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=Wk(g.missingData);return f});c.missingData=
486
+ Wk(a.missingData);c.Mf=gb((a.tilesets||[]).map(Xk));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},Xk=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||
487
+ ""}));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},Zk=function(a){var b=Wc(Tg,a);b.name=Gk(a.id);b.sources=(a.sources||[]).map(function(e){var g=Wc(oh,e);g.uris=Vk(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")&&
488
+ (b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},Wk=function(a){if(null==a)return null;var b=new Kg({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);Array.isArray(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b},$k=function(a){var b=[];"startTime"in a&&(b.push('startTime >= "'+(new Date(a.startTime)).toISOString()+'"'),delete a.startTime);"endTime"in a&&(b.push('endTime < "'+(new Date(a.endTime)).toISOString()+
488
489
  '"'),delete a.endTime);if("region"in a){var c=a.region;if("object"===typeof c)try{c=JSON.stringify(c)}catch(e){throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');}else if("string"!==typeof c)throw Error('Filter parameter "region" must be a GeoJSON or WKT string.');c=c.replace(/"/g,"'");b.push('intersects("'+c+'")');delete a.region}if("properties"in a){if(!Array.isArray(a.properties)&&a.properties.some(function(e){return"string"!==typeof e}))throw Error('Filter parameter "properties" must be an array of strings');
489
- c=n(a.properties);for(var d=c.next();!d.done;d=c.next())b.push(d.value.trim().replace(/^(properties\.)?/,"properties."));delete a.properties}return b.join(" AND ")},Pk=function(a){a=Object.assign({},a);var b=bl(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var cl=function(){this.blockSize=-1};var dl=function(){this.blockSize=-1;this.blockSize=64;this.W=Array(4);this.Nk=Array(this.blockSize);this.qe=this.Gc=0;this.reset()};x(dl,cl);dl.prototype.reset=function(){this.W[0]=1732584193;this.W[1]=4023233417;this.W[2]=2562383102;this.W[3]=271733878;this.qe=this.Gc=0};
490
- var el=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.W[0];c=a.W[1];e=a.W[2];var g=a.W[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>>
490
+ c=n(a.properties);for(var d=c.next();!d.done;d=c.next())b.push(d.value.trim().replace(/^(properties\.)?/,"properties."));delete a.properties}return b.join(" AND ")},Nk=function(a){a=Object.assign({},a);var b=$k(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var al=function(){this.blockSize=-1};var bl=function(){this.blockSize=-1;this.blockSize=64;this.W=Array(4);this.Nk=Array(this.blockSize);this.re=this.Gc=0;this.reset()};x(bl,al);bl.prototype.reset=function(){this.W[0]=1732584193;this.W[1]=4023233417;this.W[2]=2562383102;this.W[3]=271733878;this.re=this.Gc=0};
491
+ var cl=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.W[0];c=a.W[1];e=a.W[2];var g=a.W[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>>
491
492
  15);f=c+(b^e&(g^b))+d[3]+3250441966&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[4]+4118548399&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[5]+1200080426&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[6]+2821735955&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[7]+4249261313&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[8]+1770035416&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[9]+2336552879&4294967295;g=b+(f<<12&4294967295|
492
493
  f>>>20);f=e+(c^g&(b^c))+d[10]+4294925233&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[11]+2304563134&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[12]+1804603682&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[13]+4254626195&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[14]+2792965006&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[15]+1236535329&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(e^g&(c^e))+d[1]+4129170786&4294967295;b=c+(f<<
493
494
  5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[6]+3225465664&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[11]+643717713&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[0]+3921069994&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[5]+3593408605&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[10]+38016083&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[15]+3634488961&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[4]+3889429448&4294967295;c=
@@ -497,229 +498,229 @@ f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c
497
498
  3873151461&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[15]+530742520&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[2]+3299628645&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(e^(c|~g))+d[0]+4096336452&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[7]+1126891415&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[14]+2878612391&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[5]+4237533241&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[12]+1700485571&
498
499
  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
500
  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
- 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.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
- 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
- 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
- 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.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
- 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
- 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,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');
501
+ bl.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;)cl(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){cl(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){cl(this,d);e=0;break}}this.Gc=e;this.re+=b};
502
+ bl.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.re;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 dl=function(a){this.sd="__ee_hash__";this.Ud=!1!==a;this.Ya=[];this.wa={};this.Dg=[];this.Qd=new WeakMap;this.ng=new WeakMap;this.Pi=void 0};w("ee.Serializer",dl);var el=new dj,fl=new bl,hl=function(a,b){return gl(new dl(void 0!==b?b:!0),a)};w("ee.Serializer.encode",hl);var il=function(a){return el.va(hl(a))};w("ee.Serializer.toJSON",il);var kl=function(a){return jl(hl(a,!1))};w("ee.Serializer.toReadableJSON",kl);
503
+ var jl=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):el.va(a)},gl=function(a,b){b=a.Hd(b);a.Ud&&(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.sd]},a)),a.Dg=[],a.wa={});return b};
504
+ dl.prototype.Hd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.sd]:null;if(this.Ud&&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 lk){var c=a.encode(u(this.Hd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
505
+ Wa(a,function(e){return this.Hd(e)},this);else if(t(a)&&"function"!==typeof a)c=Hb(a,function(e){if("function"!==typeof e)return this.Hd(e)},this),Qb(c,this.sd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Ud){b=ll(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.sd]=b;this.Dg.push(a);return{type:"ValueRef",value:d}}return c};
506
+ var ll=function(a){fl.reset();fl.update(el.va(a));return fl.digest().toString()},nl=function(a){return Xc(ml(a),Tc,Uc,Vc)};w("ee.Serializer.encodeCloudApi",nl);
507
+ var ml=function(a,b){return ol(new dl(!0),a,b)},ol=function(a,b,c){a.Pi=c;return pl(a,b)},ql=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},rl=function(a){a=pl(new dl(!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"===
508
+ 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",rl);var sl=function(a){return el.va(nl(a))};w("ee.Serializer.toCloudApiJSON",sl);var tl=function(a){return jl(rl(a))};w("ee.Serializer.toReadableCloudApiJSON",tl);
509
+ var pl=function(a,b){try{var c=ul(a,b),d=new vl(c,a.Ya,a.Ud,a.ng),e=wl(d,d.vi);return new Hf({result:e,values:d.gi})}finally{a.Qd=new WeakMap,a.wa={},a.Ya=[]}},ul=function(a,b){var c=function(f){var l=ll(f);t(b)&&a.Qd.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.Qd.get(b)])return a.wa[a.Qd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(nk(b));if(za(b))return c(rk("Date",{value:nk(Math.floor(b.getTime()))}));
510
+ if(b instanceof lk){var d=b.na(a),e=b.Eh();null!==e&&a.ng.set(d,e);return c(d)}if(Array.isArray(b))return c(pk(b.map(function(f){return ok(ul(a,f))})));if(t(b)&&"function"!==typeof b){var g={};Object.keys(b).sort().forEach(function(f){g[f]=ok(ul(a,b[f]))});return c(qk(g))}throw Error("Can't encode object: "+b);},vl=function(a,b,c,d){var e=this;this.vi=a;this.values={};b.forEach(function(g){return e.values[g[0]]=g[1]});this.oi=c?xl(this):null;this.gi={};this.Zf={};this.ll=0;this.kd=d},wl=function(a,
511
+ b){if(b in a.Zf)return a.Zf[b];var c=String(a.ll++);a.Zf[b]=c;a.gi[c]=yl(a,a.values[b],0);return c},yl=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.kd&&a.kd.has(A)&&!a.kd.has(C)&&a.kd.set(C,a.kd.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.oi||50>c&&1===a.oi[b.Oa])return d=yl(a,d,c),g(b,d);if(zl(d))return g(b,d);d=ok(wl(a,b.Oa));return g(b,d)}if(null!=b.Fa){var f=b.Fa.values.map(function(A){return yl(a,
512
+ A,c+3)});d=f.every(d)?nk(f.map(function(A){return e(A.hb)})):pk(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]=yl(a,v,c+3);null!==l&&d(f[p])?l[p]=e(f[p].hb):l=null}return null!==l?g(b,nk(l)):g(f,qk(f))}if(null!=b.Ua)return d=b.Ua,d=tk(d.lc||[],wl(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,
513
+ f[m]=yl(a,d.arguments[m],c+3);d=d.functionName?rk(d.functionName,f):sk(wl(a,d.Va||""),f);return g(b,d)}throw Error("Can't optimize value: "+b);},zl=function(a){var b=a.hb;return null!==b?b===Rc||"number"===typeof b||"boolean"===typeof b:null!=a.Mb},xl=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)):
514
+ null!=e.Oa&&c(e.Oa)};c(a.vi);return b};var Fl=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:ml(a.element),description:L(a.description),oa:null,sa:null,Kd:null,yd: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=Al(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new kg({ja:null,ma:null,F:vk(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===
515
+ c?d.ja=Bl(a):d.ma=Cl(a);b.oa=d;break;case "ASSET":b.sa=new ig({Ha:Dl(a)});break;case "FEATURE_VIEW":c=new sg({name:Gk(a.mapName)});d=null==a?null:new xg({Of:M(a.maxFeaturesPerTile),tg:a.thinningStrategy});var e=null==a?null:new wg({Eg:El(a.zOrderRanking),sg:El(a.thinningRanking)});d=new tg({rg:d,Yf:e});c=new jg({mf:c,rc:d});b.Kd=c;break;case "BIGQUERY":b.yd=new wf({Re:new vf({table:L(a.table),overwrite:!!a.overwrite,append:!!a.append})});break;default:throw Error('Export destination "'+c+'" unknown');
515
516
  }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
- 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,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
- 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});
517
+ var Al=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},Hl=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:Gl(a.tfrecordPatchDimensions),Lf:Gl(a.tfrecordKernelSize),me:null});
518
+ 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.me=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Il=function(a,b){var c=new dg({ja:null,ma:null,Ld:null,ne:null,F:uk(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
519
+ var d=a.tiffShardSize||a.shardSize;var e=!!a.tiffCloudOptimized;var g=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),f=Gl(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.Ld=e}else"TF_RECORD_IMAGE"===c.F&&(c.ne=Hl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ja=Bl(a):c.ma=Cl(a);return c},Jl=function(a,b){var c=new ng({ja:null,ma:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ja=Bl(a):c.ma=Cl(a);return c},Kl=function(a){var b,
520
+ 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=Gl(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})},Gl=function(a){if(null==a)return null;var b=new Eg({height:0,width:0});
520
521
  "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
- 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: "+
522
- JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},Nl=function(a){var b=new kh({direction:null,ae:null,ce:null,be:null});a=a.trim();a=a.match(/^([\S]+.*)\s+(ASC|DESC)$/);if(null==a)throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");var c=n(a);c.next();a=c.next().value;c=c.next().value;switch(c.toUpperCase()){case "ASC":b.direction=
523
- "ASCENDING";break;case "DESC":b.direction="DESCENDING";break;default:throw Error("Ranking rule direction '"+c+"' is invalid. Directions are: ASC, DESC.");}switch(a.trim()){case ".geometryType":b.be=new hh({});break;case ".minZoomLevel":b.ce=new jh({});break;default:b.ae=new gh({attributeName:L(a)})}return b};var Ol=[],Pl=function(a){B(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Ef";if(a.Ef&&a.hasOwnProperty(b))return a.Ef;Ol.push(a);var c=new a;a.Ef=c;B(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var Rl=function(a,b,c,d,e,g){d=Qj(!g,!1,d||[]);Sj=a;Tj=d;null===a?Yj():Uj(function(){Wj(b,c,e||Fa(Ql,b,c))})};w("ee.data.authenticateViaOauth",Rl);var Sl=function(a,b,c,d,e){Rl(a,b,c,d,e)};w("ee.data.authenticate",Sl);var Ql=function(a,b){r.google.accounts.oauth2.initTokenClient({client_id:Sj,callback:Fa(Vj,a,b),scope:Tj.join(" ")}).requestAccessToken()};w("ee.data.authenticateViaPopup",Ql);
524
- var Tl=function(a,b,c,d,e){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");d=Qj(!e,!e,d||[]);Sj=a.client_email;Tj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);Rj=function(f,l){g.authorize(function(m,p){m?l({error:m}):l({access_token:p.access_token,token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};Wj(b,c)};w("ee.data.authenticateViaPrivateKey",Tl);
525
- w("ee.data.setExpressionAugmenter",function(a){Ul=a||qc});var Ul=qc;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=Qj(!l,!1,e||[]);Sj=a;Tj=e;Vj(void 0,void 0,{token_type:b,access_token:c,state:e.join(" "),expires_in:d});!1===f?g&&g():Uj(function(){g&&g()})});w("ee.data.refreshAuthToken",Wj);w("ee.data.setAuthTokenRefresher",function(a){Rj=a});w("ee.data.getAuthToken",Mj);w("ee.data.clearAuthToken",Yj);w("ee.data.getAuthClientId",function(){return Sj});w("ee.data.getAuthScopes",function(){return Tj});
526
- w("ee.data.setDeadline",function(a){mk=a});w("ee.data.setParamAugmenter",function(a){gk=a||qc});
527
- var Vl=function(a){a=new K(a);return a.handle(a.Fc().list(Gj(),{prettyPrint:!1}).then(Dk))},Yl=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new Yf({name:null,l:Ul(ol(a.image)),F:wk(a.format),da:zk(a.bands),ic:Ck(a)});var c={fields:"name"},d=Wl();d&&(c.workloadTag=d);b=new K(b);return b.handle(b.maps().create(Gj(),a,c).then(function(e){return Xl(e.name,"")}))};
528
- w("ee.data.getMapId",Yl);var Zl=function(a,b,c,d){if(!a.formatTileUrl){var e=Xl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Zl);
529
- var Xl=function(a,b,c){var d=void 0===c?"":c;d||(Ej(),c=bk,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,g,f){var l=Math.pow(2,f);e%=l;e=String(0>e?e+l:e);return d.replace("{x}",e).replace("{y}",g).replace("{z}",f)},urlFormat:d}},$l=function(a,b){var c=a.visParams?Ul(ol(a.visParams)):null;a=new rg({name:null,Nb:a.assetId,mapName:a.mapName,Cg:c});b=new K(b);return b.handle((new yh(b.M)).create(Gj(),a,{fields:["name"]}).then(function(d){var e=
530
- d.name.split("/").pop();return{token:e,formatTileUrl:function(g,f,l){return bk+"/v1/"+d.name+"/tiles/"+l+"/"+g+"/"+f},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",$l);
531
- var am=function(a,b,c){c=new K(c);var d=Ik(a);a=c.handle;var e=c.assets();b=void 0===b?{}:b;var g=void 0===g?{}:g;e.j.C(d,RegExp("^projects/[^/]+/assets/.*$"));g=I(e.j,{body:null,B:"GET",D:"earthengine.projects.assets.listFeatures",path:"/"+e.m+"/"+d+":listFeatures",u:H(b,g),G:Wg});return a.call(c,g)};w("ee.data.listFeatures",am);
532
- var bm=function(a,b){var c=new fl(!0);a=ql(c,a);var d={};c=sl(c,a);Object.keys(c).length&&(d={__source_code_nodes__:c});c={l:Ul(a,d)};if(a=Wl())c.workloadTag=a;b=new K(b);return b.handle(Ih(b.value(),Gj(),new Gf(c)).then(function(e){return e.result}))};w("ee.data.computeValue",bm);
533
- var cm=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new ph({name:null,l:Ul(ol(a.image)),F:wk(a.format),xa:a.name,da:zk(a.bands),
534
- ic:Ck(a),grid:null});var c={fields:"name"},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{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",cm);
535
- var dm=function(a,b){var c=new og({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new th({name:null,l:Ul(ol(a.imageCollection)),F:wk(a.format),Pa:c,grid:null});c={fields:"name"};var d=Wl();d&&(c.workloadTag=d);b=new K(b);return b.handle((new Lh(b.M)).create(Gj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",dm);
536
- var em=function(a,b){a=new zg({name:null,l:Ul(ol(a.imageCollection)),F:wk(a.format),orientation:yk(a.orientation),grid:null});var c={fields:"name"},d=Wl();d&&(c.workloadTag=d);b=new K(b);return b.handle((new zh(b.M)).create(Gj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",em);var fm=function(a){return bk+"/v1/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",fm);
537
- var hm=function(a,b){a=Object.assign({},a);a.id&&(a.image=new N(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
538
- if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(e){a.bands=zk(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(e){return"string"===typeof e})&&(a.bands=a.bands.map(function(e){return{id:e}}));if(a.bands&&a.bands.some(function(e){return null==e.id}))throw Error("Each band dictionary must have an id.");"string"===typeof a.region&&(a.region=JSON.parse(a.region));if("string"===typeof a.crs_transform)try{a.crs_transform=
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
- 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
- "",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)).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
- 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
- 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)).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
- 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
- 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
- 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);
549
- var xm=function(a,b){var c=Dm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new bg({l:ol(c.element),description:L(c.description),oa:null,sa:null,grid:null,Qf:L(c.maxPixels),requestId:L(c.id),O:M(c.maxWorkers),priority:M(c.priority)}),e=Cl(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.oa=Kl(c,e);break;case "ASSET":e=c.pyramidingPolicy||{};try{e=JSON.parse(e)}catch(f){}var g="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof e?(g=e,e={}):e[".default"]&&(g=e[".default"],
550
- delete e[".default"]);c=new cg({Ha:Fl(c),pyramidingPolicy:g,Vf:Pb(e)?null:e,tileSize:M(c.shardSize)});d.sa=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=Ul(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},ym=function(a,b){var c=Em(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new pg({l:ol(c.element),description:L(c.description),Pa:new og({framesPerSecond:M(c.framesPerSecond),maxFrames:M(c.maxFrames),maxPixelsPerFrame:L(c.maxPixels)}),
551
- oa:null,requestId:L(c.id),O:M(c.maxWorkers),priority:M(c.priority)});d.oa=Ll(c,Cl(c));d.l=Ul(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},zm=function(a,b){var c=a.scale;delete a.scale;var d=Dm(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new fg({l:ol(d.element),description:L(d.description),ec:Ml(d),dc:Kl(d,"GOOGLE_CLOUD_STORAGE"),requestId:L(d.id),O:M(d.maxWorkers),priority:M(d.priority)});c.l=Ul(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);
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
- 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
- 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
- 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);
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));
522
+ Bl=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})},Cl=function(a){return new Qf({tf:L(a.driveFolder),xa:L(a.driveFileNamePrefix)})},Dl=function(a){return new Cf({name:Gk(a.assetId)})},El=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(Ll)});throw Error("Unable to build ranking rule from rules: "+
523
+ JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},Ll=function(a){var b=new kh({direction:null,be:null,de:null,ce:null});a=a.trim();a=a.match(/^([\S]+.*)\s+(ASC|DESC)$/);if(null==a)throw Error("Ranking rule format is invalid. Each rule should be defined by a rule type and a direction (ASC or DESC), separated by a space. Valid rule types are: .geometryType, .minZoomLevel, or a feature property name.");var c=n(a);c.next();a=c.next().value;c=c.next().value;switch(c.toUpperCase()){case "ASC":b.direction=
524
+ "ASCENDING";break;case "DESC":b.direction="DESCENDING";break;default:throw Error("Ranking rule direction '"+c+"' is invalid. Directions are: ASC, DESC.");}switch(a.trim()){case ".geometryType":b.ce=new hh({});break;case ".minZoomLevel":b.de=new jh({});break;default:b.be=new gh({attributeName:L(a)})}return b};var Ml=[],Nl=function(a){B(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Ef";if(a.Ef&&a.hasOwnProperty(b))return a.Ef;Ml.push(a);var c=new a;a.Ef=c;B(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var Pl=function(a,b,c,d,e,g){d=Oj(!g,!1,d||[]);Qj=a;Rj=d;null===a?Wj():Sj(function(){Uj(b,c,e||Fa(Ol,b,c))})};w("ee.data.authenticateViaOauth",Pl);var Ql=function(a,b,c,d,e){Pl(a,b,c,d,e)};w("ee.data.authenticate",Ql);var Ol=function(a,b){r.google.accounts.oauth2.initTokenClient({client_id:Qj,callback:Fa(Tj,a,b),scope:Rj.join(" ")}).requestAccessToken()};w("ee.data.authenticateViaPopup",Ol);
525
+ var Rl=function(a,b,c,d,e){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");d=Oj(!e,!e,d||[]);Qj=a.client_email;Rj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);Pj=function(f,l){g.authorize(function(m,p){m?l({error:m}):l({access_token:p.access_token,token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};Uj(b,c)};w("ee.data.authenticateViaPrivateKey",Rl);
526
+ w("ee.data.setExpressionAugmenter",function(a){Sl=a||qc});var Sl=qc;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=Oj(!l,!1,e||[]);Qj=a;Rj=e;Tj(void 0,void 0,{token_type:b,access_token:c,state:e.join(" "),expires_in:d});!1===f?g&&g():Sj(function(){g&&g()})});w("ee.data.refreshAuthToken",Uj);w("ee.data.setAuthTokenRefresher",function(a){Pj=a});w("ee.data.getAuthToken",Kj);w("ee.data.clearAuthToken",Wj);w("ee.data.getAuthClientId",function(){return Qj});w("ee.data.getAuthScopes",function(){return Rj});
527
+ w("ee.data.setDeadline",function(a){kk=a});w("ee.data.setParamAugmenter",function(a){ek=a||qc});
528
+ var Tl=function(a){a=new K(a);return a.handle(a.Fc().list(Ej(),{prettyPrint:!1}).then(Bk))},Wl=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new Yf({name:null,l:Sl(ml(a.image)),F:uk(a.format),da:xk(a.bands),ic:Ak(a)});var c={fields:"name"},d=Ul();d&&(c.workloadTag=d);b=new K(b);return b.handle(b.maps().create(Ej(),a,c).then(function(e){return Vl(e.name,"")}))};
529
+ w("ee.data.getMapId",Wl);var Xl=function(a,b,c,d){if(!a.formatTileUrl){var e=Vl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Xl);
530
+ var Vl=function(a,b,c){var d=void 0===c?"":c;d||(Cj(),c=Zj,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,g,f){var l=Math.pow(2,f);e%=l;e=String(0>e?e+l:e);return d.replace("{x}",e).replace("{y}",g).replace("{z}",f)},urlFormat:d}},Yl=function(a,b){var c=a.visParams?Sl(ml(a.visParams)):null;a=new rg({name:null,Nb:a.assetId,mapName:a.mapName,Cg:c});b=new K(b);return b.handle((new yh(b.M)).create(Ej(),a,{fields:["name"]}).then(function(d){var e=
531
+ d.name.split("/").pop();return{token:e,formatTileUrl:function(g,f,l){return Zj+"/v1/"+d.name+"/tiles/"+l+"/"+g+"/"+f},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",Yl);
532
+ var Zl=function(a,b,c){c=new K(c);var d=Gk(a);a=c.handle;var e=c.assets();b=void 0===b?{}:b;var g=void 0===g?{}:g;e.j.C(d,RegExp("^projects/[^/]+/assets/.*$"));g=I(e.j,{body:null,B:"GET",D:"earthengine.projects.assets.listFeatures",path:"/"+e.m+"/"+d+":listFeatures",u:H(b,g),G:Wg});return a.call(c,g)};w("ee.data.listFeatures",Zl);
533
+ var $l=function(a,b){var c=new dl(!0);a=ol(c,a);var d={};c=ql(c,a);Object.keys(c).length&&(d={__source_code_nodes__:c});c={l:Sl(a,d)};if(a=Ul())c.workloadTag=a;b=new K(b);return b.handle(Ih(b.value(),Ej(),new Gf(c)).then(function(e){return e.result}))};w("ee.data.computeValue",$l);
534
+ var am=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new ph({name:null,l:Sl(ml(a.image)),F:uk(a.format),xa:a.name,da:xk(a.bands),
535
+ ic:Ak(a),grid:null});var c={fields:"name"},d=Ul();d&&(c.workloadTag=d);b=new K(b);return b.handle((new Gh(b.M)).create(Ej(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",am);
536
+ var bm=function(a,b){var c=new og({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new th({name:null,l:Sl(ml(a.imageCollection)),F:uk(a.format),Pa:c,grid:null});c={fields:"name"};var d=Ul();d&&(c.workloadTag=d);b=new K(b);return b.handle((new Lh(b.M)).create(Ej(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",bm);
537
+ var cm=function(a,b){a=new zg({name:null,l:Sl(ml(a.imageCollection)),F:uk(a.format),orientation:wk(a.orientation),grid:null});var c={fields:"name"},d=Ul();d&&(c.workloadTag=d);b=new K(b);return b.handle((new zh(b.M)).create(Ej(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",cm);var dm=function(a){return Zj+"/v1/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",dm);
538
+ var fm=function(a,b){a=Object.assign({},a);a.id&&(a.image=new N(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
539
+ if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(e){a.bands=xk(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(e){return"string"===typeof e})&&(a.bands=a.bands.map(function(e){return{id:e}}));if(a.bands&&a.bands.some(function(e){return null==e.id}))throw Error("Each band dictionary must have an id.");"string"===typeof a.region&&(a.region=JSON.parse(a.region));if("string"===typeof a.crs_transform)try{a.crs_transform=
540
+ JSON.parse(a.crs_transform)}catch(e){}var c=em(a.image,a);a=new ph({name:null,l:Sl(ml(c)),F:uk(a.format),xa:a.name,da:a.bands&&xk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Ul();d&&(c.workloadTag=d);b=new K(b);return b.handle((new Gh(b.M)).create(Ej(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",fm);var gm=function(a){Cj();return Zj+"/v1/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",gm);
541
+ var hm=function(a,b){b=new K(b);var c=vk(a.format),d=Sl(ml(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=Ul())c.workloadTag=d;return b.handle((new Fh(b.M)).create(Ej(),a,c).then(function(g){return{docid:g.name||
542
+ "",token:""}}))};w("ee.data.getTableDownloadId",hm);var im=function(a){return Zj+"/v1/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",im);var jm=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",jm);
543
+ var km=function(a){return a.name&&a.done&&a.error},mm=function(a,b){var c=lm(a).map(Sk);if(1===c.length)return a=(new K(b)).rd(km),a.handle(a.Na().get(c[0]).then(function(e){return[Tk(e)]}));a=(new Jj(b)).rd(km);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Tk(e[g])})})};w("ee.data.getTaskStatus",mm);
544
+ var lm=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.");},om=function(a){return nm(void 0,a)};w("ee.data.getTaskList",om);var nm=function(a,b){return b?(pm(a,function(c,d){return b(c?{tasks:c.map(Tk)}:null,d)}),null):{tasks:pm(a).map(Tk)}};w("ee.data.getTaskListWithLimit",nm);
545
+ var pm=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(Ej(),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(Ej(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",pm);
546
+ var qm=function(a,b){a=lm(a).map(Sk);var c=new zf;if(1===a.length)b=new K(b),b.handle(b.Na().cancel(a[0],c));else{b=new Jj(b);var d=b.Na();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",qm);var rm=function(a,b){var c=lm(a).map(Sk);if(!Array.isArray(a))return a=(new K(b)).rd(km),a.handle(a.Na().get(c[0]));a=(new Jj(b)).rd(km);var d=a.Na();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",rm);
547
+ var tm=function(a,b){return sm(a,"CANCEL",b)};w("ee.data.cancelTask",tm);var sm=function(a,b,c){if(!Mb(um,b))throw Error("Invalid action: "+b);a=lm(a);a=a.map(Sk);qm(a,c);return null};w("ee.data.updateTask",sm);
548
+ var Am=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=Ul();e&&(b.workloadTag=e)}var g=new K(c);c=function(f){return g.handle(f.then(Uk))};switch(d){case "EXPORT_IMAGE":return b=vm(b,a),c(g.image().Ka(Ej(),b));case "EXPORT_FEATURES":return b=Fl(b),b.l=Sl(b.l,a),c(g.table().Ka(Ej(),b));case "EXPORT_VIDEO":return b=wm(b,a),c(g.video().Ka(Ej(),b));case "EXPORT_TILES":return b=xm(b,a),c(g.map().Ka(Ej(),
549
+ b));case "EXPORT_VIDEO_MAP":return b=ym(b),c((new Kh(g.M)).Ka(Ej(),b));case "EXPORT_CLASSIFIER":return b=zm(b,a),c((new xh(g.M)).Ka(Ej(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",Am);
550
+ var vm=function(a,b){var c=Bm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new bg({l:ml(c.element),description:L(c.description),oa:null,sa:null,grid:null,Qf:L(c.maxPixels),requestId:L(c.id),O:M(c.maxWorkers),priority:M(c.priority)}),e=Al(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.oa=Il(c,e);break;case "ASSET":e=c.pyramidingPolicy||{};try{e=JSON.parse(e)}catch(f){}var g="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof e?(g=e,e={}):e[".default"]&&(g=e[".default"],
551
+ delete e[".default"]);c=new cg({Ha:Dl(c),pyramidingPolicy:g,Vf:Pb(e)?null:e,tileSize:M(c.shardSize)});d.sa=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=Sl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},wm=function(a,b){var c=Cm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new pg({l:ml(c.element),description:L(c.description),Pa:new og({framesPerSecond:M(c.framesPerSecond),maxFrames:M(c.maxFrames),maxPixelsPerFrame:L(c.maxPixels)}),
552
+ oa:null,requestId:L(c.id),O:M(c.maxWorkers),priority:M(c.priority)});d.oa=Jl(c,Al(c));d.l=Sl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},xm=function(a,b){var c=a.scale;delete a.scale;var d=Bm(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new fg({l:ml(d.element),description:L(d.description),ec:Kl(d),dc:Il(d,"GOOGLE_CLOUD_STORAGE"),requestId:L(d.id),O:M(d.maxWorkers),priority:M(d.priority)});c.l=Sl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);
553
+ return c},ym=function(a){var b=a.scale;delete a.scale;var c=Cm(a);c.scale=b;if(null==c.element)throw Error('"element" not found in params '+c);b=new mg({l:ml(c.element),description:L(c.description),Pa:new og({framesPerSecond:M(c.framesPerSecond),maxFrames:M(c.maxFrames),maxPixelsPerFrame:null}),ec:Kl(c),dc:Jl(c,"GOOGLE_CLOUD_STORAGE"),requestId:L(c.id),version:L(c.version),O:M(c.maxWorkers),priority:M(c.priority)});b.l=Sl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},zm=function(a,b){if(null==
554
+ a.element)throw Error('"element" not found in params '+a);var c=Al(a);if("ASSET"!=c)throw Error('Export destination "'+c+'" unknown');c=new ag({l:ml(a.element),description:L(a.description),requestId:L(a.id),sa:new Bf({Ha:Dl(a)}),O:M(a.maxWorkers),priority:M(a.priority)});c.l=Sl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},Em=function(a,b,c){b=Yk(b);var d=function(e){return e?Uk(e):null};return d(Dm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",Em);
555
+ var Dm=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(Ej(),b))},Fm=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(Ej(),b))},Gm=function(a,b,c){b=Zk(b);var d=function(e){return e?Uk(e):null};return d(Fm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startTableIngestion",Gm);
556
+ var Hm=function(a,b){b=new K(b);a=Gk(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(Hk))};w("ee.data.getAsset",Hm);w("ee.data.getInfo",Hm);
557
+ var Im=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=Ek.test(a))?new vh(g.M):g.assets();a=b?"projects/"+Fk(a):Gk(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))},Jm=function(a,b){var c=Ok(a);c.pageSize||(c.pageSize=1E3);return Im(a.id,c,b,function(d){return null==
558
+ d?null:Ik(d)})};w("ee.data.getList",Jm);var Km=function(a,b,c){b=void 0===b?{}:b;return Im(a,b,c)};w("ee.data.listAssets",Km);var Lm=function(a,b,c){b=void 0===b?{}:b;b=Nk(b);return Im(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",Lm);var Mm=function(a,b){b=new K(b);return b.handle((new vh(b.M)).Uc(a||Ej()))};w("ee.data.listBuckets",Mm);var Nm=function(a){a=new K(a);return a.handle((new vh(a.M)).Uc(Ej()).then(Ik))};
559
+ w("ee.data.getAssetRoots",Nm);var Om=function(a,b){var c="projects/"+Fk(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(Hk))};w("ee.data.createAssetHome",Om);
560
+ var Pm=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&&Gk(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));
560
561
  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=
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);
562
- var Um=function(a,b,c,d){a=Ik(a);b=Ik(b);c=new Kf({Qb:b,overwrite:null!=c?c:null});d=new K(d);b=d.handle;var e=d.assets();var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=I(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",u:H(g,f),G:Rf});b.call(d,g.then(Jk))};w("ee.data.copyAsset",Um);var Vm=function(a,b){b=new K(b);b.handle(b.assets().delete(Ik(a)))};w("ee.data.deleteAsset",Vm);
563
- var Wm=function(a,b){a=Ik(a);var c=new Fg;b=new K(b);var d=b.handle,e=b.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=I(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+e.m+"/"+a+":getIamPolicy",u:H(g,f),G:lg});return d.call(b,f.then(Rk))};w("ee.data.getAssetAcl",Wm);
564
- var Xm=function(a,b,c,d){b=new sh({Nb:b,updateMask:(c||[]).join(",")});d=new K(d);c=d.handle;var e=d.assets();a=Ik(a);var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=I(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,u:H(g,f),G:Rf});return c.call(d,g.then(Jk))};w("ee.data.updateAsset",Xm);
565
- var Ym=function(a,b,c){a=Ik(a);b=Sk(b);b=new mh({kb:b});c=new K(c);var d=c.handle,e=c.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=I(e.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+e.m+"/"+a+":setIamPolicy",u:H(g,f),G:lg});d.call(c,f)};w("ee.data.setAssetAcl",Ym);
566
- var Zm=function(a,b,c){var d=Nk(b);b=Sc(d.i()).keys.filter(function(e){return"properties"!==e&&G(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(g,f){return"_"+f.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));Xm(a,d,b,c)};w("ee.data.setAssetProperties",Zm);
567
- var $m=function(a,b){var c=Ik(a);b=new K(b);var d=b.assets(),e=d.j.C;d.j.C=function(g,f){"^projects\\/[^/]+\\/assets\\/.+$"===f.source&&(f=RegExp("^projects/[^/]+/assets/.*$"));return e(g,f)};c=d.get(c,{prettyPrint:!1});return b.handle(c.then(function(g){if(!(g instanceof Rf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Pe||0),limit:Number(g.Nf||0)},asset_size:{usage:Number(g.sizeBytes||0),limit:Number(g.Wb||0)}}}))};w("ee.data.getAssetRootQuota",$m);
568
- var an=function(){this.default=this.tag=""};an.prototype.get=function(){return this.tag};an.prototype.set=function(a){this.tag=this.validate(a)};an.prototype.reset=function(){this.tag=this.default};
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);
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)};
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};
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;
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;
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)&&
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;
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 ("+
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};
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):
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};
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);
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));
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));
583
- var l=new Ic(d);if(Kc(l,f).isEmpty())e[d[0]]=b[0];else{b=Lc(f,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=Rb(g)}}b=new Ic(Lb(e));c=Lc(new Ic(Va(c,function(m){return 0!=m.lastIndexOf("opt_",0)})),b);if(0!==c.size)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},Cn=function(a){var b=Dn,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||En(),c=a.paramNames,Array.isArray(c)||En()):(a=a.toString().replace(Fn,
584
- "").match(b),null===a&&En(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Gn,"")}));return c},En=function(){throw Error("Failed to locate function parameters.");},Fn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Dn=/^function[^\(]*\(([^\)]*)\)/m,Gn=/=.*$/;var S=function(a,b,c){O.call(this,a,b,c);Hn()};x(S,O);w("ee.Element",S);var In=!1,Hn=function(){In||(An(S,"Element","Element"),In=!0)};S.prototype.name=function(){return"Element"};
585
- S.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=ln(c))a:{b=Lb(c);var d=["properties"];if(ya(b)&&ya(d)&&b.length==d.length){for(var e=b.length,g=0;g<e;g++)if(b[g]!==d[g]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(ln(c)){b=this;for(var f in c)d=c[f],b=Q("Element.set",b,f,d)}else if(c instanceof O&&zn("Element.setMulti"))b=Q("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
586
- arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)f=arguments[c],d=arguments[c+1],b=Q("Element.set",b,f,d)}return fn(this,b)};S.prototype.set=S.prototype.set;var T=function(a,b,c,d){if(!(this instanceof T))return en(T,arguments);if(!("type"in a)){var e=R(T,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Jn();e=null!=b||null!=c||null!=d;if(a instanceof O&&!(a instanceof T&&a.ob)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");O.call(this,a.I,a.args,a.U)}else{a instanceof T&&(a=a.encode());if(!Kn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));O.call(this,
562
+ "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(Hk))};w("ee.data.createAsset",Pm);var Qm=function(a,b,c){return Pm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Qm);var Rm=function(a,b,c){a=Gk(a);b=Gk(b);b=new $g({Qb:b});c=new K(c);c.handle(c.assets().move(a,b).then(Hk))};w("ee.data.renameAsset",Rm);
563
+ var Sm=function(a,b,c,d){a=Gk(a);b=Gk(b);c=new Kf({Qb:b,overwrite:null!=c?c:null});d=new K(d);b=d.handle;var e=d.assets();var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=I(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",u:H(g,f),G:Rf});b.call(d,g.then(Hk))};w("ee.data.copyAsset",Sm);var Tm=function(a,b){b=new K(b);b.handle(b.assets().delete(Gk(a)))};w("ee.data.deleteAsset",Tm);
564
+ var Um=function(a,b){a=Gk(a);var c=new Fg;b=new K(b);var d=b.handle,e=b.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=I(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+e.m+"/"+a+":getIamPolicy",u:H(g,f),G:lg});return d.call(b,f.then(Pk))};w("ee.data.getAssetAcl",Um);
565
+ var Vm=function(a,b,c,d){b=new sh({Nb:b,updateMask:(c||[]).join(",")});d=new K(d);c=d.handle;var e=d.assets();a=Gk(a);var g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));g=I(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,u:H(g,f),G:Rf});return c.call(d,g.then(Hk))};w("ee.data.updateAsset",Vm);
566
+ var Wm=function(a,b,c){a=Gk(a);b=Qk(b);b=new mh({kb:b});c=new K(c);var d=c.handle,e=c.assets(),g={prettyPrint:!1};g=void 0===g?{}:g;var f=void 0===f?{}:f;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=I(e.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+e.m+"/"+a+":setIamPolicy",u:H(g,f),G:lg});d.call(c,f)};w("ee.data.setAssetAcl",Wm);
567
+ var Xm=function(a,b,c){var d=Lk(b);b=Sc(d.i()).keys.filter(function(e){return"properties"!==e&&G(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(g,f){return"_"+f.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));Vm(a,d,b,c)};w("ee.data.setAssetProperties",Xm);
568
+ var Ym=function(a,b){var c=Gk(a);b=new K(b);var d=b.assets(),e=d.j.C;d.j.C=function(g,f){"^projects\\/[^/]+\\/assets\\/.+$"===f.source&&(f=RegExp("^projects/[^/]+/assets/.*$"));return e(g,f)};c=d.get(c,{prettyPrint:!1});return b.handle(c.then(function(g){if(!(g instanceof Rf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Pe||0),limit:Number(g.Nf||0)},asset_size:{usage:Number(g.sizeBytes||0),limit:Number(g.Wb||0)}}}))};w("ee.data.getAssetRootQuota",Ym);
569
+ var Zm=function(){this.default=this.tag=""};Zm.prototype.get=function(){return this.tag};Zm.prototype.set=function(a){this.tag=this.validate(a)};Zm.prototype.reset=function(){this.tag=this.default};
570
+ Zm.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 Ul=function(){return Nl(Zm).get()};w("ee.data.getWorkloadTag",Ul);var $m=function(a){Nl(Zm).set(a)};w("ee.data.setWorkloadTag",$m);
571
+ var an=function(a){var b=Nl(Zm);b.default=b.validate(a);Nl(Zm).set(a)};w("ee.data.setDefaultWorkloadTag",an);var bn=function(a){a&&(a=Nl(Zm),a.default=a.validate(""));Nl(Zm).reset()};w("ee.data.resetWorkloadTag",bn);var um={Hl:"CANCEL",Kl:"UPDATE"};var O=function(a,b,c){if(!(this instanceof O))return cn(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,lk);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.");$l(this,a)};
572
+ O.prototype.evaluate=O.prototype.evaluate;O.prototype.V=function(a){return $l(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};
573
+ O.prototype.na=function(a){if(null===this.I&&null===this.args){a=this.U||a.Pi;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]=ok(ul(a,this.args[c])));return"string"===typeof this.I?rk(String(this.I),b):this.I.Gd(a,b)};O.prototype.va=function(a){return(void 0===a?0:a)?il(this):sl(this)};O.prototype.serialize=O.prototype.va;
574
+ O.prototype.toString=function(){return"ee."+this.name()+"("+kl(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;
575
+ var dn=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},cn=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var en={},fn=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}},gn=function(a){return"number"===typeof a||a instanceof O&&"Number"==a.name()},hn=function(a){return"string"===typeof a||a instanceof O&&"String"==a.name()},jn=function(a){return t(a)&&
576
+ "function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},kn=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&jn(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var ln=function(){if(!(this instanceof ln))return new ln};x(ln,lk);w("ee.Function",ln);var mn=qc;ln.prototype.call=function(a){return this.apply(nn(this,Array.prototype.slice.call(arguments,0)))};ln.prototype.call=ln.prototype.call;ln.prototype.apply=function(a){a=new O(this,on(this,a));return mn(a,this.Z().returns)};ln.prototype.apply=ln.prototype.apply;
577
+ var pn=function(a,b,c){var d=void 0!==b,e=a.Z();if(kn(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=nn(a,d?[b].concat(c):c);return a.apply(c)},on=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]=mn(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 ("+
578
+ c+") to function: "+a);return d},nn=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};
579
+ ln.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):
580
+ d.push("Undocumented.")}return d.join("")};ln.prototype.va=function(a){return(void 0===a?0:a)?il(this):sl(this)};var P=function(a,b){if(void 0===b)return qn(a);if(!(this instanceof P))return cn(P,arguments);this.xb=Sb(b);this.xb.name=a};x(P,ln);w("ee.ApiFunction",P);var Q=function(a,b){return ln.prototype.call.apply(qn(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",Q);var rn=function(a,b){return qn(a).apply(b)};w("ee.ApiFunction._apply",rn);P.prototype.encode=function(){return this.xb.name};P.prototype.Gd=function(a,b){return rk(this.xb.name,b)};P.prototype.Z=function(){return this.xb};
581
+ var sn=null,tn={},vn=function(){un();return Hb(sn,function(a){return a.Z()})},wn=function(){un();return Gb(sn,function(a,b){return!tn[b]})},qn=function(a){var b=xn(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",qn);
582
+ var xn=function(a){un();return sn[a]||null},un=function(a,b){if(sn)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(sn=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?Tl(c):c(Tl())}},yn=function(a,b,c,d){un();var e=d||"";Fb(sn,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.Z();tn[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p="Object"!=f&&fn(f,c));
583
+ f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return pn(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,p),f[l].signature=m)}})},zn=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=An(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));
584
+ var l=new Ic(d);if(Kc(l,f).isEmpty())e[d[0]]=b[0];else{b=Lc(f,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=Rb(g)}}b=new Ic(Lb(e));c=Lc(new Ic(Va(c,function(m){return 0!=m.lastIndexOf("opt_",0)})),b);if(0!==c.size)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},An=function(a){var b=Bn,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||Cn(),c=a.paramNames,Array.isArray(c)||Cn()):(a=a.toString().replace(Dn,
585
+ "").match(b),null===a&&Cn(),c=(a[1].split(",")||[]).map(function(d){return d.replace(En,"")}));return c},Cn=function(){throw Error("Failed to locate function parameters.");},Dn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Bn=/^function[^\(]*\(([^\)]*)\)/m,En=/=.*$/;var S=function(a,b,c){O.call(this,a,b,c);Fn()};x(S,O);w("ee.Element",S);var Gn=!1,Fn=function(){Gn||(yn(S,"Element","Element"),Gn=!0)};S.prototype.name=function(){return"Element"};
586
+ S.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=jn(c))a:{b=Lb(c);var d=["properties"];if(ya(b)&&ya(d)&&b.length==d.length){for(var e=b.length,g=0;g<e;g++)if(b[g]!==d[g]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(jn(c)){b=this;for(var f in c)d=c[f],b=Q("Element.set",b,f,d)}else if(c instanceof O&&xn("Element.setMulti"))b=Q("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
587
+ arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)f=arguments[c],d=arguments[c+1],b=Q("Element.set",b,f,d)}return dn(this,b)};S.prototype.set=S.prototype.set;var T=function(a,b,c,d){if(!(this instanceof T))return cn(T,arguments);if(!("type"in a)){var e=R(T,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Hn();e=null!=b||null!=c||null!=d;if(a instanceof O&&!(a instanceof T&&a.ob)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");O.call(this,a.I,a.args,a.U)}else{a instanceof T&&(a=a.encode());if(!In(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));O.call(this,
587
588
  null,null);this.ob=a.type;this.dh=null!=a.coordinates?Sb(a.coordinates):null;this.Dh=a.geometries||null;if(null!=b)this.ac=b;else if("crs"in a)if(t(a.crs)&&"name"==a.crs.type&&t(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.ac=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new dj).va(a.crs));this.qc=c;void 0===this.qc&&"geodesic"in a&&(this.qc=!!a.geodesic);this.oc=d;void 0===this.oc&&"evenOdd"in a&&(this.oc=!!a.evenOdd)}};x(T,O);w("ee.Geometry",T);
588
- var Ln=!1,Jn=function(){Ln||(An(T,"Geometry","Geometry"),Ln=!0)},Mn=function(a,b){if(!(this instanceof Mn))return Nn(Mn,arguments);var c=On(Mn,"Point",1,arguments);if(!(c instanceof O)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}T.call(this,c)};x(Mn,T);T.Point=Mn;var Pn=function(a,b){if(!(this instanceof Pn))return Nn(Pn,arguments);T.call(this,On(Pn,"MultiPoint",2,arguments))};x(Pn,T);T.MultiPoint=Pn;
589
- var Qn=function(a,b,c,d){if(!(this instanceof Qn))return Nn(Qn,arguments);var e=On(Qn,"Rectangle",2,arguments);if(!(e instanceof O)){var g=e.coordinates;if(2!=g.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var f=g[0][0],l=g[0][1],m=g[1][0];g=g[1][1];e.coordinates=[[[f,g],[f,l],[m,l],[m,g]]];e.type="Polygon"}T.call(this,e)};x(Qn,T);T.Rectangle=Qn;
590
- var Rn=function(a,b,c,d){if(!(this instanceof Rn))return Nn(Rn,arguments);var e=R(Rn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(Sn(e)){var g;return(g=new P("GeometryConstructors.BBox")).call.apply(g,ka(e))}if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+
591
- d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,90);360<=c-a?(a=-180,c=180):(a=Tn(a),c=Tn(c),c<a&&(c+=360));T.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Rn,Qn);T.BBox=Rn;var Tn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Un=function(a,b,c,d){if(!(this instanceof Un))return Nn(Un,arguments);T.call(this,On(Un,"LineString",2,arguments))};x(Un,T);T.LineString=Un;
592
- var Vn=function(a,b,c,d){if(!(this instanceof Vn))return Nn(Vn,arguments);T.call(this,On(Vn,"LinearRing",2,arguments))};x(Vn,T);T.LinearRing=Vn;var Wn=function(a,b,c,d){if(!(this instanceof Wn))return Nn(Wn,arguments);T.call(this,On(Wn,"MultiLineString",3,arguments))};x(Wn,T);T.MultiLineString=Wn;var Xn=function(a,b,c,d,e){if(!(this instanceof Xn))return Nn(Xn,arguments);T.call(this,On(Xn,"Polygon",3,arguments))};x(Xn,T);T.Polygon=Xn;
593
- var Yn=function(a,b,c,d,e){if(!(this instanceof Yn))return Nn(Yn,arguments);T.call(this,On(Yn,"MultiPolygon",4,arguments))};x(Yn,T);T.MultiPolygon=Yn;
589
+ var Jn=!1,Hn=function(){Jn||(yn(T,"Geometry","Geometry"),Jn=!0)},Kn=function(a,b){if(!(this instanceof Kn))return Ln(Kn,arguments);var c=Mn(Kn,"Point",1,arguments);if(!(c instanceof O)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}T.call(this,c)};x(Kn,T);T.Point=Kn;var Nn=function(a,b){if(!(this instanceof Nn))return Ln(Nn,arguments);T.call(this,Mn(Nn,"MultiPoint",2,arguments))};x(Nn,T);T.MultiPoint=Nn;
590
+ var On=function(a,b,c,d){if(!(this instanceof On))return Ln(On,arguments);var e=Mn(On,"Rectangle",2,arguments);if(!(e instanceof O)){var g=e.coordinates;if(2!=g.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var f=g[0][0],l=g[0][1],m=g[1][0];g=g[1][1];e.coordinates=[[[f,g],[f,l],[m,l],[m,g]]];e.type="Polygon"}T.call(this,e)};x(On,T);T.Rectangle=On;
591
+ var Pn=function(a,b,c,d){if(!(this instanceof Pn))return Ln(Pn,arguments);var e=R(Pn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(Qn(e)){var g;return(g=new P("GeometryConstructors.BBox")).call.apply(g,ka(e))}if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+
592
+ d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,90);360<=c-a?(a=-180,c=180):(a=Rn(a),c=Rn(c),c<a&&(c+=360));T.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Pn,On);T.BBox=Pn;var Rn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Sn=function(a,b,c,d){if(!(this instanceof Sn))return Ln(Sn,arguments);T.call(this,Mn(Sn,"LineString",2,arguments))};x(Sn,T);T.LineString=Sn;
593
+ var Tn=function(a,b,c,d){if(!(this instanceof Tn))return Ln(Tn,arguments);T.call(this,Mn(Tn,"LinearRing",2,arguments))};x(Tn,T);T.LinearRing=Tn;var Un=function(a,b,c,d){if(!(this instanceof Un))return Ln(Un,arguments);T.call(this,Mn(Un,"MultiLineString",3,arguments))};x(Un,T);T.MultiLineString=Un;var Vn=function(a,b,c,d,e){if(!(this instanceof Vn))return Ln(Vn,arguments);T.call(this,Mn(Vn,"Polygon",3,arguments))};x(Vn,T);T.Polygon=Vn;
594
+ var Wn=function(a,b,c,d,e){if(!(this instanceof Wn))return Ln(Wn,arguments);T.call(this,Mn(Wn,"MultiPolygon",4,arguments))};x(Wn,T);T.MultiPolygon=Wn;
594
595
  T.prototype.encode=function(a){if(!this.ob){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.encode.call(this,a)}a={type:this.ob};"GeometryCollection"==this.ob?a.geometries=this.Dh:a.coordinates=this.dh;null!=this.ac&&(a.crs={type:"name",properties:{name:this.ac}});null!=this.qc&&(a.geodesic=this.qc);null!=this.oc&&(a.evenOdd=this.oc);return a};
595
- T.prototype.oe=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};T.prototype.toGeoJSON=T.prototype.oe;T.prototype.yg=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new dj).va(this.oe())};T.prototype.toGeoJSONString=T.prototype.yg;T.prototype.va=function(a){return(void 0===a?0:a)?kl(this):ul(this)};T.prototype.serialize=T.prototype.va;
596
+ T.prototype.pe=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};T.prototype.toGeoJSON=T.prototype.pe;T.prototype.yg=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new dj).va(this.pe())};T.prototype.toGeoJSONString=T.prototype.yg;T.prototype.va=function(a){return(void 0===a?0:a)?il(this):sl(this)};T.prototype.serialize=T.prototype.va;
596
597
  T.prototype.toString=function(){return"ee.Geometry("+this.yg()+")"};
597
598
  T.prototype.na=function(a){if(!this.ob){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return O.prototype.na.call(this,a)}var b={},c="";"GeometryCollection"===this.ob?(b.geometries=this.Dh.map(function(e){return new T(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.dh,c="GeometryConstructors."+this.ob);null!=this.ac&&(b.crs="string"===typeof this.ac?(new P("Projection")).call(this.ac):this.ac);var d="Point"!==this.ob&&"MultiPoint"!==this.ob;null!=
598
599
  this.qc&&d&&(b.geodesic=this.qc);null!=this.oc&&(b.evenOdd=this.oc);return(new P(c)).apply(b).na(a)};
599
- var Kn=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!Array.isArray(b))return!1;for(a=0;a<b.length;a++)if(!Kn(b[a]))return!1;return!0}a=a.coordinates;var c=Zn(a);return"Point"==b&&1==c||"MultiPoint"==b&&(2==c||0==a.length)||"LineString"==b&&2==c||"LinearRing"==b&&2==c||"MultiLineString"==b&&(3==c||0==a.length)||"Polygon"==b&&3==c||"MultiPolygon"==b&&(4==c||0==a.length)},Zn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Zn(a[0]),c=1;c<a.length;c++)if(Zn(a[c])!=
600
- b)return-1;return b+1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},$n=function(a){if("number"!==typeof a[0]||2==a.length)return a;if(0!=a.length%2)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},On=function(a,b,c,d){a=ao(a,d);if(Sn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=bo(c,a.coordinates);(b=$a(["Polygon",
601
- "Rectangle","MultiPolygon"],b))&&null==a.evenOdd&&(a.evenOdd=!0);if(b&&!1===a.geodesic&&!1===a.evenOdd)throw Error("Planar interiors must be even/odd.");return a},ao=function(a,b){if(Ya(b,jn))return{coordinates:cb(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Gb(a,function(c){return null!=c})},Sn=function(a){return Array.isArray(a)?Xa(a,Sn):a instanceof O},bo=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Ya(b,function(e){return"number"===
602
- typeof e})&&(b=$n(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Zn(b)!=a)throw Error("Invalid geometry");for(c=b;Array.isArray(c)&&1==c.length;)c=c[0];return Array.isArray(c)&&0==c.length?[]:b},Nn=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};T.prototype.name=function(){return"Geometry"};var U=function(a){if(!(this instanceof U))return en(U,arguments);if(a instanceof U)return a;co();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new U(a[0]);O.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof O)O.call(this,a.I,a.args,a.U);else if(void 0===a)O.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(U,O);w("ee.Filter",U);
603
- var eo=!1,co=function(){eo||(An(U,"Filter","Filter"),eo=!0)},fo={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};U.prototype.sc=function(){return Q("Filter.not",this)};U.prototype.not=U.prototype.sc;var go=function(a,b){var c=R(go,arguments);return Q("Filter.equals",c.name,c.value)};U.eq=go;var ho=function(a,b){var c=R(ho,arguments);return go(c.name,c.value).sc()};U.neq=ho;
604
- var io=function(a,b){var c=R(io,arguments);return Q("Filter.lessThan",c.name,c.value)};U.lt=io;var jo=function(a,b){var c=R(jo,arguments);return io(c.name,c.value).sc()};U.gte=jo;var ko=function(a,b){var c=R(ko,arguments);return Q("Filter.greaterThan",c.name,c.value)};U.gt=ko;var lo=function(a,b){var c=R(lo,arguments);return ko(c.name,c.value).sc()};U.lte=lo;var mo=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};U.and=mo;var no=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
605
- U.or=no;var oo=function(a,b){var c=R(oo,arguments);c=Q("DateRange",c.start,c.end);return tn("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};U.date=oo;var po=function(a,b,c,d){var e=R(po,arguments);return tn("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};U.inList=po;var qo=function(a,b){return tn("Filter.intersects",{leftField:".all",rightValue:Q("Feature",a),maxError:b})};U.bounds=qo;
606
- U.prototype.name=function(){return"Filter"};var ro=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in fo))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+fo[b],a,c);return d?a.sc():a};U.metadata=ro;var V=function(a,b,c){S.call(this,a,b,c);so()};x(V,S);w("ee.Collection",V);var to=!1,so=function(){to||(An(V,"Collection","Collection"),An(V,"AggregateFeatureCollection","Collection","aggregate_"),to=!0)};V.prototype.filter=function(a){a=R(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return fn(this,Q("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
607
- V.prototype.pf=function(a,b,c){var d=R(V.prototype.pf,arguments);return this.filter(ro(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.pf;V.prototype.xh=function(a){return this.filter(qo(a))};V.prototype.filterBounds=V.prototype.xh;V.prototype.nf=function(a,b){var c=R(V.prototype.nf,arguments);return this.filter(oo(c.start,c.end))};V.prototype.filterDate=V.prototype.nf;
608
- V.prototype.limit=function(a,b,c){var d=R(V.prototype.limit,arguments);return fn(this,Q("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=R(V.prototype.sort,arguments);return fn(this,Q("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return S};
609
- V.prototype.map=function(a,b){var c=this.elementType();return fn(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Mh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return Q("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.Mh;var W=function(a,b){if(!(this instanceof W))return en(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");uo();if(a instanceof T||null===a)S.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof O)S.call(this,a.I,a.args,a.U);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
610
- c)throw Error('Can\'t specify both "id" and "system:index".');c=Rb(c);c["system:index"]=a.id}S.call(this,new P("Feature"),{geometry:new T(a.geometry),metadata:c})}else S.call(this,new P("Feature"),{geometry:new T(a),metadata:b||null})};x(W,S);w("ee.Feature",W);var vo=!1,uo=function(){vo||(An(W,"Feature","Feature"),vo=!0)};W.prototype.V=function(a){return W.L.V.call(this,a)};W.prototype.getInfo=W.prototype.V;
611
- W.prototype.S=function(a,b){var c=R(W.prototype.getMap,arguments);return Q("Collection",[this]).S(c.visParams,c.callback)};W.prototype.getMapId=W.prototype.S;W.prototype.getMap=W.prototype.S;W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var Dm=function(a){var b={},c=wo(a.element,a);c=xo(c,a,b);b.element=c;return b},Em=function(a){var b={},c=a.element.map(function(d){d=wo(d,a);return xo(d,a,b)});b.element=c;return b},xo=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Fb(b,function(f,l){if(null!=f)switch(l){case "dimensions":l="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===l.length)d.maxDimension=l[0];else if(2===l.length)d.width=l[0],d.height=l[1];else throw Error("Invalid dimensions "+
612
- f);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof Qn)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){l=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(l)){if(l.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new Qn(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=
613
- d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof T)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(l))f=new Xn(l,null,!1);else if(t(l))f=new T(l,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[l]=f}});Pb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?tn("Image.clipToBoundsAndScale",
614
- d):tn("Image.clip",d));return a},wo=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=yo(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=tn("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,b.dimensions_consumed=!0,c=(new P("Projection")).call(c,d),b.region=new Qn([0,
615
- 0,e[0],e[1]],c,!1))}}else a=tn("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},yo=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Ya(a,function(b){return"number"===typeof b}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},Ao=function(a,b){var c={};b=zo(b,c);Pb(b)||(b.image=a,a=tn("Image.visualize",
616
- b));c.image=a;return c},zo=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Fb(a,function(e,g){$a(c,g)?d[g]=e:b[g]=e});return d},gm=function(a,b){b=Object.assign({},b);var c=function(e){var g={};["crs","crs_transform","dimensions","region"].forEach(function(f){f in e&&(g[f]=e[f])});null!=e.scale&&null==e.dimensions&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(void 0===g)throw Error("Each band dictionary must have an id.");g=a.select(g);
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,
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)};
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;
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;
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};
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;
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,
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)};
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;
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;
630
- Y.prototype.select=function(a,b,c){if(kn(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=R(Y.prototype.select,arguments);return this.map(function(g){return g.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return W};var Z=function(a){if(!(this instanceof Z))return en(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Lo();a instanceof N&&(a=[a]);if(kn(a))V.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new P("ImageCollection.fromImages"),{images:Wa(a,function(b){return new N(b)})});else if(a instanceof Go)V.call(this,new P("ImageCollection.fromImages"),{images:a});
631
- else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,V);w("ee.ImageCollection",Z);var Mo=!1,Lo=function(){Mo||(An(Z,"ImageCollection","ImageCollection"),An(Z,"reduce","ImageCollection"),Mo=!0)};Z.prototype.vf=function(a,b){var c=R(Z.prototype.vf,arguments);return No(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.vf;
632
- Z.prototype.yf=function(a,b){var c=R(Z.prototype.yf,arguments);return No(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.yf;
633
- var No=function(a,b,c,d){var e={};a=a.map(function(l){l=wo(l,b.params);return xo(l,b.params,e)});var g={},f=zo(e,g);g.imageCollection=a.map(function(l){f.image=l;return tn("Image.visualize",f)});null!=b.params.dimensions&&(g.dimensions=b.params.dimensions);if(g.format){if(!Xa(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=cm;switch(d){case "video":c=dm;break;case "filmstrip":c=em}if(b.callback)c(g,function(l,m){var p="";
634
- if(void 0===m)try{p=fm(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return fm(c(g))};Z.prototype.S=function(a,b){var c=R(Z.prototype.S,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.S(c.visParams,c.callback);else return d.S(c.visParams)};Z.prototype.getMapId=Z.prototype.S;Z.prototype.getMap=Z.prototype.S;Z.prototype.getMap=Z.prototype.getMap;Z.prototype.V=function(a){return Z.L.V.call(this,a)};Z.prototype.getInfo=Z.prototype.V;
600
+ var In=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!Array.isArray(b))return!1;for(a=0;a<b.length;a++)if(!In(b[a]))return!1;return!0}a=a.coordinates;var c=Xn(a);return"Point"==b&&1==c||"MultiPoint"==b&&(2==c||0==a.length)||"LineString"==b&&2==c||"LinearRing"==b&&2==c||"MultiLineString"==b&&(3==c||0==a.length)||"Polygon"==b&&3==c||"MultiPolygon"==b&&(4==c||0==a.length)},Xn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Xn(a[0]),c=1;c<a.length;c++)if(Xn(a[c])!=
601
+ b)return-1;return b+1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},Yn=function(a){if("number"!==typeof a[0]||2==a.length)return a;if(0!=a.length%2)throw Error("Invalid number of coordinates: "+a.length);for(var b=[],c=0;c<a.length;c+=2)b.push([a[c],a[c+1]]);return b},Mn=function(a,b,c,d){a=Zn(a,d);if(Qn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=$n(c,a.coordinates);(b=$a(["Polygon",
602
+ "Rectangle","MultiPolygon"],b))&&null==a.evenOdd&&(a.evenOdd=!0);if(b&&!1===a.geodesic&&!1===a.evenOdd)throw Error("Planar interiors must be even/odd.");return a},Zn=function(a,b){if(Ya(b,gn))return{coordinates:cb(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Gb(a,function(c){return null!=c})},Qn=function(a){return Array.isArray(a)?Xa(a,Qn):a instanceof O},$n=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Ya(b,function(e){return"number"===
603
+ typeof e})&&(b=Yn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Xn(b)!=a)throw Error("Invalid geometry");for(c=b;Array.isArray(c)&&1==c.length;)c=c[0];return Array.isArray(c)&&0==c.length?[]:b},Ln=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};T.prototype.name=function(){return"Geometry"};var U=function(a){if(!(this instanceof U))return cn(U,arguments);if(a instanceof U)return a;ao();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new U(a[0]);O.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof O)O.call(this,a.I,a.args,a.U);else if(void 0===a)O.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(U,O);w("ee.Filter",U);
604
+ var bo=!1,ao=function(){bo||(yn(U,"Filter","Filter"),bo=!0)},co={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};U.prototype.sc=function(){return Q("Filter.not",this)};U.prototype.not=U.prototype.sc;var eo=function(a,b){var c=R(eo,arguments);return Q("Filter.equals",c.name,c.value)};U.eq=eo;var fo=function(a,b){var c=R(fo,arguments);return eo(c.name,c.value).sc()};U.neq=fo;
605
+ var go=function(a,b){var c=R(go,arguments);return Q("Filter.lessThan",c.name,c.value)};U.lt=go;var ho=function(a,b){var c=R(ho,arguments);return go(c.name,c.value).sc()};U.gte=ho;var io=function(a,b){var c=R(io,arguments);return Q("Filter.greaterThan",c.name,c.value)};U.gt=io;var jo=function(a,b){var c=R(jo,arguments);return io(c.name,c.value).sc()};U.lte=jo;var ko=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};U.and=ko;var lo=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
606
+ U.or=lo;var mo=function(a,b){var c=R(mo,arguments);c=Q("DateRange",c.start,c.end);return rn("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};U.date=mo;var no=function(a,b,c,d){var e=R(no,arguments);return rn("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};U.inList=no;var oo=function(a,b){return rn("Filter.intersects",{leftField:".all",rightValue:Q("Feature",a),maxError:b})};U.bounds=oo;
607
+ U.prototype.name=function(){return"Filter"};var po=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in co))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+co[b],a,c);return d?a.sc():a};U.metadata=po;var V=function(a,b,c){S.call(this,a,b,c);qo()};x(V,S);w("ee.Collection",V);var ro=!1,qo=function(){ro||(yn(V,"Collection","Collection"),yn(V,"AggregateFeatureCollection","Collection","aggregate_"),ro=!0)};V.prototype.filter=function(a){a=R(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return dn(this,Q("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
608
+ V.prototype.pf=function(a,b,c){var d=R(V.prototype.pf,arguments);return this.filter(po(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.pf;V.prototype.xh=function(a){return this.filter(oo(a))};V.prototype.filterBounds=V.prototype.xh;V.prototype.nf=function(a,b){var c=R(V.prototype.nf,arguments);return this.filter(mo(c.start,c.end))};V.prototype.filterDate=V.prototype.nf;
609
+ V.prototype.limit=function(a,b,c){var d=R(V.prototype.limit,arguments);return dn(this,Q("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=R(V.prototype.sort,arguments);return dn(this,Q("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return S};
610
+ V.prototype.map=function(a,b){var c=this.elementType();return dn(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.Lh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return Q("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.Lh;var W=function(a,b){if(!(this instanceof W))return cn(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");so();if(a instanceof T||null===a)S.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof O)S.call(this,a.I,a.args,a.U);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
611
+ c)throw Error('Can\'t specify both "id" and "system:index".');c=Rb(c);c["system:index"]=a.id}S.call(this,new P("Feature"),{geometry:new T(a.geometry),metadata:c})}else S.call(this,new P("Feature"),{geometry:new T(a),metadata:b||null})};x(W,S);w("ee.Feature",W);var to=!1,so=function(){to||(yn(W,"Feature","Feature"),to=!0)};W.prototype.V=function(a){return W.L.V.call(this,a)};W.prototype.getInfo=W.prototype.V;
612
+ W.prototype.S=function(a,b){var c=R(W.prototype.getMap,arguments);return Q("Collection",[this]).S(c.visParams,c.callback)};W.prototype.getMapId=W.prototype.S;W.prototype.getMap=W.prototype.S;W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var Bm=function(a){var b={},c=uo(a.element,a);c=vo(c,a,b);b.element=c;return b},Cm=function(a){var b={},c=a.element.map(function(d){d=uo(d,a);return vo(d,a,b)});b.element=c;return b},vo=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Fb(b,function(f,l){if(null!=f)switch(l){case "dimensions":l="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===l.length)d.maxDimension=l[0];else if(2===l.length)d.width=l[0],d.height=l[1];else throw Error("Invalid dimensions "+
613
+ f);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof On)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){l=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(l)){if(l.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new On(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=
614
+ d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof T)){l=f;if("string"===typeof f)try{l=JSON.parse(f)}catch(m){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(l))f=new Vn(l,null,!1);else if(t(l))f=new T(l,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=f;break;case "scale":d.scale=Number(f);break;default:c[l]=f}});Pb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?rn("Image.clipToBoundsAndScale",
615
+ d):rn("Image.clip",d));return a},uo=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=wo(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=rn("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,b.dimensions_consumed=!0,c=(new P("Projection")).call(c,d),b.region=new On([0,
616
+ 0,e[0],e[1]],c,!1))}}else a=rn("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},wo=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Ya(a,function(b){return"number"===typeof b}))return a;throw Error("Invalid argument, crs transform must be a list of 6 numbers.");}throw Error("Invalid argument, crs transform was not a string or array.");},yo=function(a,b){var c={};b=xo(b,c);Pb(b)||(b.image=a,a=rn("Image.visualize",
617
+ b));c.image=a;return c},xo=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Fb(a,function(e,g){$a(c,g)?d[g]=e:b[g]=e});return d},em=function(a,b){b=Object.assign({},b);var c=function(e){var g={};["crs","crs_transform","dimensions","region"].forEach(function(f){f in e&&(g[f]=e[f])});null!=e.scale&&null==e.dimensions&&(g.scale=e.scale);return g},d=function(e){var g=e.id;if(void 0===g)throw Error("Each band dictionary must have an id.");g=a.select(g);
618
+ var f=c(b);e=c(e);e=c(Object.assign(f,e));g=uo(g,e);return g=vo(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=uo(a,d),a=vo(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return cn(N,arguments);if(a instanceof N)return a;zo();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(gn(a))S.call(this,new P("Image.constant"),{value:a});else if(hn(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return Ao(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,
619
+ 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(hn(b)&&gn(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 Bo=!1,zo=function(){Bo||(yn(N,"Image","Image"),Bo=!0)};N.prototype.V=function(a){return N.L.V.call(this,a)};
620
+ N.prototype.getInfo=N.prototype.V;N.prototype.S=function(a,b){var c=this,d=R(N.prototype.getMap,arguments),e=yo(this,d.visParams);if(d.callback){var g=d.callback;Wl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Wl(e),d.image=this,d};N.prototype.getMapId=N.prototype.S;N.prototype.getMap=N.prototype.S;N.prototype.getMap=N.prototype.getMap;
621
+ 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;fm(d,function(g,f){g?e(gm(g)):e(null,f)})}else return gm(fm(d))};N.prototype.getDownloadURL=N.prototype.sb;N.prototype.Md=function(a,b){var c=R(N.prototype.sb,arguments),d=c.params?Rb(c.params):{},e={},g=uo(this,d);g=vo(g,d,e);d=yo(g,e);return c.callback?(am(d,c.callback),null):am(d)};N.prototype.getThumbId=N.prototype.Md;
622
+ N.prototype.xf=function(a,b){var c=R(N.prototype.xf,arguments);if(c.callback)this.Md(c.params,function(d,e){var g="";if(void 0===e)try{g=dm(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return dm(this.Md(c.params))};N.prototype.getThumbURL=N.prototype.xf;var Co=function(a,b,c){var d=R(Co,arguments);return Ao([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};N.rgb=Co;var Do=function(a){return Ao(Array.prototype.slice.call(arguments),null)};N.cat=Do;
623
+ var Ao=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};
624
+ N.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||hn(b[0])||gn(b[0])){for(var d=0;d<b.length;d++)if(!(hn(b[d])||gn(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 rn("Image.select",c)};N.prototype.select=N.prototype.select;
625
+ 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 ln;c.encode=function(m){return l.encode(m)};c.Gd=function(m,p){return sk(ul(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)};
626
+ 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.ri=function(a){var b=1!=arguments.length||hn(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.ri;N.prototype.name=function(){return"Image"};var Eo=function(a){if(this instanceof Eo){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Eo)return a}else return cn(Eo,arguments);Fo();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(Eo,O);w("ee.List",Eo);var Go=!1,Fo=function(){Go||(yn(Eo,"List","List"),Go=!0)};
627
+ Eo.prototype.encode=function(a){return Array.isArray(this.Vc)?Wa(this.Vc,function(b){return a(b)}):Eo.L.encode.call(this,a)};Eo.prototype.na=function(a){return Array.isArray(this.Vc)?ok(ul(a,this.Vc)):Eo.L.na.call(this,a)};Eo.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return cn(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)");Ho();a instanceof T&&(a=new W(a));a instanceof W&&(a=[a]);if(hn(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 Eo)V.call(this,
628
+ 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 Io=!1,Ho=function(){Io||(yn(Y,"FeatureCollection","FeatureCollection"),Io=!0)};
629
+ Y.prototype.S=function(a,b){var c=R(Y.prototype.S,arguments),d=rn("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;
630
+ 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)hm(g,function(f,l){f?e.callback(im(f)):e.callback(null,l)});else return im(hm(g))};Y.prototype.getDownloadURL=Y.prototype.sb;
631
+ Y.prototype.select=function(a,b,c){if(hn(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=R(Y.prototype.select,arguments);return this.map(function(g){return g.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return W};var Z=function(a){if(!(this instanceof Z))return cn(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Jo();a instanceof N&&(a=[a]);if(hn(a))V.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new P("ImageCollection.fromImages"),{images:Wa(a,function(b){return new N(b)})});else if(a instanceof Eo)V.call(this,new P("ImageCollection.fromImages"),{images:a});
632
+ else if(a instanceof O)V.call(this,a.I,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,V);w("ee.ImageCollection",Z);var Ko=!1,Jo=function(){Ko||(yn(Z,"ImageCollection","ImageCollection"),yn(Z,"reduce","ImageCollection"),Ko=!0)};Z.prototype.vf=function(a,b){var c=R(Z.prototype.vf,arguments);return Lo(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.vf;
633
+ Z.prototype.yf=function(a,b){var c=R(Z.prototype.yf,arguments);return Lo(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.yf;
634
+ var Lo=function(a,b,c,d){var e={};a=a.map(function(l){l=uo(l,b.params);return vo(l,b.params,e)});var g={},f=xo(e,g);g.imageCollection=a.map(function(l){f.image=l;return rn("Image.visualize",f)});null!=b.params.dimensions&&(g.dimensions=b.params.dimensions);if(g.format){if(!Xa(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=am;switch(d){case "video":c=bm;break;case "filmstrip":c=cm}if(b.callback)c(g,function(l,m){var p="";
635
+ if(void 0===m)try{p=dm(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return dm(c(g))};Z.prototype.S=function(a,b){var c=R(Z.prototype.S,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.S(c.visParams,c.callback);else return d.S(c.visParams)};Z.prototype.getMapId=Z.prototype.S;Z.prototype.getMap=Z.prototype.S;Z.prototype.getMap=Z.prototype.getMap;Z.prototype.V=function(a){return Z.L.V.call(this,a)};Z.prototype.getInfo=Z.prototype.V;
635
636
  Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.Hf=function(a,b,c,d){var e=R(Z.prototype.Hf,arguments);return this.map(function(g){return Q("Image.linkCollection",g,e.imageCollection,e.linkedBands,e.linkedProperties,e.matchPropertyName)})};Z.prototype.linkCollection=Z.prototype.Hf;Z.prototype.first=function(){return new N(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;
636
- Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return N};var Oo=function(a){this.af=a;this.id=null},Qo=function(a){var b={element:Po(a)};Object.assign(b,a);b=Gb(b,function(c){return null!=c});return new Oo(b)};Oo.prototype.start=function(a,b){var c=this;B(this.af,"Task config must be specified for tasks to be started.");this.id=this.id||lm(1)[0];Pa(this.id,"Failed to obtain task ID.");if(a)Cm(this.id,this.af,function(e,g){if(g)b(g);else{var f;c.id=null!=(f=e.taskId)?f:null;a()}});else{var d;this.id=null!=(d=Cm(this.id,this.af).taskId)?d:null}};
637
- Oo.prototype.start=Oo.prototype.start;var Ro=function(a,b,c,d,e,g,f,l,m,p,v,A){var C=R(Ro,arguments);C=So(C,"ASSET","EXPORT_IMAGE");return Qo(C)};w("module$contents$ee$batch_Export.image.toAsset",Ro);var To=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X){var ea=R(To,arguments);ea=So(ea,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Qo(ea)};w("module$contents$ee$batch_Export.image.toCloudStorage",To);
638
- var Uo=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X){var ea=R(Uo,arguments);ea=So(ea,"DRIVE","EXPORT_IMAGE");return Qo(ea)};w("module$contents$ee$batch_Export.image.toDrive",Uo);var Vo=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J){var fa=R(Vo,arguments);fa=So(fa,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Qo(fa)};w("module$contents$ee$batch_Export.map.toCloudStorage",Vo);var Wo=function(a,b,c,d,e,g,f,l){var m=R(Wo,arguments);m=So(m,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Qo(m)};
639
- w("module$contents$ee$batch_Export.table.toCloudStorage",Wo);var Xo=function(a,b,c,d,e,g,f,l){var m=R(Xo,arguments);m.type="EXPORT_FEATURES";m=So(m,"DRIVE","EXPORT_FEATURES");return Qo(m)};w("module$contents$ee$batch_Export.table.toDrive",Xo);var Yo=function(a,b,c,d,e){var g=R(Yo,arguments);g=So(g,"ASSET","EXPORT_FEATURES");return Qo(g)};w("module$contents$ee$batch_Export.table.toAsset",Yo);var Zo=function(a,b,c,d,e,g,f,l){var m=R(Zo,arguments);m=So(m,"FEATURE_VIEW","EXPORT_FEATURES");return Qo(m)};
640
- w("module$contents$ee$batch_Export.table.toFeatureView",Zo);var $o=function(a,b,c,d,e,g,f,l){var m=R($o,arguments);m=So(m,"BIGQUERY","EXPORT_FEATURES");return Qo(m)};w("module$contents$ee$batch_Export.table.toBigQuery",$o);var ap=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var J=R(ap,arguments);J=So(J,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Qo(J)};w("module$contents$ee$batch_Export.video.toCloudStorage",ap);
641
- var bp=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var J=R(bp,arguments);J=So(J,"DRIVE","EXPORT_VIDEO");return Qo(J)};w("module$contents$ee$batch_Export.video.toDrive",bp);var cp=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X,ea,Jb,br,cr,dr){var zj=R(cp,arguments);zj=So(zj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Qo(zj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",cp);var dp=function(a,b,c,d){var e=R(dp,arguments);e=So(e,"ASSET","EXPORT_CLASSIFIER");return Qo(e)};
642
- w("module$contents$ee$batch_Export.classifier.toAsset",dp);
643
- var Po=function(a){var b=function(d){return d in a},c=ep.find(b);B(1===Za(ep,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof N||b instanceof Y||b instanceof Z||b instanceof S||b instanceof O))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},So=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==
644
- e.fileFormat&&(e.fileFormat="GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}e.fileFormat=a;null!=e.formatOptions&&(a=fp(e,a),delete e.formatOptions,Object.assign(e,a));e=gp(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
645
- delete e.crsTransform);break;case "EXPORT_TILES":b=gp(e,b);e=b.fileFormat;null==e&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;null==
646
- a&&(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=gp(e,b);break;case "EXPORT_VIDEO":e=hp(e);e=gp(e,b);null!=e.crsTransform&&
647
- (e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=hp(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=gp(e,b);break;case "EXPORT_CLASSIFIER":e=gp(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof T)b=b.oe();else if("string"===typeof b)try{b=Ra(JSON.parse(b))}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
648
- }if(!(t(b)&&"type"in b))try{new Un(b)}catch(g){try{new Xn(b)}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},gp=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
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(" ")},
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{};
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},
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};
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?
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<
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(): "+
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);
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: "+
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);
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),
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);
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!==
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)};
666
- Ep.prototype.na=function(a){return null!==this.Kc?qk(wl(a,this.Kc)):Ep.L.na.call(this,a)};Ep.prototype.name=function(){return"Dictionary"};var Hp={};w("ee.Terrain",Hp);Hp.Df=!1;Hp.initialize=function(){Hp.Df||(An(Hp,"Terrain","Terrain"),Hp.Df=!0)};Hp.reset=function(){Bn(Hp);Hp.Df=!1};var Np=function(a,b,c,d,e,g){if("ready"!=Ip||a||b){var f=null!=c;if(d)if(f)Jp.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Ip&&f)Kp.push(c);else if(Ip="loading",Ej(a,b,e,g),f)Kp.push(c),wn(Lp,Mp);else try{wn(),Lp()}catch(l){throw Mp(l),l;}}else c&&c()};w("ee.initialize",Np);
667
- var Qp=function(){Ip="not_ready";ck=bk=Oj=null;ak=!1;un=null;vn={};Bn(up);wp=!1;Bn(Ep);Gp=!1;Bn(S);In=!1;Bn(N);Do=!1;Bn(W);vo=!1;Bn(V);to=!1;Bn(Z);Mo=!1;Bn(Y);Ko=!1;Bn(U);eo=!1;Bn(T);Ln=!1;Bn(Go);Io=!1;Bn(kp);mp=!1;Bn(np);pp=!1;Hp.reset();for(var a=r.ee,b=0;b<Op.length;b++){var c=Op[b];Bn(a[c]);delete a[c]}Op=[];gn=a;a=Pp;for(var d in a)delete a[d]};w("ee.reset",Qp);var Rp={Il:"not_ready",LOADING:"loading",Jl:"ready"};w("ee.InitState",Rp);w("ee.InitState.NOT_READY","not_ready");
668
- w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Ip="not_ready",Kp=[],Jp=[];w("ee.TILE_SIZE",256);var Op=[],Pp={};w("ee.Algorithms",Pp);var Sp=function(a,b){"string"===typeof a&&(a=new P(a));return nn.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Sp);var Tp=function(a,b){"string"===typeof a&&(a=new P(a));return a.apply(b)};w("ee.apply",Tp);
669
- var Lp=function(){if("loading"==Ip){try{vp();Fp();Hn();Bo();uo();so();Lo();Jo();co();Jn();Ho();lp();op();Hp.initialize();var a=xn(),b={},c={},d;for(d in a){var e=void 0;e=-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d;b[e]=!0;var g=a[d].returns.replace(/<.*>/,"");c[g]=!0}var f=r.ee,l;for(l in b)l in c&&!(l in f)&&(f[l]=Up(l),Op.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,vn[l]=!0):f[l].signature={});gn=f;Vp()}catch(m){Mp(m);return}Ip="ready";for(Jp=[];0<Kp.length;)Kp.shift()()}},
670
- Mp=function(a){if("loading"==Ip)for(Ip="not_ready",Kp=[];0<Jp.length;)Jp.shift()(a)},Vp=function(){var a=yn();Lb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Pp;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=eb(b,1)}g=function(f){return rn(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},Up=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),
671
- g=1==e.length;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return en(d,e);d=zn(a);var f=!(e[0]instanceof O),l=!1;d&&(g?f?l=!0:e[0].I&&e[0].I.Z().returns==d.Z().returns||(l=!0):l=!0);if(l)e=mn(e,d.Z())?e[0]:pn(d,e),O.call(this,d,qn(d,e));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];O.call(this,e.I,e.args,e.U)}};x(b,O);b.prototype.name=function(){return a};An(b,a,a);return b};
672
- on=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof V?Q("Feature",Q("Collection.geometry",a)):new W(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new W(a);if(a instanceof O)return new S(a.I,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?
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);
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};
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)};
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)};
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])};
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);
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")};
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)};
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
- h.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.createElement("div");var e=a.x%d;0>e&&(e+=d);d=new google.maps.Point(e,a.y);a=[a.x,a.y,b,this.yb++].join("-");e=this.ug.getUniqueId();a=[a,e].join("-");b=this.fh(d,b,c,a);b.tileSize=this.tileSize;iq(b.la,this.opacity);this.zb.set(a,b);lq(this,b);this.dispatchEvent(new mq(this.Nc()));this.ug.If(b,(new Date).getTime()/1E3);return b.la};h.releaseTile=function(a){var b=this.zb.get(a.id);this.zb.remove(a.id);b&&(b.abort(),Ha(b))};
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()))}})};
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);
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};
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))};
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)};
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;
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};
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)};
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};
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};
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};
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)};
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};
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)})};
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(" "),
637
+ Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return N};var Mo=function(a){this.af=a;this.id=null},Oo=function(a){var b={element:No(a)};Object.assign(b,a);b=Gb(b,function(c){return null!=c});return new Mo(b)};Mo.prototype.start=function(a,b){var c=this;B(this.af,"Task config must be specified for tasks to be started.");this.id=this.id||jm(1)[0];Pa(this.id,"Failed to obtain task ID.");if(a)Am(this.id,this.af,function(e,g){if(g)b(g);else{var f;c.id=null!=(f=e.taskId)?f:null;a()}});else{var d;this.id=null!=(d=Am(this.id,this.af).taskId)?d:null}};
638
+ Mo.prototype.start=Mo.prototype.start;var Po=function(a,b,c,d,e,g,f,l,m,p,v,A){var C=R(Po,arguments);C=Qo(C,"ASSET","EXPORT_IMAGE");return Oo(C)};w("module$contents$ee$batch_Export.image.toAsset",Po);var Ro=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X){var ea=R(Ro,arguments);ea=Qo(ea,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Oo(ea)};w("module$contents$ee$batch_Export.image.toCloudStorage",Ro);
639
+ var So=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X){var ea=R(So,arguments);ea=Qo(ea,"DRIVE","EXPORT_IMAGE");return Oo(ea)};w("module$contents$ee$batch_Export.image.toDrive",So);var To=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J){var fa=R(To,arguments);fa=Qo(fa,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Oo(fa)};w("module$contents$ee$batch_Export.map.toCloudStorage",To);var Uo=function(a,b,c,d,e,g,f,l){var m=R(Uo,arguments);m=Qo(m,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Oo(m)};
640
+ w("module$contents$ee$batch_Export.table.toCloudStorage",Uo);var Vo=function(a,b,c,d,e,g,f,l){var m=R(Vo,arguments);m.type="EXPORT_FEATURES";m=Qo(m,"DRIVE","EXPORT_FEATURES");return Oo(m)};w("module$contents$ee$batch_Export.table.toDrive",Vo);var Wo=function(a,b,c,d,e){var g=R(Wo,arguments);g=Qo(g,"ASSET","EXPORT_FEATURES");return Oo(g)};w("module$contents$ee$batch_Export.table.toAsset",Wo);var Xo=function(a,b,c,d,e,g,f,l){var m=R(Xo,arguments);m=Qo(m,"FEATURE_VIEW","EXPORT_FEATURES");return Oo(m)};
641
+ w("module$contents$ee$batch_Export.table.toFeatureView",Xo);var Yo=function(a,b,c,d,e,g,f,l){var m=R(Yo,arguments);m=Qo(m,"BIGQUERY","EXPORT_FEATURES");return Oo(m)};w("module$contents$ee$batch_Export.table.toBigQuery",Yo);var Zo=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var J=R(Zo,arguments);J=Qo(J,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Oo(J)};w("module$contents$ee$batch_Export.video.toCloudStorage",Zo);
642
+ var $o=function(a,b,c,d,e,g,f,l,m,p,v,A,C){var J=R($o,arguments);J=Qo(J,"DRIVE","EXPORT_VIDEO");return Oo(J)};w("module$contents$ee$batch_Export.video.toDrive",$o);var ap=function(a,b,c,d,e,g,f,l,m,p,v,A,C,J,fa,X,ea,Jb,$q,ar,br){var xj=R(ap,arguments);xj=Qo(xj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Oo(xj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",ap);var bp=function(a,b,c,d){var e=R(bp,arguments);e=Qo(e,"ASSET","EXPORT_CLASSIFIER");return Oo(e)};
643
+ w("module$contents$ee$batch_Export.classifier.toAsset",bp);
644
+ var No=function(a){var b=function(d){return d in a},c=cp.find(b);B(1===Za(cp,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof N||b instanceof Y||b instanceof Z||b instanceof S||b instanceof O))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},Qo=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==
645
+ e.fileFormat&&(e.fileFormat="GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}e.fileFormat=a;null!=e.formatOptions&&(a=dp(e,a),delete e.formatOptions,Object.assign(e,a));e=ep(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
646
+ delete e.crsTransform);break;case "EXPORT_TILES":b=ep(e,b);e=b.fileFormat;null==e&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;null==
647
+ a&&(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=ep(e,b);break;case "EXPORT_VIDEO":e=fp(e);e=ep(e,b);null!=e.crsTransform&&
648
+ (e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=fp(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=ep(e,b);break;case "EXPORT_CLASSIFIER":e=ep(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof T)b=b.pe();else if("string"===typeof b)try{b=Ra(JSON.parse(b))}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
649
+ }if(!(t(b)&&"type"in b))try{new Sn(b)}catch(g){try{new Vn(b)}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},ep=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
650
+ 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},gp={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
651
+ hp={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},fp=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},dp=function(a,b){var c=a.formatOptions;if(null==c)return{};
652
+ 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=hp[b];for(var d=gp[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},
653
+ cp=["image","collection","classifier"];var ip=function(a){if(!(this instanceof ip))return cn(ip,arguments);if(a instanceof ip)return a;jp();if("number"===typeof a)O.call(this,null,null),this.Yc=a;else if(a instanceof O)O.call(this,a.I,a.args,a.U),this.Yc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(ip,O);w("ee.Number",ip);var kp=!1,jp=function(){kp||(yn(ip,"Number","Number"),kp=!0)};ip.prototype.encode=function(a){return"number"===typeof this.Yc?this.Yc:ip.L.encode.call(this,a)};
654
+ ip.prototype.na=function(a){return"number"===typeof this.Yc?ok(ul(a,this.Yc)):ip.L.na.call(this,a)};ip.prototype.name=function(){return"Number"};var lp=function(a){if(!(this instanceof lp))return cn(lp,arguments);if(a instanceof lp)return a;mp();if("string"===typeof a)O.call(this,null,null),this.ld=a;else if(a instanceof O)this.ld=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(lp,O);w("ee.String",lp);var np=!1,mp=function(){np||(yn(lp,"String","String"),np=!0)};
655
+ lp.prototype.encode=function(a){return"string"===typeof this.ld?this.ld:lp.L.encode.call(this,a)};lp.prototype.na=function(a){return"string"===typeof this.ld?ok(ul(a,this.ld)):lp.L.na.call(this,a)};lp.prototype.name=function(){return"String"};var op=function(a,b){if(!(this instanceof op))return cn(op,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(pp(f in en?en[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.xb=qp(a,c,b);this.Rg=b.apply(null,c)};x(op,ln);w("ee.CustomFunction",op);op.prototype.encode=function(a){return{type:"Function",argumentNames:Wa(this.xb.args,function(b){return b.name}),body:a(this.Rg)}};
656
+ op.prototype.na=function(a){return tk(this.xb.args.map(function(b){return b.name}),ul(a,this.Rg))};op.prototype.Gd=function(a,b){return sk(ul(a,this),b)};op.prototype.Z=function(){return this.xb};
657
+ var pp=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=lp;else if(a==Number)a=ip;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)},rp=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?
658
+ "Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new op(b,a)},qp=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))}(ml(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
659
+ d.length;e++){var g=d[e],f=c+e;b[g].U=f;a.args[g].name=f}return a};var sp=function(a,b){if(!(this instanceof sp))return cn(sp,arguments);if(a instanceof sp)return a;tp();var c=R(sp,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},g=null;if(hn(a)){if(e.value=a,c)if(hn(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(gn(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(): "+
660
+ a);O.call(this,d,e,g)};x(sp,O);w("ee.Date",sp);var up=!1,tp=function(){up||(yn(sp,"Date","Date"),up=!0)};sp.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var wp=function(a){return vp(JSON.parse(a))};w("ee.Deserializer.fromJSON",wp);var vp=function(a){if("result"in a&&"values"in a)return xp(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]=yp(g,b)}a=a.value}return yp(a,b)};w("ee.Deserializer.decode",vp);
661
+ var yp=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 yp(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 pp(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
662
+ a);return new sp(a/1E3);case "Bytes":return zp(new rf({qb:a}),a);case "Invocation":return c="functionName"in a?qn(a.functionName):yp(a["function"],b),a=Hb(a.arguments,function(e){return yp(e,b)}),Ap(c,a);case "Dictionary":return Hb(a.value,function(e){return yp(e,b)});case "Function":var d=yp(a.body,b);a={name:"",args:Wa(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new op(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new T(a);
663
+ case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},zp=function(a,b){var c=function(){};q(c,lk);c.prototype.encode=function(){return b};c.prototype.na=function(){return a};return new c},Ap=function(a,b){if(a instanceof ln)return a.apply(b);if(a instanceof O){var c=function(){return ln.apply(this,arguments)||this};q(c,ln);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Gd=function(d,e){return sk(ul(d,a),
664
+ e)};return new O(new c,b)}throw Error("Invalid function value");},Bp=function(a){return xp(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",Bp);
665
+ var xp=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=pp(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"):qn(l.functionName);l=Hb(l.arguments,e);f=Ap(f,l)}else f=null!==f.qb?zp(new rf({qb:f.qb}),f.qb):null!==
666
+ f.Wa?zp(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 op(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",xp);var Cp=function(a){if(!(this instanceof Cp))return cn(Cp,arguments);if(a instanceof Cp)return a;Dp();jn(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(Cp,O);w("ee.Dictionary",Cp);var Ep=!1,Dp=function(){Ep||(yn(Cp,"Dictionary","Dictionary"),Ep=!0)};Cp.prototype.encode=function(a){return null!==this.Kc?a(this.Kc):Cp.L.encode.call(this,a)};
667
+ Cp.prototype.na=function(a){return null!==this.Kc?ok(ul(a,this.Kc)):Cp.L.na.call(this,a)};Cp.prototype.name=function(){return"Dictionary"};var Fp={};w("ee.Terrain",Fp);Fp.Df=!1;Fp.initialize=function(){Fp.Df||(yn(Fp,"Terrain","Terrain"),Fp.Df=!0)};Fp.reset=function(){zn(Fp);Fp.Df=!1};var Lp=function(a,b,c,d,e,g){if("ready"!=Gp||a||b){var f=null!=c;if(d)if(f)Hp.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Gp&&f)Ip.push(c);else if(Gp="loading",Cj(a,b,e,g),f)Ip.push(c),un(Jp,Kp);else try{un(),Jp()}catch(l){throw Kp(l),l;}}else c&&c()};w("ee.initialize",Lp);
668
+ var Op=function(){Gp="not_ready";ak=Zj=Mj=null;Yj=!1;sn=null;tn={};zn(sp);up=!1;zn(Cp);Ep=!1;zn(S);Gn=!1;zn(N);Bo=!1;zn(W);to=!1;zn(V);ro=!1;zn(Z);Ko=!1;zn(Y);Io=!1;zn(U);bo=!1;zn(T);Jn=!1;zn(Eo);Go=!1;zn(ip);kp=!1;zn(lp);np=!1;Fp.reset();for(var a=r.ee,b=0;b<Mp.length;b++){var c=Mp[b];zn(a[c]);delete a[c]}Mp=[];en=a;a=Np;for(var d in a)delete a[d]};w("ee.reset",Op);var Pp={Il:"not_ready",LOADING:"loading",Jl:"ready"};w("ee.InitState",Pp);w("ee.InitState.NOT_READY","not_ready");
669
+ w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Gp="not_ready",Ip=[],Hp=[];w("ee.TILE_SIZE",256);var Mp=[],Np={};w("ee.Algorithms",Np);var Qp=function(a,b){"string"===typeof a&&(a=new P(a));return ln.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Qp);var Rp=function(a,b){"string"===typeof a&&(a=new P(a));return a.apply(b)};w("ee.apply",Rp);
670
+ var Jp=function(){if("loading"==Gp){try{tp();Dp();Fn();zo();so();qo();Jo();Ho();ao();Hn();Fo();jp();mp();Fp.initialize();var a=vn(),b={},c={},d;for(d in a){var e=void 0;e=-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d;b[e]=!0;var g=a[d].returns.replace(/<.*>/,"");c[g]=!0}var f=r.ee,l;for(l in b)l in c&&!(l in f)&&(f[l]=Sp(l),Mp.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,tn[l]=!0):f[l].signature={});en=f;Tp()}catch(m){Kp(m);return}Gp="ready";for(Hp=[];0<Ip.length;)Ip.shift()()}},
671
+ Kp=function(a){if("loading"==Gp)for(Gp="not_ready",Ip=[];0<Hp.length;)Hp.shift()(a)},Tp=function(){var a=wn();Lb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Np;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=eb(b,1)}g=function(f){return pn(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},Sp=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),
672
+ g=1==e.length;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return cn(d,e);d=xn(a);var f=!(e[0]instanceof O),l=!1;d&&(g?f?l=!0:e[0].I&&e[0].I.Z().returns==d.Z().returns||(l=!0):l=!0);if(l)e=kn(e,d.Z())?e[0]:nn(d,e),O.call(this,d,on(d,e));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];O.call(this,e.I,e.args,e.U)}};x(b,O);b.prototype.name=function(){return a};yn(b,a,a);return b};
673
+ mn=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof V?Q("Feature",Q("Collection.geometry",a)):new W(a);case "Element":if(a instanceof S)return a;if(a instanceof T)return new W(a);if(a instanceof O)return new S(a.I,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof V?
674
+ 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 rp(a,c)}if(a instanceof lk)return a;throw Error("Argument is not a function: "+a);case "String":return hn(a)||a instanceof lp||a instanceof O?new lp(a):a;case "Dictionary":return jn(a)?a:new Cp(a);case "List":return new Eo(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new ip(a);
675
+ default:if(b in c){d=xn(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 Up=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(Up,Nc);Up.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");Vp(this,b,a,c,d);Wp(this);return d};
676
+ var Vp=function(a,b,c,d,e){var g=new XMLHttpRequest;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),Wp(this);else throw this.vg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Wp=function(a){a.dispatchEvent(new Pc(a.Ab.length))};Up.prototype.J=function(){this.zh=this.Ah=null;Nc.prototype.J.call(this)};
677
+ w("ee.FloatTileOverlay",Up);var Xp=function(){this.ke=new Map};Xp.prototype.clear=function(){this.ke.clear()};var Yp=function(a,b){a.ke.has(b)||a.ke.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ke.get(b)};var Zp=function(a){y.call(this);this.Tb=a;this.K={}};x(Zp,y);var $p=[];Zp.prototype.Xa=function(a,b,c,d){Array.isArray(b)||(b&&($p[0]=b.toString()),b=$p);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};Zp.prototype.Wc=function(a,b,c,d){return aq(this,a,b,c,d)};
678
+ var aq=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)aq(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};Zp.prototype.te=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.te(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])};
679
+ Zp.prototype.gd=function(){Fb(this.K,function(a,b){this.K.hasOwnProperty(b)&&jc(a)},this);this.K={}};Zp.prototype.J=function(){Zp.L.J.call(this);this.gd()};Zp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var cq=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Ob[a.name]):(this.code=a=Oa(a.code),this.name=bq(a));Ia.call(this,$d("%s %s",this.name,b))};x(cq,Ia);
680
+ var bq=function(a){var b=Nb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},dq={},Ob=(dq.AbortError=3,dq.EncodingError=5,dq.InvalidModificationError=9,dq.InvalidStateError=7,dq.NotFoundError=1,dq.NotReadableError=4,dq.NoModificationAllowedError=6,dq.PathExistsError=12,dq.QuotaExceededError=10,dq.SecurityError=2,dq.SyntaxError=8,dq.TypeMismatchError=11,dq);var eq=function(a,b){z.call(this,a.type,b);this.Ja=a};x(eq,z);var fq=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(fq,D);h=fq.prototype;h.abort=function(){try{this.ca.abort()}catch(a){throw new cq(a,"aborting read");}};h.ub=function(){return this.ca.readyState};h.getError=function(){return this.ca.error&&new cq(this.ca.error,"reading file")};
681
+ h.nc=function(a){this.dispatchEvent(new eq(a,this))};h.J=function(){fq.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 gq=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 hq=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.je=new Xp(a.getUniqueId());this.zb=new zc;this.yb=0;this.ug=a;this.jb=new Zp(this);this.radius=0};q(hq,D);h=hq.prototype;h.Oe=function(a){return bc(this,"tile-load",a)};h.bg=function(a){jc(a)};
682
+ h.Nc=function(){return iq(this,"throttled")+iq(this,"loading")+iq(this,"new")};h.setOpacity=function(a){this.opacity=a;this.zb.forEach(function(b){gq(b.la,this.opacity)},this)};h.getStats=function(){return this.je};
683
+ h.getTile=function(a,b,c){var d=1<<b;if(b<this.minZoom||0>a.y||a.y>=d)return c.createElement("div");var e=a.x%d;0>e&&(e+=d);d=new google.maps.Point(e,a.y);a=[a.x,a.y,b,this.yb++].join("-");e=this.ug.getUniqueId();a=[a,e].join("-");b=this.fh(d,b,c,a);b.tileSize=this.tileSize;gq(b.la,this.opacity);this.zb.set(a,b);jq(this,b);this.dispatchEvent(new kq(this.Nc()));this.ug.If(b,(new Date).getTime()/1E3);return b.la};h.releaseTile=function(a){var b=this.zb.get(a.id);this.zb.remove(a.id);b&&(b.abort(),Ha(b))};
684
+ var jq=function(a,b){a.jb.Xa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.fl,d=(new Date).getTime();Yp(this.je,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new lq(this.Nc()));break;case "throttled":Yp(this.je,b.zoom).throttleCount++;this.dispatchEvent(new mq(b.Ca));break;case "failed":Yp(this.je,b.zoom).errorCount++;this.dispatchEvent(new nq(b.Ca,b.Tk));break;case "aborted":this.dispatchEvent(new oq(this.Nc()))}})};
685
+ hq.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 iq=function(a,b){return Za(a.zb.aa(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",hq);hq.prototype.removeTileCallback=hq.prototype.bg;hq.prototype.addTileCallback=hq.prototype.Oe;var lq=function(){z.call(this,"tile-load")};q(lq,z);var kq=function(){z.call(this,"tile-start")};q(kq,z);var mq=function(){z.call(this,"tile-throttle")};q(mq,z);
686
+ var nq=function(a,b){z.call(this,"tile-fail");this.errorMessage=b};q(nq,z);var oq=function(){z.call(this,"tile-abort")};q(oq,z);var pq=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.fe=function(){};this.le="new";this.ui=0;this.Ff=!1};q(pq,D);pq.prototype.getDiv=function(){return this.la};
687
+ var rq=function(a){if(!a.Ff&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");qq(a,"loading");a.fl=(new Date).getTime();a.Za=new nj;a.Za.xc="blob";a.Za.Xa("complete",function(){var b=zj(a.Za),c=a.Za.getStatus();429==c&&qq(a,"throttled");if(ij(c)){var d={};Fb(Aj(a.Za),function(g,f){d[f.toLowerCase()]=g});a.Al=d;a.Bi=b;a.Lc()}else if(b){var e=new fq;e.Xa("loadend",function(){a.jd(e.ca.result)});e.readAsText(b)}else a.jd("Failed to load tile.")},
688
+ !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=pq.prototype;h.Lc=function(){this.fe(this);qq(this,"loaded")};h.Hc=function(){Ha(this.Za)};
689
+ h.jd=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.ui>=this.jl?(this.Tk=b(a),qq(this,"failed")):(this.Hc(),setTimeout(u(function(){this.Sa||(this.Ff=!0,rq(this),this.Ff=!1)},this),1E3*Math.pow(2,this.ui++)))};h.abort=function(){this.Hc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&qq(this,this.le in sq?"removed":"aborted")};h.getStatus=function(){return this.le};var qq=function(a,b){a.le=b;a.dispatchEvent("status-changed")};
690
+ pq.prototype.J=function(){D.prototype.J.call(this);this.Hc();this.la.remove();this.fe=null};var sq={aborted:!0,failed:!0,loaded:!0,removed:!0};var tq=function(){y.call(this)};q(tq,y);var uq=function(a,b){hq.call(this,a,b);this.Tg=new zc;this.rh=new zc};q(uq,hq);uq.prototype.fh=function(a,b,c,d){var e=new vq(a,b,c,d);this.jb.Xa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Tg.set(a,new Float32Array(e.Ad)),this.rh.set(a,e.la))});return e};uq.prototype.J=function(){hq.prototype.J.call(this);this.rh=this.Tg=null};w("ee.layers.BinaryOverlay",uq);var vq=function(a,b,c,d){pq.call(this,a,b,c,d)};q(vq,pq);
691
+ vq.prototype.Lc=function(){var a=new fq;a.Xa("loadend",function(){this.Ad=a.ca.result;pq.prototype.Lc.call(this)},void 0,this);a.readAsArrayBuffer(this.Bi)};var wq=function(a){D.call(this);this.Rc={};this.Qc={};this.Tb=new Zp(this);this.X=a;this.Ye=!1};x(wq,D);var xq=["load","abort","error"],yq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ye=!1,a.Rc[b]={src:c,eh:null}},zq=function(a,b){delete a.Rc[b];var c=a.Qc[b];c&&(delete a.Qc[b],a.Tb.te(c,xq,a.ci))};
692
+ wq.prototype.start=function(){var a=this.Rc;Lb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Sa)){if(this.X){var d=this.X;d=(d?new Zh(Yh(d)):Ja||(Ja=new Zh)).Rk("IMG")}else d=new Image;c.eh&&(d.crossOrigin=c.eh);this.Tb.Xa(d,xq,this.ci);this.Qc[b]=d;d.id=b;d.src=c.src}},this)};
693
+ wq.prototype.ci=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));zq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Sa&&Pb(this.Qc)&&Pb(this.Rc)&&!this.Ye&&(this.Ye=!0,this.dispatchEvent("complete"))}};wq.prototype.J=function(){delete this.Rc;delete this.Qc;Ha(this.Tb);wq.L.J.call(this)};var Aq=function(a,b){hq.call(this,a,b)};q(Aq,hq);Aq.prototype.fh=function(a,b,c,d){return new Bq(a,b,c,d)};w("ee.layers.ImageOverlay",Aq);var Bq=function(a,b,c,d){pq.call(this,a,b,c,d);this.fe=Cq;this.Hh=this.ga=this.Sd=null;this.Zc=""};q(Bq,pq);
694
+ Bq.prototype.Lc=function(){try{var a=zd(this.Bi);this.Zc=wd(a);var b=this.Zc!==yd.toString()?this.Zc:this.Ca}catch(c){b=this.Ca}this.ga=new wq;yq(this.ga,this.la.id+"-image",b);this.Hh=ac(this.ga,Dq,function(c){"load"==c.type?(this.Sd=c.target,pq.prototype.Lc.call(this)):this.jd()},void 0,this);this.ga.start()};Bq.prototype.Hc=function(){pq.prototype.Hc.call(this);this.ga&&(jc(this.Hh),Ha(this.ga))};Bq.prototype.J=function(){pq.prototype.J.call(this);this.Zc&&URL.revokeObjectURL(this.Zc)};
695
+ var Cq=function(a){a.la.appendChild(a.Sd)},Dq=["load","abort","error"];var Eq=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(0==d.lastIndexOf("/",0))b=d;else{var e;(e=""==b)||(e=b.length-1,e=0<=e&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var Fq=function(a,b,c,d){y.call(this);this.Sg=a;this.Zb=b;this.pg=d||"";this.Yd=c};q(Fq,tq);Fq.prototype.If=function(a){if(a.zoom<=this.Yd)a.Ca=this.Nd(a.rb,a.zoom);else{var b=a.zoom-this.Yd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.rb.x/c),Math.floor(a.rb.y/c));a.Ca=this.Nd(c,a.zoom-b);a.fe=Fa(Gq,this.Yd)}var d=u(a.jd,a);a.jd=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?qq(a,"loaded"):d(e)},a);rq(a)};
696
+ Fq.prototype.getUniqueId=function(){return[this.Sg,this.Zb,this.Yd,this.pg].join("-")};Fq.prototype.Nd=function(a,b){a=Eq("https://storage.googleapis.com",this.Sg,this.Zb,String(b),String(a.x),String(a.y));this.pg&&(a+=this.pg);return a};
697
+ var Gq=function(a,b){if(!b.Sd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.la.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.la.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Sd,c/a*(b.rb.x%a),c/a*(b.rb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Fq);var Hq=function(){this.La=[];this.Qa=[]};h=Hq.prototype;h.enqueue=function(a){this.Qa.push(a)};h.Jc=function(){0===this.La.length&&(this.La=this.Qa,this.La.reverse(),this.Qa=[]);return this.La.pop()};h.R=function(){return this.La.length+this.Qa.length};h.isEmpty=function(){return 0===this.La.length&&0===this.Qa.length};h.clear=function(){this.La=[];this.Qa=[]};h.contains=function(a){return $a(this.La,a)||$a(this.Qa,a)};
698
+ 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 Iq=function(a,b){y.call(this);this.Uh=a||0;this.Xd=b||10;if(this.Uh>this.Xd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ta=new Hq;this.vb=new Ic;this.delay=0;this.Gf=null;this.td()};x(Iq,y);Iq.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.td();!b&&this.R()<this.Xd&&(b=this.bf());b&&(this.Gf=a,this.vb.add(b));return b}};
699
+ var Jq=function(a,b){return a.vb.remove(b)?(a.Ne(b),!0):!1};h=Iq.prototype;h.Ne=function(a){this.vb.remove(a);this.Sf(a)&&this.R()<this.Xd?this.Ta.enqueue(a):this.Ed(a)};h.td=function(){for(var a=this.Ta;this.R()<this.Uh;)a.enqueue(this.bf());for(;this.R()>this.Xd&&0<this.Ta.R();)this.Ed(a.Jc())};h.bf=function(){return{}};h.Ed=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};
700
+ 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(){Iq.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.Ed(a.Jc());delete this.Ta};var Kq=function(a,b){this.Mh=a;this.ve=b};Kq.prototype.getKey=function(){return this.Mh};Kq.prototype.clone=function(){return new Kq(this.Mh,this.ve)};var Lq=function(a){this.Aa=[];if(a)a:{if(a instanceof Lq){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 Kq(b[d],a[d]));break a}}else b=Lb(a),a=Kb(a);for(c=0;c<b.length;c++)Mq(this,b[c],a[c])}},Mq=function(a,b,c){var d=a.Aa;d.push(new Kq(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=Lq.prototype;
701
+ 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.ve}};h.aa=function(){for(var a=this.Aa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].ve);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};
702
+ h.Ic=function(a){return this.Aa.some(function(b){return b.ve==a})};h.Pb=function(a){return this.Aa.some(function(b){return b.getKey()==a})};h.clone=function(){return new Lq(this)};h.R=function(){return this.Aa.length};h.isEmpty=function(){return 0===this.Aa.length};h.clear=function(){this.Aa.length=0};var Nq=function(){Lq.apply(this,arguments)};q(Nq,Lq);Nq.prototype.enqueue=function(a,b){Mq(this,a,b)};Nq.prototype.Jc=function(){return this.remove()};var Oq=function(a,b){this.ph=void 0;this.he=new Nq;Iq.call(this,a,b)};x(Oq,Iq);h=Oq.prototype;h.Oc=function(a,b){if(!a)return(a=Oq.L.Oc.call(this))&&this.delay&&(this.ph=r.setTimeout(u(this.Pd,this),this.delay)),a;this.he.enqueue(void 0!==b?b:100,a);this.Pd()};h.Pd=function(){for(var a=this.he;0<a.R();){var b=this.Oc();if(b)a.Jc().apply(this,[b]);else break}};h.Ne=function(a){Oq.L.Ne.call(this,a);this.Pd()};h.td=function(){Oq.L.td.call(this);this.Pd()};
703
+ h.J=function(){Oq.L.J.call(this);r.clearTimeout(this.ph);this.he.clear();this.he=null};var Pq=function(a,b){y.call(this);this.Jf=a;this.ua=b||null};q(Pq,tq);Pq.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.Nd(a.rb,a.zoom);var d=u(this.zf,this,a);Qq().Oc(d,b)};Pq.prototype.getUniqueId=function(){return this.Jf.mapid+"-"+this.Jf.token};
704
+ Pq.prototype.zf=function(a,b){var c=Qq();if(a.Sa||"aborted"==a.getStatus())Jq(c,b);else{var d=bc(a,"status-changed",function(){a.le in sq&&(jc(d),Jq(c,b))});rq(a)}};Pq.prototype.Nd=function(a,b){a=Xl(this.Jf,a.x,a.y,b);return this.ua&&this.ua.isEnabled()?a+"&profiling=1":a};var Qq=function(){Rq||(Rq=new Oq(0,4));return Rq};w("ee.layers.EarthEngineTileSource",Pq);var Rq=null;var Sq=function(a){y.call(this);this.Ki=a};q(Sq,tq);Sq.prototype.If=function(a){a.Ca=this.Ki.formatTileUrl(a.rb.x,a.rb.y,a.zoom);rq(a)};Sq.prototype.getUniqueId=function(){return this.Ki.token};w("ee.layers.FeatureViewTileSource",Sq);var Uq=function(){D.call(this);this.qe=new Tq(0,60);this.wc=new zc};q(Uq,D);Uq.prototype.send=function(a,b,c,d,e){if(this.wc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Vq(a,b,d,u(this.pi,this),void 0!==e?e:1);this.wc.set(a,b);a=u(this.zf,this,b);this.qe.Oc(a,c);return b};Uq.prototype.abort=function(a){if(a=this.wc.get(a))a.kc||(a.kc=!0,a.Ja=new z("abort")),this.pi(a)};
705
+ Uq.prototype.zf=function(a,b){if(a.ga||a.kc)Wq(this,b);else if(a.Mi=b,b.setActive(!0),b=new wq,a.ga=b,!a.retry())throw Error("Cannot dispatch first request!");};Uq.prototype.pi=function(a){this.wc.remove(a.getId());a.ga&&(Wq(this,a.Mi),a.ga.Ra());a.Af&&a.Af(a.Ja,a.li)};var Wq=function(a,b){b.setActive(!1);if(!Jq(a.qe,b))throw Error("Object not released");};Uq.prototype.J=function(){D.prototype.J.call(this);this.qe.Ra();this.qe=null;var a=this.wc;Ua(a.aa(),function(b){b.Ra()});a.clear();this.wc=null};
706
+ w("ee.MapTileManager",Uq);var Vq=function(a,b,c,d,e){y.call(this);this.fa=a;this.Gl=b;this.kl=void 0!==e?e:1;this.Af=c;this.bc=d};q(Vq,y);h=Vq.prototype;h.getId=function(){return this.fa};h.getUrl=function(){return this.Gl};h.Yk=function(a){if(this.kc)this.bc&&this.bc(this);else switch(a.type){case "load":this.Ja=a;this.bc&&this.bc(this);break;case "error":case "abort":this.retry()||(this.Ja=a,this.bc&&this.bc(this))}};h.J=function(){y.prototype.J.call(this);delete this.Af;delete this.bc};
707
+ h.retry=function(){if(this.Kg>this.kl)return!1;this.Kg++;zq(this.ga,this.fa);setTimeout(u(this.Bl,this),0);return!0};
708
+ h.Bl=function(){if(!this.kc){var a=u(function(d){this.kc||(yq(this.ga,this.fa,d),ac(this.ga,Xq,u(this.Yk,this)),this.ga.start())},this),b=this.getUrl();if(re(b).Ba.Pb("profiling")){var c=new nj;c.xc="blob";c.Xa("complete",u(function(){this.li=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=wd(zd(zj(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;
709
+ h.Mi=null;h.Ja=null;h.li=null;var Xq=["load","abort","error"],Yq=function(){y.call(this);this.Ea=!1};q(Yq,y);Yq.prototype.setActive=function(a){this.Ea=a};Yq.prototype.isActive=function(){return this.Ea};var Tq=function(a,b){Oq.call(this,a,b)};q(Tq,Oq);Tq.prototype.bf=function(){return new Yq};Tq.prototype.Ed=function(a){a.Ra()};Tq.prototype.Sf=function(a){return!a.Sa&&!a.isActive()};var Zq=function(a,b,c,d,e){Nc.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.wg=new Ic;this.Tf=1;this.ua=e||null};q(Zq,Nc);h=Zq.prototype;h.Oe=function(a){return bc(this,"tileevent",a)};h.bg=function(a){jc(a)};
710
+ h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=Oc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ua&&this.ua.isEnabled()&&(a+="&profiling=1");b=[b,this.yb,this.token].join("/");this.yb+=1;c=Uh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Ab.push(b);Nl(Uq).send(b,a,d,u(this.Xk,this,c,b));Wp(this);return c};h.Nc=function(){return this.Ab.length};
711
+ h.releaseTile=function(a){Nl(Uq).abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.wg.remove(b);""!==a.id&&(this.vg.remove(a.id),this.ua&&this.ua.sl(a.id))};h.setOpacity=function(a){this.Tf=a;var b=this.wg.Da();uc(b,function(c){gq(c,a)})};
712
+ h.Xk=function(a,b,c,d){"error"==c.type?(ab(this.Ab,b),this.vg.add(b),this.dispatchEvent(c)):(ab(this.Ab,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Tf&&gq(c,this.Tf),a.appendChild(c)),Wp(this));this.ua&&null!==d&&this.ua.Lk(b,d)};w("ee.MapLayerOverlay",Zq);Zq.prototype.removeTileCallback=Zq.prototype.bg;Zq.prototype.addTileCallback=Zq.prototype.Oe;Zq.prototype.getTile=Zq.prototype.getTile;Zq.prototype.setOpacity=Zq.prototype.setOpacity;Zq.prototype.releaseTile=Zq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply 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.batch.Export.videoMap.toCloudStorage ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.limit ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.map ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.data.listAssets ee.data.renameAsset ee.data.authenticateViaOauth ee.data.setAssetProperties ee.data.getMapId ee.data.getTaskList ee.data.getTableDownloadId ee.data.listBuckets ee.data.copyAsset ee.data.makeTableDownloadUrl ee.data.getAssetRootQuota ee.data.authenticate ee.data.getWorkloadTag ee.data.deleteAsset ee.data.getTileUrl ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.listOperations ee.data.getDownloadId ee.data.cancelOperation ee.data.getAssetAcl ee.data.listImages ee.data.makeDownloadUrl ee.data.getFeatureViewTilesKey ee.data.authenticateViaPopup ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.setWorkloadTag ee.data.getOperation ee.data.createAssetHome ee.data.setDefaultWorkloadTag ee.data.newTaskId ee.data.resetWorkloadTag ee.data.authenticateViaPrivateKey ee.data.getInfo ee.data.computeValue ee.data.createAsset ee.data.cancelTask ee.data.getThumbId ee.data.updateAsset ee.data.getVideoThumbId ee.data.getTaskStatus ee.data.updateTask ee.data.getList ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.startProcessing ee.data.createFolder ee.data.setAssetAcl ee.data.makeThumbUrl ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Dictionary ee.Algorithms ee.apply ee.InitState ee.TILE_SIZE ee.call ee.initialize ee.reset ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.Filter.and ee.Filter.gt ee.Filter.inList ee.Filter.lt ee.Filter.or ee.Filter.prototype.not ee.Filter.neq ee.Filter.lte ee.Filter.gte ee.Filter.date ee.Filter.metadata ee.Filter ee.Filter.bounds ee.Filter.eq ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.prototype.serialize ee.Geometry.LineString ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.BBox ee.Geometry ee.Geometry.Rectangle ee.Geometry.Point ee.Geometry.Polygon ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPolygon ee.Geometry.prototype.toGeoJSONString ee.Image.rgb ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image.prototype.getThumbURL ee.Image ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.expression ee.Image.prototype.rename ee.Image.prototype.clip ee.Image.cat ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
713
+ c=[["name","var_args"],["name"],["name","namedArgs"],"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "),"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(" "),
714
+ "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),"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
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);
716
+ "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(" "),["geometry"],["name","operator","value"],["start","opt_end"],["property","opt_ascending"],["max","opt_property","opt_ascending"],["algorithm","opt_first"],
717
+ ["filter"],["algorithm","opt_dropNulls"],["callback"],["opt_callback"],["legacy"],["func","var_args"],["parent","opt_params","opt_callback"],["sourceId","destinationId","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["assetId","properties","opt_callback"],["params","opt_callback"],["opt_callback"],["params","opt_callback"],["project","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["id"],["rootId",
718
+ "opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],[],["assetId","opt_callback"],["id","x","y","z"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],["opt_limit","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["assetId","opt_callback"],["parent","opt_params","opt_callback"],["id"],["params","opt_callback"],["opt_success","opt_error"],["asset","params","opt_callback"],["id","opt_callback"],["opt_callback"],["tag"],
719
+ ["operationName","opt_callback"],["requestedId","opt_callback"],["tag"],["opt_count","opt_callback"],["opt_resetDefault"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["id","opt_callback"],["obj","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["taskId","action","opt_callback"],
720
+ ["params","opt_callback"],["taskId","request","opt_callback"],["params","opt_callback"],["taskId","params","opt_callback"],["path","opt_force","opt_callback"],["assetId","aclUpdate","opt_callback"],["id"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","namedArgs"],[],[],["func","var_args"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),[],["var_args"],[],["opt_callback"],["opt_visParams","opt_callback"],["opt_visParams",
721
+ "opt_callback"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_visParams","opt_callback"],["opt_callback"],["args","opt_column"],["var_args"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["var_args"],[],["name","value"],["name","value"],["name","value"],["start","opt_end"],["name","operator","value"],
722
+ ["opt_filter"],["geometry","opt_errorMargin"],["name","value"],["var_args"],["namedArgs"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["west","south","east","north"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],
723
+ [],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["r","g","b"],["var_args"],["opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_args"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["expression","opt_map"],["var_args"],["geometry"],["var_args"],["opt_callback"],["selectors","opt_names"],[],["params","opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],["args"],
724
+ ["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["string"],[]];[Q,qn,rn,Yo,Ro,Zo,Xo,$o,Vo,So,Wo,bp,Uo,Po,To,ap,V.prototype.xh,V.prototype.pf,V.prototype.nf,V.prototype.sort,V.prototype.limit,V.prototype.Lh,V.prototype.filter,V.prototype.map,O.prototype.evaluate,O.prototype.V,O.prototype.va,O.prototype.Gg,Km,Rm,Pl,Xm,Wl,om,hm,Mm,Sm,im,Ym,Ql,Ul,Tm,Xl,nm,Gm,pm,fm,qm,
725
+ Um,Lm,gm,Yl,Ol,Zl,Hm,Nm,$m,rm,Om,an,jm,bn,Rl,Hm,$l,Pm,tm,am,Vm,bm,mm,sm,Jm,Em,cm,Am,Qm,Wm,dm,sp,vp,xp,Bp,wp,Cp,Np,Rp,Pp,256,Qp,Lp,Op,S.prototype.set,mk,W.prototype.V,W.prototype.S,W.prototype.getMap,W,Y.prototype.getMap,Y.prototype.sb,Y.prototype.select,Y.prototype.S,Y.prototype.V,Y,ko,io,no,go,lo,U.prototype.sc,fo,jo,ho,mo,po,U,oo,eo,ln.prototype.call,ln.prototype.apply,T.prototype.va,Sn,Tn,Nn,Pn,T,On,Kn,Vn,Un,T.prototype.pe,Wn,T.prototype.yg,Co,N.prototype.select,N.prototype.V,N.prototype.S,N.prototype.xf,
726
+ N,N.prototype.getMap,N.prototype.sb,N.prototype.Md,N.prototype.l,N.prototype.ri,N.prototype.clip,Do,Z.prototype.V,Z.prototype.select,Z.prototype.first,Z.prototype.yf,Z.prototype.Hf,Z,Z.prototype.getMap,Z.prototype.S,Z.prototype.vf,Eo,ip,kl,tl,rl,hl,il,nl,sl,lp,Fp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);