mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
711 lines
323 KiB
JavaScript
711 lines
323 KiB
JavaScript
(function(){var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},k=ca(this),da=function(a,b){if(b)a:{var c=k;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
da("Symbol",function(a){if(a)return a;var b=function(g,f){this.Xi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Xi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e});
|
|
da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=k[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
|
|
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},fa=function(a){if(!(a instanceof Array)){a=n(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ha=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ia="function"==typeof Object.assign?
|
|
Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ha(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||ia});var ja="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ka;
|
|
if("function"==typeof Object.setPrototypeOf)ka=Object.setPrototypeOf;else{var la;a:{var ma={a:!0},na={};try{na.__proto__=ma;la=na.a;break a}catch(a){}la=!1}ka=la?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var pa=ka,q=function(a,b){a.prototype=ja(b.prototype);a.prototype.constructor=a;if(pa)pa(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},qa=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
|
|
da("Promise",function(a){function b(){this.nb=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Hg=function(f){if(null==this.nb){this.nb=[];var l=this;this.Ig(function(){l.Xk()})}this.nb.push(f)};var d=k.setTimeout;b.prototype.Ig=function(f){d(f,0)};b.prototype.Xk=function(){for(;this.nb&&this.nb.length;){var f=this.nb;this.nb=[];for(var l=0;l<f.length;++l){var m=f[l];f[l]=null;try{m()}catch(p){this.Pk(p)}}}this.nb=null};b.prototype.Pk=function(f){this.Ig(function(){throw f;
|
|
})};var e=function(f){this.S=0;this.ha=void 0;this.uc=[];this.Kh=!1;var l=this.Ze();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.Ze=function(){function f(p){return function(v){m||(m=!0,p.call(l,v))}}var l=this,m=!1;return{resolve:f(this.ul),reject:f(this.Yf)}};e.prototype.ul=function(f){if(f===this)this.Yf(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.wl(f);else{a:switch(typeof f){case "object":var l=null!=f;break a;case "function":l=!0;break a;default:l=
|
|
!1}l?this.tl(f):this.Bh(f)}};e.prototype.tl=function(f){var l=void 0;try{l=f.then}catch(m){this.Yf(m);return}"function"==typeof l?this.xl(l,f):this.Bh(f)};e.prototype.Yf=function(f){this.Bi(2,f)};e.prototype.Bh=function(f){this.Bi(1,f)};e.prototype.Bi=function(f,l){if(0!=this.S)throw Error("Cannot settle("+f+", "+l+"): Promise already settled in state"+this.S);this.S=f;this.ha=l;2===this.S&&this.vl();this.Zk()};e.prototype.vl=function(){var f=this;d(function(){if(f.ol()){var l=k.console;"undefined"!==
|
|
typeof l&&l.error(f.ha)}},1)};e.prototype.ol=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.ha;return m(f)};e.prototype.Zk=function(){if(null!=this.uc){for(var f=0;f<this.uc.length;++f)g.Hg(this.uc[f]);
|
|
this.uc=null}};var g=new b;e.prototype.wl=function(f){var l=this.Ze();f.xd(l.resolve,l.reject)};e.prototype.xl=function(f,l){var m=this.Ze();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(C,P){return"function"==typeof C?function(oa){try{p(C(oa))}catch(R){v(R)}}:P}var p,v,y=new e(function(C,P){p=C;v=P});this.xd(m(f,p),m(l,v));return y};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.xd=function(f,l){function m(){switch(p.S){case 1:f(p.ha);
|
|
break;case 2:l(p.ha);break;default:throw Error("Unexpected state: "+p.S);}}var p=this;null==this.uc?g.Hg(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).xd(l,m)})};e.all=function(f){var l=n(f),m=l.next();return m.done?c([]):new e(function(p,v){function y(oa){return function(R){C[oa]=R;P--;0==P&&p(C)}}var C=[],P=0;do C.push(void 0),P++,c(m.value).xd(y(C.length-
|
|
1),v),m=l.next();while(!m.done)})};return e});
|
|
da("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!ha(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(y){return!1}}())return a;
|
|
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var f=0,l=function(m){this.ea=(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(!ha(m,g))throw Error("WeakMap key fail: "+m);m[g][this.ea]=p;return this};l.prototype.get=function(m){return c(m)&&ha(m,g)?m[g][this.ea]:void 0};l.prototype.has=function(m){return c(m)&&ha(m,g)&&ha(m[g],
|
|
this.ea)};l.prototype.delete=function(m){return c(m)&&ha(m,g)&&ha(m[g],this.ea)?delete m[g][this.ea]:!1};return l});
|
|
da("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),m=new a(n([[l,"s"]]));if("s"!=m.get(l)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var p=m.entries(),v=p.next();if(v.done||v.value[0]!=l||"s"!=v.value[1])return!1;v=p.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!p.next().done?!1:!0}catch(y){return!1}}())return a;var b=new WeakMap,c=function(l){this[0]={};this[1]=
|
|
g();this.size=0;if(l){l=n(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(l,m){l=0===l?0:l;var p=d(this,l);p.list||(p.list=this[0][p.id]=[]);p.da?p.da.value=m:(p.da={next:this[1],kb:this[1].kb,head:this[1],key:l,value:m},p.list.push(p.da),this[1].kb.next=p.da,this[1].kb=p.da,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.da&&l.list?(l.list.splice(l.index,1),l.list.length||delete this[0][l.id],l.da.kb.next=l.da.next,l.da.next.kb=
|
|
l.da.kb,l.da.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].kb=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).da};c.prototype.get=function(l){return(l=d(this,l).da)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,m){for(var p=this.entries(),
|
|
v;!(v=p.next()).done;)v=v.value,l.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,m){var p=m&&typeof m;"object"==p||"function"==p?b.has(m)?p=b.get(m):(p=""+ ++f,b.set(m,p)):p="p_"+m;var v=l[0][p];if(v&&ha(l[0],p))for(l=0;l<v.length;l++){var y=v[l];if(m!==m&&y.key!==y.key||m===y.key)return{id:p,list:v,index:l,da:y}}return{id:p,list:v,index:-1,da:void 0}},e=function(l,m){var p=l[1];return ea(function(){if(p){for(;p.head!=l[1];)p=p.kb;for(;p.next!=p.head;)return p=
|
|
p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.kb=l.next=l.head=l},f=0;return c});da("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,g=0;g<e;g++){var f=d[g];if(b.call(c,f,g,d)){b=f;break a}}b=void 0}return b}});
|
|
var ra=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};da("String.prototype.repeat",function(a){return a?a:function(b){var c=ra(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
|
|
var sa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};da("Array.prototype.keys",function(a){return a?a:function(){return sa(this,function(b){return b})}});
|
|
da("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var f=0;!(g=b.next()).done;)e.push(c.call(d,g.value,f++))}else for(g=b.length,f=0;f<g;f++)e.push(c.call(d,b[f],f));return e}});da("Array.prototype.values",function(a){return a?a:function(){return sa(this,function(b,c){return c})}});
|
|
da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ra(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ra(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f<g&&c<e;)if(d[c++]!=b[f++])return!1;return f>=g}});
|
|
da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});
|
|
da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ra(this,b,"includes").indexOf(b,c||0)}});da("Array.prototype.entries",function(a){return a?a:function(){return sa(this,function(b,c){return[b,c]})}});
|
|
da("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(n([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(f){return!1}}())return a;var b=function(c){this.A=new Map;if(c){c=
|
|
n(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.A.size};b.prototype.add=function(c){c=0===c?0:c;this.A.set(c,c);this.size=this.A.size;return this};b.prototype.delete=function(c){c=this.A.delete(c);this.size=this.A.size;return c};b.prototype.clear=function(){this.A.clear();this.size=0};b.prototype.has=function(c){return this.A.has(c)};b.prototype.entries=function(){return this.A.entries()};b.prototype.values=function(){return this.A.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.A.forEach(function(g){return c.call(d,g,g,e)})};return b});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ra(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var ta=ta||{},r=this||self,ua=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},va=function(a){var b=ua(a);return"array"==b||"object"==b&&"number"==typeof a.length},wa=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},za=function(a){return Object.prototype.hasOwnProperty.call(a,xa)&&a[xa]||(a[xa]=++ya)},xa="closure_uid_"+(1E9*Math.random()>>>0),ya=0,Ba=function(a,b,c){return a.call.apply(a.bind,
|
|
arguments)},Ca=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")?Ba:Ca;return u.apply(null,arguments)},Da=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=
|
|
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.Kl=function(d,e,g){for(var f=Array(arguments.length-2),l=2;l<arguments.length;l++)f[l-2]=arguments[l];return b.prototype[e].apply(d,
|
|
f)}},Ea=function(a){return a};function Fa(a){a&&"function"==typeof a.Qa&&a.Qa()};var z=function(){this.Ra=this.Ra;this.Vd=this.Vd};z.prototype.Ra=!1;z.prototype.Qa=function(){this.Ra||(this.Ra=!0,this.I())};z.prototype.I=function(){if(this.Vd)for(;this.Vd.length;)this.Vd.shift()()};var A=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ad=!1};A.prototype.stopPropagation=function(){this.ad=!0};A.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ga(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,Ga);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b)}x(Ga,Error);Ga.prototype.name="CustomError";var Ha;function Ia(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");Ga.call(this,c+a[d])}x(Ia,Ga);Ia.prototype.name="AssertionError";function Ja(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new Ia(""+e,g||[]);}
|
|
var B=function(a,b,c){a||Ja("",null,b,Array.prototype.slice.call(arguments,2))},Ka=function(a,b,c){null==a&&Ja("Expected to exist: %s.",[a],b,Array.prototype.slice.call(arguments,2));return a},La=function(a,b){throw new Ia("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ma=function(a,b,c){"number"!==typeof a&&Ja("Expected number but got %s: %s.",[ua(a),a],b,Array.prototype.slice.call(arguments,2));return a},Na=function(a,b,c){"string"!==typeof a&&Ja("Expected string but got %s: %s.",
|
|
[ua(a),a],b,Array.prototype.slice.call(arguments,2))},Oa=function(a,b,c){"function"!==typeof a&&Ja("Expected function but got %s: %s.",[ua(a),a],b,Array.prototype.slice.call(arguments,2))},Pa=function(a,b,c){t(a)||Ja("Expected object but got %s: %s.",[ua(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Qa=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},Ra=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||
|
|
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Sa=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)},Ta=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
|
|
g){var l=g[f];b.call(void 0,l,f,a)&&(d[e++]=l)}return d},Ua=Array.prototype.map?function(a,b,c){B(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},Va=Array.prototype.some?function(a,b){B(null!=a.length);return Array.prototype.some.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++)if(e in d&&b.call(void 0,d[e],
|
|
e,a))return!0;return!1},Wa=Array.prototype.every?function(a,b){B(null!=a.length);return Array.prototype.every.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++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function Xa(a,b){var c=0;Sa(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c}function Ya(a,b){return 0<=Qa(a,b)}function Za(a,b){b=Qa(a,b);var c;(c=0<=b)&&$a(a,b);return c}
|
|
function $a(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)}function ab(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function bb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(va(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}}function cb(a,b,c){B(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
function db(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function eb(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=cb(d,e,e+8192);g=eb.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var fb=Object.freeze||function(a){return a};var gb=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 hb,ib;a:{for(var jb=["CLOSURE_FLAGS"],kb=r,lb=0;lb<jb.length;lb++)if(kb=kb[jb[lb]],null==kb){ib=null;break a}ib=kb}var mb=ib&&ib[610401301];hb=null!=mb?mb:!1;function nb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}var ob,pb=r.navigator;ob=pb?pb.userAgentData||null:null;function qb(a){return-1!=nb().indexOf(a)};function rb(){return hb&&ob&&0<ob.brands.length?!1:qb("Trident")||qb("MSIE")};var sb=function(a){sb[" "](a);return a};sb[" "]=function(){};var tb=rb(),ub=qb("Gecko")&&!(-1!=nb().toLowerCase().indexOf("webkit")&&!qb("Edge"))&&!(qb("Trident")||qb("MSIE"))&&!qb("Edge"),vb=-1!=nb().toLowerCase().indexOf("webkit")&&!qb("Edge");var xb=function(a,b){A.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.Ia=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;this.currentTarget=
|
|
b;if(b=a.relatedTarget){if(ub){a:{try{sb(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=vb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=vb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?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:wb[a.pointerType]||"";this.state=a.state;this.Ia=a;a.defaultPrevented&&xb.L.preventDefault.call(this)}};
|
|
x(xb,A);var wb=fb({2:"touch",3:"pen",4:"mouse"});xb.prototype.stopPropagation=function(){xb.L.stopPropagation.call(this);this.Ia.stopPropagation?this.Ia.stopPropagation():this.Ia.cancelBubble=!0};xb.prototype.preventDefault=function(){xb.L.preventDefault.call(this);var a=this.Ia;a.preventDefault?a.preventDefault():a.returnValue=!1};var yb="closure_listenable_"+(1E6*Math.random()|0),zb=function(a){return!(!a||!a[yb])};var Ab=0;var Bb=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ib=e;this.key=++Ab;this.dd=this.wd=!1},Cb=function(a){a.dd=!0;a.listener=null;a.proxy=null;a.src=null;a.ib=null};function Db(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Eb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Fb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Gb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Hb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Ib(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Jb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
function Lb(a){var b=Mb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function Nb(a){for(var b in a)return!1;return!0}function Ob(a,b){b in a&&delete a[b]}function Pb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
function Qb(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]=Qb(a[c]);return b}var Rb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
function Sb(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<Rb.length;g++)c=Rb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Tb=function(a){this.src=a;this.ga={};this.jd=0};Tb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ga[g];a||(a=this.ga[g]=[],this.jd++);var f=Ub(a,b,d,e);-1<f?(b=a[f],c||(b.wd=!1)):(b=new Bb(b,this.src,g,!!d,e),b.wd=c,a.push(b));return b};Tb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ga))return!1;var e=this.ga[a];b=Ub(e,b,c,d);return-1<b?(Cb(e[b]),$a(e,b),0==e.length&&(delete this.ga[a],this.jd--),!0):!1};
|
|
var Vb=function(a,b){var c=b.type;c in a.ga&&Za(a.ga[c],b)&&(Cb(b),0==a.ga[c].length&&(delete a.ga[c],a.jd--))};Tb.prototype.cd=function(a){a=a&&a.toString();var b=0,c;for(c in this.ga)if(!a||c==a){for(var d=this.ga[c],e=0;e<d.length;e++)++b,Cb(d[e]);delete this.ga[c];this.jd--}};Tb.prototype.Kc=function(a,b,c,d){a=this.ga[a.toString()];var e=-1;a&&(e=Ub(a,b,c,d));return-1<e?a[e]:null};
|
|
Tb.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Gb(this.ga,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 Ub=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.dd&&g.listener==b&&g.capture==!!c&&g.ib==d)return e}return-1};var Wb="closure_lm_"+(1E6*Math.random()|0),Xb={},Yb=0,$b=function(a,b,c,d,e){if(d&&d.once)return Zb(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)$b(a,b[g],c,d,e);return null}c=ac(c);return zb(a)?a.Wa(b,c,t(d)?!!d.capture:!!d,e):bc(a,b,c,!1,d,e)},bc=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=t(e)?!!e.capture:!!e,l=cc(a);l||(a[Wb]=l=new Tb(a));c=l.add(b,c,d,f,g);if(c.proxy)return c;d=dc();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)gb||(e=f),void 0===
|
|
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ec(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.");Yb++;return c},dc=function(){var a=fc,b=function(c){return a.call(b.src,b.listener,c)};return b},Zb=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)Zb(a,b[g],c,d,e);return null}c=ac(c);return zb(a)?
|
|
a.Tc(b,c,t(d)?!!d.capture:!!d,e):bc(a,b,c,!0,d,e)},gc=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)gc(a,b[g],c,d,e);else d=t(d)?!!d.capture:!!d,c=ac(c),zb(a)?a.oe(b,c,d,e):a&&(a=cc(a))&&(b=a.Kc(b,c,d,e))&&hc(b)},hc=function(a){if("number"!==typeof a&&a&&!a.dd){var b=a.src;if(zb(b))Vb(b.Ha,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ec(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Yb--;(c=cc(b))?
|
|
(Vb(c,a),0==c.jd&&(c.src=null,b[Wb]=null)):Cb(a)}}},ec=function(a){return a in Xb?Xb[a]:Xb[a]="on"+a},fc=function(a,b){if(a.dd)a=!0;else{b=new xb(b,this);var c=a.listener,d=a.ib||a.src;a.wd&&hc(a);a=c.call(d,b)}return a},cc=function(a){a=a[Wb];return a instanceof Tb?a:null},ic="__closure_events_fn_"+(1E9*Math.random()>>>0),ac=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[ic]||(a[ic]=function(b){return a.handleEvent(b)});
|
|
return a[ic]};var D=function(){z.call(this);this.Ha=new Tb(this);this.Nk=this;this.Qf=null};x(D,z);D.prototype[yb]=!0;h=D.prototype;h.addEventListener=function(a,b,c,d){$b(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){gc(this,a,b,c,d)};
|
|
h.dispatchEvent=function(a){jc(this);var b=this.Qf;if(b){var c=[];for(var d=1;b;b=b.Qf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Nk;d=a.type||a;if("string"===typeof a)a=new A(a,b);else if(a instanceof A)a.target=a.target||b;else{var e=a;a=new A(d,b);Sb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.ad&&0<=g;g--){var f=a.currentTarget=c[g];e=kc(f,d,!0,a)&&e}a.ad||(f=a.currentTarget=b,e=kc(f,d,!0,a)&&e,a.ad||(e=kc(f,d,!1,a)&&e));if(c)for(g=0;!a.ad&&g<c.length;g++)f=a.currentTarget=c[g],e=kc(f,d,!1,a)&&e;
|
|
return e};h.I=function(){D.L.I.call(this);this.Ha&&this.Ha.cd();this.Qf=null};h.Wa=function(a,b,c,d){jc(this);return this.Ha.add(String(a),b,!1,c,d)};h.Tc=function(a,b,c,d){return this.Ha.add(String(a),b,!0,c,d)};h.oe=function(a,b,c,d){this.Ha.remove(String(a),b,c,d)};var kc=function(a,b,c,d){b=a.Ha.ga[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.dd&&f.capture==c){var l=f.listener,m=f.ib||f.src;f.wd&&Vb(a.Ha,f);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};
|
|
D.prototype.Kc=function(a,b,c,d){return this.Ha.Kc(String(a),b,c,d)};D.prototype.hasListener=function(a,b){return this.Ha.hasListener(void 0!==a?String(a):void 0,b)};var jc=function(a){B(a.Ha,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var lc=function(a,b){this.Sk=a[r.Symbol.iterator]();this.jl=b};lc.prototype[Symbol.iterator]=function(){return this};lc.prototype.next=function(){var a=this.Sk.next();return{value:a.done?void 0:this.jl.call(void 0,a.value),done:a.done}};var mc=function(a,b){return new lc(a,b)};var nc=function(){},oc=function(a){return a};var pc=function(){};pc.prototype.next=function(){return qc};var qc=fb({done:!0,value:void 0});pc.prototype.Ca=function(){return this};
|
|
var rc=function(a){if(a instanceof pc)return a;if("function"==typeof a.Ca)return a.Ca(!1);if(va(a)){var b=0,c=new pc;c.next=function(){for(;;){if(b>=a.length)return qc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},sc=function(a,b){if(va(a))Sa(a,b);else for(a=rc(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var wc=function(a){if(a instanceof tc||a instanceof uc||a instanceof vc)return a;if("function"==typeof a.next)return new tc(function(){return a});if("function"==typeof a[Symbol.iterator])return new tc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ca)return new tc(function(){return a.Ca()});throw Error("Not an iterator or iterable.");},tc=function(a){this.rf=a};tc.prototype.Ca=function(){return new uc(this.rf())};tc.prototype[Symbol.iterator]=function(){return new vc(this.rf())};
|
|
tc.prototype.wg=function(){return new vc(this.rf())};var uc=function(a){this.Qc=a};q(uc,pc);uc.prototype.next=function(){return this.Qc.next()};uc.prototype[Symbol.iterator]=function(){return new vc(this.Qc)};uc.prototype.wg=function(){return new vc(this.Qc)};var vc=function(a){tc.call(this,function(){return a});this.Qc=a};q(vc,tc);vc.prototype.next=function(){return this.Qc.next()};var xc=function(a,b){this.A={};this.K=[];this.ld=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=xc.prototype;h.R=function(){return this.size};h.Z=function(){yc(this);for(var a=[],b=0;b<this.K.length;b++)a.push(this.A[this.K[b]]);return a};h.rb=function(){yc(this);return this.K.concat()};h.Nb=function(a){return this.has(a)};h.has=function(a){return zc(this.A,a)};
|
|
h.Gc=function(a){for(var b=0;b<this.K.length;b++){var c=this.K[b];if(zc(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||Ac;yc(this);for(var c,d=0;c=this.K[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Ac=function(a,b){return a===b};xc.prototype.isEmpty=function(){return 0==this.size};xc.prototype.clear=function(){this.A={};this.K.length=0;this.lb(0);this.ld=0};xc.prototype.remove=function(a){return this.delete(a)};
|
|
xc.prototype.delete=function(a){return zc(this.A,a)?(delete this.A[a],this.lb(this.size-1),this.ld++,this.K.length>2*this.size&&yc(this),!0):!1};var yc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b<a.K.length;){var d=a.K[b];zc(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],zc(e,d)||(a.K[c++]=d,e[d]=1),b++;a.K.length=c}};h=xc.prototype;h.get=function(a,b){return zc(this.A,a)?this.A[a]:b};
|
|
h.set=function(a,b){zc(this.A,a)||(this.lb(this.size+1),this.K.push(a),this.ld++);this.A[a]=b};h.addAll=function(a){if(a instanceof xc)for(var b=a.rb(),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.rb(),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 xc(this)};h.keys=function(){return wc(this.Ca(!0)).wg()};h.values=function(){return wc(this.Ca(!1)).wg()};
|
|
h.entries=function(){var a=this;return mc(this.keys(),function(b){return[b,a.get(b)]})};h.Ca=function(a){yc(this);var b=0,c=this.ld,d=this,e=new pc;e.next=function(){if(c!=d.ld)throw Error("The map has changed since the iterator was created");if(b>=d.K.length)return qc;var g=d.K[b++];return{value:a?g:d.A[g],done:!1}};return e};h.lb=function(a){this.size=a};var zc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Bc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(va(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Cc=function(a){if(a.Z&&"function"==typeof a.Z)return a.Z();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(va(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Hb(a)},Dc=function(a){if(a.rb&&"function"==typeof a.rb)return a.rb();
|
|
if(!a.Z||"function"!=typeof a.Z){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(va(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Ib(a)}}},Ec=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(va(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=Dc(a),e=Cc(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Fc=function(a,
|
|
b){if("function"==typeof a.every)return a.every(b,void 0);if(va(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=Dc(a),d=Cc(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 Gc=function(a){this.A=new xc;this.size=0;a&&this.addAll(a)},Hc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+za(a):b.slice(0,1)+a};h=Gc.prototype;h.R=function(){return this.A.size};h.add=function(a){this.A.set(Hc(a),a);this.lb(this.A.size)};h.addAll=function(a){a=Cc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.lb(this.A.size)};h.cd=function(a){a=Cc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.lb(this.A.size)};
|
|
h.delete=function(a){a=this.A.remove(Hc(a));this.lb(this.A.size);return a};h.remove=function(a){return this.delete(a)};h.clear=function(){this.A.clear();this.lb(0)};h.isEmpty=function(){return 0===this.A.size};h.has=function(a){return this.A.Nb(Hc(a))};h.contains=function(a){return this.A.Nb(Hc(a))};var Ic=function(a,b){var c=new Gc;b=Cc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},Jc=function(a,b){a=a.clone();a.cd(b);return a};Gc.prototype.Z=function(){return this.A.Z()};
|
|
Gc.prototype.values=function(){return this.A.values()};Gc.prototype.clone=function(){return new Gc(this)};Gc.prototype.equals=function(a){return this.R()==Bc(a)&&Kc(this,a)};var Kc=function(a,b){var c=Bc(b);if(a.R()>c)return!1;!(b instanceof Gc)&&5<c&&(b=new Gc(b));return Fc(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Gc&&"function"==typeof e.Gc?e.Gc(d):va(e)||"string"===typeof e?Ya(e,d):Jb(e,d)})};Gc.prototype.Ca=function(){return this.A.Ca(!1)};
|
|
Gc.prototype[Symbol.iterator]=function(){return this.values()};Gc.prototype.lb=function(a){this.size=a};var Lc=function(a,b,c){D.call(this);this.kl=b;this.token=c;this.yb=[];this.ug=new Gc;this.wb=0;this.url=a};x(Lc,D);w("ee.AbstractOverlay",Lc);var Mc=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.kl,c,e,b.y].join("/")};Lc.prototype.Lc=function(){return this.yb.length};var Nc=function(a){A.call(this,"tileevent");this.count=a};x(Nc,A);var Oc=function(){},Pc=new Oc;function Qc(a){return Object.assign({},{P:{},Ml:{},keys:[],La:{},s:{},J:{},rh:!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 Rc(a,b){return F(b,a)}function Sc(a,b,c){b[a]=c}function Tc(){return{}}function Uc(a,b){var c=new a;return null==b?c:Vc(b,Wc,Xc,Yc,a)}function Wc(a,b){return b[a]}function Xc(a,b,c){b.h[a]=c}
|
|
function Yc(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Vc(a,b,c,d,e){e=d(e);for(var g=Zc(a,e),f=g.P||{},l=g.s||{},m=g.La||{},p=n(g.keys||[]),v=p.next(),y={};!v.done;y={Uc:y.Uc},v=p.next()){v=v.value;var C=b(v,a);if(null!=C){var P=void 0;if(f.hasOwnProperty(v)){if(g.rh&&0===C.length)continue;P=$c(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))P=$c(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))y.Uc=m[v],P=y.Uc.oa?C.map(function(oa){return function(R){return ad(R,oa.Uc,b,c,d)}}(y)):ad(C,y.Uc,b,c,d);else if(Array.isArray(C)){if(g.rh&&0===C.length)continue;
|
|
P=$c(C,b,c,d,!0,!1)}else P=C instanceof Oc?null:C;c(v,e,P)}}return e}function ad(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]=$c(m,c,d,e,b.qa,b.pa,b.ja))}return g}
|
|
function $c(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 Vc(l,b,c,d,f)}):e&&!g?a.map(function(l){return l}):!e&&g?Vc(a,b,c,d,f):a instanceof Oc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Zc(a,b){if(b instanceof E)a=Qc(b.i());else if(a instanceof E)a=Qc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var bd;var ed=function(a,b){this.ng=a===cd&&b||"";this.zk=dd};ed.prototype.qc=!0;ed.prototype.pc=function(){return this.ng};ed.prototype.toString=function(){return"Const{"+this.ng+"}"};var fd=function(a){if(a instanceof ed&&a.constructor===ed&&a.zk===dd)return a.ng;La("expected object of type Const, got '"+a+"'");return"type_error:Const"},dd={},cd={};var hd=function(a,b){if(b!==gd)throw Error("TrustedResourceUrl is not meant to be built directly");this.Sf=a};hd.prototype.toString=function(){return this.Sf+""};hd.prototype.qc=!0;hd.prototype.pc=function(){return this.Sf.toString()};
|
|
var id=function(a){if(a instanceof hd&&a.constructor===hd)return a.Sf;La("expected object of type TrustedResourceUrl, got '%s' of type %s",a,ua(a));return"type_error:TrustedResourceUrl"},nd=function(a){var b=fd(jd);if(!kd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(ld,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof
|
|
ed?fd(d):encodeURIComponent(String(d))});return md(c)},ld=/%{(\w+)}/g,kd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),gd={},md=function(a){if(void 0===bd){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ea,createScript:Ea,createScriptURL:Ea})}catch(d){r.console&&r.console.error(d.message)}bd=b}a=(b=bd)?b.createScriptURL(a):a;return new hd(a,gd)};var pd=function(a,b){if(b!==od)throw Error("SafeUrl is not meant to be built directly");this.Rf=a};pd.prototype.toString=function(){return this.Rf.toString()};pd.prototype.qc=!0;pd.prototype.pc=function(){return this.Rf.toString()};var qd=function(a){if(a instanceof pd&&a.constructor===pd)return a.Rf;La("expected object of type SafeUrl, got '"+a+"' of type "+ua(a));return"type_error:SafeUrl"},od={},rd=new pd("about:invalid#zClosurez",od);new pd("about:blank",od);var sd={},td=function(){if(sd!==sd)throw Error("SafeStyle is not meant to be built directly");this.ni="";this.qc=!0};td.prototype.pc=function(){return this.ni};td.prototype.toString=function(){return this.ni.toString()};new td;var ud={},vd=function(){if(ud!==ud)throw Error("SafeStyleSheet is not meant to be built directly");this.mi="";this.qc=!0};vd.prototype.toString=function(){return this.mi.toString()};vd.prototype.pc=function(){return this.mi};new vd;var wd={},xd=function(){var a=r.trustedTypes&&r.trustedTypes.emptyHTML||"";if(wd!==wd)throw Error("SafeHtml is not meant to be built directly");this.li=a;this.qc=!0};xd.prototype.pc=function(){return this.li.toString()};xd.prototype.toString=function(){return this.li.toString()};new xd;var zd=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;La("Argument is not an HTML Element with tag name "+(c+d))}a:{c=(a.ownerDocument&&a.ownerDocument.defaultView||
|
|
r).document;if(c.querySelector&&(c=c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&yd.test(c))break a;c=""}c&&a.setAttribute("nonce",c);a.src=id(b)},yd=/^[\w+/_-]+[=]{0,2}$/;var Ad=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")},Bd=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 Cd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Dd=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 Ed=function(a){this.hb=this.ec=this.ub="";this.vc=null;this.Qb=this.Xb="";this.ya=this.fl=!1;if(a instanceof Ed){this.ya=a.ya;Fd(this,a.ub);var b=a.ec;Gd(this);this.ec=b;b=a.hb;Gd(this);this.hb=b;Hd(this,a.vc);this.setPath(a.getPath());Id(this,a.Aa.clone());a=a.Qb;Gd(this);this.Qb=a}else a&&(b=String(a).match(Cd))?(this.ya=!1,Fd(this,b[1]||"",!0),a=b[2]||"",Gd(this),this.ec=Jd(a),a=b[3]||"",Gd(this),this.hb=Jd(a,!0),Hd(this,b[4]),this.setPath(b[5]||"",!0),Id(this,b[6]||"",!0),a=b[7]||"",Gd(this),
|
|
this.Qb=Jd(a)):(this.ya=!1,this.Aa=new Kd(null,this.ya))};
|
|
Ed.prototype.toString=function(){var a=[],b=this.ub;b&&a.push(Ld(b,Md,!0),":");var c=this.hb;if(c||"file"==b)a.push("//"),(b=this.ec)&&a.push(Ld(b,Md,!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.hb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ld(c,"/"==c.charAt(0)?Nd:Od,!0));(c=this.Aa.toString())&&a.push("?",c);(c=this.Qb)&&a.push("#",Ld(c,Pd));return a.join("")};
|
|
Ed.prototype.resolve=function(a){var b=this.clone(),c=!!a.ub;c?Fd(b,a.ub):c=!!a.ec;if(c){var d=a.ec;Gd(b);b.ec=d}else c=!!a.hb;c?(d=a.hb,Gd(b),b.hb=d):c=null!=a.vc;d=a.getPath();if(c)Hd(b,a.vc);else if(c=!!a.Xb){if("/"!=d.charAt(0))if(this.hb&&!this.Xb)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var g=[],f=0;f<e.length;){var l=e[f++];
|
|
"."==l?d&&f==e.length&&g.push(""):".."==l?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&f==e.length&&g.push("")):(g.push(l),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=""!==a.Aa.toString();c?Id(b,a.Aa.clone()):c=!!a.Qb;c&&(a=a.Qb,Gd(b),b.Qb=a);return b};Ed.prototype.clone=function(){return new Ed(this)};
|
|
var Fd=function(a,b,c){Gd(a);a.ub=c?Jd(b,!0):b;a.ub&&(a.ub=a.ub.replace(/:$/,""))},Hd=function(a,b){Gd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.vc=b}else a.vc=null};Ed.prototype.getPath=function(){return this.Xb};Ed.prototype.setPath=function(a,b){Gd(this);this.Xb=b?Jd(a,!0):a;return this};var Id=function(a,b,c){Gd(a);b instanceof Kd?(a.Aa=b,a.Aa.fg(a.ya)):(c||(b=Ld(b,Qd)),a.Aa=new Kd(b,a.ya))};Ed.prototype.getQuery=function(){return this.Aa.toString()};
|
|
Ed.prototype.removeParameter=function(a){Gd(this);this.Aa.remove(a);return this};var Gd=function(a){if(a.fl)throw Error("Tried to modify a read-only Uri");};Ed.prototype.fg=function(a){this.ya=a;this.Aa&&this.Aa.fg(a)};
|
|
var Rd=function(a){return a instanceof Ed?a.clone():new Ed(a)},Jd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ld=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Sd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Sd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Md=/[#\/\?@]/g,Od=/[#\?:]/g,Nd=/[#\?]/g,Qd=/[#\?@]/g,Pd=/#/g,Kd=function(a,b){this.X=this.N=null;this.sa=a||null;this.ya=!!b},Td=
|
|
function(a){a.N||(a.N=new Map,a.X=0,a.sa&&Dd(a.sa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=Kd.prototype;h.R=function(){Td(this);return this.X};h.add=function(a,b){Td(this);this.sa=null;a=Ud(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.X=Ma(this.X)+1;return this};h.remove=function(a){Td(this);a=Ud(this,a);return this.N.has(a)?(this.sa=null,this.X=Ma(this.X)-this.N.get(a).length,this.N.delete(a)):!1};h.clear=function(){this.N=this.sa=null;this.X=0};
|
|
h.isEmpty=function(){Td(this);return 0==this.X};h.Nb=function(a){Td(this);a=Ud(this,a);return this.N.has(a)};h.Gc=function(a){var b=this.Z();return Ya(b,a)};h.forEach=function(a,b){Td(this);this.N.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};h.rb=function(){Td(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};
|
|
h.Z=function(a){Td(this);var b=[];if("string"===typeof a)this.Nb(a)&&(b=b.concat(this.N.get(Ud(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){Td(this);this.sa=null;a=Ud(this,a);this.Nb(a)&&(this.X=Ma(this.X)-this.N.get(a).length);this.N.set(a,[b]);this.X=Ma(this.X)+1;return this};h.get=function(a,b){if(!a)return b;a=this.Z(a);return 0<a.length?String(a[0]):b};
|
|
h.setValues=function(a,b){this.remove(a);0<b.length&&(this.sa=null,this.N.set(Ud(this,a),ab(b)),this.X=Ma(this.X)+b.length)};h.toString=function(){if(this.sa)return this.sa;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.Z(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.sa=a.join("&")};
|
|
h.clone=function(){var a=new Kd;a.sa=this.sa;this.N&&(a.N=new Map(this.N),a.X=this.X);return a};var Ud=function(a,b){b=String(b);a.ya&&(b=b.toLowerCase());return b};Kd.prototype.fg=function(a){a&&!this.ya&&(Td(this),this.sa=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ya=a};Kd.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Ec(arguments[b],function(c,d){this.add(d,c)},this)};function Vd(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=Wd;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 Xd=function(){};Xd.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Yd(a,b){if(null==a)return null;a=a.Nl(b);return null==a?null:a};var Zd=function(a,b){this.M=a;this.dl=void 0===b?null:b};q(Zd,Xd);var $d=function(a,b,c){var d=Yd(a.dl,b);if(null==d)return c;d.Ol();return c.then(function(e){d.Ql(e);return e},function(e){d.Pl(e);throw e;})},I=function(a,b){var c=b.G||void 0,d=a.M,e=d.send,g=b.body instanceof E?Vc(b.body,Rc,Sc,Tc):b.body;return $d(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:g,u:b.u,Gi:b.Gi&&b.Gi},c))};var ae={ue:"ADMIN_READ",we:"DATA_READ",xe:"DATA_WRITE",dk:"LOG_TYPE_UNSPECIFIED",values:function(){return[ae.dk,ae.ue,ae.xe,ae.we]}},be={ue:"ADMIN_READ",Zi:"ADMIN_WRITE",we:"DATA_READ",xe:"DATA_WRITE",lk:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[be.lk,be.ue,be.Zi,be.we,be.xe]}},ce={gj:"AUTO_APPEAL_ELIGIBLE",kj:"CAPABILITY_GROUP_UNSPECIFIED",mj:"CLOUD_ALPHA",Hj:"EXTERNAL",Wj:"INTERNAL",Zj:"LIMITED",mk:"PREAUTHORIZED",pk:"PREVIEW",Cc:"PUBLIC",rk:"RESTRICTED",values:function(){return[ce.kj,
|
|
ce.Cc,ce.Wj,ce.Hj,ce.Zj,ce.mk,ce.pk,ce.mj,ce.rk,ce.gj]}},de={Yi:"ADMIN_ACTIVITY",xj:"DATA_ACCESS",Hk:"UNSPECIFIED_LOG_NAME",values:function(){return[de.Hk,de.Yi,de.xj]}},fe={Aj:"DEFAULT_OBJECT_ACL",Cc:"PUBLIC",Ck:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[fe.Ck,fe.Cc,fe.Aj]}},ge={cj:"APPROVER",ej:"ATTRIBUTION",fj:"AUTHORITY",rj:"CREDENTIALS_TYPE",sj:"CREDS_ASSERTION",Yj:"JUSTIFICATION_TYPE",De:"NO_ATTR",tk:"SECURITY_REALM",values:function(){return[ge.De,ge.fj,ge.ej,ge.tk,ge.cj,ge.Yj,
|
|
ge.rj,ge.sj]}},he={Fj:"DISCHARGED",Gj:"EQUALS",Rj:"IN",fk:"NOT_EQUALS",gk:"NOT_IN",ik:"NO_OP",values:function(){return[he.ik,he.Gj,he.fk,he.Rj,he.gk,he.Fj]}},ie={Xj:"IP",ek:"NAME",De:"NO_ATTR",qk:"REGION",uk:"SERVICE",values:function(){return[ie.De,ie.qk,ie.uk,ie.ek,ie.Xj]}},je={bk:"LOG_FAIL_CLOSED",ck:"LOG_MODE_UNSPECIFIED",values:function(){return[je.ck,je.bk]}},ke={lj:"CLASSIFIER",Jj:"FEATURE_VIEW",Lj:"FOLDER",Pj:"IMAGE",Qj:"IMAGE_COLLECTION",Bk:"TABLE",He:"TYPE_UNSPECIFIED",values:function(){return[ke.He,
|
|
ke.Pj,ke.Qj,ke.Bk,ke.Lj,ke.lj,ke.Jj]}},le={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[le.Bb,le.Cb,le.Fb,le.zb,le.Eb,le.Ab,le.Gb,le.Db,le.Hb,le.Ib]}},me={Ik:"V1",Jk:"V2",Kk:"VERSION_UNSPECIFIED",values:function(){return[me.Kk,me.Ik,me.Jk]}},ne={hj:"BOOLEAN",zj:"DATE_TIME",Bc:"DOUBLE",Vj:"INTEGER",yk:"STRING",He:"TYPE_UNSPECIFIED",
|
|
values:function(){return[ne.He,ne.Vj,ne.hj,ne.Bc,ne.yk,ne.zj]}},oe={Kj:"FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED",Cc:"PUBLIC",values:function(){return[oe.Kj,oe.Cc]}},pe={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[pe.Bb,pe.Cb,pe.Fb,pe.zb,pe.Eb,pe.Ab,pe.Gb,pe.Db,pe.Hb,pe.Ib]}},qe={Oj:"HORIZONTAL",jk:"ORIENTATION_UNSPECIFIED",
|
|
Lk:"VERTICAL",values:function(){return[qe.jk,qe.Oj,qe.Lk]}},re={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[re.cb,re.Za,re.eb,re.MIN,re.MAX,re.bb,re.ab]}},se={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[se.cb,se.Za,se.eb,se.MIN,se.MAX,se.bb,se.ab]}},te={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",
|
|
eb:"SAMPLE",values:function(){return[te.cb,te.Za,te.eb,te.MIN,te.MAX,te.bb,te.ab]}},ue={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ue.Bb,ue.Cb,ue.Fb,ue.zb,ue.Eb,ue.Ab,ue.Gb,ue.Db,ue.Hb,ue.Ib]}},ve={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[ve.cb,
|
|
ve.Za,ve.eb,ve.MIN,ve.MAX,ve.bb,ve.ab]}},we={ij:"CANCELLED",jj:"CANCELLING",Ij:"FAILED",kk:"PENDING",sk:"RUNNING",xk:"STATE_UNSPECIFIED",Ak:"SUCCEEDED",values:function(){return[we.xk,we.kk,we.sk,we.jj,we.Ak,we.ij,we.Ij]}},xe={vk:"SEVERE",wk:"SEVERITY_UNSPECIFIED",Mk:"WARNING",values:function(){return[xe.wk,xe.Mk,xe.vk]}},ye={Bc:"DOUBLE",FLOAT:"FLOAT",INT:"INT",nk:"PRECISION_UNSPECIFIED",values:function(){return[ye.nk,ye.INT,ye.FLOAT,ye.Bc]}},ze={dj:"ASCENDING",Dj:"DESCENDING",Ej:"DIRECTION_UNSPECIFIED",
|
|
values:function(){return[ze.Ej,ze.dj,ze.Dj]}},Ae={aj:"ALLOW",bj:"ALLOW_WITH_LOG",Bj:"DENY",Cj:"DENY_WITH_LOG",ak:"LOG",hk:"NO_ACTION",values:function(){return[Ae.hk,Ae.aj,Ae.bj,Ae.Bj,Ae.Cj,Ae.ak]}},Be={ve:"CSV",ye:"GEO_JSON",Ae:"KML",Be:"KMZ",Ee:"SHP",Fe:"TABLE_FILE_FORMAT_UNSPECIFIED",Ge:"TF_RECORD_TABLE",values:function(){return[Be.Fe,Be.ve,Be.ye,Be.Ae,Be.Be,Be.Ee,Be.Ge]}},Ce={ve:"CSV",ye:"GEO_JSON",Ae:"KML",Be:"KMZ",Ee:"SHP",Fe:"TABLE_FILE_FORMAT_UNSPECIFIED",Ge:"TF_RECORD_TABLE",values:function(){return[Ce.Fe,
|
|
Ce.ve,Ce.ye,Ce.Ae,Ce.Be,Ce.Ee,Ce.Ge]}},De={nj:"COLUMN_DATA_TYPE_LONG",oj:"COLUMN_DATA_TYPE_NUMERIC",pj:"COLUMN_DATA_TYPE_STRING",qj:"COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[De.qj,De.pj,De.oj,De.nj]}},Ee={tj:"CSV_COLUMN_DATA_TYPE_LONG",uj:"CSV_COLUMN_DATA_TYPE_NUMERIC",vj:"CSV_COLUMN_DATA_TYPE_STRING",wj:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[Ee.wj,Ee.vj,Ee.uj,Ee.tj]}},Fe={Mj:"GLOBALLY_CONSISTENT",Nj:"HIGHER_DENSITY",Gk:"UNKNOWN_THINNING_STRATEGY",values:function(){return[Fe.Gk,
|
|
Fe.Mj,Fe.Nj]}},Ge={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ge.Bb,Ge.Cb,Ge.Fb,Ge.zb,Ge.Eb,Ge.Ab,Ge.Gb,Ge.Db,Ge.Hb,Ge.Ib]}},He={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",eb:"SAMPLE",values:function(){return[He.cb,He.Za,He.eb,He.MIN,He.MAX,He.bb,He.ab]}},Ie={yj:"DATA_TYPE_UNSPECIFIED",
|
|
Bc:"DOUBLE",FLOAT:"FLOAT",Sj:"INT16",Tj:"INT32",Uj:"INT8",Dk:"UINT16",Ek:"UINT32",Fk:"UINT8",values:function(){return[Ie.yj,Ie.Uj,Ie.Fk,Ie.Sj,Ie.Dk,Ie.Tj,Ie.Ek,Ie.FLOAT,Ie.Bc]}},Je={ze:"GIF",Ce:"MP4",Ie:"VIDEO_FILE_FORMAT_UNSPECIFIED",Je:"VP9",values:function(){return[Je.Ie,Je.Ce,Je.ze,Je.Je]}},Ke={ze:"GIF",Ce:"MP4",Ie:"VIDEO_FILE_FORMAT_UNSPECIFIED",Je:"VP9",values:function(){return[Ke.Ie,Ke.Ce,Ke.ze,Ke.Je]}},Le=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.bg?null:a.bg;this.h.shearX=
|
|
null==a.gg?null:a.gg;this.h.translateX=null==a.yg?null:a.yg;this.h.shearY=null==a.hg?null:a.hg;this.h.scaleY=null==a.cg?null:a.cg;this.h.translateY=null==a.zg?null:a.zg};q(Le,E);Le.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
k.Object.defineProperties(Le.prototype,{bg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleX")?F(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},cg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?F(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?F(this,"shearX"):null},set:function(a){this.h.shearX=a}},hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
F(this,"shearY"):null},set:function(a){this.h.shearY=a}},yg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?F(this,"translateX"):null},set:function(a){this.h.translateX=a}},zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?F(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var Me=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.description=null==a.description?null:a.description;this.h.returnType=null==a.ag?null:a.ag;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.cf?null:a.cf;this.h.hidden=null==a.hidden?null:a.hidden;this.h.preview=null==a.preview?null:a.preview;this.h.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Me,E);
|
|
Me.prototype.i=function(){return{P:{arguments:Ne},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
k.Object.defineProperties(Me.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}},cf:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?F(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
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=
|
|
a}},ag:{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}}});
|
|
var Ne=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.rd?null:a.rd;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(Ne,E);Ne.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
k.Object.defineProperties(Ne.prototype,{rd:{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,
|
|
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 Oe=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Oe,E);Oe.prototype.i=function(){return{P:{values:Pe},keys:["values"]}};
|
|
k.Object.defineProperties(Oe.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.Ai?null:a.Ai;this.h.auditLogConfigs=null==a.Lg?null:a.Lg};q(Qe,E);Qe.prototype.i=function(){return{P:{auditLogConfigs:Re},keys:["auditLogConfigs","service"]}};
|
|
k.Object.defineProperties(Qe.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?F(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},Ai:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var Re=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Rh?null:a.Rh;this.h.exemptedMembers=null==a.sh?null:a.sh;this.h.ignoreChildExemptions=null==a.Gh?null:a.Gh};q(Re,E);Re.prototype.i=function(){return{J:{logType:ae},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
k.Object.defineProperties(Re.prototype,{sh:{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=
|
|
a}}});var Se=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.ii?null:a.ii};q(Se,E);Se.prototype.i=function(){return{J:{permissionType:be},keys:["permissionType"]}};k.Object.defineProperties(Se.prototype,{ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Te=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(Te,E);Te.prototype.i=function(){return{keys:["append","overwrite","table"]}};
|
|
k.Object.defineProperties(Te.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}}});
|
|
var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.bigqueryDestination=null==a.Oe?null:a.Oe};q(Ue,E);Ue.prototype.i=function(){return{keys:["bigqueryDestination"],s:{bigqueryDestination:Te}}};k.Object.defineProperties(Ue.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return G(this,"bigqueryDestination")?F(this,"bigqueryDestination"):null},set:function(a){this.h.bigqueryDestination=a}}});
|
|
var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.role?null:a.role;this.h.members=null==a.Vb?null:a.Vb;this.h.condition=null==a.Zg?null:a.Zg;this.h.bindingId=null==a.Og?null:a.Og};q(Ve,E);Ve.prototype.i=function(){return{keys:["bindingId","condition","members","role"],s:{condition:We}}};
|
|
k.Object.defineProperties(Ve.prototype,{Og:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindingId")?F(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?F(this,"condition"):null},set:function(a){this.h.condition=a}},Vb:{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,
|
|
"role")?F(this,"role"):null},set:function(a){this.h.role=a}}});var Xe=function(){this.h={}};q(Xe,E);Xe.prototype.i=function(){return{keys:[]}};var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Ug?null:a.Ug};q(Ye,E);Ye.prototype.i=function(){return{J:{capabilities:ce},keys:["capabilities"]}};
|
|
k.Object.defineProperties(Ye.prototype,{Ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?F(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga};q(Ze,E);Ze.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:$e}}};
|
|
k.Object.defineProperties(Ze.prototype,{Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var af=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Qh?null:a.Qh;this.h.authorizationLoggingOptions=null==a.Mg?null:a.Mg};q(af,E);af.prototype.i=function(){return{J:{logName:de},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:Se}}};
|
|
k.Object.defineProperties(af.prototype,{Mg:{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}}});
|
|
var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.Re?null:a.Re;this.h.filenamePrefix=null==a.wa?null:a.wa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.Se?null:a.Se};q(bf,E);bf.prototype.i=function(){return{J:{permissions:fe},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(bf.prototype,{Re:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.h.bucket=a}},Se:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.h.permissions=a}}});k.Object.defineProperties(bf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return fe}}});var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris};q(cf,E);cf.prototype.i=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(cf.prototype,{uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});var df=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(df,E);df.prototype.i=function(){return{keys:["expression","workloadTag"],s:{expression:ef}}};
|
|
k.Object.defineProperties(df.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 ff=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(ff,E);ff.prototype.i=function(){return{keys:["result"]}};
|
|
k.Object.defineProperties(ff.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}}});var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Eh?null:a.Eh;this.h.sys=null==a.Ki?null:a.Ki;this.h.svc=null==a.Ji?null:a.Ji;this.h.op=null==a.gi?null:a.gi;this.h.values=null==a.values?null:a.values};q(gf,E);gf.prototype.i=function(){return{J:{iam:ge,op:he,sys:ie},keys:["iam","op","svc","sys","values"]}};
|
|
k.Object.defineProperties(gf.prototype,{Eh:{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}},Ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.h.svc=a}},Ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.h.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ob?null:a.Ob;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ca?null:a.ca};q(hf,E);hf.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
k.Object.defineProperties(hf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Ob:{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}}});
|
|
var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Uh?null:a.Uh;this.h.field=null==a.uh?null:a.uh;this.h.customFields=null==a.kh?null:a.kh};q(jf,E);jf.prototype.i=function(){return{P:{customFields:kf},keys:["customFields","field","metric"]}};
|
|
k.Object.defineProperties(jf.prototype,{kh:{configurable:!0,enumerable:!0,get:function(){return G(this,"customFields")?F(this,"customFields"):null},set:function(a){this.h.customFields=a}},uh:{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}}});
|
|
var kf=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(kf,E);kf.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(kf.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}}});
|
|
var lf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Ph?null:a.Ph};q(lf,E);lf.prototype.i=function(){return{J:{logMode:je},keys:["logMode"]}};k.Object.defineProperties(lf.prototype,{Ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var mf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(mf,E);
|
|
mf.prototype.i=function(){return{keys:["values"],La:{values:{ja:Pe,oa:!1,pa:!0,qa:!1}}}};k.Object.defineProperties(mf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var nf=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(nf,E);nf.prototype.i=function(){return{keys:["max","min"]}};
|
|
k.Object.defineProperties(nf.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 of=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.qf?null:a.qf;this.h.filenamePrefix=null==a.wa?null:a.wa};q(of,E);of.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
k.Object.defineProperties(of.prototype,{wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},qf:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var pf=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.Ed?null:a.Ed;this.h.tableLocation=null==a.Li?null:a.Li;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:
|
|
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};q(pf,E);
|
|
pf.prototype.i=function(){return{P:{bands:qf},J:{type:ke},keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilestoreLocation type updateTime".split(" "),La:{geometry:{ja:null,oa:!1,pa:!1,qa:!1},properties:{ja:null,oa:!1,pa:!1,qa:!1}},s:{cloudStorageLocation:cf,expression:ef,featureViewAssetLocation:rf,quota:sf,tableLocation:tf,tilestoreLocation:uf}}};
|
|
k.Object.defineProperties(pf.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,
|
|
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}},Ed:{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,
|
|
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,
|
|
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}},Li:{configurable:!0,enumerable:!0,get:function(){return G(this,"tableLocation")?F(this,"tableLocation"):
|
|
null},set:function(a){this.h.tableLocation=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,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});
|
|
var $e=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($e,E);$e.prototype.i=function(){return{keys:["name","overwrite"]}};
|
|
k.Object.defineProperties($e.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}}});
|
|
var vf=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.ca?null:a.ca;this.h.visualizationOptions=null==a.fc?null:a.fc};q(vf,E);vf.prototype.i=function(){return{J:{fileFormat:le},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:ef,visualizationOptions:wf}}};
|
|
k.Object.defineProperties(vf.prototype,{ca:{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}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var xf=function(){this.h={}};q(xf,E);xf.prototype.i=function(){return{keys:[]}};
|
|
var yf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.requestId=null==a.requestId?null:a.requestId;this.h.assetExportOptions=null==a.ra?null:a.ra;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};q(yf,E);yf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkers requestId workloadTag".split(" "),s:{assetExportOptions:Ze,expression:ef}}};
|
|
k.Object.defineProperties(yf.prototype,{ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},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}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.na?null:a.na;this.h.assetExportOptions=null==a.ra?null:a.ra;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.Mf?null:a.Mf;this.h.grid=null==a.grid?null:a.grid;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};q(zf,E);
|
|
zf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers requestId workloadTag".split(" "),s:{assetExportOptions:Af,expression:ef,fileExportOptions:Bf,grid:Cf}}};
|
|
k.Object.defineProperties(zf.prototype,{ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},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}},
|
|
na:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixels")?F(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},O:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxWorkers")?
|
|
F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.tileOptions=null==a.cc?null:a.cc;this.h.tileExportOptions=null==a.bc?null:a.bc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};q(Df,E);
|
|
Df.prototype.i=function(){return{keys:"description expression maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "),s:{expression:ef,tileExportOptions:Bf,tileOptions:Ef}}};
|
|
k.Object.defineProperties(Df.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}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},bc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?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}}});
|
|
var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.na?null:a.na;this.h.assetExportOptions=null==a.ra?null:a.ra;this.h.featureViewExportOptions=null==a.Fd?null:a.Fd;this.h.bigqueryExportOptions=null==a.td?null:a.td;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.Tb?null:a.Tb;this.h.maxWorkers=
|
|
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.jb?null:a.jb};q(Ff,E);
|
|
Ff.prototype.i=function(){return{keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy requestId selectors workloadTag".split(" "),s:{assetExportOptions:Gf,bigqueryExportOptions:Ue,expression:ef,featureViewExportOptions:Hf,fileExportOptions:If,policy:Jf}}};
|
|
k.Object.defineProperties(Ff.prototype,{ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},td:{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=
|
|
a}},l:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.h.expression=a}},Fd:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewExportOptions")?F(this,"featureViewExportOptions"):null},set:function(a){this.h.featureViewExportOptions=a}},na:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},Tb:{configurable:!0,
|
|
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}},jb:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?
|
|
F(this,"policy"):null},set:function(a){this.h.policy=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,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Kf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Oa?null:a.Oa;this.h.tileOptions=null==a.cc?null:a.cc;this.h.tileExportOptions=null==a.bc?null:a.bc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.version=null==a.version?null:a.version;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};q(Kf,E);
|
|
Kf.prototype.i=function(){return{J:{version:me},keys:"description expression maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "),s:{expression:ef,tileExportOptions:Lf,tileOptions:Ef,videoOptions:Mf}}};
|
|
k.Object.defineProperties(Kf.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}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},bc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?F(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?
|
|
F(this,"version"):null},set:function(a){this.h.version=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Oa?null:a.Oa;this.h.fileExportOptions=null==a.na?null:a.na;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.O?null:a.O;this.h.workloadTag=null==a.workloadTag?null:a.workloadTag};q(Nf,E);
|
|
Nf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkers requestId videoOptions workloadTag".split(" "),s:{expression:ef,fileExportOptions:Lf,videoOptions:Mf}}};
|
|
k.Object.defineProperties(Nf.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}},na:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},O:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"maxWorkers")?F(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}},workloadTag:{configurable:!0,enumerable:!0,get:function(){return G(this,"workloadTag")?
|
|
F(this,"workloadTag"):null},set:function(a){this.h.workloadTag=a}}});var We=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.location=null==a.location?null:a.location};q(We,E);We.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
k.Object.defineProperties(We.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}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.h.title=a}}});var ef=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values;this.h.result=null==a.result?null:a.result};q(ef,E);ef.prototype.i=function(){return{keys:["result","values"],La:{values:{ja:Pe,oa:!1,pa:!0,qa:!1}}}};
|
|
k.Object.defineProperties(ef.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.type=null==a.type?null:a.type;this.h.geometry=null==a.geometry?null:a.geometry;this.h.properties=null==a.properties?null:a.properties};
|
|
q(Of,E);Of.prototype.i=function(){return{keys:["geometry","properties","type"]}};
|
|
k.Object.defineProperties(Of.prototype,{geometry:{configurable:!0,enumerable:!0,get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.h.geometry=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.h.properties=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Lb?null:a.Lb;this.h.mapName=null==a.mapName?null:a.mapName;this.h.name=null==a.name?null:a.name;this.h.visualizationExpression=null==a.Bg?null:a.Bg};q(Pf,E);Pf.prototype.i=function(){return{keys:["asset","mapName","name","visualizationExpression"],s:{visualizationExpression:ef}}};
|
|
k.Object.defineProperties(Pf.prototype,{Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?F(this,"asset"):null},set:function(a){this.h.asset=a}},mapName:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapName")?F(this,"mapName"):null},set:function(a){this.h.mapName=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.h.name=a}},Bg:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationExpression")?
|
|
F(this,"visualizationExpression"):null},set:function(a){this.h.visualizationExpression=a}}});var Hf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewDestination=null==a.jf?null:a.jf;this.h.ingestionTimeParameters=null==a.rc?null:a.rc};q(Hf,E);Hf.prototype.i=function(){return{keys:["featureViewDestination","ingestionTimeParameters"],s:{featureViewDestination:Qf,ingestionTimeParameters:Rf}}};
|
|
k.Object.defineProperties(Hf.prototype,{jf:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewDestination")?F(this,"featureViewDestination"):null},set:function(a){this.h.featureViewDestination=a}},rc:{configurable:!0,enumerable:!0,get:function(){return G(this,"ingestionTimeParameters")?F(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Sf=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(Sf,E);Sf.prototype.i=function(){return{J:{type:ne},keys:["name","type"]}};k.Object.defineProperties(Sf.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}}});
|
|
var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.assetVersion=null==a.Gg?null:a.Gg;this.h.permissions=null==a.permissions?null:a.permissions};q(Qf,E);Qf.prototype.i=function(){return{J:{permissions:oe},keys:["assetVersion","name","permissions"]}};
|
|
k.Object.defineProperties(Qf.prototype,{Gg:{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}}});
|
|
k.Object.defineProperties(Qf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return oe}}});var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.qg?null:a.qg;this.h.rankingOptions=null==a.Wf?null:a.Wf;this.h.prerenderingOptions=null==a.ki?null:a.ki};q(Rf,E);Rf.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],s:{prerenderingOptions:Tf,rankingOptions:Uf,thinningOptions:Vf}}};
|
|
k.Object.defineProperties(Rf.prototype,{ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderingOptions")?F(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankingOptions")?F(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},qg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningOptions")?F(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
|
|
a}}});var rf=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(rf,E);rf.prototype.i=function(){return{keys:["assetOptions","location"],s:{assetOptions:Wf}}};
|
|
k.Object.defineProperties(rf.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 Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewAttributes=null==a.th?null:a.th;this.h.ingestionTimeParameters=null==a.rc?null:a.rc};q(Wf,E);
|
|
Wf.prototype.i=function(){return{P:{featureViewAttributes:Sf},keys:["featureViewAttributes","ingestionTimeParameters"],s:{ingestionTimeParameters:Rf}}};
|
|
k.Object.defineProperties(Wf.prototype,{th:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewAttributes")?F(this,"featureViewAttributes"):null},set:function(a){this.h.featureViewAttributes=a}},rc:{configurable:!0,enumerable:!0,get:function(){return G(this,"ingestionTimeParameters")?F(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Xf=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.orientation=null==a.orientation?null:a.orientation;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};q(Xf,E);Xf.prototype.i=function(){return{J:{fileFormat:pe,orientation:qe},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:ef,grid:Cf}}};
|
|
k.Object.defineProperties(Xf.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,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return G(this,"orientation")?F(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var sf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.maxSizeBytes=null==a.Ub?null:a.Ub;this.h.assetCount=null==a.Me?null:a.Me;this.h.maxAssets=null==a.Jf?null:a.Jf};q(sf,E);
|
|
sf.prototype.i=function(){return{keys:["assetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
k.Object.defineProperties(sf.prototype,{Me:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetCount")?F(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Jf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssets")?F(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},sizeBytes:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.jc?null:a.jc;this.h.body=null==a.body?null:a.body};q(Yf,E);Yf.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
k.Object.defineProperties(Yf.prototype,{jc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentNames")?F(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return G(this,"body")?F(this,"body"):null},set:function(a){this.h.body=a}}});
|
|
var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.Ua?null:a.Ua;this.h.arguments=null==a.arguments?null:a.arguments};q(Zf,E);Zf.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],La:{arguments:{ja:Pe,oa:!1,pa:!0,qa:!1}}}};
|
|
k.Object.defineProperties(Zf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionName")?F(this,"functionName"):null},set:function(a){this.h.functionName=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionReference")?F(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Te?null:a.Te;this.h.tileDimensions=null==a.ac?null:a.ac;this.h.skipEmptyFiles=null==a.kg?null:a.kg;this.h.tileSize=null==a.tileSize?null:a.tileSize;this.h.noData=null==a.Nf?null:a.Nf};q($f,E);$f.prototype.i=function(){return{keys:["cloudOptimized","noData","skipEmptyFiles","tileDimensions","tileSize"],s:{noData:ag,tileDimensions:bg}}};
|
|
k.Object.defineProperties($f.prototype,{Te:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?F(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return G(this,"noData")?F(this,"noData"):null},set:function(a){this.h.noData=a}},kg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},ac:{configurable:!0,enumerable:!0,
|
|
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 cg=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(cg,E);cg.prototype.i=function(){return{keys:["options"],s:{options:dg}}};
|
|
k.Object.defineProperties(cg.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.h.options=a}}});var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.vi?null:a.vi};q(dg,E);dg.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};
|
|
k.Object.defineProperties(dg.prototype,{vi:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});var bg=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(bg,E);bg.prototype.i=function(){return{keys:["height","width"]}};
|
|
k.Object.defineProperties(bg.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 eg=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(eg,E);eg.prototype.i=function(){return{keys:["x","y"]}};
|
|
k.Object.defineProperties(eg.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}}});
|
|
var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Tf?null:a.Tf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Af,E);
|
|
Af.prototype.i=function(){return{J:{pyramidingPolicy:re,pyramidingPolicyOverrides:se},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],La:{pyramidingPolicyOverrides:{ja:null,oa:!1,pa:!1,qa:!1}},s:{earthEngineDestination:$e}}};
|
|
k.Object.defineProperties(Af.prototype,{Ga:{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}},Tf:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?F(this,"pyramidingPolicyOverrides"):
|
|
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}}});
|
|
var qf=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.cloudStorageLocation=null==a.cloudStorageLocation?null:a.cloudStorageLocation};q(qf,E);
|
|
qf.prototype.i=function(){return{P:{tilesets:fg},J:{pyramidingPolicy:te},keys:"cloudStorageLocation dataType grid id missingData pyramidingPolicy tilesets".split(" "),s:{cloudStorageLocation:cf,dataType:gg,grid:Cf,missingData:hg}}};
|
|
k.Object.defineProperties(qf.prototype,{cloudStorageLocation:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageLocation")?F(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},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")?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}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?
|
|
F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.ia?null:a.ia;this.h.geoTiffOptions=null==a.Gd?null:a.Gd;this.h.tfRecordOptions=null==a.ie?null:a.ie;this.h.fileFormat=null==a.F?null:a.F};q(Bf,E);
|
|
Bf.prototype.i=function(){return{J:{fileFormat:ue},keys:["cloudStorageDestination","driveDestination","fileFormat","geoTiffOptions","tfRecordOptions"],s:{cloudStorageDestination:bf,driveDestination:of,geoTiffOptions:$f,tfRecordOptions:ig}}};
|
|
k.Object.defineProperties(Bf.prototype,{ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{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=
|
|
a}},Gd:{configurable:!0,enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},ie:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var jg=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.kd?null:a.kd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.If?null:a.If;this.h.footprint=null==a.Ah?null:a.Ah;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.startTime=null==a.startTime?
|
|
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.Di?null:a.Di};q(jg,E);jg.prototype.i=function(){return{P:{bands:kg,maskBands:lg,tilesets:mg},J:{pyramidingPolicy:ve},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy skipMetadataRead startTime tilesets uriPrefix".split(" "),La:{properties:{ja:null,oa:!1,pa:!1,qa:!1}},s:{footprint:ng,missingData:hg}}};
|
|
k.Object.defineProperties(jg.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}},Ah:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.h.footprint=a}},If:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"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=
|
|
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}},Di:{configurable:!0,enumerable:!0,get:function(){return G(this,"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}},kd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var og=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.affineTransform=null==a.Jb?null:a.Jb;this.h.dimensions=null==a.dimensions?null:a.dimensions};q(og,E);og.prototype.i=function(){return{keys:["affineTransform","dimensions","uris"],s:{affineTransform:Le,dimensions:bg}}};
|
|
k.Object.defineProperties(og.prototype,{Jb:{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}}});
|
|
var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.yf?null:a.yf;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};q(pg,E);pg.prototype.i=function(){return{keys:["description","imageManifest","overwrite","requestId"],s:{imageManifest:jg}}};
|
|
k.Object.defineProperties(pg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},yf:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var qg=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.pg?null:a.pg;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};q(qg,E);qg.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:rg}}};
|
|
k.Object.defineProperties(qg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.h.requestId=a}},pg:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tableManifest")?F(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Dc?null:a.Dc};q(sg,E);sg.prototype.i=function(){return{P:{algorithms:Me},keys:["algorithms"]}};k.Object.defineProperties(sg.prototype,{Dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"algorithms")?F(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.assets=null==a.assets?null:a.assets;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(tg,E);tg.prototype.i=function(){return{P:{assets:pf},keys:["assets","nextPageToken"]}};
|
|
k.Object.defineProperties(tg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?F(this,"assets"):null},set:function(a){this.h.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.type=null==a.type?null:a.type;this.h.features=null==a.features?null:a.features;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(ug,E);ug.prototype.i=function(){return{P:{features:Of},keys:["features","nextPageToken","type"]}};
|
|
k.Object.defineProperties(ug.prototype,{features:{configurable:!0,enumerable:!0,get:function(){return G(this,"features")?F(this,"features"):null},set:function(a){this.h.features=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}}});
|
|
var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Ma?null:a.Ma;this.h.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};q(vg,E);vg.prototype.i=function(){return{P:{operations:wg},keys:["nextPageToken","operations"]}};
|
|
k.Object.defineProperties(vg.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Ma:{configurable:!0,enumerable:!0,get:function(){return G(this,"operations")?F(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var xg=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.lh?null:a.lh;this.h.cloudAudit=null==a.Wg?null:a.Wg};q(xg,E);xg.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:af,counter:jf,dataAccess:lf}}};
|
|
k.Object.defineProperties(xg.prototype,{Wg:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudAudit")?F(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return G(this,"counter")?F(this,"counter"):null},set:function(a){this.h.counter=a}},lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?F(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(hg,E);hg.prototype.i=function(){return{keys:["values"]}};k.Object.defineProperties(hg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var yg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ob?null:a.Ob};q(yg,E);yg.prototype.i=function(){return{keys:["destinationName"]}};
|
|
k.Object.defineProperties(yg.prototype,{Ob:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.floatValue=null==a.nf?null:a.nf;this.h.integerValue=null==a.Va?null:a.Va};q(ag,E);ag.prototype.i=function(){return{keys:["floatValue","integerValue"]}};
|
|
k.Object.defineProperties(ag.prototype,{nf:{configurable:!0,enumerable:!0,get:function(){return G(this,"floatValue")?F(this,"floatValue"):null},set:function(a){this.h.floatValue=a}},Va:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.h.integerValue=a}}});
|
|
var wg=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(wg,E);wg.prototype.i=function(){return{keys:["done","error","metadata","name","response"],La:{metadata:{ja:null,oa:!1,pa:!1,qa:!1},response:{ja:null,oa:!1,pa:!1,qa:!1}},s:{error:zg}}};
|
|
k.Object.defineProperties(wg.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,
|
|
"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}}});
|
|
var Ag=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.af?null:a.af;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.Fi?null:
|
|
a.Fi;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.dg?null:a.dg;this.h.destinationUris=null==a.df?null:a.df;this.h.notifications=null==a.bi?null:a.bi;this.h.batchEecuUsageSeconds=null==a.sd?null:a.sd};q(Ag,E);Ag.prototype.i=function(){return{P:{notifications:Bg,stages:Cg},J:{state:we},keys:"attempt batchEecuUsageSeconds createTime description destinationUris endTime notifications priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
k.Object.defineProperties(Ag.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return G(this,"attempt")?F(this,"attempt"):null},set:function(a){this.h.attempt=a}},sd:{configurable:!0,enumerable:!0,get:function(){return G(this,"batchEecuUsageSeconds")?F(this,"batchEecuUsageSeconds"):null},set:function(a){this.h.batchEecuUsageSeconds=a}},af:{configurable:!0,enumerable:!0,get:function(){return G(this,"createTime")?F(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},df:{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,
|
|
"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}},dg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},Fi:{configurable:!0,
|
|
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=
|
|
a}},updateTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var Bg=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Ri?null:a.Ri;this.h.detail=null==a.detail?null:a.detail};q(Bg,E);Bg.prototype.i=function(){return{J:{severity:xe},keys:["detail","severity","topic"]}};
|
|
k.Object.defineProperties(Bg.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}},Ri:{configurable:!0,enumerable:!0,get:function(){return G(this,"topic")?F(this,"topic"):null},set:function(a){this.h.topic=a}}});
|
|
var Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Yg?null:a.Yg;this.h.totalWorkUnits=null==a.Si?null:a.Si;this.h.description=null==a.description?null:a.description};q(Cg,E);Cg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
k.Object.defineProperties(Cg.prototype,{Yg:{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=
|
|
a}},Si:{configurable:!0,enumerable:!0,get:function(){return G(this,"totalWorkUnits")?F(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.bd?null:a.bd;this.h.dimensionsCount=null==a.ph?null:a.ph};q(gg,E);gg.prototype.i=function(){return{J:{precision:ye},keys:["dimensionsCount","precision","range"],s:{range:nf}}};
|
|
k.Object.defineProperties(gg.prototype,{ph:{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}},bd:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Ng?null:a.Ng};q(ng,E);ng.prototype.i=function(){return{P:{points:eg},keys:["bandId","points"]}};
|
|
k.Object.defineProperties(ng.prototype,{Ng:{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}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.bf?null:a.bf;this.h.crsWkt=null==a.fh?null:a.fh;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Jb?null:a.Jb};q(Cf,E);Cf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:Le,dimensions:bg}}};
|
|
k.Object.defineProperties(Cf.prototype,{Jb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},bf:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},fh:{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,
|
|
get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.ud?null:a.ud;this.h.auditConfigs=null==a.Kg?null:a.Kg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.gf?null:a.gf};q(Jf,E);Jf.prototype.i=function(){return{P:{auditConfigs:Qe,bindings:Ve,rules:Dg},keys:["auditConfigs","bindings","etag","rules","version"]}};
|
|
k.Object.defineProperties(Jf.prototype,{Kg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},ud:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.h.bindings=a}},gf:{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,
|
|
"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 Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.prerenderTiles=null==a.ji?null:a.ji;this.h.tileLimiting=null==a.Mi?null:a.Mi};q(Tf,E);Tf.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],s:{tileLimiting:Eg}}};
|
|
k.Object.defineProperties(Tf.prototype,{ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderTiles")?F(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Mi:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileLimiting")?F(this,"tileLimiting"):null},set:function(a){this.h.tileLimiting=a}}});var Fg=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};q(Fg,E);Fg.prototype.i=function(){return{keys:["attributeName"]}};
|
|
k.Object.defineProperties(Fg.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return G(this,"attributeName")?F(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});var Gg=function(){this.h={}};q(Gg,E);Gg.prototype.i=function(){return{keys:[]}};var Hg=function(){this.h={}};q(Hg,E);Hg.prototype.i=function(){return{keys:[]}};var Ig=function(){this.h={}};q(Ig,E);Ig.prototype.i=function(){return{keys:[]}};
|
|
var Jg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.Wd?null:a.Wd;this.h.rankByMinVisibleLodRule=null==a.ri?null:a.ri;this.h.rankByGeometryTypeRule=null==a.Xd?null:a.Xd;this.h.rankByMinZoomLevelRule=null==a.Yd?null:a.Yd;this.h.direction=null==a.direction?null:a.direction};q(Jg,E);
|
|
Jg.prototype.i=function(){return{J:{direction:ze},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByMinZoomLevelRule"],s:{rankByAttributeRule:Fg,rankByGeometryTypeRule:Gg,rankByMinVisibleLodRule:Hg,rankByMinZoomLevelRule:Ig}}};
|
|
k.Object.defineProperties(Jg.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return G(this,"direction")?F(this,"direction"):null},set:function(a){this.h.direction=a}},Wd:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByAttributeRule")?F(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},Xd:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByGeometryTypeRule")?F(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
|
|
a}},ri:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinVisibleLodRule")?F(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},Yd:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinZoomLevelRule")?F(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
|
|
var Uf=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.Dg?null:a.Dg;this.h.thinningRankingRule=null==a.rg?null:a.rg};q(Uf,E);Uf.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],s:{thinningRankingRule:Kg,zOrderRankingRule:Kg}}};
|
|
k.Object.defineProperties(Uf.prototype,{rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningRankingRule")?F(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},Dg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zOrderRankingRule")?F(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
|
|
var Kg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Vf?null:a.Vf;this.h.pseudoRandomTiebreaking=null==a.pi?null:a.pi};q(Kg,E);Kg.prototype.i=function(){return{P:{rankByOneThingRule:Jg},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
|
|
k.Object.defineProperties(Kg.prototype,{pi:{configurable:!0,enumerable:!0,get:function(){return G(this,"pseudoRandomTiebreaking")?F(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByOneThingRule")?F(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
|
|
var Dg=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.ai?null:a.ai;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Oh?null:a.Oh};q(Dg,E);Dg.prototype.i=function(){return{P:{conditions:gf,logConfig:xg},J:{action:Ae},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
k.Object.defineProperties(Dg.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,
|
|
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}},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=
|
|
a}}});var Lg=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.jb?null:a.jb;this.h.updateMask=null==a.updateMask?null:a.updateMask};q(Lg,E);Lg.prototype.i=function(){return{keys:["policy","updateMask"],s:{policy:Jf}}};
|
|
k.Object.defineProperties(Lg.prototype,{jb:{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 zg=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};
|
|
q(zg,E);zg.prototype.i=function(){return{keys:["code","details","message"],La:{details:{ja:null,oa:!0,pa:!1,qa:!1}}}};
|
|
k.Object.defineProperties(zg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return G(this,"code")?F(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return G(this,"details")?F(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return G(this,"message")?F(this,"message"):null},set:function(a){this.h.message=a}}});
|
|
var Mg=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.selectors=null==a.selectors?null:a.selectors;this.h.filename=null==a.filename?null:a.filename};q(Mg,E);Mg.prototype.i=function(){return{J:{fileFormat:Ce},keys:["expression","fileFormat","filename","name","selectors"],s:{expression:ef}}};
|
|
k.Object.defineProperties(Mg.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}},filename:{configurable:!0,enumerable:!0,get:function(){return G(this,"filename")?F(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,"selectors")?F(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga};q(Gf,E);Gf.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:$e}}};
|
|
k.Object.defineProperties(Gf.prototype,{Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var If=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.ia?null:a.ia;this.h.fileFormat=null==a.F?null:a.F};q(If,E);
|
|
If.prototype.i=function(){return{J:{fileFormat:Be},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:bf,driveDestination:of}}};
|
|
k.Object.defineProperties(If.prototype,{ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{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=
|
|
a}}});var tf=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.Ci?null:a.Ci;this.h.primaryGeometryColumn=null==a.Zc?null:a.Zc};q(tf,E);tf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
|
|
k.Object.defineProperties(tf.prototype,{paths:{configurable:!0,enumerable:!0,get:function(){return G(this,"paths")?F(this,"paths"):null},set:function(a){this.h.paths=a}},Zc:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=a}},Ci:{configurable:!0,enumerable:!0,get:function(){return G(this,"shardCount")?F(this,"shardCount"):null},set:function(a){this.h.shardCount=a}},sizeBytes:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});
|
|
var rg=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.kd?null:a.kd;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.gh?null:a.gh;this.h.policy=null==a.jb?null:a.jb;this.h.columnDataTypeOverrides=null==a.Xg?null:a.Xg};q(rg,E);
|
|
rg.prototype.i=function(){return{P:{sources:Ng},J:{columnDataTypeOverrides:De,csvColumnDataTypeOverrides:Ee},keys:"columnDataTypeOverrides csvColumnDataTypeOverrides endTime name policy properties sources startTime uriPrefix".split(" "),La:{columnDataTypeOverrides:{ja:null,oa:!1,pa:!1,qa:!1},csvColumnDataTypeOverrides:{ja:null,oa:!1,pa:!1,qa:!1},properties:{ja:null,oa:!1,pa:!1,qa:!1}},s:{policy:Jf}}};
|
|
k.Object.defineProperties(rg.prototype,{Xg:{configurable:!0,enumerable:!0,get:function(){return G(this,"columnDataTypeOverrides")?F(this,"columnDataTypeOverrides"):null},set:function(a){this.h.columnDataTypeOverrides=a}},gh:{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"):
|
|
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}},jb:{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,
|
|
"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}},kd:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var Ng=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.Tb?null:a.Tb;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.Zc?null:a.Zc;this.h.xColumn=null==a.Vi?null:a.Vi;this.h.yColumn=null==a.Wi?null:a.Wi;this.h.dateFormat=null==a.mh?null:a.mh;this.h.csvDelimiter=null==
|
|
a.hh?null:a.hh;this.h.csvQualifier=null==a.ih?null:a.ih};q(Ng,E);Ng.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
k.Object.defineProperties(Ng.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}},hh:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},ih:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},mh:{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}},Tb:{configurable:!0,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}},Zc:{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}},Vi:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Wi:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.ac?null:a.ac;this.h.marginDimensions=null==a.Hf?null:a.Hf;this.h.compress=null==a.We?null:a.We;this.h.maxSizeBytes=null==a.Ub?null:a.Ub;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.he?null:a.he;this.h.sequenceData=null==a.eg?null:a.eg;this.h.collapseBands=null==a.Ue?null:a.Ue;this.h.maxMaskedRatio=null==a.Lf?null:a.Lf};q(ig,E);
|
|
ig.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),La:{tensorDepths:{ja:null,oa:!1,pa:!1,qa:!1}},s:{marginDimensions:bg,tileDimensions:bg}}};
|
|
k.Object.defineProperties(ig.prototype,{Ue:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?F(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},We:{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}},Hf:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},eg:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?F(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},he:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},ac:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Kf?null:a.Kf;this.h.thinningStrategy=null==a.sg?null:a.sg};q(Vf,E);Vf.prototype.i=function(){return{J:{thinningStrategy:Fe},keys:["maxFeaturesPerTile","thinningStrategy"]}};
|
|
k.Object.defineProperties(Vf.prototype,{Kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFeaturesPerTile")?F(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningStrategy")?F(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=a}}});
|
|
var Og=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.ca?null:a.ca;this.h.visualizationOptions=null==a.fc?null:a.fc;this.h.grid=null==a.grid?null:a.grid;this.h.filenamePrefix=null==a.wa?null:a.wa};q(Og,E);
|
|
Og.prototype.i=function(){return{J:{fileFormat:Ge},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),s:{expression:ef,grid:Cf,visualizationOptions:wf}}};
|
|
k.Object.defineProperties(Og.prototype,{ca:{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}},wa:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"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}},fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});var Eg=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(Eg,E);Eg.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
|
|
k.Object.defineProperties(Eg.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=
|
|
a}},Zh:{configurable:!0,enumerable:!0,get:function(){return G(this,"neighborDepth")?F(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.ef?null:a.ef;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.mg?null:a.mg;this.h.skipEmpty=null==a.jg?null:a.jg;this.h.mapsApiKey=null==a.Gf?null:a.Gf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.stride=null==a.stride?null:a.stride;this.h.zoomSubset=null==a.Eg?null:a.Eg};q(Ef,E);
|
|
Ef.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey scale skipEmpty startZoom stride zoomSubset".split(" "),s:{dimensions:bg,zoomSubset:Pg}}};
|
|
k.Object.defineProperties(Ef.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"endZoom")?F(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},Gf:{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,
|
|
get:function(){return G(this,"scale")?F(this,"scale"):null},set:function(a){this.h.scale=a}},jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmpty")?F(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=a}},mg:{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=
|
|
a}},Eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});var mg=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.Hi?null:a.Hi;this.h.subdatasetSuffix=null==a.Ii?null:a.Ii};q(mg,E);
|
|
mg.prototype.i=function(){return{P:{sources:og},J:{dataType:Ie},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
k.Object.defineProperties(mg.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")?
|
|
F(this,"sources"):null},set:function(a){this.h.sources=a}},Hi:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.zc?null:a.zc;this.h.tilesetBandIndex=null==a.Pi?null:a.Pi;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(kg,E);kg.prototype.i=function(){return{J:{pyramidingPolicy:He},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:hg}}};
|
|
k.Object.defineProperties(kg.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}},Pi:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},zc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.zc?null:a.zc;this.h.bandIds=null==a.ca?null:a.ca};q(lg,E);lg.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
k.Object.defineProperties(lg.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},zc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var uf=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(uf,E);
|
|
uf.prototype.i=function(){return{P:{sources:Qg},keys:["pathPrefix","sources"]}};k.Object.defineProperties(uf.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}}});
|
|
var Qg=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(Qg,E);Qg.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
k.Object.defineProperties(Qg.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}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.vh?null:a.vh;this.h.firstTileIndex=null==a.xh?null:a.xh;this.h.tilesPerFile=null==a.Oi?null:a.Oi};q(fg,E);fg.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
k.Object.defineProperties(fg.prototype,{vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},xh:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Oi:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var Rg=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Lb?null:a.Lb;this.h.updateMask=null==a.updateMask?null:a.updateMask};q(Rg,E);Rg.prototype.i=function(){return{keys:["asset","updateMask"],s:{asset:pf}}};
|
|
k.Object.defineProperties(Rg.prototype,{Lb:{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}}});
|
|
var Pe=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.gb?null:a.gb;this.h.integerValue=null==a.Va?null:a.Va;this.h.bytesValue=null==a.ob?null:a.ob;this.h.arrayValue=null==a.Ea?null:a.Ea;this.h.dictionaryValue=null==a.Fa?null:a.Fa;this.h.functionDefinitionValue=null==a.Ta?null:a.Ta;this.h.functionInvocationValue=null==a.xa?null:a.xa;this.h.argumentReference=null==a.Kb?null:a.Kb;this.h.valueReference=null==a.Na?null:a.Na};q(Pe,E);
|
|
Pe.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:Oe,dictionaryValue:mf,functionDefinitionValue:Yf,functionInvocationValue:Zf}}};
|
|
k.Object.defineProperties(Pe.prototype,{Kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentReference")?F(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"arrayValue")?F(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},ob:{configurable:!0,enumerable:!0,get:function(){return G(this,"bytesValue")?F(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},gb:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"constantValue")?F(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"dictionaryValue")?F(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionDefinitionValue")?F(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},xa:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"functionInvocationValue")?F(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Va:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Na:{configurable:!0,enumerable:!0,get:function(){return G(this,"valueReference")?F(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.la?null:a.la;this.h.cloudStorageDestination=null==a.ia?null:a.ia;this.h.fileFormat=null==a.F?null:a.F};q(Lf,E);Lf.prototype.i=function(){return{J:{fileFormat:Je},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:bf,driveDestination:of}}};
|
|
k.Object.defineProperties(Lf.prototype,{ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudStorageDestination")?F(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},la:{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=
|
|
a}}});var Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.h.maxFrames=null==a.maxFrames?null:a.maxFrames;this.h.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Mf,E);Mf.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
k.Object.defineProperties(Mf.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=
|
|
a}}});var Sg=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.Oa?null:a.Oa;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.grid?null:a.grid};q(Sg,E);Sg.prototype.i=function(){return{J:{fileFormat:Ke},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:ef,grid:Cf,videoOptions:Mf}}};
|
|
k.Object.defineProperties(Sg.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,
|
|
"name")?F(this,"name"):null},set:function(a){this.h.name=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Uf?null:a.Uf;this.h.paletteColors=null==a.Xc?null:a.Xc;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(wf,E);
|
|
wf.prototype.i=function(){return{P:{ranges:nf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
k.Object.defineProperties(wf.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}},Xc:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?F(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?F(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var Pg=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(Pg,E);Pg.prototype.i=function(){return{keys:["end","start"]}};
|
|
k.Object.defineProperties(Pg.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}}});
|
|
var Wd={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",billingAccount:"billingAccount",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"},Tg=function(a){this.m="v1";this.j=new Zd(a,
|
|
null)};Tg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",u:H(b,c),G:sg})};var Ug=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Ug.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",u:H(b,c),G:Ye})};Ug.prototype.Rd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:H(b,c),G:tg})};
|
|
var Vg=function(a){this.m="v1";this.j=new Zd(a,null)};h=Vg.prototype;h.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",u:H(c,d),G:pf})};
|
|
h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,u:H(b,c),G:xf})};h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,u:H(b,c),G:pf})};
|
|
h.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",u:H(c,d),G:pf})};h.Rd=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",u:H(b,c),G:tg})};
|
|
h.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",u:H(c,d),G:pf})};var Wg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Wg.prototype.Ja=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",u:H(c,d),G:wg})};var Xg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Xg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.featureView.create",path:"/"+this.m+"/"+a+"/featureView",u:H(c,d),G:Pf})};var Yg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Yg.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.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",u:H(c,d),G:Xf})};var Zg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Zg.prototype.Ja=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.image.export",path:"/"+this.m+"/"+a+"/image:export",u:H(c,d),G:wg})};Zg.prototype.import=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.image.import",path:"/"+this.m+"/"+a+"/image:import",u:H(c,d),G:wg})};
|
|
var $g=function(a){this.m="v1";this.j=new Zd(a,null)};$g.prototype.Ja=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.map.export",path:"/"+this.m+"/"+a+"/map:export",u:H(c,d),G:wg})};var ah=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
ah.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.maps.create",path:"/"+this.m+"/"+a+"/maps",u:H(c,d),G:vf})};var bh=function(a){this.m="v1";this.j=new Zd(a,null)};h=bh.prototype;
|
|
h.cancel=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",u:H(c,d),G:xf})};h.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return I(this.j,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,u:H(b,c),G:xf})};
|
|
h.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,u:H(b,c),G:wg})};h.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return I(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",u:H(b,c),G:vg})};
|
|
h.wait=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return I(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",u:H(c,d),G:wg})};var ch=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
ch.prototype.Ja=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.table.export",path:"/"+this.m+"/"+a+"/table:export",u:H(c,d),G:wg})};ch.prototype.import=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.table.import",path:"/"+this.m+"/"+a+"/table:import",u:H(c,d),G:wg})};
|
|
var dh=function(a){this.m="v1";this.j=new Zd(a,null)};dh.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.tables.create",path:"/"+this.m+"/"+a+"/tables",u:H(c,d),G:Mg})};var eh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
eh.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.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",u:H(c,d),G:Og})};
|
|
var fh=function(a){this.m="v1";this.j=new Zd(a,null)},gh=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:ff})},hh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
hh.prototype.Ja=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:wg})};var ih=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
ih.prototype.Ja=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:wg})};var jh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
jh.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:Sg})};var kh=function(){};kh.prototype.send=function(a,b){Vd(a);return(void 0).then(function(c){return b?Uc(b,c):c})};var lh=function(a,b){this.gl=100;this.Vk=a;this.sl=b;this.Ud=0;this.Md=null};lh.prototype.get=function(){if(0<this.Ud){this.Ud--;var a=this.Md;this.Md=a.next;a.next=null}else a=this.Vk();return a};lh.prototype.put=function(a){this.sl(a);this.Ud<this.gl&&(this.Ud++,a.next=this.Md,this.Md=a)};var nh=function(a,b){Db(b,function(c,d){c&&"object"==typeof c&&c.qc&&(c=c.pc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:mh.hasOwnProperty(d)?a.setAttribute(mh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},mh={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"},ph=function(a,b,c){return oh(document,arguments)},oh=function(a,b){var c=b[1],d=qh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):nh(d,c));2<b.length&&rh(a,d,b,2);return d},rh=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(!va(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="function"==typeof g.item;break a}}f=!1}Sa(f?ab(g):g,e)}}},qh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},sh=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},th=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},uh=function(a){this.Ad=a||r.document||document};h=uh.prototype;
|
|
h.getElementsByTagName=function(a,b){return(b||this.Ad).getElementsByTagName(String(a))};h.Uk=function(a,b,c){return oh(this.Ad,arguments)};h.createElement=function(a){return qh(this.Ad,a)};h.createTextNode=function(a){return this.Ad.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){rh(th(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};
|
|
h.removeNode=sh;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 vh,wh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!qb("Presto")&&(a=function(){var e=qh(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()},
|
|
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,l)}}});if("undefined"!==typeof a&&!rb()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Vg;c.Vg=null;e()}};return function(e){d.next={Vg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function xh(a){r.setTimeout(function(){throw a;},0)};var yh=function(){this.re=this.hc=null};yh.prototype.add=function(a,b){var c=zh.get();c.set(a,b);this.re?this.re.next=c:(B(!this.hc),this.hc=c);this.re=c};yh.prototype.remove=function(){var a=null;this.hc&&(a=this.hc,this.hc=this.hc.next,this.hc||(this.re=null),a.next=null);return a};var zh=new lh(function(){return new Ah},function(a){return a.reset()}),Ah=function(){this.next=this.scope=this.pf=null};Ah.prototype.set=function(a,b){this.pf=a;this.scope=b;this.next=null};
|
|
Ah.prototype.reset=function(){this.next=this.scope=this.pf=null};var Bh=r.console&&r.console.createTask?r.console.createTask.bind(r.console):void 0,Ch=Bh?Symbol("consoleTask"):void 0;function Dh(a,b){function c(){var e=qa.apply(0,arguments),g=this;return d.run(function(){return a.call.apply(a,[g].concat(fa(e)))})}b=void 0===b?"anonymous":b;if(!Bh||a[Ka(Ch)])return a;var d=Bh(a.name||b);c[Ka(Ch)]=d;return c};var Eh,Fh=!1,Gh=new yh,Ih=function(a,b){Eh||Hh();Fh||(Eh(),Fh=!0);a=Dh(a,"goog.async.run");Gh.add(a,b)},Hh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);Eh=function(){a.then(Jh)}}else Eh=function(){var b=Jh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&(hb&&ob&&0<ob.brands.length||!qb("Edge"))&&r.Window.prototype.setImmediate==r.setImmediate?(vh||(vh=wh()),vh(b)):r.setImmediate(b)}},Jh=function(){for(var a;a=Gh.remove();){try{a.pf.call(a.scope)}catch(b){xh(b)}zh.put(a)}Fh=
|
|
!1};var Kh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Nh=function(a){this.S=0;this.ha=void 0;this.kc=this.fb=this.W=null;this.Jd=this.hf=!1;if(a!=nc)try{var b=this;a.call(void 0,function(c){Lh(b,2,c)},function(c){if(!(c instanceof Mh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Lh(b,3,c)})}catch(c){Lh(this,3,c)}},Oh=function(){this.next=this.context=this.tc=this.Wb=this.Mb=null;this.pd=!1};Oh.prototype.reset=function(){this.context=this.tc=this.Wb=this.Mb=null;this.pd=!1};
|
|
var Ph=new lh(function(){return new Oh},function(a){a.reset()}),Qh=function(a,b,c){var d=Ph.get();d.Wb=a;d.tc=b;d.context=c;return d};Nh.prototype.then=function(a,b,c){null!=a&&Oa(a,"opt_onFulfilled should be a function.");null!=b&&Oa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Rh(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Nh.prototype.$goog_Thenable=!0;
|
|
Nh.prototype.Bl=function(a,b){return Rh(this,null,a,b)};Nh.prototype.catch=Nh.prototype.Bl;Nh.prototype.cancel=function(a){if(0==this.S){var b=new Mh(a);Ih(function(){Sh(this,b)},this)}};
|
|
var Sh=function(a,b){if(0==a.S)if(a.W){var c=a.W;if(c.fb){for(var d=0,e=null,g=null,f=c.fb;f&&(f.pd||(d++,f.Mb==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.S&&1==d?Sh(c,b):(g?(d=g,B(c.fb),B(null!=d),d.next==c.kc&&(c.kc=d),d.next=d.next.next):Th(c),Uh(c,e,3,b)))}a.W=null}else Lh(a,3,b)},Wh=function(a,b){a.fb||2!=a.S&&3!=a.S||Vh(a);B(null!=b.Wb);a.kc?a.kc.next=b:a.fb=b;a.kc=b},Rh=function(a,b,c,d){b&&(b=Dh(b,"goog.Promise.then"));c&&(c=Dh(c,"goog.Promise.then"));var e=Qh(null,null,null);e.Mb=new Nh(function(g,
|
|
f){e.Wb=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 Mh?f(l):g(m)}catch(p){f(p)}}:f});e.Mb.W=a;Wh(a,e);return e.Mb};Nh.prototype.Dl=function(a){B(1==this.S);this.S=0;Lh(this,2,a)};Nh.prototype.El=function(a){B(1==this.S);this.S=0;Lh(this,3,a)};
|
|
var Lh=function(a,b,c){if(0==a.S){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.S=1;a:{var d=c,e=a.Dl,g=a.El;if(d instanceof Nh){null!=e&&Oa(e,"opt_onFulfilled should be a function.");null!=g&&Oa(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Wh(d,Qh(e||nc,g||null,a));var f=!0}else if(Kh(d))d.then(e,g,a),f=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){Xh(d,l,e,g,a);f=!0;break a}}catch(m){g.call(a,m);
|
|
f=!0;break a}f=!1}}f||(a.ha=c,a.S=b,a.W=null,Vh(a),3!=b||c instanceof Mh||Yh(a,c))}},Xh=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)}},Vh=function(a){a.hf||(a.hf=!0,Ih(a.Yk,a))},Th=function(a){var b=null;a.fb&&(b=a.fb,a.fb=b.next,b.next=null);a.fb||(a.kc=null);null!=b&&B(null!=b.Wb);return b};Nh.prototype.Yk=function(){for(var a;a=Th(this);)Uh(this,a,this.S,this.ha);this.hf=!1};
|
|
var Uh=function(a,b,c,d){if(3==c&&b.tc&&!b.pd)for(;a&&a.Jd;a=a.W)a.Jd=!1;if(b.Mb)b.Mb.W=null,Zh(b,c,d);else try{b.pd?b.Wb.call(b.context):Zh(b,c,d)}catch(e){$h.call(null,e)}Ph.put(b)},Zh=function(a,b,c){2==b?a.Wb.call(a.context,c):a.tc&&a.tc.call(a.context,c)},Yh=function(a,b){a.Jd=!0;Ih(function(){a.Jd&&$h.call(null,b)})},$h=xh,Mh=function(a){Ga.call(this,a)};x(Mh,Ga);Mh.prototype.name="cancel";var ai=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 bi=function(a,b,c){z.call(this);this.hl=null!=c?a.bind(c):a;this.el=b;this.qd=null;this.yc=!1;this.Yc=0;this.dc=null};q(bi,z);h=bi.prototype;h.mf=function(a){this.qd=arguments;this.dc||this.Yc?this.yc=!0:ci(this)};h.stop=function(){this.dc&&(r.clearTimeout(this.dc),this.dc=null,this.yc=!1,this.qd=null)};h.pause=function(){this.Yc++};h.resume=function(){this.Yc--;this.Yc||!this.yc||this.dc||(this.yc=!1,ci(this))};h.I=function(){z.prototype.I.call(this);this.stop()};
|
|
var ci=function(a){a.dc=ai(function(){a.dc=null;a.yc&&!a.Yc&&(a.yc=!1,ci(a))},a.el);var b=a.qd;a.qd=null;a.hl.apply(null,b)};function di(){};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var ei=function(a,b){this.ce=[];this.ci=a;this.nh=b||null;this.Nc=this.nc=!1;this.ha=void 0;this.ig=this.Pg=this.Pe=!1;this.ne=0;this.W=null;this.Qe=0};x(ei,di);ei.prototype.cancel=function(a){if(this.nc)this.ha instanceof ei&&this.ha.cancel();else{if(this.W){var b=this.W;delete this.W;a?b.cancel(a):(b.Qe--,0>=b.Qe&&b.cancel())}this.ci?this.ci.call(this.nh,this):this.ig=!0;this.nc||fi(this,new gi(this))}};ei.prototype.ah=function(a,b){this.Pe=!1;hi(this,a,b)};
|
|
var hi=function(a,b,c){a.nc=!0;a.ha=c;a.Nc=!b;ii(a)},ki=function(a){if(a.nc){if(!a.ig)throw new ji(a);a.ig=!1}};ei.prototype.callback=function(a){ki(this);li(a);hi(this,!0,a)};var fi=function(a,b){ki(a);li(b);hi(a,!1,b)},li=function(a){B(!(a instanceof ei),"An execution sequence may not be initiated with a blocking Deferred.")},mi=function(a,b,c,d){B(!a.Pg,"Blocking Deferreds can not be re-used");a.ce.push([b,c,d]);a.nc&&ii(a)};
|
|
ei.prototype.then=function(a,b,c){var d,e,g=new Nh(function(f,l){e=f;d=l});mi(this,e,function(f){f instanceof gi?g.cancel():d(f);return ni},this);return g.then(a,b,c)};ei.prototype.$goog_Thenable=!0;
|
|
var oi=function(a){return Va(a.ce,function(b){return"function"===typeof b[1]})},ni={},ii=function(a){if(a.ne&&a.nc&&oi(a)){var b=a.ne,c=pi[b];c&&(r.clearTimeout(c.ea),delete pi[b]);a.ne=0}a.W&&(a.W.Qe--,delete a.W);b=a.ha;for(var d=c=!1;a.ce.length&&!a.Pe;){var e=a.ce.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Nc?f:g)try{var l=g.call(e||a.nh,b);l===ni&&(l=void 0);void 0!==l&&(a.Nc=a.Nc&&(l==b||l instanceof Error),a.ha=b=l);if(Kh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Pe=!0}catch(m){b=
|
|
m,a.Nc=!0,oi(a)||(c=!0)}}a.ha=b;d&&(l=u(a.ah,a,!0),d=u(a.ah,a,!1),b instanceof ei?(mi(b,l,d),b.Pg=!0):b.then(l,d));c&&(b=new qi(b),pi[b.ea]=b,a.ne=b.ea)},ji=function(){Ga.call(this)};x(ji,Ga);ji.prototype.message="Deferred has already fired";ji.prototype.name="AlreadyCalledError";var gi=function(){Ga.call(this)};x(gi,Ga);gi.prototype.message="Deferred was canceled";gi.prototype.name="CanceledError";var qi=function(a){this.ea=r.setTimeout(u(this.Cl,this),0);this.Dd=a};
|
|
qi.prototype.Cl=function(){B(pi[this.ea],"Cannot throw an error that is not scheduled.");delete pi[this.ea];throw this.Dd;};var pi={};var vi=function(a){var b={},c=b.document||document,d=id(a).toString(),e=(new uh(c)).createElement("SCRIPT"),g={zi:e,hd:void 0},f=new ei(ri,g),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){si(e,!0);fi(f,new ti(1,"Timeout reached for loading script "+d))},m),g.hd=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(si(e,b.Ll||!1,l),f.callback(null))};e.onerror=function(){si(e,!0,l);fi(f,new ti(0,"Error while loading script "+
|
|
d))};g=b.attributes||{};Sb(g,{type:"text/javascript",charset:"UTF-8"});nh(e,g);zd(e,a);ui(c).appendChild(e)},ui=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},ri=function(){if(this&&this.zi){var a=this.zi;a&&"SCRIPT"==a.tagName&&si(a,!0,this.hd)}},si=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){sh(a)},0)},ti=function(a,b){var c=
|
|
"Jsloader error (code #"+a+")";b&&(c+=": "+b);Ga.call(this,c);this.code=a};x(ti,Ga);var wi=function(){this.ae=void 0};wi.prototype.ua=function(a){var b=[];xi(this,a,b);return b.join("")};
|
|
var xi=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],xi(a,a.ae?a.ae.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),yi(d,c),c.push(":"),xi(a,a.ae?a.ae.call(b,d,e):e,c),g=","));c.push("}");
|
|
return}}switch(typeof b){case "string":yi(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);}}},zi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Ai=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,yi=function(a,b){b.push('"',a.replace(Ai,function(c){var d=zi[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),zi[c]=d);return d}),'"')};var Bi=function(a,b){this.name=a;this.value=b};Bi.prototype.toString=function(){return this.name};var Ci=new Bi("OFF",Infinity),Di=new Bi("SEVERE",1E3),Ei=new Bi("WARNING",900),Fi=new Bi("CONFIG",700),Gi=new Bi("FINE",500),Hi=function(){this.yd=0;this.clear()},Ii;Hi.prototype.clear=function(){this.vd=Array(this.yd);this.jh=-1;this.Jh=!1};var Ji=function(a,b,c){this.reset(a||Ci,b,c,void 0,void 0)};Ji.prototype.reset=function(){};
|
|
var Ki=function(a,b){this.level=null;this.cl=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.Sh={tf:function(){return a}}},Li=function(a){if(a.level)return a.level;if(a.parent)return Li(a.parent);La("Root logger has no level set.");return Ci},Mi=function(a,b){for(;a;)a.cl.forEach(function(c){c(b)}),a=a.parent},Ni=function(){this.entries={};var a=new Ki("");a.level=Fi;this.entries[""]=a},Oi,Pi=function(a,b){var c=a.entries[b];if(c)return c;c=Pi(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
0)));var d=new Ki(b,c);a.entries[b]=d;c.children.push(d);return d},Qi=function(){Oi||(Oi=new Ni);return Oi},Ri=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Li(Pi(Qi(),a.tf())):Ci;d=d>=e.value}if(d){b=b||Ci;d=Pi(Qi(),a.tf());"function"===typeof c&&(c=c());Ii||(Ii=new Hi);e=Ii;a=a.tf();if(0<e.yd){var g=(e.jh+1)%e.yd;e.jh=g;e.Jh?(e=e.vd[g],e.reset(b,c,a),a=e):(e.Jh=g==e.yd-1,a=e.vd[g]=new Ji(b,c,a))}else a=new Ji(b,c,a);Mi(d,a)}},Si=function(a,b){a&&Ri(a,Di,b)},Ti=function(a,b){a&&Ri(a,
|
|
Gi,b)};var Ui=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Vi=function(){};Vi.prototype.Tg=null;var Xi=function(a){var b;(b=a.Tg)||(b={},Wi(a)&&(b[0]=!0,b[1]=!0),b=a.Tg=b);return b};var Yi,Zi=function(){};x(Zi,Vi);var $i=function(a){return(a=Wi(a))?new ActiveXObject(a):new XMLHttpRequest},Wi=function(a){if(!a.Fh&&"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.Fh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Fh};Yi=new Zi;var aj=function(a){D.call(this);this.headers=new Map;this.te=a||null;this.Da=!1;this.se=this.o=null;this.Rc=this.Nh=this.Qd="";this.Sb=this.zf=this.Od=this.ff=!1;this.Ac=0;this.je=null;this.xc="";this.pe=this.ql=this.Ui=!1;this.Ne=this.Ag=null};x(aj,D);aj.prototype.aa=Pi(Qi(),"goog.net.XhrIo").Sh;var bj=/^https?$/i,cj=["POST","PUT"],dj=[];aj.prototype.Tk=function(){this.Qa();Za(dj,this)};aj.prototype.setTrustToken=function(a){this.Ag=a};aj.prototype.setAttributionReporting=function(a){this.Ne=a};
|
|
aj.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Qd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Qd=a;this.Rc="";this.Nh=b;this.ff=!1;this.Da=!0;this.o=this.te?$i(this.te):$i(Yi);this.se=this.te?Xi(this.te):Xi(Yi);this.o.onreadystatechange=u(this.fi,this);this.ql&&"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{Ti(this.aa,ej(this,"Opening Xhr")),
|
|
this.zf=!0,this.o.open(b,String(a),!0),this.zf=!1}catch(f){Ti(this.aa,ej(this,"Error opening Xhr: "+f.message));this.Dd(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"==
|
|
f.toLowerCase()});e=r.FormData&&a instanceof r.FormData;!Ya(cj,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.Ui&&(this.o.withCredentials=this.Ui);if("setTrustToken"in this.o&&this.Ag)try{this.o.setTrustToken(this.Ag)}catch(f){Ti(this.aa,ej(this,"Error SetTrustToken: "+
|
|
f.message))}if("setAttributionReporting"in this.o&&this.Ne)try{this.o.setAttributionReporting(this.Ne)}catch(f){Ti(this.aa,ej(this,"Error SetAttributionReporting: "+f.message))}try{fj(this),0<this.Ac&&(this.pe=gj(this.o),Ti(this.aa,ej(this,"Will abort after "+this.Ac+"ms if incomplete, xhr2 "+this.pe)),this.pe?(this.o.timeout=this.Ac,this.o.ontimeout=u(this.hd,this)):this.je=ai(this.hd,this.Ac,this)),Ti(this.aa,ej(this,"Sending request")),this.Od=!0,this.o.send(a),this.Od=!1}catch(f){Ti(this.aa,ej(this,
|
|
"Send error: "+f.message)),this.Dd(5,f)}};var gj=function(a){return tb&&"number"===typeof a.timeout&&void 0!==a.ontimeout};aj.prototype.hd=function(){"undefined"!=typeof ta&&this.o&&(this.Rc="Timed out after "+this.Ac+"ms, aborting",Ti(this.aa,ej(this,this.Rc)),this.dispatchEvent("timeout"),this.abort(8))};aj.prototype.Dd=function(a,b){this.Da=!1;this.o&&(this.Sb=!0,this.o.abort(),this.Sb=!1);this.Rc=b;hj(this);ij(this)};var hj=function(a){a.ff||(a.ff=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
aj.prototype.abort=function(){this.o&&this.Da&&(Ti(this.aa,ej(this,"Aborting")),this.Da=!1,this.Sb=!0,this.o.abort(),this.Sb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ij(this))};aj.prototype.I=function(){this.o&&(this.Da&&(this.Da=!1,this.Sb=!0,this.o.abort(),this.Sb=!1),ij(this,!0));aj.L.I.call(this)};aj.prototype.fi=function(){this.Ra||(this.zf||this.Od||this.Sb?jj(this):this.pl())};aj.prototype.pl=function(){jj(this)};
|
|
var jj=function(a){if(a.Da&&"undefined"!=typeof ta)if(a.se[1]&&4==a.sb()&&2==a.getStatus())Ti(a.aa,ej(a,"Local request error detected and ignored"));else if(a.Od&&4==a.sb())ai(a.fi,0,a);else if(a.dispatchEvent("readystatechange"),4==a.sb()){Ti(a.aa,ej(a,"Request complete"));a.Da=!1;try{var b=a.getStatus(),c;if(!(c=Ui(b))){var d;if(d=0===b){var e=String(a.Qd).match(Cd)[1]||null;!e&&r.self&&r.self.location&&(e=r.self.location.protocol.slice(0,-1));d=!bj.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
a.dispatchEvent("success");else{try{var g=2<a.sb()?a.o.statusText:""}catch(f){Ti(a.aa,"Can not get status: "+f.message),g=""}a.Rc=g+" ["+a.getStatus()+"]";hj(a)}}finally{ij(a)}}};aj.prototype.ei=function(a,b){B("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(kj(a,"progress"));this.dispatchEvent(kj(a,b?"downloadprogress":"uploadprogress"))};
|
|
var kj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},ij=function(a,b){if(a.o){fj(a);var c=a.o,d=a.se[0]?function(){}:null;a.o=null;a.se=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Si(a.aa,"Problem encountered resetting onreadystatechange: "+e.message)}}},fj=function(a){a.o&&a.pe&&(a.o.ontimeout=null);a.je&&(r.clearTimeout(a.je),a.je=null)};aj.prototype.isActive=function(){return!!this.o};
|
|
aj.prototype.sb=function(){return this.o?this.o.readyState:0};aj.prototype.getStatus=function(){try{return 2<this.sb()?this.o.status:-1}catch(a){return-1}};
|
|
var lj=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}Si(a.aa,"Response type "+a.xc+" is not supported on this browser");return null}catch(b){return Ti(a.aa,"Can not get response: "+b.message),null}};aj.prototype.getResponseHeader=function(a){if(this.o&&4==this.sb())return a=this.o.getResponseHeader(a),null===a?void 0:a};
|
|
aj.prototype.getAllResponseHeaders=function(){return this.o&&2<=this.sb()?this.o.getAllResponseHeaders()||"":""};var mj=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=Bd(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 Fb(b,function(f){return f.join(", ")})},ej=function(a,b){return b+" ["+a.Nh+" "+a.Qd+" "+a.getStatus()+"]"};var nj,J=function(a,b){oj();this.callback=a;this.M=new pj(!a,b)};J.prototype.md=function(a){this.M.Pb=a;return this};J.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 qj=function(){return"projects/"+nj};h=J.prototype;h.Dc=function(){return new Tg(this.M)};h.assets=function(){return new Vg(this.M)};
|
|
h.Ma=function(){return new bh(this.M)};h.value=function(){return new fh(this.M)};h.maps=function(){return new ah(this.M)};h.map=function(){return new $g(this.M)};h.image=function(){return new Zg(this.M)};h.table=function(){return new ch(this.M)};h.video=function(){return new hh(this.M)};var pj=function(a,b){this.sync=a=void 0===a?!1:a;this.Pb=void 0;this.wi=null!=b?b:a?5:10};q(pj,kh);
|
|
pj.prototype.send=function(a,b){var c=this;Vd(a);var d=a.path||"",e=rj()+d,g=sj(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=tj(e,g,void 0,a.B,f,this.wi,this.Pb);d=b?Uc(b,d):d;var l=function(m){return{then:function(p){return l(p(m))}}};return l(d)}return(new Promise(function(m,p){tj(e,g,function(v,y){y?p(y):m(v)},a.B,f,c.wi,c.Pb)})).then(function(m){return b?Uc(b,m):m})};var wj=function(a){J.call(this,a);this.M=new vj;this.Pb=void 0};q(wj,J);
|
|
wj.prototype.md=function(a){this.Pb=a;return this};
|
|
wj.prototype.send=function(a,b){var c=this,d=rj()+"/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]=
|
|
Uc(p,f[m]))});return b?b(l):l};return this.callback?(tj(d,null,function(f,l){return c.callback(l?f:g(f),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Pb),null):g(tj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Pb))};var vj=function(){};q(vj,kh);
|
|
vj.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=xj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
var yj=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"))}},rj=function(){var a=zj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Bj=function(a,b,c){var d=[];a&&(d=d.concat(Aj));
|
|
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"+za(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Hj=function(a,b,c){Cj&&Dj&&Cj({client_id:String(Dj),immediate:!0,scope:Ej.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Fj(function(){try{r.gapi.auth.setToken(d),Gj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Gj(a,
|
|
b,d)})},xj=function(){Ij&&0<=Date.now()-Ij&&Jj();return Kj},Jj=function(){Ij=Kj=null},oj=function(a,b,c,d){null!=a?zj=a:Lj||(zj="https://earthengine.googleapis.com/api");null!=b?Mj=b:Lj||(Mj="https://earthengine.googleapis.com");void 0!==c&&(Nj=c);nj=null!=d?d:nj||"earthengine-legacy";Lj=!0},tj=function(a,b,c,d,e,g,f){oj();var l=Oj,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.369";"0.1.369"===
|
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=xj();if(null!=p)m.Authorization=p;else if(c&&Cj&&Dj)return Hj(function(){Pj(l,function(){tj(a,b,c,d)})}),null;b=b?b.clone():new Kd;null!=Qj&&b.add("key",Qj);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");nj&&"earthengine-legacy"!==nj&&(m["X-Goog-User-Project"]=nj);b=Rj(b,a);null!=Nj&&(m["X-XSRF-Token"]=Nj);null!=Sj&&(m["X-Earth-Engine-App-ID-Token"]=Sj);p=e||null;var v=b?b.toString():"";"POST"===d&&void 0===e?p=v:/^[\s\xa0]*$/.test(v)||(a+=-1!=
|
|
a.indexOf("?")?"&":"?",a+=v);e=a.startsWith("/")?zj+a:a;if(c)return Tj.push(Uj(e,c,d,p,m,g,f)),Vj.mf(),null;v=function(P,oa){this.setRequestHeader&&this.setRequestHeader(oa,P)};var y=0;for(g=null!=g?g:5;;){var C=$i(Yi);C.open(d,e,!1);Db(m,v,C);C.send(p);if(429!=C.status||y>g)break;y++}return Wj(C.status,function(P){try{return C.getResponseHeader(P)}catch(oa){return null}},C.responseText,l,void 0,e,d,f)},Uj=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=Oj,v=null!=g?g:10;
|
|
m.callback=function(y){y=y.target;if(429==y.getStatus()&&l<v)return l++,setTimeout(function(){Tj.push(m);Vj.mf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=Wj,P=y.getStatus(),oa=u(y.getResponseHeader,y);try{var R=y.o?y.o.responseText:""}catch(Aa){Ti(y.aa,"Can not get responseText: "+Aa.message),R=""}return C(P,oa,R,p,b,a,c,f)};return m},Pj=function(a,b){var c=Oj;try{Oj=a,b.call(void 0)}finally{Oj=c}},Wj=function(a,b,c,d,e,g,f,l){var m=d?b("X-Earth-Engine-Computation-Profile"):"";m&&d&&d(m);var p=
|
|
function(R){try{var Aa=JSON.parse(R);return!(t(Aa)&&"error"in Aa&&"message"in Aa.error)||l&&l(Aa)?{parsed:Aa}:Aa.error.message}catch(Kb){return"Invalid JSON: "+R}},v=function(R){if(0===R)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>R||300<=R)return"Server returned HTTP code: "+R+" for "+f+" "+g},y,C;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)c=p(c),c.parsed?
|
|
C=c.parsed:y=c;else if("multipart/mixed"===d){C={};var P=[];yj(b,c,function(R,Aa,Kb){Kb=p(Kb);Kb.parsed&&(C[R]=Kb.parsed);(Aa=(Kb.parsed?"":Kb)||v(Aa))&&P.push(R+": "+Aa)});P.length&&(y=P.join("\n"))}else var oa="Response was unexpectedly not JSON, but "+d;y=y||v(a)||oa;if(e)return e(C,y),null;if(!y)return C;throw Error(y);},Fj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);Cj||(Cj=r.gapi.auth.authorize);a()};if(t(r.gapi)&&t(r.gapi.auth)&&"function"===typeof r.gapi.auth.authorize)b();
|
|
else{for(var c=Date.now().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};vi(nd({onload:c}))}},Gj=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(Hj,.9*c);void 0!==d.unref&&d.unref();Ij=Date.now()+c}Kj=b;a&&a()}else b&&b(c.error||"Unknown error.")},sj=function(a){var b=new Kd;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},Tj=[],Vj=new bi(function(){var a=Tj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var g=Xj,f=new aj;dj.push(f);c&&f.Wa("complete",c);f.Tc("ready",f.Tk);g&&(f.Ac=Math.max(0,g));f.send(b,d,e,a)}0==Tj.length||Vj.mf()},350),zj=null,Mj=null,Nj=null,Sj=null,Rj=oc,Kj=null,Ij=null,Dj=null,Ej=[],Cj=null,Aj=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],jd=new ed(cd,"https://apis.google.com/js/client.js?onload=%{onload}"),
|
|
Qj=null,Lj=!1,Xj=0,Oj=null;w("ee.api.ListAssetsResponse",tg);w("ee.api.EarthEngineAsset",pf);w("ee.api.Operation",wg);w("ee.api.ListFeaturesResponse",ug);w("ee.api.FeatureViewLocation",rf);var Yj=function(){};Yj.prototype.Dh=function(){return null};var Zj=function(){};w("ee.Encodable.SourceFrame",Zj);
|
|
var ak=function(a){if(void 0===a||null===a)a=Pc;return new Pe({gb:a})},bk=function(a){return new Pe({Na:a})},ck=function(a){return new Pe({Ea:new Oe({values:a})})},dk=function(a){return new Pe({Fa:new mf({values:a})})},ek=function(a,b){return new Pe({xa:new Zf({functionName:a,arguments:b})})},fk=function(a,b){return new Pe({xa:new Zf({Ua:a,arguments:b})})},gk=function(a,b){return new Pe({Ta:new Yf({jc:a,body:b})})},hk=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
|
|
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}},ik=function(a){if(!a)return"CSV";a=a.toUpperCase();
|
|
switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},jk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},kk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},nk=function(a){var b=new wf,c=!1;"palette"in a&&(c=a.palette,b.Xc="string"===
|
|
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.Xc?b.Xc.length-1:255;d=lk(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=lk(a,"min","max");0!==d.length&&(b.Uf=d.map(function(g){return new nf(g)}),c=!0);a=mk(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?
|
|
b:null},mk=function(a){return a?a.split(",").map(Number):[]},lk=function(a,b,c){var d=mk(a[b]),e=mk(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})},ok=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.rd&&
|
|
(l.name=f.rd);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.ag||"";null!=f.hidden&&(l.hidden=f.hidden);f.preview&&(l.preview=f.preview);f.deprecated&&(l.deprecated=f.cf);f.sourceCodeUri&&(l.sourceCodeUri=f.sourceCodeUri);return l},d={};a=n(a.Dc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=e.name.replace(/^algorithms\//,"");d[g]=
|
|
c(e)}return d},pk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,qk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,rk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,sk=function(a){return(a=pk.exec(a))?a[1]:"earthengine-legacy"},tk=function(a){return qk.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},vk=function(a){return(a.assets||[]).map(uk)},wk=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"}},uk=function(a){var b=xk(wk(a.type),a.name),c=Object.assign({},a.properties||{});a.sizeBytes&&(c["system:asset_size"]=Number(a.sizeBytes));a.startTime&&(c["system:time_start"]=
|
|
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,
|
|
crs:d.grid.bf,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Jb){var g=d.grid.Jb;e.crs_transform=[g.bg||0,g.gg||0,g.yg||0,g.hg||0,g.cg||0,g.zg||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.bd&&(g.min=d.dataType.bd.min||0,g.max=d.dataType.bd.max),e.data_type=g);return e}));a.Ed&&(b.mapLocation=a.Ed);a.featureCount&&(b.featureCount=a.featureCount);
|
|
return b},yk=function(a){var b=new pf,c=function(g){return null===g?Pc: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=
|
|
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},xk=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},Bk=function(a){var b={};a.num&&(b.pageSize=a.num);a.starttime&&(b.startTime=
|
|
(new Date(a.starttime)).toISOString());a.endtime&&(b.endTime=(new Date(a.endtime)).toISOString());a.bbox&&(b.region=zk(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 Ak(b)},zk=function(a){return'{"type":"Polygon","coordinates":[[['+
|
|
[[0,1],[2,1],[2,3],[0,3],[0,1]].map(function(b){return a[b[0]]+","+a[b[1]]}).join("],[")+"]]]}"},Ck=function(a){var b={};(a.ud||[]).forEach(function(g){b[g.role]=g.Vb});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!=
|
|
e.length&&(d.all_users_can_read=!0);return d},Dk=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",Vb:b("owners")},{role:"roles/viewer",Vb:b("readers").concat(c)},{role:"roles/editor",Vb:b("writers")}].map(function(d){return new Ve(d)});return new Jf({ud:b.filter(function(d){return d.Vb.length}),
|
|
gf:null})},Fk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Ek(a)},Ek=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Gk=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";
|
|
default:return"UNKNOWN"}},e=Uc(Ag,a.metadata||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.af);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=Ek(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.df;b.source_url=e.dg;null!=e.sd&&(b.batch_eecu_usage_seconds=e.sd);return b},Hk=function(a){var b=
|
|
{started:"OK"};a.name&&(b.taskId=Ek(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Ik=function(a){return a.primaryPath?[a.primaryPath].concat(fa(a.additionalPaths||[])):null},Lk=function(a){var b=function(g){var f=Uc(og,g);f.uris=Ik(g);return f},c=Uc(jg,a);c.name=tk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Uc(mg,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Uc(kg,g);f.missingData=Jk(g.missingData);return f});c.missingData=
|
|
Jk(a.missingData);c.If=eb((a.tilesets||[]).map(Kk));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},Kk=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||
|
|
""}));return new lg({zc:a.id||"",ca:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},Mk=function(a){var b=Uc(rg,a);b.name=tk(a.id);b.sources=(a.sources||[]).map(function(e){var g=Uc(Ng,e);g.uris=Ik(e);e.maxError&&(g.Tb=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")&&
|
|
(b.endTime=(new Date(Number(d))).toISOString());b.properties=c}return b},Jk=function(a){if(null==a)return null;var b=new hg({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},Nk=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()+
|
|
'"'),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');
|
|
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 ")},Ak=function(a){a=Object.assign({},a);var b=Nk(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var Ok=function(){this.blockSize=-1};var Pk=function(){this.blockSize=-1;this.blockSize=64;this.V=Array(4);this.Qk=Array(this.blockSize);this.me=this.Ec=0;this.reset()};x(Pk,Ok);Pk.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.me=this.Ec=0};
|
|
var Qk=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.V[0];c=a.V[1];e=a.V[2];var g=a.V[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>>>
|
|
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|
|
|
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<<
|
|
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=
|
|
e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[9]+568446438&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[14]+3275163606&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[3]+4107603335&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[8]+1163531501&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[13]+2850285829&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[2]+4243563512&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[7]+1735328473&4294967295;
|
|
e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[12]+2368359562&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(c^e^g)+d[5]+4294588738&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[8]+2272392833&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[11]+1839030562&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[14]+4259657740&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[1]+2763975236&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[4]+1272893353&4294967295;g=b+(f<<11&4294967295|
|
|
f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[10]+3200236656&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[13]+681279174&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[0]+3936430074&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[3]+3572445317&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[6]+76029189&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[9]+3654602809&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[12]+
|
|
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&
|
|
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&
|
|
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.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.V[2]=a.V[2]+e&4294967295;a.V[3]=a.V[3]+g&4294967295};
|
|
Pk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Qk,e=this.Ec,g=0;g<b;){if(0==e)for(;g<=c;)Qk(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){Qk(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){Qk(this,d);e=0;break}}this.Ec=e;this.me+=b};
|
|
Pk.prototype.digest=function(){var a=Array((56>this.Ec?this.blockSize:2*this.blockSize)-this.Ec);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.me;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.V[b]>>>d&255;return a};var Rk=function(a){this.nd="__ee_hash__";this.Pd=!1!==a;this.Xa=[];this.va={};this.Cg=[];this.Ld=new WeakMap;this.lg=new WeakMap;this.Ti=void 0};w("ee.Serializer",Rk);var Sk=new wi,Tk=new Pk,Vk=function(a,b){return Uk(new Rk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Vk);var Wk=function(a){return Sk.ua(Vk(a))};w("ee.Serializer.toJSON",Wk);var Yk=function(a){return Xk(Vk(a,!1))};w("ee.Serializer.toReadableJSON",Yk);
|
|
var Xk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Sk.ua(a)},Uk=function(a,b){b=a.Cd(b);a.Pd&&(b=t(b)&&"ValueRef"==b.type&&1==a.Xa.length?a.Xa[0][1]:{type:"CompoundValue",scope:a.Xa,value:b},a.Xa=[],Sa(a.Cg,u(function(c){delete c[this.nd]},a)),a.Cg=[],a.va={});return b};
|
|
Rk.prototype.Cd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.nd]:null;if(this.Pd&&null!=b&&this.va[b])return{type:"ValueRef",value:this.va[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(wa(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Yj){var c=a.encode(u(this.Cd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Ua(a,function(e){return this.Cd(e)},this);else if(t(a)&&"function"!==typeof a)c=Fb(a,function(e){if("function"!==typeof e)return this.Cd(e)},this),Ob(c,this.nd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Pd){b=Zk(c);if(this.va[b])var d=this.va[b];else d=String(this.Xa.length),this.Xa.push([d,c]),this.va[b]=d;a[this.nd]=b;this.Cg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var Zk=function(a){Tk.reset();Tk.update(Sk.ua(a));return Tk.digest().toString()},al=function(a){return Vc($k(a),Rc,Sc,Tc)};w("ee.Serializer.encodeCloudApi",al);
|
|
var $k=function(a,b){return bl(new Rk(!0),a,b)},bl=function(a,b,c){a.Ti=c;return cl(a,b)},dl=function(a,b){var c={};b=b.values;for(var d in b){var e=a.lg.get(b[d]);c[d]=Object.assign({},e)}return c},el=function(a){a=cl(new Rk(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(Pe);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"===
|
|
f&&null!=l.body?{argumentNames:l.jc,body:c(b[l.body])}:"functionInvocationValue"===f&&null!=l.Ua?{arguments:Fb(l.arguments,c),functionReference:c(b[l.Ua])}:"constantValue"===f?l===Pc?null:l:c(l)):e[f]=c(l)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",el);var fl=function(a){return Sk.ua(al(a))};w("ee.Serializer.toCloudApiJSON",fl);var gl=function(a){return Xk(el(a))};w("ee.Serializer.toReadableCloudApiJSON",gl);
|
|
var cl=function(a,b){try{var c=hl(a,b),d=new il(c,a.Xa,a.Pd,a.lg),e=jl(d,d.yi);return new ef({result:e,values:d.hi})}finally{a.Ld=new WeakMap,a.va={},a.Xa=[]}},hl=function(a,b){var c=function(f){var l=Zk(f);t(b)&&a.Ld.set(b,l);if(a.va[l])return a.va[l];var m=String(a.Xa.length);a.Xa.push([m,f]);return a.va[l]=m};if(t(b)&&a.va[a.Ld.get(b)])return a.va[a.Ld.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(ak(b));if(wa(b))return c(ek("Date",{value:ak(Math.floor(b.getTime()))}));
|
|
if(b instanceof Yj){var d=b.ma(a),e=b.Dh();null!==e&&a.lg.set(d,e);return c(d)}if(Array.isArray(b))return c(ck(b.map(function(f){return bk(hl(a,f))})));if(t(b)&&"function"!==typeof b){var g={};Object.keys(b).sort().forEach(function(f){g[f]=bk(hl(a,b[f]))});return c(dk(g))}throw Error("Can't encode object: "+b);},il=function(a,b,c,d){var e=this;this.yi=a;this.values={};b.forEach(function(g){return e.values[g[0]]=g[1]});this.si=c?kl(this):null;this.hi={};this.Xf={};this.nl=0;this.fd=d},jl=function(a,
|
|
b){if(b in a.Xf)return a.Xf[b];var c=String(a.nl++);a.Xf[b]=c;a.hi[c]=ll(a,a.values[b],0);return c},ll=function(a,b,c){var d=function(y){return null!==y.gb},e=function(y){return y===Pc?null:y},g=function(y,C){a.fd&&a.fd.has(y)&&!a.fd.has(C)&&a.fd.set(C,a.fd.get(y));return C};if(d(b)||null!=b.Va||null!=b.ob||null!=b.Kb)return b;if(null!=b.Na){d=a.values[b.Na];if(null===a.si||50>c&&1===a.si[b.Na])return d=ll(a,d,c),g(b,d);if(ml(d))return g(b,d);d=bk(jl(a,b.Na));return g(b,d)}if(null!=b.Ea){var f=b.Ea.values.map(function(y){return ll(a,
|
|
y,c+3)});d=f.every(d)?ak(f.map(function(y){return e(y.gb)})):ck(f);return g(b,d)}if(null!=b.Fa){f={};for(var l={},m=n(Object.entries(b.Fa.values||{})),p=m.next();!p.done;p=m.next()){var v=n(p.value);p=v.next().value;v=v.next().value;f[p]=ll(a,v,c+3);null!==l&&d(f[p])?l[p]=e(f[p].gb):l=null}return null!==l?g(b,ak(l)):g(f,dk(f))}if(null!=b.Ta)return d=b.Ta,d=gk(d.jc||[],jl(a,d.body||"")),g(b,d);if(null!=b.xa){d=b.xa;f={};l=n(Object.keys(d.arguments||{}));for(m=l.next();!m.done;m=l.next())m=m.value,
|
|
f[m]=ll(a,d.arguments[m],c+3);d=d.functionName?ek(d.functionName,f):fk(jl(a,d.Ua||""),f);return g(b,d)}throw Error("Can't optimize value: "+b);},ml=function(a){var b=a.gb;return null!==b?b===Pc||"number"===typeof b||"boolean"===typeof b:null!=a.Kb},kl=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Ea?e.Ea.values.forEach(d):null!=e.Fa?Object.values(e.Fa.values).forEach(d):null!=e.Ta?c(e.Ta.body):null!=e.xa?(e=e.xa,null!=e.Ua&&c(e.Ua),Object.values(e.arguments).forEach(d)):
|
|
null!=e.Na&&c(e.Na)};c(a.yi);return b};var sl=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 Ff({l:$k(a.element),description:K(a.description),na:null,ra:null,Fd:null,td:null,selectors:b,Tb:L(a.maxErrorMeters),requestId:K(a.id),maxVertices:L(a.maxVertices),O:L(a.maxWorkers)});var c=nl(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new If({ia:null,la:null,F:ik(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ia=ol(a):d.la=
|
|
pl(a);b.na=d;break;case "ASSET":b.ra=new Gf({Ga:ql(a)});break;case "FEATURE_VIEW":c=new Qf({name:tk(a.mapName)});d=null==a?null:new Vf({Kf:L(a.maxFeaturesPerTile),sg:a.thinningStrategy});var e=null==a?null:new Uf({Dg:rl(a.zOrderRanking),rg:rl(a.thinningRanking)});d=new Rf({qg:d,Wf:e});c=new Hf({jf:c,rc:d});b.Fd=c;break;case "BIGQUERY":b.td=new Ue({Oe:new Te({table:K(a.table),overwrite:!!a.overwrite,append:!!a.append})});break;default:throw Error('Export destination "'+c+'" unknown');}a.workloadTag&&
|
|
(b.workloadTag=a.workloadTag);return b};function K(a){return null!=a?String(a):null}function L(a){return null!=a?Number(a):null}
|
|
var nl=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},ul=function(a){var b=new ig({We:!!a.tfrecordCompressed,Ub:K(a.tfrecordMaxFileSize),eg:!!a.tfrecordSequenceData,Ue:!!a.tfrecordCollapseBands,Lf:L(a.tfrecordMaskedThreshold),defaultValue:L(a.tfrecordDefaultValue),ac:tl(a.tfrecordPatchDimensions),Hf:tl(a.tfrecordKernelSize),he:null});
|
|
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Db(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.he=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},vl=function(a,b){var c=new Bf({ia:null,la:null,Gd:null,ie:null,F:hk(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
var d=a.tiffShardSize||a.shardSize;var e=!!a.tiffCloudOptimized;var g=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),f=tl(a.fileDimensions||a.tiffFileDimensions);d=L(d);var l=a.tiffNoData;l=null!=l?new ag({nf:Number(l)}):null;e=new $f({Te:e,kg:g,ac:f,tileSize:d,Nf:l});c.Gd=e}else"TF_RECORD_IMAGE"===c.F&&(c.ie=ul(a));"GOOGLE_CLOUD_STORAGE"===b?c.ia=ol(a):c.la=pl(a);return c},wl=function(a,b){var c=new Lf({ia:null,la:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=ol(a):c.la=pl(a);return c},xl=function(a){var b,
|
|
c,d,e,g=L(null!=(b=a.endZoom)?b:a.maxZoom);b=L(null!=(c=a.startZoom)?c:a.minZoom);c=L(a.scale);var f=!(null!=(d=a.skipEmpty)?!d:!a.skipEmptyTiles);d=K(a.mapsApiKey);var l=tl(null!=(e=a.dimensions)?e:a.tileDimensions);e=L(a.stride);var m=L(a.minTimeMachineZoomSubset);a=L(a.maxTimeMachineZoomSubset);a=null==m&&null==a?null:new Pg({start:null!=m?m:0,end:a});return new Ef({ef:g,mg:b,scale:c,jg:f,Gf:d,dimensions:l,stride:e,Eg:a})},tl=function(a){if(null==a)return null;var b=new bg({height:0,width:0});
|
|
"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},
|
|
ol=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new bf({Re:K(a.outputBucket),wa:K(a.outputPrefix),Se:a.bucketCorsUris||null,permissions:b})},pl=function(a){return new of({qf:K(a.driveFolder),wa:K(a.driveFileNamePrefix)})},ql=function(a){return new $e({name:tk(a.assetId)})},rl=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new Kg({Vf:(a||[]).map(yl)});throw Error("Unable to build ranking rule from rules: "+
|
|
JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},yl=function(a){var b=new Jg({direction:null,Wd:null,Yd:null,Xd: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=
|
|
"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.Xd=new Gg({});break;case ".minZoomLevel":b.Yd=new Ig({});break;default:b.Wd=new Fg({attributeName:K(a)})}return b};var zl=[],Al=function(a){B(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Bf";if(a.Bf&&a.hasOwnProperty(b))return a.Bf;zl.push(a);var c=new a;a.Bf=c;B(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var Cl=function(a,b,c,d,e,g){d=Bj(!g,!1,d||[]);Dj=a;Ej=d;null===a?Jj():Fj(function(){Hj(b,c,e||Da(Bl,b,c))})};w("ee.data.authenticateViaOauth",Cl);var Dl=function(a,b,c,d,e){Cl(a,b,c,d,e)};w("ee.data.authenticate",Dl);var Bl=function(a,b){r.gapi.auth.authorize({client_id:Dj,immediate:!1,scope:Ej.join(" ")},Da(Gj,a,b))};w("ee.data.authenticateViaPopup",Bl);
|
|
var El=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=Bj(!e,!e,d||[]);Dj=a.client_email;Ej=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);Cj=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})})};Hj(b,c)};w("ee.data.authenticateViaPrivateKey",El);
|
|
w("ee.data.setExpressionAugmenter",function(a){Fl=a||oc});var Fl=oc;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=Bj(!l,!1,e||[]);Dj=a;Ej=e;var m={token_type:b,access_token:c,state:e.join(" "),expires_in:d};Gj(void 0,void 0,m);!1===f?g&&g():Fj(function(){r.gapi.auth.setToken(m);g&&g()})});w("ee.data.refreshAuthToken",Hj);w("ee.data.setAuthTokenRefresher",function(a){Cj=a});w("ee.data.getAuthToken",xj);w("ee.data.clearAuthToken",Jj);w("ee.data.getAuthClientId",function(){return Dj});
|
|
w("ee.data.getAuthScopes",function(){return Ej});w("ee.data.setDeadline",function(a){Xj=a});w("ee.data.setParamAugmenter",function(a){Rj=a||oc});
|
|
var Gl=function(a){a=new J(a);return a.handle(a.Dc().list(qj(),{prettyPrint:!1}).then(ok))},Jl=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 vf({name:null,l:Fl($k(a.image)),F:hk(a.format),ca:kk(a.bands),fc:nk(a)});var c={fields:"name"},d=Hl();d&&(c.workloadTag=d);b=new J(b);return b.handle(b.maps().create(qj(),a,c).then(function(e){return Il(e.name,"")}))};
|
|
w("ee.data.getMapId",Jl);var Kl=function(a,b,c,d){if(!a.formatTileUrl){var e=Il(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Kl);
|
|
var Il=function(a,b,c){var d=void 0===c?"":c;d||(oj(),c=Mj,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}},Ll=function(a,b){var c=a.visParams?Fl($k(a.visParams)):null;a=new Pf({name:null,Lb:a.assetId,mapName:a.mapName,Bg:c});b=new J(b);return b.handle((new Xg(b.M)).create(qj(),a,{fields:["name"]}).then(function(d){var e=
|
|
d.name.split("/").pop();return{token:e,formatTileUrl:function(g,f,l){return Mj+"/v1/"+d.name+"/tiles/"+l+"/"+g+"/"+f},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",Ll);
|
|
var Ml=function(a,b,c){c=new J(c);var d=tk(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:ug});return a.call(c,g)};w("ee.data.listFeatures",Ml);
|
|
var Nl=function(a,b){var c=new Rk(!0);a=bl(c,a);var d={};c=dl(c,a);Object.keys(c).length&&(d={__source_code_nodes__:c});c={l:Fl(a,d)};if(a=Hl())c.workloadTag=a;b=new J(b);return b.handle(gh(b.value(),qj(),new df(c)).then(function(e){return e.result}))};w("ee.data.computeValue",Nl);
|
|
var Ol=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 Og({name:null,l:Fl($k(a.image)),F:hk(a.format),wa:a.name,ca:kk(a.bands),
|
|
fc:nk(a),grid:null});var c={fields:"name"},d=Hl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new eh(b.M)).create(qj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",Ol);
|
|
var Pl=function(a,b){var c=new Mf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Sg({name:null,l:Fl($k(a.imageCollection)),F:hk(a.format),Oa:c,grid:null});c={fields:"name"};var d=Hl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new jh(b.M)).create(qj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",Pl);
|
|
var Ql=function(a,b){a=new Xf({name:null,l:Fl($k(a.imageCollection)),F:hk(a.format),orientation:jk(a.orientation),grid:null});var c={fields:"name"},d=Hl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new Yg(b.M)).create(qj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",Ql);var Rl=function(a){return Mj+"/v1/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",Rl);
|
|
var Tl=function(a,b){a=Object.assign({},a);a.id&&(a.image=new M(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.");
|
|
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(e){a.bands=kk(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=
|
|
JSON.parse(a.crs_transform)}catch(e){}var c=Sl(a.image,a);a=new Og({name:null,l:Fl($k(c)),F:hk(a.format),wa:a.name,ca:a.bands&&kk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Hl();d&&(c.workloadTag=d);b=new J(b);return b.handle((new eh(b.M)).create(qj(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",Tl);var Ul=function(a){oj();return Mj+"/v1/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",Ul);
|
|
var Vl=function(a,b){b=new J(b);var c=ik(a.format),d=Fl($k(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 Mg({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Hl())c.workloadTag=d;return b.handle((new dh(b.M)).create(qj(),a,c).then(function(g){return{docid:g.name||
|
|
"",token:""}}))};w("ee.data.getTableDownloadId",Vl);var Wl=function(a){return Mj+"/v1/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",Wl);var Xl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=db(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",Xl);
|
|
var Yl=function(a){return a.name&&a.done&&a.error},$l=function(a,b){var c=Zl(a).map(Fk);if(1===c.length)return a=(new J(b)).md(Yl),a.handle(a.Ma().get(c[0]).then(function(e){return[Gk(e)]}));a=(new wj(b)).md(Yl);var d=a.Ma();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Gk(e[g])})})};w("ee.data.getTaskStatus",$l);
|
|
var Zl=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.");},bm=function(a){return am(void 0,a)};w("ee.data.getTaskList",bm);var am=function(a,b){return b?(cm(a,function(c,d){return b(c?{tasks:c.map(Gk)}:null,d)}),null):{tasks:cm(a).map(Gk)}};w("ee.data.getTaskListWithLimit",am);
|
|
var cm=function(a,b){var c=[],d={pageSize:500},e=function(l){bb(c,l.Ma||[]);!l.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=l.nextPageToken,g.handle(f.list(qj(),d).then(e)));return null},g=new J(b?function(l,m){return m&&b(l,m)}:void 0),f=g.Ma();g.handle(f.list(qj(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",cm);
|
|
var dm=function(a,b){a=Zl(a).map(Fk);var c=new Xe;if(1===a.length)b=new J(b),b.handle(b.Ma().cancel(a[0],c));else{b=new wj(b);var d=b.Ma();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",dm);var em=function(a,b){var c=Zl(a).map(Fk);if(!Array.isArray(a))return a=(new J(b)).md(Yl),a.handle(a.Ma().get(c[0]));a=(new wj(b)).md(Yl);var d=a.Ma();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",em);
|
|
var gm=function(a,b){return fm(a,"CANCEL",b)};w("ee.data.cancelTask",gm);var fm=function(a,b,c){if(!Jb(hm,b))throw Error("Invalid action: "+b);a=Zl(a);a=a.map(Fk);dm(a,c);return null};w("ee.data.updateTask",fm);
|
|
var nm=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=Hl();e&&(b.workloadTag=e)}var g=new J(c);c=function(f){return g.handle(f.then(Hk))};switch(d){case "EXPORT_IMAGE":return b=im(b,a),c(g.image().Ja(qj(),b));case "EXPORT_FEATURES":return b=sl(b),b.l=Fl(b.l,a),c(g.table().Ja(qj(),b));case "EXPORT_VIDEO":return b=jm(b,a),c(g.video().Ja(qj(),b));case "EXPORT_TILES":return b=km(b,a),c(g.map().Ja(qj(),
|
|
b));case "EXPORT_VIDEO_MAP":return b=lm(b),c((new ih(g.M)).Ja(qj(),b));case "EXPORT_CLASSIFIER":return b=mm(b,a),c((new Wg(g.M)).Ja(qj(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",nm);
|
|
var im=function(a,b){var c=om(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new zf({l:$k(c.element),description:K(c.description),na:null,ra:null,grid:null,Mf:K(c.maxPixels),requestId:K(c.id),O:L(c.maxWorkers)}),e=nl(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.na=vl(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"],delete e[".default"]);
|
|
c=new Af({Ga:ql(c),pyramidingPolicy:g,Tf:Nb(e)?null:e,tileSize:L(c.shardSize)});d.ra=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=Fl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},jm=function(a,b){var c=pm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new Nf({l:$k(c.element),description:K(c.description),Oa:new Mf({framesPerSecond:L(c.framesPerSecond),maxFrames:L(c.maxFrames),maxPixelsPerFrame:K(c.maxPixels)}),na:null,requestId:K(c.id),
|
|
O:L(c.maxWorkers)});d.na=wl(c,nl(c));d.l=Fl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},km=function(a,b){var c=a.scale;delete a.scale;var d=om(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new Df({l:$k(d.element),description:K(d.description),cc:xl(d),bc:vl(d,"GOOGLE_CLOUD_STORAGE"),requestId:K(d.id),O:L(d.maxWorkers)});c.l=Fl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},lm=function(a){var b=a.scale;delete a.scale;var c=pm(a);c.scale=
|
|
b;if(null==c.element)throw Error('"element" not found in params '+c);b=new Kf({l:$k(c.element),description:K(c.description),Oa:new Mf({framesPerSecond:L(c.framesPerSecond),maxFrames:L(c.maxFrames),maxPixelsPerFrame:null}),cc:xl(c),bc:wl(c,"GOOGLE_CLOUD_STORAGE"),requestId:K(c.id),version:K(c.version),O:L(c.maxWorkers)});b.l=Fl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},mm=function(a,b){if(null==a.element)throw Error('"element" not found in params '+a);var c=nl(a);if("ASSET"!=c)throw Error('Export destination "'+
|
|
c+'" unknown');c=new yf({l:$k(a.element),description:K(a.description),requestId:K(a.id),ra:new Ze({Ga:ql(a)}),O:L(a.maxWorkers)});c.l=Fl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},rm=function(a,b,c){b=Lk(b);var d=function(e){return e?Hk(e):null};return d(qm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",rm);
|
|
var qm=function(a,b,c){b=new pg({yf:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return a.handle(a.image().import(qj(),b))},sm=function(a,b,c){b=new qg({pg:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return a.handle(a.table().import(qj(),b))},tm=function(a,b,c){b=Mk(b);var d=function(e){return e?Hk(e):null};return d(sm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startTableIngestion",tm);
|
|
var um=function(a,b){b=new J(b);a=tk(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(uk))};w("ee.data.getAsset",um);w("ee.data.getInfo",um);var vm=function(a,b,c,d){b=void 0===b?{}:b;d=void 0===d?oc:d;var e=rk.test(a);c=new J(c);var g=e?new Ug(c.M):c.assets();a=e?"projects/"+sk(a):tk(a);return c.handle(g.Rd(a,b).then(d))},wm=function(a,b){return vm(a.id,Bk(a),b,function(c){return null==c?null:vk(c)})};w("ee.data.getList",wm);var xm=function(a,b,c){b=void 0===b?{}:b;return vm(a,b,c)};
|
|
w("ee.data.listAssets",xm);var ym=function(a,b,c){b=void 0===b?{}:b;b=Ak(b);return vm(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",ym);var zm=function(a,b){b=new J(b);return b.handle((new Ug(b.M)).Rd(a||qj()))};w("ee.data.listBuckets",zm);var Am=function(a){a=new J(a);return a.handle((new Ug(a.M)).Rd(qj()).then(vk))};w("ee.data.getAssetRoots",Am);
|
|
var Bm=function(a,b){var c="projects/"+sk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new pf({type:"Folder"});b=new J(b);b.handle(b.assets().create(c,d,{assetId:a}).then(uk))};w("ee.data.createAssetHome",Bm);
|
|
var Cm=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&&tk(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 uf(a.tilestoreLocation));
|
|
a.gcsLocation&&!a.cloudStorageLocation&&(a.cloudStorageLocation=a.gcsLocation,delete a.gcsLocation);a.cloudStorageLocation&&(a.cloudStorageLocation=new cf(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 pf(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=
|
|
"IMAGE_COLLECTION";break a;case "Folder":c="FOLDER"}a.type=c;e=new J(e);return e.handle(e.assets().create(d,a,{assetId:b}).then(uk))};w("ee.data.createAsset",Cm);var Dm=function(a,b,c){return Cm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Dm);var Em=function(a,b,c){a=tk(a);b=tk(b);b=new yg({Ob:b});c=new J(c);c.handle(c.assets().move(a,b).then(uk))};w("ee.data.renameAsset",Em);
|
|
var Fm=function(a,b,c,d){a=tk(a);b=tk(b);c=new hf({Ob:b,overwrite:null!=c?c:null});d=new J(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:pf});b.call(d,g.then(uk))};w("ee.data.copyAsset",Fm);var Gm=function(a,b){b=new J(b);b.handle(b.assets().delete(tk(a)))};w("ee.data.deleteAsset",Gm);
|
|
var Hm=function(a,b){a=tk(a);var c=new cg;b=new J(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:Jf});return d.call(b,f.then(Ck))};w("ee.data.getAssetAcl",Hm);
|
|
var Im=function(a,b,c,d){b=new Rg({Lb:b,updateMask:(c||[]).join(",")});d=new J(d);c=d.handle;var e=d.assets();a=tk(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:pf});return c.call(d,g.then(uk))};w("ee.data.updateAsset",Im);
|
|
var Jm=function(a,b,c){a=tk(a);b=Dk(b);b=new Lg({jb:b});c=new J(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:Jf});d.call(c,f)};w("ee.data.setAssetAcl",Jm);
|
|
var Km=function(a,b,c){var d=yk(b);b=Qc(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+'"'}));Im(a,d,b,c)};w("ee.data.setAssetProperties",Km);
|
|
var Lm=function(a,b){var c=tk(a);b=new J(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 pf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Me||0),limit:Number(g.Jf||0)},asset_size:{usage:Number(g.sizeBytes||0),limit:Number(g.Ub||0)}}}))};w("ee.data.getAssetRootQuota",Lm);
|
|
var Mm=function(){this.default=this.tag=""};Mm.prototype.get=function(){return this.tag};Mm.prototype.set=function(a){this.tag=this.validate(a)};Mm.prototype.reset=function(){this.tag=this.default};
|
|
Mm.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 Hl=function(){return Al(Mm).get()};w("ee.data.getWorkloadTag",Hl);var Nm=function(a){Al(Mm).set(a)};w("ee.data.setWorkloadTag",Nm);
|
|
var Om=function(a){var b=Al(Mm);b.default=b.validate(a);Al(Mm).set(a)};w("ee.data.setDefaultWorkloadTag",Om);var Pm=function(a){a&&(a=Al(Mm),a.default=a.validate(""));Al(Mm).reset()};w("ee.data.resetWorkloadTag",Pm);var hm={Gl:"CANCEL",Jl:"UPDATE"};var N=function(a,b,c){if(!(this instanceof N))return Qm(N,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.H=a;this.args=b;this.T=c||null;this.yl=null};x(N,Yj);w("ee.ComputedObject",N);N.prototype.Dh=function(){return this.yl};N.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");Nl(this,a)};
|
|
N.prototype.evaluate=N.prototype.evaluate;N.prototype.U=function(a){return Nl(this,a)};N.prototype.getInfo=N.prototype.U;N.prototype.encode=function(a){if(null===this.H&&null===this.args)return{type:"ArgumentRef",value:this.T};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.H);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
N.prototype.ma=function(a){if(null===this.H&&null===this.args){a=this.T||a.Ti;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Pe({Kb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=bk(hl(a,this.args[c])));return"string"===typeof this.H?ek(String(this.H),b):this.H.Bd(a,b)};N.prototype.ua=function(a){return(void 0===a?0:a)?Wk(this):fl(this)};N.prototype.serialize=N.prototype.ua;
|
|
N.prototype.toString=function(){return"ee."+this.name()+"("+Yk(this)+")"};w("ee.ComputedObject.prototype.toString",N.prototype.toString);N.prototype.name=function(){return"ComputedObject"};N.prototype.Fg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};N.prototype.aside=N.prototype.Fg;
|
|
var Rm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.H=b.H;a.args=b.args;a.T=b.T;return a},Qm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Sm={},Tm=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}},Um=function(a){return"number"===typeof a||a instanceof N&&"Number"==a.name()},Vm=function(a){return"string"===typeof a||a instanceof N&&"String"==a.name()},Wm=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Xm=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Wm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Ym=function(){if(!(this instanceof Ym))return new Ym};x(Ym,Yj);w("ee.Function",Ym);var Zm=oc;Ym.prototype.call=function(a){return this.apply($m(this,Array.prototype.slice.call(arguments,0)))};Ym.prototype.call=Ym.prototype.call;Ym.prototype.apply=function(a){a=new N(this,an(this,a));return Zm(a,this.Y().returns)};Ym.prototype.apply=Ym.prototype.apply;
|
|
var bn=function(a,b,c){var d=void 0!==b,e=a.Y();if(Xm(c,e,d)){if(c=Pb(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=$m(a,d?[b].concat(c):c);return a.apply(c)},an=function(a,b){for(var c=a.Y().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&void 0!==b[f])d[f]=Zm(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 ("+
|
|
c+") to function: "+a);return d},$m=function(a,b){var c=a.Y().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};
|
|
Ym.prototype.toString=function(a,b){var c=this.Y(),d=[];d.push(a||c.name);d.push("(");d.push(Ua(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):
|
|
d.push("Undocumented.")}return d.join("")};Ym.prototype.ua=function(a){return(void 0===a?0:a)?Wk(this):fl(this)};var O=function(a,b){if(void 0===b)return cn(a);if(!(this instanceof O))return Qm(O,arguments);this.vb=Qb(b);this.vb.name=a};x(O,Ym);w("ee.ApiFunction",O);var Q=function(a,b){return Ym.prototype.call.apply(cn(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",Q);var dn=function(a,b){return cn(a).apply(b)};w("ee.ApiFunction._apply",dn);O.prototype.encode=function(){return this.vb.name};O.prototype.Bd=function(a,b){return ek(this.vb.name,b)};O.prototype.Y=function(){return this.vb};
|
|
var en=null,fn={},hn=function(){gn();return Fb(en,function(a){return a.Y()})},jn=function(){gn();return Eb(en,function(a,b){return!fn[b]})},cn=function(a){var b=kn(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",cn);
|
|
var kn=function(a){gn();return en[a]||null},gn=function(a,b){if(en)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(en=Fb(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 O(f,g)}),a&&a())};a?Gl(c):c(Gl())}},ln=function(a,b,c,d){gn();var e=d||"";Db(en,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.Y();fn[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p="Object"!=f&&Tm(f,c));
|
|
f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return bn(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,p),f[l].signature=m)}})},mn=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 S=function(a,b){var c=nn(a),d=Ua(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 Gc(Ib(g));
|
|
var l=new Gc(d);if(Ic(l,f).isEmpty())e[d[0]]=b[0];else{b=Jc(f,l);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=Pb(g)}}b=new Gc(Ib(e));c=Jc(new Gc(Ta(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},nn=function(a){var b=on,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||pn(),c=a.paramNames,Array.isArray(c)||pn()):(a=a.toString().replace(qn,
|
|
"").match(b),null===a&&pn(),c=(a[1].split(",")||[]).map(function(d){return d.replace(rn,"")}));return c},pn=function(){throw Error("Failed to locate function parameters.");},qn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,on=/^function[^\(]*\(([^\)]*)\)/m,rn=/=.*$/;var T=function(a,b,c){N.call(this,a,b,c);sn()};x(T,N);w("ee.Element",T);var tn=!1,sn=function(){tn||(ln(T,"Element","Element"),tn=!0)};T.prototype.name=function(){return"Element"};
|
|
T.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Wm(c))a:{b=Ib(c);var d=["properties"];if(va(b)&&va(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(Wm(c)){b=this;for(var f in c)d=c[f],b=Q("Element.set",b,f,d)}else if(c instanceof N&&kn("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!=
|
|
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 Rm(this,b)};T.prototype.set=T.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return Qm(U,arguments);if(!("type"in a)){var e=S(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}un();e=null!=b||null!=c||null!=d;if(a instanceof N&&!(a instanceof U&&a.mb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");N.call(this,a.H,a.args,a.T)}else{a instanceof U&&(a=a.encode());if(!vn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));N.call(this,
|
|
null,null);this.mb=a.type;this.bh=null!=a.coordinates?Qb(a.coordinates):null;this.Ch=a.geometries||null;if(null!=b)this.Yb=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.Yb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new wi).ua(a.crs));this.oc=c;void 0===this.oc&&"geodesic"in a&&(this.oc=!!a.geodesic);this.mc=d;void 0===this.mc&&"evenOdd"in a&&(this.mc=!!a.evenOdd)}};x(U,N);w("ee.Geometry",U);
|
|
var wn=!1,un=function(){wn||(ln(U,"Geometry","Geometry"),wn=!0)},xn=function(a,b){if(!(this instanceof xn))return yn(xn,arguments);var c=zn(xn,"Point",1,arguments);if(!(c instanceof N)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};x(xn,U);U.Point=xn;var An=function(a,b){if(!(this instanceof An))return yn(An,arguments);U.call(this,zn(An,"MultiPoint",2,arguments))};x(An,U);U.MultiPoint=An;
|
|
var Bn=function(a,b,c,d){if(!(this instanceof Bn))return yn(Bn,arguments);var e=zn(Bn,"Rectangle",2,arguments);if(!(e instanceof N)){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"}U.call(this,e)};x(Bn,U);U.Rectangle=Bn;
|
|
var Cn=function(a,b,c,d){if(!(this instanceof Cn))return yn(Cn,arguments);var e=S(Cn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(Dn(e)){var g;return(g=new O("GeometryConstructors.BBox")).call.apply(g,fa(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 "+
|
|
d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,90);360<=c-a?(a=-180,c=180):(a=En(a),c=En(c),c<a&&(c+=360));U.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Cn,Bn);U.BBox=Cn;var En=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Fn=function(a,b,c,d){if(!(this instanceof Fn))return yn(Fn,arguments);U.call(this,zn(Fn,"LineString",2,arguments))};x(Fn,U);U.LineString=Fn;
|
|
var Gn=function(a,b,c,d){if(!(this instanceof Gn))return yn(Gn,arguments);U.call(this,zn(Gn,"LinearRing",2,arguments))};x(Gn,U);U.LinearRing=Gn;var Hn=function(a,b,c,d){if(!(this instanceof Hn))return yn(Hn,arguments);U.call(this,zn(Hn,"MultiLineString",3,arguments))};x(Hn,U);U.MultiLineString=Hn;var In=function(a,b,c,d,e){if(!(this instanceof In))return yn(In,arguments);U.call(this,zn(In,"Polygon",3,arguments))};x(In,U);U.Polygon=In;
|
|
var Jn=function(a,b,c,d,e){if(!(this instanceof Jn))return yn(Jn,arguments);U.call(this,zn(Jn,"MultiPolygon",4,arguments))};x(Jn,U);U.MultiPolygon=Jn;
|
|
U.prototype.encode=function(a){if(!this.mb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.encode.call(this,a)}a={type:this.mb};"GeometryCollection"==this.mb?a.geometries=this.Ch:a.coordinates=this.bh;null!=this.Yb&&(a.crs={type:"name",properties:{name:this.Yb}});null!=this.oc&&(a.geodesic=this.oc);null!=this.mc&&(a.evenOdd=this.mc);return a};
|
|
U.prototype.ke=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};U.prototype.toGeoJSON=U.prototype.ke;U.prototype.xg=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new wi).ua(this.ke())};U.prototype.toGeoJSONString=U.prototype.xg;U.prototype.ua=function(a){return(void 0===a?0:a)?Wk(this):fl(this)};U.prototype.serialize=U.prototype.ua;
|
|
U.prototype.toString=function(){return"ee.Geometry("+this.xg()+")"};
|
|
U.prototype.ma=function(a){if(!this.mb){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return N.prototype.ma.call(this,a)}var b={},c="";"GeometryCollection"===this.mb?(b.geometries=this.Ch.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.bh,c="GeometryConstructors."+this.mb);null!=this.Yb&&(b.crs="string"===typeof this.Yb?(new O("Projection")).call(this.Yb):this.Yb);var d="Point"!==this.mb&&"MultiPoint"!==this.mb;null!=
|
|
this.oc&&d&&(b.geodesic=this.oc);null!=this.mc&&(b.evenOdd=this.mc);return(new O(c)).apply(b).ma(a)};
|
|
var vn=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(!vn(b[a]))return!1;return!0}a=a.coordinates;var c=Kn(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)},Kn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Kn(a[0]),c=1;c<a.length;c++)if(Kn(a[c])!=
|
|
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},Ln=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},zn=function(a,b,c,d){a=Mn(a,d);if(Dn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=Nn(c,a.coordinates);(b=Ya(["Polygon",
|
|
"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},Mn=function(a,b){if(Wa(b,Um))return{coordinates:ab(b)};a=S(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Eb(a,function(c){return null!=c})},Dn=function(a){return Array.isArray(a)?Va(a,Dn):a instanceof N},Nn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Wa(b,function(e){return"number"===
|
|
typeof e})&&(b=Ln(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Kn(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},yn=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};U.prototype.name=function(){return"Geometry"};var V=function(a){if(!(this instanceof V))return Qm(V,arguments);if(a instanceof V)return a;On();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new V(a[0]);N.call(this,new O("Filter.and"),{filters:a})}else if(a instanceof N)N.call(this,a.H,a.args,a.T);else if(void 0===a)N.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(V,N);w("ee.Filter",V);
|
|
var Pn=!1,On=function(){Pn||(ln(V,"Filter","Filter"),Pn=!0)},Qn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.sc=function(){return Q("Filter.not",this)};V.prototype.not=V.prototype.sc;var Rn=function(a,b){var c=S(Rn,arguments);return Q("Filter.equals",c.name,c.value)};V.eq=Rn;var Sn=function(a,b){var c=S(Sn,arguments);return Rn(c.name,c.value).sc()};V.neq=Sn;
|
|
var Tn=function(a,b){var c=S(Tn,arguments);return Q("Filter.lessThan",c.name,c.value)};V.lt=Tn;var Un=function(a,b){var c=S(Un,arguments);return Tn(c.name,c.value).sc()};V.gte=Un;var Vn=function(a,b){var c=S(Vn,arguments);return Q("Filter.greaterThan",c.name,c.value)};V.gt=Vn;var Wn=function(a,b){var c=S(Wn,arguments);return Vn(c.name,c.value).sc()};V.lte=Wn;var Xn=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};V.and=Xn;var Yn=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=Yn;var Zn=function(a,b){var c=S(Zn,arguments);c=Q("DateRange",c.start,c.end);return dn("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=Zn;var $n=function(a,b,c,d){var e=S($n,arguments);return dn("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=$n;var ao=function(a,b){return dn("Filter.intersects",{leftField:".all",rightValue:Q("Feature",a),maxError:b})};V.bounds=ao;
|
|
V.prototype.name=function(){return"Filter"};var bo=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Qn))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+Qn[b],a,c);return d?a.sc():a};V.metadata=bo;var W=function(a,b,c){T.call(this,a,b,c);co()};x(W,T);w("ee.Collection",W);var eo=!1,co=function(){eo||(ln(W,"Collection","Collection"),ln(W,"AggregateFeatureCollection","Collection","aggregate_"),eo=!0)};W.prototype.filter=function(a){a=S(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Rm(this,Q("Collection.filter",this,a))};W.prototype.filter=W.prototype.filter;
|
|
W.prototype.lf=function(a,b,c){var d=S(W.prototype.lf,arguments);return this.filter(bo(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.lf;W.prototype.wh=function(a){return this.filter(ao(a))};W.prototype.filterBounds=W.prototype.wh;W.prototype.kf=function(a,b){var c=S(W.prototype.kf,arguments);return this.filter(Zn(c.start,c.end))};W.prototype.filterDate=W.prototype.kf;
|
|
W.prototype.limit=function(a,b,c){var d=S(W.prototype.limit,arguments);return Rm(this,Q("Collection.limit",this,d.max,d.property,d.ascending))};W.prototype.limit=W.prototype.limit;W.prototype.sort=function(a,b){var c=S(W.prototype.sort,arguments);return Rm(this,Q("Collection.limit",this,void 0,c.property,c.ascending))};W.prototype.sort=W.prototype.sort;W.prototype.name=function(){return"Collection"};W.prototype.elementType=function(){return T};
|
|
W.prototype.map=function(a,b){var c=this.elementType();return Rm(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.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)};W.prototype.iterate=W.prototype.Lh;var X=function(a,b){if(!(this instanceof X))return Qm(X,arguments);if(a instanceof X){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)");fo();if(a instanceof U||null===a)T.call(this,new O("Feature"),{geometry:a,metadata:b||null});else if(a instanceof N)T.call(this,a.H,a.args,a.T);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=Pb(c);c["system:index"]=a.id}T.call(this,new O("Feature"),{geometry:new U(a.geometry),metadata:c})}else T.call(this,new O("Feature"),{geometry:new U(a),metadata:b||null})};x(X,T);w("ee.Feature",X);var go=!1,fo=function(){go||(ln(X,"Feature","Feature"),go=!0)};X.prototype.U=function(a){return X.L.U.call(this,a)};X.prototype.getInfo=X.prototype.U;
|
|
X.prototype.getMap=function(a,b){var c=S(X.prototype.getMap,arguments);return Q("Collection",[this]).getMap(c.visParams,c.callback)};X.prototype.getMap=X.prototype.getMap;X.prototype.name=function(){return"Feature"};var om=function(a){var b={},c=ho(a.element,a);c=io(c,a,b);b.element=c;return b},pm=function(a){var b={},c=a.element.map(function(d){d=ho(d,a);return io(d,a,b)});b.element=c;return b},io=function(a,b,c){var d={},e=!1,g=["maxDimension","width","height","scale"];Db(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 "+
|
|
f);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof Bn)){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 Bn(l,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=f;break;case "region":null!=
|
|
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof U)){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 In(l,null,!1);else if(t(l))f=new U(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}});Nb(d)||(d.input=a,a=g.some(function(f){return f in d})||e?dn("Image.clipToBoundsAndScale",
|
|
d):dn("Image.clip",d));return a},ho=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=jo(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=dn("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 O("Projection")).call(c,d),b.region=new Bn([0,
|
|
0,e[0],e[1]],c,!1))}}else a=dn("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},jo=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Wa(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.");},lo=function(a,b){var c={};b=ko(b,c);Nb(b)||(b.image=a,a=dn("Image.visualize",
|
|
b));c.image=a;return c},ko=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Db(a,function(e,g){Ya(c,g)?d[g]=e:b[g]=e});return d},Sl=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);
|
|
var f=c(b);e=c(e);e=c(Object.assign(f,e));g=ho(g,e);return g=io(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=ho(a,d),a=io(a,d,{}));return a};var M=function(a){if(!(this instanceof M))return Qm(M,arguments);if(a instanceof M)return a;mo();var b=arguments.length;if(0==b||1==b&&void 0===a)T.call(this,new O("Image.mask"),{image:new M(0),mask:new M(0)});else if(1==b)if(Um(a))T.call(this,new O("Image.constant"),{value:a});else if(Vm(a))T.call(this,new O("Image.load"),{id:a});else{if(Array.isArray(a))return no(Ua(a,function(d){return new M(d)}));if(a instanceof N)"Array"==a.name()?T.call(this,new O("Image.constant"),{value:a}):T.call(this,a.H,
|
|
a.args,a.T);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Vm(b)&&Um(c))T.call(this,new O("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(M,T);w("ee.Image",M);var oo=!1,mo=function(){oo||(ln(M,"Image","Image"),oo=!0)};M.prototype.U=function(a){return M.L.U.call(this,a)};
|
|
M.prototype.getInfo=M.prototype.U;M.prototype.getMap=function(a,b){var c=this,d=S(M.prototype.getMap,arguments),e=lo(this,d.visParams);if(d.callback){var g=d.callback;Jl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Jl(e),d.image=this,d};M.prototype.getMap=M.prototype.getMap;M.prototype.qb=function(a,b){var c=S(M.prototype.qb,arguments),d=c.params?Pb(c.params):{};d.image=this;if(c.callback){var e=c.callback;Tl(d,function(g,f){g?e(Ul(g)):e(null,f)})}else return Ul(Tl(d))};
|
|
M.prototype.getDownloadURL=M.prototype.qb;M.prototype.Hd=function(a,b){var c=S(M.prototype.qb,arguments),d=c.params?Pb(c.params):{},e={},g=ho(this,d);g=io(g,d,e);d=lo(g,e);return c.callback?(Ol(d,c.callback),null):Ol(d)};M.prototype.getThumbId=M.prototype.Hd;M.prototype.uf=function(a,b){var c=S(M.prototype.uf,arguments);if(c.callback)this.Hd(c.params,function(d,e){var g="";if(void 0===e)try{g=Rl(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return Rl(this.Hd(c.params))};
|
|
M.prototype.getThumbURL=M.prototype.uf;var po=function(a,b,c){var d=S(po,arguments);return no([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};M.rgb=po;var qo=function(a){return no(Array.prototype.slice.call(arguments),null)};M.cat=qo;var no=function(a,b){if(0==a.length)return Q("Image.constant",[]);for(var c=new M(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
M.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Vm(b[0])||Um(b[0])){for(var d=0;d<b.length;d++)if(!(Vm(b[d])||Um(b[d])||b[d]instanceof N))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return dn("Image.select",c)};M.prototype.select=M.prototype.select;
|
|
M.prototype.l=function(a,b){var c=S(M.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 M(g[f])}var l=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Ym;c.encode=function(m){return l.encode(m)};c.Bd=function(m,p){return fk(hl(m,l),p)};c.Y=function(){return{name:"",args:Ua(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
M.prototype.expression=M.prototype.l;M.prototype.clip=function(a){try{a=new U(a)}catch(b){}return Q("Image.clip",this,a)};M.prototype.clip=M.prototype.clip;M.prototype.ui=function(a){var b=1!=arguments.length||Vm(arguments[0])?Array.from(arguments):arguments[0];return Q("Image.rename",this,b)};M.prototype.rename=M.prototype.ui;M.prototype.name=function(){return"Image"};var ro=function(a){if(this instanceof ro){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof ro)return a}else return Qm(ro,arguments);so();if(Array.isArray(a))N.call(this,null,null),this.Sc=a;else if(a instanceof N)N.call(this,a.H,a.args,a.T),this.Sc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(ro,N);w("ee.List",ro);var to=!1,so=function(){to||(ln(ro,"List","List"),to=!0)};
|
|
ro.prototype.encode=function(a){return Array.isArray(this.Sc)?Ua(this.Sc,function(b){return a(b)}):ro.L.encode.call(this,a)};ro.prototype.ma=function(a){return Array.isArray(this.Sc)?bk(hl(a,this.Sc)):ro.L.ma.call(this,a)};ro.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Qm(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)");uo();a instanceof U&&(a=new X(a));a instanceof X&&(a=[a]);if(Vm(a)){var c={tableId:a};b&&(c.geometryColumn=b);W.call(this,new O("Collection.loadTable"),c)}else if(Array.isArray(a))W.call(this,new O("Collection"),{features:Ua(a,function(d){return new X(d)})});else if(a instanceof ro)W.call(this,
|
|
new O("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)W.call(this,new O("Collection"),{features:a.features.map(function(d){return new X(d)})});else if(a instanceof N)W.call(this,a.H,a.args,a.T);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(Y,W);w("ee.FeatureCollection",Y);var vo=!1,uo=function(){vo||(ln(Y,"FeatureCollection","FeatureCollection"),vo=!0)};
|
|
Y.prototype.getMap=function(a,b){var c=S(Y.prototype.getMap,arguments),d=dn("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};Y.prototype.getMap=Y.prototype.getMap;Y.prototype.U=function(a){return Y.L.U.call(this,a)};Y.prototype.getInfo=Y.prototype.U;
|
|
Y.prototype.qb=function(a,b,c,d){var e=S(Y.prototype.qb,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)Vl(g,function(f,l){f?e.callback(Wl(f)):e.callback(null,l)});else return Wl(Vl(g))};Y.prototype.getDownloadURL=Y.prototype.qb;
|
|
Y.prototype.select=function(a,b,c){if(Vm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=S(Y.prototype.select,arguments);return this.map(function(g){return g.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return X};var Z=function(a){if(!(this instanceof Z))return Qm(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");wo();a instanceof M&&(a=[a]);if(Vm(a))W.call(this,new O("ImageCollection.load"),{id:a});else if(Array.isArray(a))W.call(this,new O("ImageCollection.fromImages"),{images:Ua(a,function(b){return new M(b)})});else if(a instanceof ro)W.call(this,new O("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof N)W.call(this,a.H,a.args,a.T);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,W);w("ee.ImageCollection",Z);var xo=!1,wo=function(){xo||(ln(Z,"ImageCollection","ImageCollection"),ln(Z,"reduce","ImageCollection"),xo=!0)};Z.prototype.sf=function(a,b){var c=S(Z.prototype.sf,arguments);return yo(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.sf;
|
|
Z.prototype.vf=function(a,b){var c=S(Z.prototype.vf,arguments);return yo(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.vf;
|
|
var yo=function(a,b,c,d){var e={};a=a.map(function(l){l=ho(l,b.params);return io(l,b.params,e)});var g={},f=ko(e,g);g.imageCollection=a.map(function(l){f.image=l;return dn("Image.visualize",f)});null!=b.params.dimensions&&(g.dimensions=b.params.dimensions);if(g.format){if(!Va(c,function(l){return l.toLowerCase()==g.format.toLowerCase()}))throw Error("Invalid format specified.");}else g.format=c[0];c=Ol;switch(d){case "video":c=Pl;break;case "filmstrip":c=Ql}if(b.callback)c(g,function(l,m){var p="";
|
|
if(void 0===m)try{p=Rl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Rl(c(g))};Z.prototype.getMap=function(a,b){var c=S(Z.prototype.getMap,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Z.prototype.getMap=Z.prototype.getMap;Z.prototype.U=function(a){return Z.L.U.call(this,a)};Z.prototype.getInfo=Z.prototype.U;
|
|
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.first=function(){return new M(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return M};var zo=function(a){this.Xe=a;this.id=null},Bo=function(a){var b={element:Ao(a)};Object.assign(b,a);b=Eb(b,function(c){return null!=c});return new zo(b)};zo.prototype.start=function(a,b){var c=this;B(this.Xe,"Task config must be specified for tasks to be started.");this.id=this.id||Xl(1)[0];Na(this.id,"Failed to obtain task ID.");if(a)nm(this.id,this.Xe,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=nm(this.id,this.Xe).taskId)?d:null}};
|
|
zo.prototype.start=zo.prototype.start;var Co=function(a,b,c,d,e,g,f,l,m,p,v){var y=S(Co,arguments);y=Do(y,"ASSET","EXPORT_IMAGE");return Bo(y)};w("module$contents$ee$batch_Export.image.toAsset",Co);var Eo=function(a,b,c,d,e,g,f,l,m,p,v,y,C,P,oa){var R=S(Eo,arguments);R=Do(R,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Bo(R)};w("module$contents$ee$batch_Export.image.toCloudStorage",Eo);var Fo=function(a,b,c,d,e,g,f,l,m,p,v,y,C,P,oa){var R=S(Fo,arguments);R=Do(R,"DRIVE","EXPORT_IMAGE");return Bo(R)};
|
|
w("module$contents$ee$batch_Export.image.toDrive",Fo);var Go=function(a,b,c,d,e,g,f,l,m,p,v,y,C){var P=S(Go,arguments);P=Do(P,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Bo(P)};w("module$contents$ee$batch_Export.map.toCloudStorage",Go);var Ho=function(a,b,c,d,e,g,f){var l=S(Ho,arguments);l=Do(l,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Bo(l)};w("module$contents$ee$batch_Export.table.toCloudStorage",Ho);
|
|
var Io=function(a,b,c,d,e,g,f){var l=S(Io,arguments);l.type="EXPORT_FEATURES";l=Do(l,"DRIVE","EXPORT_FEATURES");return Bo(l)};w("module$contents$ee$batch_Export.table.toDrive",Io);var Jo=function(a,b,c,d){var e=S(Jo,arguments);e=Do(e,"ASSET","EXPORT_FEATURES");return Bo(e)};w("module$contents$ee$batch_Export.table.toAsset",Jo);var Ko=function(a,b,c,d,e,g,f){var l=S(Ko,arguments);l=Do(l,"FEATURE_VIEW","EXPORT_FEATURES");return Bo(l)};w("module$contents$ee$batch_Export.table.toFeatureView",Ko);
|
|
var Lo=function(a,b,c,d,e,g,f,l,m,p,v,y){var C=S(Lo,arguments);C=Do(C,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Bo(C)};w("module$contents$ee$batch_Export.video.toCloudStorage",Lo);var Mo=function(a,b,c,d,e,g,f,l,m,p,v,y){var C=S(Mo,arguments);C=Do(C,"DRIVE","EXPORT_VIDEO");return Bo(C)};w("module$contents$ee$batch_Export.video.toDrive",Mo);var No=function(a,b,c,d,e,g,f,l,m,p,v,y,C,P,oa,R,Aa,Kb,Pq,Qq){var uj=S(No,arguments);uj=Do(uj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Bo(uj)};
|
|
w("module$contents$ee$batch_Export.videoMap.toCloudStorage",No);var Oo=function(a,b,c){var d=S(Oo,arguments);d=Do(d,"ASSET","EXPORT_CLASSIFIER");return Bo(d)};w("module$contents$ee$batch_Export.classifier.toAsset",Oo);
|
|
var Ao=function(a){var b=function(d){return d in a},c=Po.find(b);B(1===Xa(Po,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof M||b instanceof Y||b instanceof Z||b instanceof T||b instanceof N))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},Do=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==
|
|
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=Qo(e,a),delete e.formatOptions,Object.assign(e,a));e=Ro(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=Ro(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==
|
|
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=Ro(e,b);break;case "EXPORT_VIDEO":e=So(e);e=Ro(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=So(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=Ro(e,b);break;case "EXPORT_CLASSIFIER":e=Ro(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof U)b=b.ke();else if("string"===typeof b)try{b=Pa(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.");
|
|
}if(!(t(b)&&"type"in b))try{new Fn(b)}catch(g){try{new In(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},Ro=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=
|
|
a.assetId||"";break;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=ua(a.folder);if(!Ya(["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},To={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
Uo={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},So=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},Qo=function(a,b){var c=a.formatOptions;if(null==c)return{};
|
|
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=Uo[b];for(var d=To[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(!Ya(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},
|
|
Po=["image","collection","classifier"];var Vo=function(a){if(!(this instanceof Vo))return Qm(Vo,arguments);if(a instanceof Vo)return a;Wo();if("number"===typeof a)N.call(this,null,null),this.Vc=a;else if(a instanceof N)N.call(this,a.H,a.args,a.T),this.Vc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(Vo,N);w("ee.Number",Vo);var Xo=!1,Wo=function(){Xo||(ln(Vo,"Number","Number"),Xo=!0)};Vo.prototype.encode=function(a){return"number"===typeof this.Vc?this.Vc:Vo.L.encode.call(this,a)};
|
|
Vo.prototype.ma=function(a){return"number"===typeof this.Vc?bk(hl(a,this.Vc)):Vo.L.ma.call(this,a)};Vo.prototype.name=function(){return"Number"};var Yo=function(a){if(!(this instanceof Yo))return Qm(Yo,arguments);if(a instanceof Yo)return a;Zo();if("string"===typeof a)N.call(this,null,null),this.gd=a;else if(a instanceof N)this.gd=null,a.H&&"String"==a.H.Y().returns?N.call(this,a.H,a.args,a.T):N.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(Yo,N);w("ee.String",Yo);var $o=!1,Zo=function(){$o||(ln(Yo,"String","String"),$o=!0)};
|
|
Yo.prototype.encode=function(a){return"string"===typeof this.gd?this.gd:Yo.L.encode.call(this,a)};Yo.prototype.ma=function(a){return"string"===typeof this.gd?bk(hl(a,this.gd)):Yo.L.ma.call(this,a)};Yo.prototype.name=function(){return"String"};var ap=function(a,b){if(!(this instanceof ap))return Qm(ap,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(bp(f in Sm?Sm[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.vb=cp(a,c,b);this.Qg=b.apply(null,c)};x(ap,Ym);w("ee.CustomFunction",ap);ap.prototype.encode=function(a){return{type:"Function",argumentNames:Ua(this.vb.args,function(b){return b.name}),body:a(this.Qg)}};
|
|
ap.prototype.ma=function(a){return gk(this.vb.args.map(function(b){return b.name}),hl(a,this.Qg))};ap.prototype.Bd=function(a,b){return fk(hl(a,this),b)};ap.prototype.Y=function(){return this.vb};
|
|
var bp=function(a,b){a=a||Object;if(!(a.prototype instanceof N))if(a&&a!=Object)if(a==String)a=Yo;else if(a==Number)a=Vo;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=N;var c=function(d){this.args=this.H=null;this.T=d};c.prototype=a.prototype;return new c(b)},dp=function(a,b){b={name:"",returns:"Object",args:Ua(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof N?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new ap(b,a)},cp=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].T&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(l){var m=function(v){return v.map(p).reduce(function(y,C){return y+C},0)},p=function(v){return v.Ta?1:v.Ea?m(v.Ea.values):v.Fa?m(Object.values(v.Fa.values)):v.xa?m(Object.values(v.xa.arguments)):0};return m(Object.values(l.values))}($k(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
|
|
d.length;e++){var g=d[e],f=c+e;b[g].T=f;a.args[g].name=f}return a};var ep=function(a,b){if(!(this instanceof ep))return Qm(ep,arguments);if(a instanceof ep)return a;fp();var c=S(ep,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},g=null;if(Vm(a)){if(e.value=a,c)if(Vm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Um(a))e.value=a;else if(wa(a))e.value=Math.floor(a.getTime());else if(a instanceof N)a.H&&"Date"==a.H.Y().returns?(d=a.H,e=a.args,g=a.T):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);N.call(this,d,e,g)};x(ep,N);w("ee.Date",ep);var gp=!1,fp=function(){gp||(ln(ep,"Date","Date"),gp=!0)};ep.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var ip=function(a){return hp(JSON.parse(a))};w("ee.Deserializer.fromJSON",ip);var hp=function(a){if("result"in a&&"values"in a)return jp(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]=kp(g,b)}a=a.value}return kp(a,b)};w("ee.Deserializer.decode",hp);
|
|
var kp=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Ua(a,function(e){return kp(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 bp(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new ep(a/1E3);case "Bytes":return lp(new Pe({ob:a}),a);case "Invocation":return c="functionName"in a?cn(a.functionName):kp(a["function"],b),a=Fb(a.arguments,function(e){return kp(e,b)}),mp(c,a);case "Dictionary":return Fb(a.value,function(e){return kp(e,b)});case "Function":var d=kp(a.body,b);a={name:"",args:Ua(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new ap(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new U(a);
|
|
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},lp=function(a,b){var c=function(){};q(c,Yj);c.prototype.encode=function(){return b};c.prototype.ma=function(){return a};return new c},mp=function(a,b){if(a instanceof Ym)return a.apply(b);if(a instanceof N){var c=function(){return Ym.apply(this,arguments)||this};q(c,Ym);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Bd=function(d,e){return fk(hl(d,a),
|
|
e)};return new N(new c,b)}throw Error("Invalid function value");},np=function(a){return jp(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",np);
|
|
var jp=function(a){var b=Uc(ef,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.gb)f=f.gb;else if(null!==f.Ea)f=f.Ea.values.map(e);else if(null!==f.Fa)f=Fb(f.Fa.values,e);else if(null!==f.Kb)f=bp(Object,f.Kb);else if(null!==f.Ta)f=g(f.Ta);else if(null!==f.xa){var l=f.xa;f=l.Ua?d(l.Ua,"function"):cn(l.functionName);l=Fb(l.arguments,e);f=mp(f,l)}else f=null!==f.ob?lp(new Pe({ob:f.ob}),f.ob):null!==
|
|
f.Va?lp(new Pe({Va:f.Va}),f.Va):null!==f.Na?d(f.Na,"reference"):null;return f},g=function(f){var l=d(f.body,"function body");f={args:f.jc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new ap(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",jp);var op=function(a){if(!(this instanceof op))return Qm(op,arguments);if(a instanceof op)return a;pp();Wm(a)?(N.call(this,null,null),this.Ic=a):(a instanceof N&&a.H&&"Dictionary"==a.H.Y().returns?N.call(this,a.H,a.args,a.T):N.call(this,new O("Dictionary"),{input:a},null),this.Ic=null)};x(op,N);w("ee.Dictionary",op);var qp=!1,pp=function(){qp||(ln(op,"Dictionary","Dictionary"),qp=!0)};op.prototype.encode=function(a){return null!==this.Ic?a(this.Ic):op.L.encode.call(this,a)};
|
|
op.prototype.ma=function(a){return null!==this.Ic?bk(hl(a,this.Ic)):op.L.ma.call(this,a)};op.prototype.name=function(){return"Dictionary"};var rp={};w("ee.Terrain",rp);rp.Af=!1;rp.initialize=function(){rp.Af||(ln(rp,"Terrain","Terrain"),rp.Af=!0)};rp.reset=function(){mn(rp);rp.Af=!1};var xp=function(a,b,c,d,e,g){if("ready"!=sp||a||b){var f=null!=c;if(d)if(f)tp.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==sp&&f)up.push(c);else if(sp="loading",oj(a,b,e,g),f)up.push(c),gn(vp,wp);else try{gn(),vp()}catch(l){throw wp(l),l;}}else c&&c()};w("ee.initialize",xp);
|
|
var Ap=function(){sp="not_ready";Nj=Mj=zj=null;Lj=!1;en=null;fn={};mn(ep);gp=!1;mn(op);qp=!1;mn(T);tn=!1;mn(M);oo=!1;mn(X);go=!1;mn(W);eo=!1;mn(Z);xo=!1;mn(Y);vo=!1;mn(V);Pn=!1;mn(U);wn=!1;mn(ro);to=!1;mn(Vo);Xo=!1;mn(Yo);$o=!1;rp.reset();for(var a=r.ee,b=0;b<yp.length;b++){var c=yp[b];mn(a[c]);delete a[c]}yp=[];Sm=a;a=zp;for(var d in a)delete a[d]};w("ee.reset",Ap);var Bp={Hl:"not_ready",LOADING:"loading",Il:"ready"};w("ee.InitState",Bp);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var sp="not_ready",up=[],tp=[];w("ee.TILE_SIZE",256);var yp=[],zp={};w("ee.Algorithms",zp);var Cp=function(a,b){"string"===typeof a&&(a=new O(a));return Ym.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Cp);var Dp=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};w("ee.apply",Dp);
|
|
var vp=function(){if("loading"==sp){try{fp();pp();sn();mo();fo();co();wo();uo();On();un();so();Wo();Zo();rp.initialize();var a=hn(),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]=Ep(l),yp.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,fn[l]=!0):f[l].signature={});Sm=f;Fp()}catch(m){wp(m);return}sp="ready";for(tp=[];0<up.length;)up.shift()()}},
|
|
wp=function(a){if("loading"==sp)for(sp="not_ready",up=[];0<tp.length;)tp.shift()(a)},Fp=function(){var a=jn();Ib(a).sort().forEach(function(b){var c=a[b],d=c.Y();if(!d.hidden){b=b.split(".");var e=zp;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=cb(b,1)}g=function(f){return bn(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},Ep=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),
|
|
g=1==e.length;if(g&&e[0]instanceof d)return e[0];if(!(this instanceof d))return Qm(d,e);d=kn(a);var f=!(e[0]instanceof N),l=!1;d&&(g?f?l=!0:e[0].H&&e[0].H.Y().returns==d.Y().returns||(l=!0):l=!0);if(l)e=Xm(e,d.Y())?e[0]:$m(d,e),N.call(this,d,an(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];N.call(this,e.H,e.args,e.T)}};x(b,N);b.prototype.name=function(){return a};ln(b,a,a);return b};
|
|
Zm=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new M(a);case "Feature":return a instanceof W?Q("Feature",Q("Collection.geometry",a)):new X(a);case "Element":if(a instanceof T)return a;if(a instanceof U)return new X(a);if(a instanceof N)return new T(a.H,a.args,a.T);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new U(a);case "FeatureCollection":case "Collection":return a instanceof W?
|
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new V(a);case "Algorithm":if("string"===typeof a)return new O(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return dp(a,c)}if(a instanceof Yj)return a;throw Error("Argument is not a function: "+a);case "String":return Vm(a)||a instanceof Yo||a instanceof N?new Yo(a):a;case "Dictionary":return Wm(a)?a:new op(a);case "List":return new ro(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Vo(a);
|
|
default:if(b in c){d=kn(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 Gp=function(a,b,c){Lc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.zh=new xc;this.yh=new xc};q(Gp,Lc);Gp.prototype.getTile=function(a,b){var c=Mc(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.wb,this.token].join("/");this.yb.push(c);this.wb+=1;var d=ph("DIV");Hp(this,b,a,c,d);Ip(this);return d};
|
|
var Hp=function(a,b,c,d,e){var g=$i(Yi);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.zh.set(c,f),this.yh.set(c,e),Za(this.yb,d),Ip(this);else throw this.ug.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Ip=function(a){a.dispatchEvent(new Nc(a.yb.length))};Gp.prototype.I=function(){this.yh=this.zh=null;Lc.prototype.I.call(this)};
|
|
w("ee.FloatTileOverlay",Gp);var Jp=function(){this.fe=new Map};Jp.prototype.clear=function(){this.fe.clear()};var Kp=function(a,b){a.fe.has(b)||a.fe.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.fe.get(b)};var Lp=function(a){z.call(this);this.Rb=a;this.K={}};x(Lp,z);var Mp=[];Lp.prototype.Wa=function(a,b,c,d){Array.isArray(b)||(b&&(Mp[0]=b.toString()),b=Mp);for(var e=0;e<b.length;e++){var g=$b(a,b[e],c||this.handleEvent,d||!1,this.Rb||this);if(!g)break;this.K[g.key]=g}return this};Lp.prototype.Tc=function(a,b,c,d){return Np(this,a,b,c,d)};
|
|
var Np=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)Np(a,b,c[f],d,e,g);else{b=Zb(b,c,d||a.handleEvent,e,g||a.Rb||a);if(!b)return a;a.K[b.key]=b}return a};Lp.prototype.oe=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.oe(a,b[g],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Rb||this,c=ac(c),d=!!d,b=zb(a)?a.Kc(b,c,d,e):a?(a=cc(a))?a.Kc(b,c,d,e):null:null,b&&(hc(b),delete this.K[b.key])};
|
|
Lp.prototype.cd=function(){Db(this.K,function(a,b){this.K.hasOwnProperty(b)&&hc(a)},this);this.K={}};Lp.prototype.I=function(){Lp.L.I.call(this);this.cd()};Lp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Pp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Mb[a.name]):(this.code=a=Ma(a.code),this.name=Op(a));Ga.call(this,Ad("%s %s",this.name,b))};x(Pp,Ga);
|
|
var Op=function(a){var b=Lb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Qp={},Mb=(Qp.AbortError=3,Qp.EncodingError=5,Qp.InvalidModificationError=9,Qp.InvalidStateError=7,Qp.NotFoundError=1,Qp.NotReadableError=4,Qp.NoModificationAllowedError=6,Qp.PathExistsError=12,Qp.QuotaExceededError=10,Qp.SecurityError=2,Qp.SyntaxError=8,Qp.TypeMismatchError=11,Qp);var Rp=function(a,b){A.call(this,a.type,b);this.Ia=a};x(Rp,A);var Sp=function(){D.call(this);this.ba=new FileReader;this.ba.onloadstart=u(this.lc,this);this.ba.onprogress=u(this.lc,this);this.ba.onload=u(this.lc,this);this.ba.onabort=u(this.lc,this);this.ba.onerror=u(this.lc,this);this.ba.onloadend=u(this.lc,this)};x(Sp,D);h=Sp.prototype;h.abort=function(){try{this.ba.abort()}catch(a){throw new Pp(a,"aborting read");}};h.sb=function(){return this.ba.readyState};h.getError=function(){return this.ba.error&&new Pp(this.ba.error,"reading file")};
|
|
h.lc=function(a){this.dispatchEvent(new Rp(a,this))};h.I=function(){Sp.L.I.call(this);delete this.ba};h.readAsBinaryString=function(a){this.ba.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.ba.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.ba.readAsText(a,b)};var Tp=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 Up=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.de=new Jp(a.getUniqueId());this.xb=new xc;this.wb=0;this.tg=a;this.ib=new Lp(this);this.radius=0};q(Up,D);h=Up.prototype;h.Le=function(a){return $b(this,"tile-load",a)};h.Zf=function(a){hc(a)};
|
|
h.Lc=function(){return Vp(this,"throttled")+Vp(this,"loading")+Vp(this,"new")};h.setOpacity=function(a){this.opacity=a;this.xb.forEach(function(b){Tp(b.ka,this.opacity)},this)};h.getStats=function(){return this.de};
|
|
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.wb++].join("-");e=this.tg.getUniqueId();a=[a,e].join("-");b=this.eh(d,b,c,a);b.tileSize=this.tileSize;Tp(b.ka,this.opacity);this.xb.set(a,b);Wp(this,b);this.dispatchEvent(new Xp(this.Lc()));this.tg.Ef(b,(new Date).getTime()/1E3);return b.ka};h.releaseTile=function(a){var b=this.xb.get(a.id);this.xb.remove(a.id);b&&(b.abort(),Fa(b))};
|
|
var Wp=function(a,b){a.ib.Wa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.il,d=(new Date).getTime();Kp(this.de,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Yp(this.Lc()));break;case "throttled":Kp(this.de,b.zoom).throttleCount++;this.dispatchEvent(new Zp(b.Ba));break;case "failed":Kp(this.de,b.zoom).errorCount++;this.dispatchEvent(new $p(b.Ba,b.Wk));break;case "aborted":this.dispatchEvent(new aq(this.Lc()))}})};
|
|
Up.prototype.I=function(){D.prototype.I.call(this);this.xb.forEach(Fa);this.xb.clear();this.xb=null;Fa(this.ib);this.tg=this.ib=null};var Vp=function(a,b){return Xa(a.xb.Z(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",Up);Up.prototype.removeTileCallback=Up.prototype.Zf;Up.prototype.addTileCallback=Up.prototype.Le;var Yp=function(){A.call(this,"tile-load")};q(Yp,A);var Xp=function(){A.call(this,"tile-start")};q(Xp,A);var Zp=function(){A.call(this,"tile-throttle")};q(Zp,A);
|
|
var $p=function(a,b){A.call(this,"tile-fail");this.errorMessage=b};q($p,A);var aq=function(){A.call(this,"tile-abort")};q(aq,A);var bq=function(a,b,c,d){D.call(this);this.pb=a;this.zoom=b;this.ka=c.createElement("div");this.ka.id=d;this.ll=5;this.Zd=function(){};this.ge="new";this.xi=0;this.Cf=!1};q(bq,D);bq.prototype.getDiv=function(){return this.ka};
|
|
var dq=function(a){if(!a.Cf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");cq(a,"loading");a.il=(new Date).getTime();a.Ya=new aj;a.Ya.xc="blob";a.Ya.Wa("complete",function(){var b=lj(a.Ya),c=a.Ya.getStatus();429==c&&cq(a,"throttled");if(Ui(c)){var d={};Db(mj(a.Ya),function(g,f){d[f.toLowerCase()]=g});a.zl=d;a.Ei=b;a.Jc()}else if(b){var e=new Sp;e.Wa("loadend",function(){a.ed(e.ba.result)});e.readAsText(b)}else a.ed("Failed to load tile.")},
|
|
!1);a.Ya.Tc("ready",Da(Fa,a.Ya));a.Ba&&a.Ba.endsWith("&profiling=1")&&(a.Ba=a.Ba.replace("&profiling=1",""),a.Ya.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.Ya.send(a.Ba,"GET")};h=bq.prototype;h.Jc=function(){this.Zd(this);cq(this,"loaded")};h.Fc=function(){Fa(this.Ya)};
|
|
h.ed=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.xi>=this.ll?(this.Wk=b(a),cq(this,"failed")):(this.Fc(),setTimeout(u(function(){this.Ra||(this.Cf=!0,dq(this),this.Cf=!1)},this),1E3*Math.pow(2,this.xi++)))};h.abort=function(){this.Fc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&cq(this,this.ge in eq?"removed":"aborted")};h.getStatus=function(){return this.ge};var cq=function(a,b){a.ge=b;a.dispatchEvent("status-changed")};
|
|
bq.prototype.I=function(){D.prototype.I.call(this);this.Fc();this.ka.remove();this.Zd=null};var eq={aborted:!0,failed:!0,loaded:!0,removed:!0};var fq=function(){z.call(this)};q(fq,z);var gq=function(a,b){Up.call(this,a,b);this.Sg=new xc;this.qh=new xc};q(gq,Up);gq.prototype.eh=function(a,b,c,d){var e=new hq(a,b,c,d);this.ib.Wa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Sg.set(a,new Float32Array(e.vd)),this.qh.set(a,e.ka))});return e};gq.prototype.I=function(){Up.prototype.I.call(this);this.qh=this.Sg=null};w("ee.layers.BinaryOverlay",gq);var hq=function(a,b,c,d){bq.call(this,a,b,c,d)};q(hq,bq);
|
|
hq.prototype.Jc=function(){var a=new Sp;a.Wa("loadend",function(){this.vd=a.ba.result;bq.prototype.Jc.call(this)},void 0,this);a.readAsArrayBuffer(this.Ei)};var iq=function(a){D.call(this);this.Pc={};this.Oc={};this.Rb=new Lp(this);this.W=a;this.Ve=!1};x(iq,D);var jq=["load","abort","error"],kq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ve=!1,a.Pc[b]={src:c,dh:null}},lq=function(a,b){delete a.Pc[b];var c=a.Oc[b];c&&(delete a.Oc[b],a.Rb.oe(c,jq,a.di))};
|
|
iq.prototype.start=function(){var a=this.Pc;Ib(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Ra)){if(this.W){var d=this.W;d=(d?new uh(th(d)):Ha||(Ha=new uh)).Uk("IMG")}else d=new Image;c.dh&&(d.crossOrigin=c.dh);this.Rb.Wa(d,jq,this.di);this.Oc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
iq.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));lq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ra&&Nb(this.Oc)&&Nb(this.Pc)&&!this.Ve&&(this.Ve=!0,this.dispatchEvent("complete"))}};iq.prototype.I=function(){delete this.Pc;delete this.Oc;Fa(this.Rb);iq.L.I.call(this)};/*
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var mq=[],nq=function(a){var b=Pi(Qi(),"safevalues").Sh;b&&Ri(b,Ei,"A URL with content '"+a+"' was sanitized away.")};-1===mq.indexOf(nq)&&mq.push(nq);function oq(a){if("undefined"!==typeof MediaSource&&a instanceof MediaSource)return new pd(URL.createObjectURL(a),od);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)$/i.test(b[1])||/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])))throw Error("unsafe blob MIME type: "+
|
|
a.type);return new pd(URL.createObjectURL(a),od)};var pq=function(a,b){Up.call(this,a,b)};q(pq,Up);pq.prototype.eh=function(a,b,c,d){return new qq(a,b,c,d)};w("ee.layers.ImageOverlay",pq);var qq=function(a,b,c,d){bq.call(this,a,b,c,d);this.Zd=rq;this.Hh=this.fa=this.Nd=null;this.Wc=""};q(qq,bq);
|
|
qq.prototype.Jc=function(){try{var a=oq(this.Ei);this.Wc=qd(a);var b=this.Wc!==rd.toString()?this.Wc:this.Ba}catch(c){b=this.Ba}this.fa=new iq;kq(this.fa,this.ka.id+"-image",b);this.Hh=Zb(this.fa,sq,function(c){"load"==c.type?(this.Nd=c.target,bq.prototype.Jc.call(this)):this.ed()},void 0,this);this.fa.start()};qq.prototype.Fc=function(){bq.prototype.Fc.call(this);this.fa&&(hc(this.Hh),Fa(this.fa))};qq.prototype.I=function(){bq.prototype.I.call(this);this.Wc&&URL.revokeObjectURL(this.Wc)};
|
|
var rq=function(a){a.ka.appendChild(a.Nd)},sq=["load","abort","error"];var tq=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 uq=function(a,b,c,d){z.call(this);this.Rg=a;this.Xb=b;this.og=d||"";this.Td=c};q(uq,fq);uq.prototype.Ef=function(a){if(a.zoom<=this.Td)a.Ba=this.Id(a.pb,a.zoom);else{var b=a.zoom-this.Td,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.pb.x/c),Math.floor(a.pb.y/c));a.Ba=this.Id(c,a.zoom-b);a.Zd=Da(vq,this.Td)}var d=u(a.ed,a);a.ed=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?cq(a,"loaded"):d(e)},a);dq(a)};
|
|
uq.prototype.getUniqueId=function(){return[this.Rg,this.Xb,this.Td,this.og].join("-")};uq.prototype.Id=function(a,b){a=tq("https://storage.googleapis.com",this.Rg,this.Xb,String(b),String(a.x),String(a.y));this.og&&(a+=this.og);return a};
|
|
var vq=function(a,b){if(!b.Nd)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.ka.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.ka.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Nd,c/a*(b.pb.x%a),c/a*(b.pb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",uq);var wq=function(){this.Ka=[];this.Pa=[]};h=wq.prototype;h.enqueue=function(a){this.Pa.push(a)};h.Hc=function(){0===this.Ka.length&&(this.Ka=this.Pa,this.Ka.reverse(),this.Pa=[]);return this.Ka.pop()};h.R=function(){return this.Ka.length+this.Pa.length};h.isEmpty=function(){return 0===this.Ka.length&&0===this.Pa.length};h.clear=function(){this.Ka=[];this.Pa=[]};h.contains=function(a){return Ya(this.Ka,a)||Ya(this.Pa,a)};
|
|
h.remove=function(a){var b=this.Ka;var c=Ra(b,a);0<=c?($a(b,c),b=!0):b=!1;return b||Za(this.Pa,a)};h.Z=function(){for(var a=[],b=this.Ka.length-1;0<=b;--b)a.push(this.Ka[b]);var c=this.Pa.length;for(b=0;b<c;++b)a.push(this.Pa[b]);return a};var xq=function(a,b){z.call(this);this.Vh=a||0;this.Sd=b||10;if(this.Vh>this.Sd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new wq;this.tb=new Gc;this.delay=0;this.Df=null;this.od()};x(xq,z);xq.prototype.Mc=function(){var a=Date.now();if(!(null!=this.Df&&a-this.Df<this.delay)){for(var b;0<this.Sa.R()&&(b=this.Sa.Hc(),!this.Of(b));)this.od();!b&&this.R()<this.Sd&&(b=this.Ye());b&&(this.Df=a,this.tb.add(b));return b}};
|
|
var yq=function(a,b){return a.tb.remove(b)?(a.Ke(b),!0):!1};h=xq.prototype;h.Ke=function(a){this.tb.remove(a);this.Of(a)&&this.R()<this.Sd?this.Sa.enqueue(a):this.zd(a)};h.od=function(){for(var a=this.Sa;this.R()<this.Vh;)a.enqueue(this.Ye());for(;this.R()>this.Sd&&0<this.Sa.R();)this.zd(a.Hc())};h.Ye=function(){return{}};h.zd=function(a){if("function"==typeof a.Qa)a.Qa();else for(var b in a)a[b]=null};h.Of=function(a){return"function"==typeof a.Rk?a.Rk():!0};
|
|
h.contains=function(a){return this.Sa.contains(a)||this.tb.contains(a)};h.R=function(){return this.Sa.R()+this.tb.R()};h.isEmpty=function(){return this.Sa.isEmpty()&&this.tb.isEmpty()};h.I=function(){xq.L.I.call(this);if(0<this.tb.R())throw Error("[goog.structs.Pool] Objects not released");delete this.tb;for(var a=this.Sa;!a.isEmpty();)this.zd(a.Hc());delete this.Sa};var zq=function(a,b){this.Mh=a;this.qe=b};zq.prototype.getKey=function(){return this.Mh};zq.prototype.clone=function(){return new zq(this.Mh,this.qe)};var Aq=function(a){this.za=[];if(a)a:{if(a instanceof Aq){var b=a.rb();a=a.Z();if(0>=this.R()){for(var c=this.za,d=0;d<b.length;d++)c.push(new zq(b[d],a[d]));break a}}else b=Ib(a),a=Hb(a);for(c=0;c<b.length;c++)Bq(this,b[c],a[c])}},Bq=function(a,b,c){var d=a.za;d.push(new zq(b,c));b=d.length-1;a=a.za;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=Aq.prototype;
|
|
h.remove=function(){var a=this.za,b=a.length,c=a[0];if(!(0>=b)){if(1==b)a.length=0;else{a[0]=a.pop();a=0;b=this.za;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.qe}};h.Z=function(){for(var a=this.za,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].qe);return b};h.rb=function(){for(var a=this.za,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
h.Gc=function(a){return this.za.some(function(b){return b.qe==a})};h.Nb=function(a){return this.za.some(function(b){return b.getKey()==a})};h.clone=function(){return new Aq(this)};h.R=function(){return this.za.length};h.isEmpty=function(){return 0===this.za.length};h.clear=function(){this.za.length=0};var Cq=function(){Aq.apply(this,arguments)};q(Cq,Aq);Cq.prototype.enqueue=function(a,b){Bq(this,a,b)};Cq.prototype.Hc=function(){return this.remove()};var Dq=function(a,b){this.oh=void 0;this.be=new Cq;xq.call(this,a,b)};x(Dq,xq);h=Dq.prototype;h.Mc=function(a,b){if(!a)return(a=Dq.L.Mc.call(this))&&this.delay&&(this.oh=r.setTimeout(u(this.Kd,this),this.delay)),a;this.be.enqueue(void 0!==b?b:100,a);this.Kd()};h.Kd=function(){for(var a=this.be;0<a.R();){var b=this.Mc();if(b)a.Hc().apply(this,[b]);else break}};h.Ke=function(a){Dq.L.Ke.call(this,a);this.Kd()};h.od=function(){Dq.L.od.call(this);this.Kd()};
|
|
h.I=function(){Dq.L.I.call(this);r.clearTimeout(this.oh);this.be.clear();this.be=null};var Eq=function(a,b){z.call(this);this.Ff=a;this.ta=b||null};q(Eq,fq);Eq.prototype.Ef=function(a,b){var c=$b(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.zl["x-earth-engine-computation-profile"];this.ta&&e&&this.ta.Ok(a.ka.id,e);break;case "failed":case "aborted":this.ta&&""!==a.ka.id&&this.ta.rl(a.ka.id),hc(c)}},void 0,this);a.Ba=this.Id(a.pb,a.zoom);var d=u(this.wf,this,a);Fq().Mc(d,b)};Eq.prototype.getUniqueId=function(){return this.Ff.mapid+"-"+this.Ff.token};
|
|
Eq.prototype.wf=function(a,b){var c=Fq();if(a.Ra||"aborted"==a.getStatus())yq(c,b);else{var d=$b(a,"status-changed",function(){a.ge in eq&&(hc(d),yq(c,b))});dq(a)}};Eq.prototype.Id=function(a,b){a=Kl(this.Ff,a.x,a.y,b);return this.ta&&this.ta.isEnabled()?a+"&profiling=1":a};var Fq=function(){Gq||(Gq=new Dq(0,4));return Gq};w("ee.layers.EarthEngineTileSource",Eq);var Gq=null;var Hq=function(a){z.call(this);this.Ni=a};q(Hq,fq);Hq.prototype.Ef=function(a){a.Ba=this.Ni.formatTileUrl(a.pb.x,a.pb.y,a.zoom);dq(a)};Hq.prototype.getUniqueId=function(){return this.Ni.token};w("ee.layers.FeatureViewTileSource",Hq);var Jq=function(){D.call(this);this.le=new Iq(0,60);this.wc=new xc};q(Jq,D);Jq.prototype.send=function(a,b,c,d,e){if(this.wc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Kq(a,b,d,u(this.ti,this),void 0!==e?e:1);this.wc.set(a,b);a=u(this.wf,this,b);this.le.Mc(a,c);return b};Jq.prototype.abort=function(a){if(a=this.wc.get(a))a.ic||(a.ic=!0,a.Ia=new A("abort")),this.ti(a)};
|
|
Jq.prototype.wf=function(a,b){if(a.fa||a.ic)Lq(this,b);else if(a.Qi=b,b.setActive(!0),b=new iq,a.fa=b,!a.retry())throw Error("Cannot dispatch first request!");};Jq.prototype.ti=function(a){this.wc.remove(a.getId());a.fa&&(Lq(this,a.Qi),a.fa.Qa());a.xf&&a.xf(a.Ia,a.oi)};var Lq=function(a,b){b.setActive(!1);if(!yq(a.le,b))throw Error("Object not released");};Jq.prototype.I=function(){D.prototype.I.call(this);this.le.Qa();this.le=null;var a=this.wc;Sa(a.Z(),function(b){b.Qa()});a.clear();this.wc=null};
|
|
w("ee.MapTileManager",Jq);var Kq=function(a,b,c,d,e){z.call(this);this.ea=a;this.Fl=b;this.ml=void 0!==e?e:1;this.xf=c;this.Zb=d};q(Kq,z);h=Kq.prototype;h.getId=function(){return this.ea};h.getUrl=function(){return this.Fl};h.bl=function(a){if(this.ic)this.Zb&&this.Zb(this);else switch(a.type){case "load":this.Ia=a;this.Zb&&this.Zb(this);break;case "error":case "abort":this.retry()||(this.Ia=a,this.Zb&&this.Zb(this))}};h.I=function(){z.prototype.I.call(this);delete this.xf;delete this.Zb};
|
|
h.retry=function(){if(this.Jg>this.ml)return!1;this.Jg++;lq(this.fa,this.ea);setTimeout(u(this.Al,this),0);return!0};
|
|
h.Al=function(){if(!this.ic){var a=u(function(d){this.ic||(kq(this.fa,this.ea,d),Zb(this.fa,Mq,u(this.bl,this)),this.fa.start())},this),b=this.getUrl();if(Rd(b).Aa.Nb("profiling")){var c=new aj;c.xc="blob";c.Wa("complete",u(function(){this.oi=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=qd(oq(lj(c)));var e=d!==rd.toString()}catch(g){}a(e?d:b)},this));c.Tc("ready",u(c.Qa,c));c.send(b,"GET")}else a(b)}};h.Jg=0;h.ic=!1;h.fa=null;
|
|
h.Qi=null;h.Ia=null;h.oi=null;var Mq=["load","abort","error"],Nq=function(){z.call(this);this.Da=!1};q(Nq,z);Nq.prototype.setActive=function(a){this.Da=a};Nq.prototype.isActive=function(){return this.Da};var Iq=function(a,b){Dq.call(this,a,b)};q(Iq,Dq);Iq.prototype.Ye=function(){return new Nq};Iq.prototype.zd=function(a){a.Qa()};Iq.prototype.Of=function(a){return!a.Ra&&!a.isActive()};var Oq=function(a,b,c,d,e){Lc.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.vg=new Gc;this.Pf=1;this.ta=e||null};q(Oq,Lc);h=Oq.prototype;h.Le=function(a){return $b(this,"tileevent",a)};h.Zf=function(a){hc(a)};
|
|
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=Mc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ta&&this.ta.isEnabled()&&(a+="&profiling=1");b=[b,this.wb,this.token].join("/");this.wb+=1;c=ph("DIV",{id:b});var d=(new Date).getTime()/1E3;this.yb.push(b);Al(Jq).send(b,a,d,u(this.al,this,c,b));Ip(this);return c};h.Lc=function(){return this.yb.length};
|
|
h.releaseTile=function(a){Al(Jq).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.vg.remove(b);""!==a.id&&(this.ug.remove(a.id),this.ta&&this.ta.rl(a.id))};h.setOpacity=function(a){this.Pf=a;var b=this.vg.Ca();sc(b,function(c){Tp(c,a)})};
|
|
h.al=function(a,b,c,d){"error"==c.type?(Za(this.yb,b),this.ug.add(b),this.dispatchEvent(c)):(Za(this.yb,b),c.target&&"load"==c.type&&(c=c.target,this.vg.add(c),1!=this.Pf&&Tp(c,this.Pf),a.appendChild(c)),Ip(this));this.ta&&null!==d&&this.ta.Ok(b,d)};w("ee.MapLayerOverlay",Oq);Oq.prototype.removeTileCallback=Oq.prototype.Zf;Oq.prototype.addTileCallback=Oq.prototype.Le;Oq.prototype.getTile=Oq.prototype.getTile;Oq.prototype.setOpacity=Oq.prototype.setOpacity;Oq.prototype.releaseTile=Oq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.Collection.prototype.sort ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.data.getWorkloadTag ee.data.getList ee.data.createAsset ee.data.getAssetAcl ee.data.listAssets ee.data.getFeatureViewTilesKey ee.data.listFeatures ee.data.makeTableDownloadUrl ee.data.getInfo ee.data.getTableDownloadId ee.data.makeDownloadUrl ee.data.getThumbId ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.computeValue ee.data.createAssetHome ee.data.authenticateViaPopup ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.listImages ee.data.setAssetProperties ee.data.listBuckets ee.data.setAssetAcl ee.data.deleteAsset ee.data.resetWorkloadTag ee.data.cancelOperation ee.data.listOperations ee.data.getTaskList ee.data.copyAsset ee.data.updateAsset ee.data.getTaskListWithLimit ee.data.getAsset ee.data.renameAsset ee.data.newTaskId ee.data.cancelTask ee.data.authenticate ee.data.createFolder ee.data.getOperation ee.data.setWorkloadTag ee.data.getMapId ee.data.startTableIngestion ee.data.setDefaultWorkloadTag ee.data.startProcessing ee.data.updateTask ee.data.getTileUrl ee.data.authenticateViaOauth ee.data.getTaskStatus ee.data.startIngestion ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.InitState ee.apply ee.Algorithms ee.initialize ee.call ee.TILE_SIZE ee.reset ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList ee.Filter.gt ee.Filter ee.Filter.prototype.not ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.bounds ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Image ee.Image.prototype.expression ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.prototype.getInfo ee.Image.rgb ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.Image.prototype.select ee.Image.cat ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encodeCloudApi ee.Serializer.encode ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name"],["name","namedArgs"],["name","var_args"],"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".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".split(" "),
|
|
["collection","opt_description","opt_assetId","opt_maxVertices"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["classifier","opt_description","opt_assetId"],"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".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
"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".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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".split(" "),["property","opt_ascending"],["geometry"],["max","opt_property","opt_ascending"],["algorithm","opt_dropNulls"],["filter"],["start","opt_end"],["name","operator","value"],["algorithm","opt_first"],["opt_callback"],["legacy"],["func","var_args"],["callback"],[],["params","opt_callback"],
|
|
["value","opt_path","opt_force","opt_properties","opt_callback"],["assetId","opt_callback"],["parent","opt_params","opt_callback"],["params","opt_callback"],["asset","params","opt_callback"],["id"],["id","opt_callback"],["params","opt_callback"],["id"],["params","opt_callback"],["rootId","opt_callback"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["id"],["obj","opt_callback"],["requestedId","opt_callback"],["opt_success","opt_error"],["opt_callback"],["privateKey",
|
|
"opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["parent","opt_params","opt_callback"],["assetId","properties","opt_callback"],["project","opt_callback"],["assetId","aclUpdate","opt_callback"],["assetId","opt_callback"],["opt_resetDefault"],["operationName","opt_callback"],["opt_limit","opt_callback"],["opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["assetId","asset","updateFields","opt_callback"],["opt_limit","opt_callback"],["id","opt_callback"],
|
|
["sourceId","destinationId","opt_callback"],["opt_count","opt_callback"],["taskId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["path","opt_force","opt_callback"],["operationName","opt_callback"],["tag"],["params","opt_callback"],["taskId","request","opt_callback"],["tag"],["taskId","params","opt_callback"],["taskId","action","opt_callback"],["id","x","y","z"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
["taskId","opt_callback"],["taskId","request","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","namedArgs"],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","var_args"],[],[],["var_args"],[],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["args","opt_column"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],
|
|
["propertySelectors","opt_newProperties","opt_retainGeometry"],["name","value"],["name","value"],["var_args"],["var_args"],["name","value"],["start","opt_end"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","value"],["opt_filter"],[],["name","operator","value"],["name","value"],["name","value"],["geometry","opt_errorMargin"],["namedArgs"],["var_args"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj",
|
|
"opt_geodesic","opt_maxError","opt_evenOdd"],[],[],["coords","opt_proj"],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["opt_args"],["expression","opt_map"],["opt_visParams","opt_callback"],["var_args"],["params","opt_callback"],["opt_callback"],["r","g","b"],
|
|
["params","opt_callback"],["params","opt_callback"],["geometry"],["var_args"],["var_args"],["opt_visParams","opt_callback"],["opt_callback"],[],["selectors","opt_names"],["args"],["params","opt_callback"],["params","opt_callback"],["list"],["number"],["obj"],["obj"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["string"],[]];[cn,dn,Q,Io,Ko,Eo,Jo,Mo,Oo,Go,Lo,No,Co,Ho,Fo,W.prototype.sort,W.prototype.wh,W.prototype.limit,W.prototype.map,W.prototype.filter,W.prototype.kf,W.prototype.lf,W.prototype.Lh,
|
|
N.prototype.U,N.prototype.ua,N.prototype.Fg,N.prototype.evaluate,Hl,wm,Cm,Hm,xm,Ll,Ml,Wl,um,Vl,Ul,Ol,Lm,Tl,Pl,Ql,Rl,Nl,Bm,Bl,Am,El,ym,Km,zm,Jm,Gm,Pm,dm,cm,bm,Fm,Im,am,um,Em,Xl,gm,Dl,Dm,em,Nm,Jl,tm,Om,nm,fm,Kl,Cl,$l,rm,ep,jp,hp,ip,np,op,Bp,Dp,zp,xp,Cp,256,Ap,T.prototype.set,Zj,X,X.prototype.getMap,X.prototype.U,Y,Y.prototype.U,Y.prototype.qb,Y.prototype.getMap,Y.prototype.select,Wn,Tn,Xn,Yn,Un,Zn,$n,Vn,V,V.prototype.sc,bo,Rn,Sn,ao,Ym.prototype.apply,Ym.prototype.call,Bn,Fn,In,U.prototype.ke,U.prototype.xg,
|
|
xn,Cn,Gn,U.prototype.ua,Jn,U,An,Hn,M,M.prototype.l,M.prototype.getMap,M.prototype.ui,M.prototype.qb,M.prototype.U,po,M.prototype.uf,M.prototype.Hd,M.prototype.clip,M.prototype.select,qo,Z.prototype.getMap,Z.prototype.U,Z.prototype.first,Z.prototype.select,Z,Z.prototype.sf,Z.prototype.vf,ro,Vo,Wk,el,al,Vk,Yk,fl,gl,Yo,rp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|