mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
714 lines
324 KiB
JavaScript
714 lines
324 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.Yi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Yi};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.ob=null}function c(f){return f instanceof e?f:new e(function(l){l(f)})}if(a)return a;b.prototype.Jg=function(f){if(null==this.ob){this.ob=[];var l=this;this.Kg(function(){l.bl()})}this.ob.push(f)};var d=k.setTimeout;b.prototype.Kg=function(f){d(f,0)};b.prototype.bl=function(){for(;this.ob&&this.ob.length;){var f=this.ob;this.ob=[];for(var l=0;l<f.length;++l){var m=f[l];f[l]=null;try{m()}catch(p){this.Tk(p)}}}this.ob=null};b.prototype.Tk=function(f){this.Kg(function(){throw f;
|
|
})};var e=function(f){this.S=0;this.ha=void 0;this.vc=[];this.Mh=!1;var l=this.af();try{f(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.af=function(){function f(p){return function(v){m||(m=!0,p.call(l,v))}}var l=this,m=!1;return{resolve:f(this.yl),reject:f(this.ag)}};e.prototype.yl=function(f){if(f===this)this.ag(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.Al(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.xl(f):this.Dh(f)}};e.prototype.xl=function(f){var l=void 0;try{l=f.then}catch(m){this.ag(m);return}"function"==typeof l?this.Bl(l,f):this.Dh(f)};e.prototype.ag=function(f){this.Di(2,f)};e.prototype.Dh=function(f){this.Di(1,f)};e.prototype.Di=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.zl();this.dl()};e.prototype.zl=function(){var f=this;d(function(){if(f.sl()){var l=k.console;"undefined"!==
|
|
typeof l&&l.error(f.ha)}},1)};e.prototype.sl=function(){if(this.Mh)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.dl=function(){if(null!=this.vc){for(var f=0;f<this.vc.length;++f)g.Jg(this.vc[f]);
|
|
this.vc=null}};var g=new b;e.prototype.Al=function(f){var l=this.af();f.yd(l.resolve,l.reject)};e.prototype.Bl=function(f,l){var m=this.af();try{f.call(l,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(f,l){function m(C,Q){return"function"==typeof C?function(oa){try{p(C(oa))}catch(R){v(R)}}:Q}var p,v,y=new e(function(C,Q){p=C;v=Q});this.yd(m(f,p),m(l,v));return y};e.prototype.catch=function(f){return this.then(void 0,f)};e.prototype.yd=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.vc?g.Jg(m):this.vc.push(m);this.Mh=!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).yd(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;Q--;0==Q&&p(C)}}var C=[],Q=0;do C.push(void 0),Q++,c(m.value).yd(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.Ol=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.Wd=this.Wd};z.prototype.Ra=!1;z.prototype.Qa=function(){this.Ra||(this.Ra=!0,this.J())};z.prototype.J=function(){if(this.Wd)for(;this.Wd.length;)this.Wd.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.xd=!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.kd=0};Tb.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.ga[g];a||(a=this.ga[g]=[],this.kd++);var f=Ub(a,b,d,e);-1<f?(b=a[f],c||(b.xd=!1)):(b=new Bb(b,this.src,g,!!d,e),b.xd=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.kd--),!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.kd--))};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.kd--}};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.pe(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.kd&&(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.xd&&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.Rk=this;this.Sf=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.Sf;if(b){var c=[];for(var d=1;b;b=b.Sf)c.push(b),B(1E3>++d,"infinite loop")}b=this.Rk;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.J=function(){D.L.J.call(this);this.Ha&&this.Ha.cd();this.Sf=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.pe=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.xd&&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.Wk=a[r.Symbol.iterator]();this.nl=b};lc.prototype[Symbol.iterator]=function(){return this};lc.prototype.next=function(){var a=this.Wk.next();return{value:a.done?void 0:this.nl.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.sf=a};tc.prototype.Ca=function(){return new uc(this.sf())};tc.prototype[Symbol.iterator]=function(){return new vc(this.sf())};
|
|
tc.prototype.yg=function(){return new vc(this.sf())};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.yg=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.md=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.sb=function(){yc(this);return this.K.concat()};h.Ob=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.md=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.md++,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.md++);this.A[a]=b};h.addAll=function(a){if(a instanceof xc)for(var b=a.sb(),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.sb(),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)).yg()};h.values=function(){return wc(this.Ca(!1)).yg()};
|
|
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.md,d=this,e=new pc;e.next=function(){if(c!=d.md)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.sb&&"function"==typeof a.sb)return a.sb();
|
|
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.Ob(Hc(a))};h.contains=function(a){return this.A.Ob(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.ol=b;this.token=c;this.zb=[];this.wg=new Gc;this.xb=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.ol,c,e,b.y].join("/")};Lc.prototype.Lc=function(){return this.zb.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:{},Ql:{},keys:[],La:{},s:{},H:{},th:!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 Q=void 0;if(f.hasOwnProperty(v)){if(g.th&&0===C.length)continue;Q=$c(C,b,c,d,!0,!0,f[v])}else if(l.hasOwnProperty(v))Q=$c(C,b,c,d,!1,!0,l[v]);else if(m.hasOwnProperty(v))y.Uc=m[v],Q=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.th&&0===C.length)continue;
|
|
Q=$c(C,b,c,d,!0,!1)}else Q=C instanceof Oc?null:C;c(v,e,Q)}}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.pg=a===cd&&b||"";this.Ck=dd};ed.prototype.rc=!0;ed.prototype.qc=function(){return this.pg};ed.prototype.toString=function(){return"Const{"+this.pg+"}"};var fd=function(a){if(a instanceof ed&&a.constructor===ed&&a.Ck===dd)return a.pg;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.Uf=a};hd.prototype.toString=function(){return this.Uf+""};hd.prototype.rc=!0;hd.prototype.qc=function(){return this.Uf.toString()};
|
|
var id=function(a){if(a instanceof hd&&a.constructor===hd)return a.Uf;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.Tf=a};pd.prototype.toString=function(){return this.Tf.toString()};pd.prototype.rc=!0;pd.prototype.qc=function(){return this.Tf.toString()};var qd=function(a){if(a instanceof pd&&a.constructor===pd)return a.Tf;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.pi="";this.rc=!0};td.prototype.qc=function(){return this.pi};td.prototype.toString=function(){return this.pi.toString()};new td;var ud={},vd=function(){if(ud!==ud)throw Error("SafeStyleSheet is not meant to be built directly");this.oi="";this.rc=!0};vd.prototype.toString=function(){return this.oi.toString()};vd.prototype.qc=function(){return this.oi};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.ni=a;this.rc=!0};xd.prototype.qc=function(){return this.ni.toString()};xd.prototype.toString=function(){return this.ni.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.fc=this.vb="";this.wc=null;this.Rb=this.Yb="";this.ya=this.jl=!1;if(a instanceof Ed){this.ya=a.ya;Fd(this,a.vb);var b=a.fc;Gd(this);this.fc=b;b=a.hb;Gd(this);this.hb=b;Hd(this,a.wc);this.setPath(a.getPath());Id(this,a.Aa.clone());a=a.Rb;Gd(this);this.Rb=a}else a&&(b=String(a).match(Cd))?(this.ya=!1,Fd(this,b[1]||"",!0),a=b[2]||"",Gd(this),this.fc=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.Rb=Jd(a)):(this.ya=!1,this.Aa=new Kd(null,this.ya))};
|
|
Ed.prototype.toString=function(){var a=[],b=this.vb;b&&a.push(Ld(b,Md,!0),":");var c=this.hb;if(c||"file"==b)a.push("//"),(b=this.fc)&&a.push(Ld(b,Md,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.wc,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.Rb)&&a.push("#",Ld(c,Pd));return a.join("")};
|
|
Ed.prototype.resolve=function(a){var b=this.clone(),c=!!a.vb;c?Fd(b,a.vb):c=!!a.fc;if(c){var d=a.fc;Gd(b);b.fc=d}else c=!!a.hb;c?(d=a.hb,Gd(b),b.hb=d):c=null!=a.wc;d=a.getPath();if(c)Hd(b,a.wc);else if(c=!!a.Yb){if("/"!=d.charAt(0))if(this.hb&&!this.Yb)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.Rb;c&&(a=a.Rb,Gd(b),b.Rb=a);return b};Ed.prototype.clone=function(){return new Ed(this)};
|
|
var Fd=function(a,b,c){Gd(a);a.vb=c?Jd(b,!0):b;a.vb&&(a.vb=a.vb.replace(/:$/,""))},Hd=function(a,b){Gd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.wc=b}else a.wc=null};Ed.prototype.getPath=function(){return this.Yb};Ed.prototype.setPath=function(a,b){Gd(this);this.Yb=b?Jd(a,!0):a;return this};var Id=function(a,b,c){Gd(a);b instanceof Kd?(a.Aa=b,a.Aa.hg(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.jl)throw Error("Tried to modify a read-only Uri");};Ed.prototype.hg=function(a){this.ya=a;this.Aa&&this.Aa.hg(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.Ob=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.sb=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.Ob(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.Ob(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.hg=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.Rl(b);return null==a?null:a};var Zd=function(a,b){this.M=a;this.hl=void 0===b?null:b};q(Zd,Xd);var $d=function(a,b,c){var d=Yd(a.hl,b);if(null==d)return c;d.Sl();return c.then(function(e){d.Ul(e);return e},function(e){d.Tl(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,Ii:b.Ii&&b.Ii},c))};var ae={ve:"ADMIN_READ",xe:"DATA_READ",ye:"DATA_WRITE",gk:"LOG_TYPE_UNSPECIFIED",values:function(){return[ae.gk,ae.ve,ae.ye,ae.xe]}},be={ve:"ADMIN_READ",aj:"ADMIN_WRITE",xe:"DATA_READ",ye:"DATA_WRITE",pk:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[be.pk,be.ve,be.aj,be.xe,be.ye]}},ce={hj:"AUTO_APPEAL_ELIGIBLE",lj:"CAPABILITY_GROUP_UNSPECIFIED",nj:"CLOUD_ALPHA",Ij:"EXTERNAL",Zj:"INTERNAL",ck:"LIMITED",qk:"PREAUTHORIZED",sk:"PREVIEW",Cc:"PUBLIC",uk:"RESTRICTED",values:function(){return[ce.lj,
|
|
ce.Cc,ce.Zj,ce.Ij,ce.ck,ce.qk,ce.sk,ce.nj,ce.uk,ce.hj]}},de={Zi:"ADMIN_ACTIVITY",yj:"DATA_ACCESS",Kk:"UNSPECIFIED_LOG_NAME",values:function(){return[de.Kk,de.Zi,de.yj]}},fe={Bj:"DEFAULT_OBJECT_ACL",Cc:"PUBLIC",Fk:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[fe.Fk,fe.Cc,fe.Bj]}},ge={dj:"APPROVER",fj:"ATTRIBUTION",gj:"AUTHORITY",sj:"CREDENTIALS_TYPE",tj:"CREDS_ASSERTION",bk:"JUSTIFICATION_TYPE",Ee:"NO_ATTR",wk:"SECURITY_REALM",values:function(){return[ge.Ee,ge.gj,ge.fj,ge.wk,ge.dj,ge.bk,
|
|
ge.sj,ge.tj]}},he={Gj:"DISCHARGED",Hj:"EQUALS",Tj:"IN",ik:"NOT_EQUALS",jk:"NOT_IN",lk:"NO_OP",values:function(){return[he.lk,he.Hj,he.ik,he.Tj,he.jk,he.Gj]}},ie={ak:"IP",hk:"NAME",Ee:"NO_ATTR",tk:"REGION",xk:"SERVICE",values:function(){return[ie.Ee,ie.tk,ie.xk,ie.hk,ie.ak]}},je={ek:"LOG_FAIL_CLOSED",fk:"LOG_MODE_UNSPECIFIED",values:function(){return[je.fk,je.ek]}},ke={mj:"CLASSIFIER",Kj:"FEATURE_VIEW",Mj:"FOLDER",Qj:"IMAGE",Rj:"IMAGE_COLLECTION",Ek:"TABLE",Ie:"TYPE_UNSPECIFIED",values:function(){return[ke.Ie,
|
|
ke.Qj,ke.Rj,ke.Ek,ke.Mj,ke.mj,ke.Kj]}},le={Ab:"AUTO_JPEG_PNG",Bb:"GEO_TIFF",Cb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Db:"JPEG",Eb:"MULTI_BAND_IMAGE_TILE",Fb:"NPY",Gb:"PNG",Hb:"TF_RECORD_IMAGE",Ib:"ZIPPED_GEO_TIFF",Jb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[le.Cb,le.Db,le.Gb,le.Ab,le.Fb,le.Bb,le.Hb,le.Eb,le.Ib,le.Jb]}},me={Lk:"V1",Mk:"V2",Nk:"VERSION_UNSPECIFIED",values:function(){return[me.Nk,me.Lk,me.Mk]}},ne={ij:"BOOLEAN",Aj:"DATE_TIME",Bc:"DOUBLE",Yj:"INTEGER",Bk:"STRING",Ie:"TYPE_UNSPECIFIED",
|
|
values:function(){return[ne.Ie,ne.Yj,ne.ij,ne.Bc,ne.Bk,ne.Aj]}},oe={Lj:"FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED",Cc:"PUBLIC",values:function(){return[oe.Lj,oe.Cc]}},pe={Ab:"AUTO_JPEG_PNG",Bb:"GEO_TIFF",Cb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Db:"JPEG",Eb:"MULTI_BAND_IMAGE_TILE",Fb:"NPY",Gb:"PNG",Hb:"TF_RECORD_IMAGE",Ib:"ZIPPED_GEO_TIFF",Jb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[pe.Cb,pe.Db,pe.Gb,pe.Ab,pe.Fb,pe.Bb,pe.Hb,pe.Eb,pe.Ib,pe.Jb]}},qe={Pj:"HORIZONTAL",mk:"ORIENTATION_UNSPECIFIED",
|
|
Ok:"VERTICAL",values:function(){return[qe.mk,qe.Pj,qe.Ok]}},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={Ab:"AUTO_JPEG_PNG",Bb:"GEO_TIFF",Cb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Db:"JPEG",Eb:"MULTI_BAND_IMAGE_TILE",Fb:"NPY",Gb:"PNG",Hb:"TF_RECORD_IMAGE",Ib:"ZIPPED_GEO_TIFF",Jb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ue.Cb,ue.Db,ue.Gb,ue.Ab,ue.Fb,ue.Bb,ue.Hb,ue.Eb,ue.Ib,ue.Jb]}},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={Sj:"IMPORT_MODE_UNSPECIFIED",Uj:"INGEST",Pk:"VIRTUAL",values:function(){return[we.Sj,we.Uj,we.Pk]}},xe={jj:"CANCELLED",kj:"CANCELLING",Jj:"FAILED",nk:"PENDING",vk:"RUNNING",Ak:"STATE_UNSPECIFIED",Dk:"SUCCEEDED",values:function(){return[xe.Ak,xe.nk,xe.vk,xe.kj,xe.Dk,xe.jj,xe.Jj]}},ye={yk:"SEVERE",zk:"SEVERITY_UNSPECIFIED",Qk:"WARNING",values:function(){return[ye.zk,ye.Qk,ye.yk]}},ze={Bc:"DOUBLE",FLOAT:"FLOAT",INT:"INT",rk:"PRECISION_UNSPECIFIED",values:function(){return[ze.rk,
|
|
ze.INT,ze.FLOAT,ze.Bc]}},Ae={ej:"ASCENDING",Ej:"DESCENDING",Fj:"DIRECTION_UNSPECIFIED",values:function(){return[Ae.Fj,Ae.ej,Ae.Ej]}},Be={bj:"ALLOW",cj:"ALLOW_WITH_LOG",Cj:"DENY",Dj:"DENY_WITH_LOG",dk:"LOG",kk:"NO_ACTION",values:function(){return[Be.kk,Be.bj,Be.cj,Be.Cj,Be.Dj,Be.dk]}},Ce={we:"CSV",ze:"GEO_JSON",Be:"KML",Ce:"KMZ",Fe:"SHP",Ge:"TABLE_FILE_FORMAT_UNSPECIFIED",He:"TF_RECORD_TABLE",values:function(){return[Ce.Ge,Ce.we,Ce.ze,Ce.Be,Ce.Ce,Ce.Fe,Ce.He]}},De={we:"CSV",ze:"GEO_JSON",Be:"KML",
|
|
Ce:"KMZ",Fe:"SHP",Ge:"TABLE_FILE_FORMAT_UNSPECIFIED",He:"TF_RECORD_TABLE",values:function(){return[De.Ge,De.we,De.ze,De.Be,De.Ce,De.Fe,De.He]}},Ee={oj:"COLUMN_DATA_TYPE_LONG",pj:"COLUMN_DATA_TYPE_NUMERIC",qj:"COLUMN_DATA_TYPE_STRING",rj:"COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[Ee.rj,Ee.qj,Ee.pj,Ee.oj]}},Fe={uj:"CSV_COLUMN_DATA_TYPE_LONG",vj:"CSV_COLUMN_DATA_TYPE_NUMERIC",wj:"CSV_COLUMN_DATA_TYPE_STRING",xj:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[Fe.xj,Fe.wj,Fe.vj,
|
|
Fe.uj]}},Ge={Nj:"GLOBALLY_CONSISTENT",Oj:"HIGHER_DENSITY",Jk:"UNKNOWN_THINNING_STRATEGY",values:function(){return[Ge.Jk,Ge.Nj,Ge.Oj]}},He={Ab:"AUTO_JPEG_PNG",Bb:"GEO_TIFF",Cb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Db:"JPEG",Eb:"MULTI_BAND_IMAGE_TILE",Fb:"NPY",Gb:"PNG",Hb:"TF_RECORD_IMAGE",Ib:"ZIPPED_GEO_TIFF",Jb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[He.Cb,He.Db,He.Gb,He.Ab,He.Fb,He.Bb,He.Hb,He.Eb,He.Ib,He.Jb]}},Ie={MAX:"MAX",Za:"MEAN",ab:"MEDIAN",MIN:"MIN",bb:"MODE",cb:"PYRAMIDING_POLICY_UNSPECIFIED",
|
|
eb:"SAMPLE",values:function(){return[Ie.cb,Ie.Za,Ie.eb,Ie.MIN,Ie.MAX,Ie.bb,Ie.ab]}},Je={zj:"DATA_TYPE_UNSPECIFIED",Bc:"DOUBLE",FLOAT:"FLOAT",Vj:"INT16",Wj:"INT32",Xj:"INT8",Gk:"UINT16",Hk:"UINT32",Ik:"UINT8",values:function(){return[Je.zj,Je.Xj,Je.Ik,Je.Vj,Je.Gk,Je.Wj,Je.Hk,Je.FLOAT,Je.Bc]}},Ke={Ae:"GIF",De:"MP4",Je:"VIDEO_FILE_FORMAT_UNSPECIFIED",Ke:"VP9",values:function(){return[Ke.Je,Ke.De,Ke.Ae,Ke.Ke]}},Le={Ae:"GIF",De:"MP4",Je:"VIDEO_FILE_FORMAT_UNSPECIFIED",Ke:"VP9",values:function(){return[Le.Je,
|
|
Le.De,Le.Ae,Le.Ke]}},Me=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.dg?null:a.dg;this.h.shearX=null==a.ig?null:a.ig;this.h.translateX=null==a.Ag?null:a.Ag;this.h.shearY=null==a.jg?null:a.jg;this.h.scaleY=null==a.eg?null:a.eg;this.h.translateY=null==a.Bg?null:a.Bg};q(Me,E);Me.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
k.Object.defineProperties(Me.prototype,{dg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleX")?F(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?F(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},ig:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?F(this,"shearX"):null},set:function(a){this.h.shearX=a}},jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
F(this,"shearY"):null},set:function(a){this.h.shearY=a}},Ag:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?F(this,"translateX"):null},set:function(a){this.h.translateX=a}},Bg:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?F(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var Ne=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.cg?null:a.cg;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.df?null:a.df;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(Ne,E);
|
|
Ne.prototype.i=function(){return{P:{arguments:Oe},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
k.Object.defineProperties(Ne.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}},df:{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}},cg:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?F(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return G(this,"sourceCodeUri")?F(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
var Oe=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.sd?null:a.sd;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(Oe,E);Oe.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
k.Object.defineProperties(Oe.prototype,{sd:{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 Pe=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Pe,E);Pe.prototype.i=function(){return{P:{values:Qe},keys:["values"]}};
|
|
k.Object.defineProperties(Pe.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Re=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.Ci?null:a.Ci;this.h.auditLogConfigs=null==a.Ng?null:a.Ng};q(Re,E);Re.prototype.i=function(){return{P:{auditLogConfigs:Se},keys:["auditLogConfigs","service"]}};
|
|
k.Object.defineProperties(Re.prototype,{Ng:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?F(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},Ci:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var Se=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Th?null:a.Th;this.h.exemptedMembers=null==a.uh?null:a.uh;this.h.ignoreChildExemptions=null==a.Ih?null:a.Ih};q(Se,E);Se.prototype.i=function(){return{H:{logType:ae},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
k.Object.defineProperties(Se.prototype,{uh:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},Ih:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Th:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?F(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var Te=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.ki?null:a.ki};q(Te,E);Te.prototype.i=function(){return{H:{permissionType:be},keys:["permissionType"]}};k.Object.defineProperties(Te.prototype,{ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Ue=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(Ue,E);Ue.prototype.i=function(){return{keys:["append","overwrite","table"]}};
|
|
k.Object.defineProperties(Ue.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 Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.bigqueryDestination=null==a.Pe?null:a.Pe};q(Ve,E);Ve.prototype.i=function(){return{keys:["bigqueryDestination"],s:{bigqueryDestination:Ue}}};k.Object.defineProperties(Ve.prototype,{Pe:{configurable:!0,enumerable:!0,get:function(){return G(this,"bigqueryDestination")?F(this,"bigqueryDestination"):null},set:function(a){this.h.bigqueryDestination=a}}});
|
|
var We=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.role?null:a.role;this.h.members=null==a.Wb?null:a.Wb;this.h.condition=null==a.bh?null:a.bh;this.h.bindingId=null==a.Qg?null:a.Qg};q(We,E);We.prototype.i=function(){return{keys:["bindingId","condition","members","role"],s:{condition:Xe}}};
|
|
k.Object.defineProperties(We.prototype,{Qg:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindingId")?F(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},bh:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?F(this,"condition"):null},set:function(a){this.h.condition=a}},Wb:{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 Ye=function(){this.h={}};q(Ye,E);Ye.prototype.i=function(){return{keys:[]}};var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Wg?null:a.Wg};q(Ze,E);Ze.prototype.i=function(){return{H:{capabilities:ce},keys:["capabilities"]}};
|
|
k.Object.defineProperties(Ze.prototype,{Wg:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?F(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var $e=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga};q($e,E);$e.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:af}}};
|
|
k.Object.defineProperties($e.prototype,{Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Sh?null:a.Sh;this.h.authorizationLoggingOptions=null==a.Og?null:a.Og};q(bf,E);bf.prototype.i=function(){return{H:{logName:de},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:Te}}};
|
|
k.Object.defineProperties(bf.prototype,{Og:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.h.logName=a}}});
|
|
var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.Se?null:a.Se;this.h.filenamePrefix=null==a.wa?null:a.wa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.Te?null:a.Te};q(cf,E);cf.prototype.i=function(){return{H:{permissions:fe},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
k.Object.defineProperties(cf.prototype,{Se:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.h.bucket=a}},Te:{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(cf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return fe}}});var df=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris};q(df,E);df.prototype.i=function(){return{keys:["uris"]}};
|
|
k.Object.defineProperties(df.prototype,{uris:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.h.uris=a}}});var ef=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(ef,E);ef.prototype.i=function(){return{keys:["expression","workloadTag"],s:{expression:ff}}};
|
|
k.Object.defineProperties(ef.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 gf=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(gf,E);gf.prototype.i=function(){return{keys:["result"]}};
|
|
k.Object.defineProperties(gf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.h.result=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.Gh?null:a.Gh;this.h.sys=null==a.Mi?null:a.Mi;this.h.svc=null==a.Li?null:a.Li;this.h.op=null==a.ii?null:a.ii;this.h.values=null==a.values?null:a.values};q(hf,E);hf.prototype.i=function(){return{H:{iam:ge,op:he,sys:ie},keys:["iam","op","svc","sys","values"]}};
|
|
k.Object.defineProperties(hf.prototype,{Gh:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?F(this,"iam"):null},set:function(a){this.h.iam=a}},ii:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.h.op=a}},Li:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.h.svc=a}},Mi:{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 jf=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Pb?null:a.Pb;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ca?null:a.ca};q(jf,E);jf.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
k.Object.defineProperties(jf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Pb:{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 kf=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Wh?null:a.Wh;this.h.field=null==a.wh?null:a.wh;this.h.customFields=null==a.mh?null:a.mh};q(kf,E);kf.prototype.i=function(){return{P:{customFields:lf},keys:["customFields","field","metric"]}};
|
|
k.Object.defineProperties(kf.prototype,{mh:{configurable:!0,enumerable:!0,get:function(){return G(this,"customFields")?F(this,"customFields"):null},set:function(a){this.h.customFields=a}},wh:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?F(this,"field"):null},set:function(a){this.h.field=a}},Wh:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var lf=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(lf,E);lf.prototype.i=function(){return{keys:["name","value"]}};k.Object.defineProperties(lf.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 mf=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Rh?null:a.Rh};q(mf,E);mf.prototype.i=function(){return{H:{logMode:je},keys:["logMode"]}};k.Object.defineProperties(mf.prototype,{Rh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.h.logMode=a}}});var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(nf,E);
|
|
nf.prototype.i=function(){return{keys:["values"],La:{values:{ja:Qe,oa:!1,pa:!0,qa:!1}}}};k.Object.defineProperties(nf.prototype,{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.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(of,E);of.prototype.i=function(){return{keys:["max","min"]}};
|
|
k.Object.defineProperties(of.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 pf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.rf?null:a.rf;this.h.filenamePrefix=null==a.wa?null:a.wa};q(pf,E);pf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
k.Object.defineProperties(pf.prototype,{wa:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},rf:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var qf=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.Fd?null:a.Fd;this.h.tableLocation=null==a.Ni?null:a.Ni;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;this.h.tilesets=null==a.tilesets?null:a.tilesets};q(qf,E);
|
|
qf.prototype.i=function(){return{P:{bands:rf,tilesets:sf},H:{type:ke},keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilesets 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:df,expression:ff,featureViewAssetLocation:tf,quota:uf,tableLocation:vf,tilestoreLocation:wf}}};
|
|
k.Object.defineProperties(qf.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}},Fd:{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}},Ni:{configurable:!0,enumerable:!0,get:function(){return G(this,"tableLocation")?F(this,"tableLocation"):
|
|
null},set:function(a){this.h.tableLocation=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},tilestoreLocation:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreLocation")?F(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.h.type=a}},updateTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});var af=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(af,E);af.prototype.i=function(){return{keys:["name","overwrite"]}};
|
|
k.Object.defineProperties(af.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 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.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.ca?null:a.ca;this.h.visualizationOptions=null==a.hc?null:a.hc};q(xf,E);xf.prototype.i=function(){return{H:{fileFormat:le},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:ff,visualizationOptions:yf}}};
|
|
k.Object.defineProperties(xf.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}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var zf=function(){this.h={}};q(zf,E);zf.prototype.i=function(){return{keys:[]}};
|
|
var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.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(Af,E);Af.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkers requestId workloadTag".split(" "),s:{assetExportOptions:$e,expression:ff}}};
|
|
k.Object.defineProperties(Af.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 Bf=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.Of?null:a.Of;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(Bf,E);
|
|
Bf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers requestId workloadTag".split(" "),s:{assetExportOptions:Cf,expression:ff,fileExportOptions:Df,grid:Ef}}};
|
|
k.Object.defineProperties(Bf.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}},Of:{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 Ff=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.dc?null:a.dc;this.h.tileExportOptions=null==a.cc?null:a.cc;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(Ff,E);
|
|
Ff.prototype.i=function(){return{keys:"description expression maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "),s:{expression:ff,tileExportOptions:Df,tileOptions:Gf}}};
|
|
k.Object.defineProperties(Ff.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}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},dc:{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 Hf=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.Gd?null:a.Gd;this.h.bigqueryExportOptions=null==a.ud?null:a.ud;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.Ub?null:a.Ub;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(Hf,E);
|
|
Hf.prototype.i=function(){return{keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy requestId selectors workloadTag".split(" "),s:{assetExportOptions:If,bigqueryExportOptions:Ve,expression:ff,featureViewExportOptions:Jf,fileExportOptions:Kf,policy:Lf}}};
|
|
k.Object.defineProperties(Hf.prototype,{ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},ud:{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}},Gd:{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}},Ub:{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 Mf=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.dc?null:a.dc;this.h.tileExportOptions=null==a.cc?null:a.cc;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(Mf,E);
|
|
Mf.prototype.i=function(){return{H:{version:me},keys:"description expression maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "),s:{expression:ff,tileExportOptions:Nf,tileOptions:Gf,videoOptions:Of}}};
|
|
k.Object.defineProperties(Mf.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}},cc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},dc:{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 Pf=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(Pf,E);
|
|
Pf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkers requestId videoOptions workloadTag".split(" "),s:{expression:ff,fileExportOptions:Nf,videoOptions:Of}}};
|
|
k.Object.defineProperties(Pf.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 Xe=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(Xe,E);Xe.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
k.Object.defineProperties(Xe.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 ff=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(ff,E);ff.prototype.i=function(){return{keys:["result","values"],La:{values:{ja:Qe,oa:!1,pa:!0,qa:!1}}}};
|
|
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}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var Qf=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(Qf,E);Qf.prototype.i=function(){return{keys:["geometry","properties","type"]}};
|
|
k.Object.defineProperties(Qf.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 Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Mb?null:a.Mb;this.h.mapName=null==a.mapName?null:a.mapName;this.h.name=null==a.name?null:a.name;this.h.visualizationExpression=null==a.Dg?null:a.Dg};q(Rf,E);Rf.prototype.i=function(){return{keys:["asset","mapName","name","visualizationExpression"],s:{visualizationExpression:ff}}};
|
|
k.Object.defineProperties(Rf.prototype,{Mb:{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}},Dg:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationExpression")?
|
|
F(this,"visualizationExpression"):null},set:function(a){this.h.visualizationExpression=a}}});var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewDestination=null==a.kf?null:a.kf;this.h.ingestionTimeParameters=null==a.sc?null:a.sc};q(Jf,E);Jf.prototype.i=function(){return{keys:["featureViewDestination","ingestionTimeParameters"],s:{featureViewDestination:Sf,ingestionTimeParameters:Tf}}};
|
|
k.Object.defineProperties(Jf.prototype,{kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewDestination")?F(this,"featureViewDestination"):null},set:function(a){this.h.featureViewDestination=a}},sc:{configurable:!0,enumerable:!0,get:function(){return G(this,"ingestionTimeParameters")?F(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Uf=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(Uf,E);Uf.prototype.i=function(){return{H:{type:ne},keys:["name","type"]}};k.Object.defineProperties(Uf.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 Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.assetVersion=null==a.Ig?null:a.Ig;this.h.permissions=null==a.permissions?null:a.permissions};q(Sf,E);Sf.prototype.i=function(){return{H:{permissions:oe},keys:["assetVersion","name","permissions"]}};
|
|
k.Object.defineProperties(Sf.prototype,{Ig:{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(Sf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return oe}}});var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.thinningOptions=null==a.sg?null:a.sg;this.h.rankingOptions=null==a.Yf?null:a.Yf;this.h.prerenderingOptions=null==a.mi?null:a.mi};q(Tf,E);Tf.prototype.i=function(){return{keys:["prerenderingOptions","rankingOptions","thinningOptions"],s:{prerenderingOptions:Vf,rankingOptions:Wf,thinningOptions:Xf}}};
|
|
k.Object.defineProperties(Tf.prototype,{mi:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderingOptions")?F(this,"prerenderingOptions"):null},set:function(a){this.h.prerenderingOptions=a}},Yf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankingOptions")?F(this,"rankingOptions"):null},set:function(a){this.h.rankingOptions=a}},sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningOptions")?F(this,"thinningOptions"):null},set:function(a){this.h.thinningOptions=
|
|
a}}});var tf=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(tf,E);tf.prototype.i=function(){return{keys:["assetOptions","location"],s:{assetOptions:Yf}}};
|
|
k.Object.defineProperties(tf.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 Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.featureViewAttributes=null==a.vh?null:a.vh;this.h.ingestionTimeParameters=null==a.sc?null:a.sc};q(Yf,E);
|
|
Yf.prototype.i=function(){return{P:{featureViewAttributes:Uf},keys:["featureViewAttributes","ingestionTimeParameters"],s:{ingestionTimeParameters:Tf}}};
|
|
k.Object.defineProperties(Yf.prototype,{vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"featureViewAttributes")?F(this,"featureViewAttributes"):null},set:function(a){this.h.featureViewAttributes=a}},sc:{configurable:!0,enumerable:!0,get:function(){return G(this,"ingestionTimeParameters")?F(this,"ingestionTimeParameters"):null},set:function(a){this.h.ingestionTimeParameters=a}}});
|
|
var Zf=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(Zf,E);Zf.prototype.i=function(){return{H:{fileFormat:pe,orientation:qe},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:ff,grid:Ef}}};
|
|
k.Object.defineProperties(Zf.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 uf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.sizeBytes?null:a.sizeBytes;this.h.maxSizeBytes=null==a.Vb?null:a.Vb;this.h.assetCount=null==a.Ne?null:a.Ne;this.h.maxAssets=null==a.Lf?null:a.Lf};q(uf,E);
|
|
uf.prototype.i=function(){return{keys:["assetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
k.Object.defineProperties(uf.prototype,{Ne:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetCount")?F(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssets")?F(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},Vb:{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 $f=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.kc?null:a.kc;this.h.body=null==a.body?null:a.body};q($f,E);$f.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
k.Object.defineProperties($f.prototype,{kc:{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 ag=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(ag,E);ag.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],La:{arguments:{ja:Qe,oa:!1,pa:!0,qa:!1}}}};
|
|
k.Object.defineProperties(ag.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 bg=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Ue?null:a.Ue;this.h.tileDimensions=null==a.bc?null:a.bc;this.h.skipEmptyFiles=null==a.mg?null:a.mg;this.h.tileSize=null==a.tileSize?null:a.tileSize;this.h.noData=null==a.Pf?null:a.Pf};q(bg,E);bg.prototype.i=function(){return{keys:["cloudOptimized","noData","skipEmptyFiles","tileDimensions","tileSize"],s:{noData:cg,tileDimensions:dg}}};
|
|
k.Object.defineProperties(bg.prototype,{Ue:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?F(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return G(this,"noData")?F(this,"noData"):null},set:function(a){this.h.noData=a}},mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},bc:{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 eg=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(eg,E);eg.prototype.i=function(){return{keys:["options"],s:{options:fg}}};
|
|
k.Object.defineProperties(eg.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.h.options=a}}});var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.xi?null:a.xi};q(fg,E);fg.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};
|
|
k.Object.defineProperties(fg.prototype,{xi:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});var dg=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(dg,E);dg.prototype.i=function(){return{keys:["height","width"]}};
|
|
k.Object.defineProperties(dg.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 gg=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(gg,E);gg.prototype.i=function(){return{keys:["x","y"]}};
|
|
k.Object.defineProperties(gg.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 Cf=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.Vf?null:a.Vf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Cf,E);
|
|
Cf.prototype.i=function(){return{H:{pyramidingPolicy:re,pyramidingPolicyOverrides:se},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],La:{pyramidingPolicyOverrides:{ja:null,oa:!1,pa:!1,qa:!1}},s:{earthEngineDestination:af}}};
|
|
k.Object.defineProperties(Cf.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}},Vf:{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 rf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.dataType=null==a.dataType?null:a.dataType;this.h.grid=null==a.grid?null:a.grid;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData;this.h.tilesetId=null==a.mb?null:a.mb;this.h.tilesetBandIndex=null==a.hd?null:a.hd};q(rf,E);
|
|
rf.prototype.i=function(){return{P:{tilesets:hg},H:{pyramidingPolicy:te},keys:"dataType grid id missingData pyramidingPolicy tilesetBandIndex tilesetId tilesets".split(" "),s:{dataType:ig,grid:Ef,missingData:jg}}};
|
|
k.Object.defineProperties(rf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.h.dataType=a}},grid:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
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}},hd:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},mb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},
|
|
set:function(a){this.h.tilesetId=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});var Df=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.Hd?null:a.Hd;this.h.tfRecordOptions=null==a.je?null:a.je;this.h.fileFormat=null==a.F?null:a.F};q(Df,E);
|
|
Df.prototype.i=function(){return{H:{fileFormat:ue},keys:["cloudStorageDestination","driveDestination","fileFormat","geoTiffOptions","tfRecordOptions"],s:{cloudStorageDestination:cf,driveDestination:pf,geoTiffOptions:bg,tfRecordOptions:kg}}};
|
|
k.Object.defineProperties(Df.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}},Hd:{configurable:!0,enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},je:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var lg=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.ld?null:a.ld;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Kf?null:a.Kf;this.h.footprint=null==a.Ch?null:a.Ch;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.Zh?null:a.Zh;this.h.skipMetadataRead=null==a.Fi?null:a.Fi};q(lg,E);lg.prototype.i=function(){return{P:{bands:mg,maskBands:ng,tilesets:sf},H:{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:og,missingData:jg}}};
|
|
k.Object.defineProperties(lg.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}},Ch:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.h.footprint=a}},Kf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"maskBands")?F(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Zh:{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}},Fi:{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}},ld:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.uris?null:a.uris;this.h.affineTransform=null==a.Kb?null:a.Kb;this.h.dimensions=null==a.dimensions?null:a.dimensions};q(pg,E);pg.prototype.i=function(){return{keys:["affineTransform","dimensions","uris"],s:{affineTransform:Me,dimensions:dg}}};
|
|
k.Object.defineProperties(pg.prototype,{Kb:{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 qg=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.zf?null:a.zf;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId;this.h.mode=null==a.mode?null:a.mode};q(qg,E);qg.prototype.i=function(){return{H:{mode:we},keys:["description","imageManifest","mode","overwrite","requestId"],s:{imageManifest:lg}}};
|
|
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}},zf:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},mode:{configurable:!0,enumerable:!0,get:function(){return G(this,"mode")?F(this,"mode"):null},set:function(a){this.h.mode=a}},overwrite:{configurable:!0,enumerable:!0,
|
|
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 rg=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.rg?null:a.rg;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(rg,E);rg.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:sg}}};
|
|
k.Object.defineProperties(rg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.h.description=a}},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}},rg:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tableManifest")?F(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Dc?null:a.Dc};q(tg,E);tg.prototype.i=function(){return{P:{algorithms:Ne},keys:["algorithms"]}};k.Object.defineProperties(tg.prototype,{Dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"algorithms")?F(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var ug=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(ug,E);ug.prototype.i=function(){return{P:{assets:qf},keys:["assets","nextPageToken"]}};
|
|
k.Object.defineProperties(ug.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 vg=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(vg,E);vg.prototype.i=function(){return{P:{features:Qf},keys:["features","nextPageToken","type"]}};
|
|
k.Object.defineProperties(vg.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 wg=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(wg,E);wg.prototype.i=function(){return{P:{operations:xg},keys:["nextPageToken","operations"]}};
|
|
k.Object.defineProperties(wg.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 yg=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.nh?null:a.nh;this.h.cloudAudit=null==a.Yg?null:a.Yg};q(yg,E);yg.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:bf,counter:kf,dataAccess:mf}}};
|
|
k.Object.defineProperties(yg.prototype,{Yg:{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}},nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?F(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(jg,E);jg.prototype.i=function(){return{keys:["values"]}};k.Object.defineProperties(jg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.h.values=a}}});var zg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Pb?null:a.Pb};q(zg,E);zg.prototype.i=function(){return{keys:["destinationName"]}};
|
|
k.Object.defineProperties(zg.prototype,{Pb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.floatValue=null==a.pf?null:a.pf;this.h.integerValue=null==a.Va?null:a.Va};q(cg,E);cg.prototype.i=function(){return{keys:["floatValue","integerValue"]}};
|
|
k.Object.defineProperties(cg.prototype,{pf:{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 xg=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(xg,E);xg.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:Ag}}};
|
|
k.Object.defineProperties(xg.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 Bg=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.bf?null:a.bf;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.Hi?null:
|
|
a.Hi;this.h.attempt=null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.fg?null:a.fg;this.h.destinationUris=null==a.ef?null:a.ef;this.h.notifications=null==a.di?null:a.di;this.h.batchEecuUsageSeconds=null==a.td?null:a.td};q(Bg,E);Bg.prototype.i=function(){return{P:{notifications:Cg,stages:Dg},H:{state:xe},keys:"attempt batchEecuUsageSeconds createTime description destinationUris endTime notifications priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
k.Object.defineProperties(Bg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return G(this,"attempt")?F(this,"attempt"):null},set:function(a){this.h.attempt=a}},td:{configurable:!0,enumerable:!0,get:function(){return G(this,"batchEecuUsageSeconds")?F(this,"batchEecuUsageSeconds"):null},set:function(a){this.h.batchEecuUsageSeconds=a}},bf:{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}},ef:{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}},di:{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}},fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},Hi:{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 Cg=function(a){a=void 0===a?{}:a;this.h={};this.h.severity=null==a.severity?null:a.severity;this.h.topic=null==a.Si?null:a.Si;this.h.detail=null==a.detail?null:a.detail};q(Cg,E);Cg.prototype.i=function(){return{H:{severity:ye},keys:["detail","severity","topic"]}};
|
|
k.Object.defineProperties(Cg.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}},Si:{configurable:!0,enumerable:!0,get:function(){return G(this,"topic")?F(this,"topic"):null},set:function(a){this.h.topic=a}}});
|
|
var Dg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.ah?null:a.ah;this.h.totalWorkUnits=null==a.Ti?null:a.Ti;this.h.description=null==a.description?null:a.description};q(Dg,E);Dg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
k.Object.defineProperties(Dg.prototype,{ah:{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}},Ti:{configurable:!0,enumerable:!0,get:function(){return G(this,"totalWorkUnits")?F(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var ig=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.rh?null:a.rh};q(ig,E);ig.prototype.i=function(){return{H:{precision:ze},keys:["dimensionsCount","precision","range"],s:{range:of}}};
|
|
k.Object.defineProperties(ig.prototype,{rh:{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 og=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.points?null:a.points;this.h.bandId=null==a.Pg?null:a.Pg};q(og,E);og.prototype.i=function(){return{P:{points:gg},keys:["bandId","points"]}};
|
|
k.Object.defineProperties(og.prototype,{Pg:{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 Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.cf?null:a.cf;this.h.crsWkt=null==a.hh?null:a.hh;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Kb?null:a.Kb};q(Ef,E);Ef.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:Me,dimensions:dg}}};
|
|
k.Object.defineProperties(Ef.prototype,{Kb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},cf:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},hh:{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 Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.vd?null:a.vd;this.h.auditConfigs=null==a.Mg?null:a.Mg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.hf?null:a.hf};q(Lf,E);Lf.prototype.i=function(){return{P:{auditConfigs:Re,bindings:We,rules:Eg},keys:["auditConfigs","bindings","etag","rules","version"]}};
|
|
k.Object.defineProperties(Lf.prototype,{Mg:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},vd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.h.bindings=a}},hf:{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 Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.prerenderTiles=null==a.li?null:a.li;this.h.tileLimiting=null==a.Oi?null:a.Oi};q(Vf,E);Vf.prototype.i=function(){return{keys:["prerenderTiles","tileLimiting"],s:{tileLimiting:Fg}}};
|
|
k.Object.defineProperties(Vf.prototype,{li:{configurable:!0,enumerable:!0,get:function(){return G(this,"prerenderTiles")?F(this,"prerenderTiles"):null},set:function(a){this.h.prerenderTiles=a}},Oi:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileLimiting")?F(this,"tileLimiting"):null},set:function(a){this.h.tileLimiting=a}}});var Gg=function(a){a=void 0===a?{}:a;this.h={};this.h.attributeName=null==a.attributeName?null:a.attributeName};q(Gg,E);Gg.prototype.i=function(){return{keys:["attributeName"]}};
|
|
k.Object.defineProperties(Gg.prototype,{attributeName:{configurable:!0,enumerable:!0,get:function(){return G(this,"attributeName")?F(this,"attributeName"):null},set:function(a){this.h.attributeName=a}}});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(){this.h={}};q(Jg,E);Jg.prototype.i=function(){return{keys:[]}};
|
|
var Kg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByAttributeRule=null==a.Xd?null:a.Xd;this.h.rankByMinVisibleLodRule=null==a.ti?null:a.ti;this.h.rankByGeometryTypeRule=null==a.Yd?null:a.Yd;this.h.rankByMinZoomLevelRule=null==a.Zd?null:a.Zd;this.h.direction=null==a.direction?null:a.direction};q(Kg,E);
|
|
Kg.prototype.i=function(){return{H:{direction:Ae},keys:["direction","rankByAttributeRule","rankByGeometryTypeRule","rankByMinVisibleLodRule","rankByMinZoomLevelRule"],s:{rankByAttributeRule:Gg,rankByGeometryTypeRule:Hg,rankByMinVisibleLodRule:Ig,rankByMinZoomLevelRule:Jg}}};
|
|
k.Object.defineProperties(Kg.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return G(this,"direction")?F(this,"direction"):null},set:function(a){this.h.direction=a}},Xd:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByAttributeRule")?F(this,"rankByAttributeRule"):null},set:function(a){this.h.rankByAttributeRule=a}},Yd:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByGeometryTypeRule")?F(this,"rankByGeometryTypeRule"):null},set:function(a){this.h.rankByGeometryTypeRule=
|
|
a}},ti:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinVisibleLodRule")?F(this,"rankByMinVisibleLodRule"):null},set:function(a){this.h.rankByMinVisibleLodRule=a}},Zd:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByMinZoomLevelRule")?F(this,"rankByMinZoomLevelRule"):null},set:function(a){this.h.rankByMinZoomLevelRule=a}}});
|
|
var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.zOrderRankingRule=null==a.Fg?null:a.Fg;this.h.thinningRankingRule=null==a.tg?null:a.tg};q(Wf,E);Wf.prototype.i=function(){return{keys:["thinningRankingRule","zOrderRankingRule"],s:{thinningRankingRule:Lg,zOrderRankingRule:Lg}}};
|
|
k.Object.defineProperties(Wf.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningRankingRule")?F(this,"thinningRankingRule"):null},set:function(a){this.h.thinningRankingRule=a}},Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zOrderRankingRule")?F(this,"zOrderRankingRule"):null},set:function(a){this.h.zOrderRankingRule=a}}});
|
|
var Lg=function(a){a=void 0===a?{}:a;this.h={};this.h.rankByOneThingRule=null==a.Xf?null:a.Xf;this.h.pseudoRandomTiebreaking=null==a.si?null:a.si};q(Lg,E);Lg.prototype.i=function(){return{P:{rankByOneThingRule:Kg},keys:["pseudoRandomTiebreaking","rankByOneThingRule"]}};
|
|
k.Object.defineProperties(Lg.prototype,{si:{configurable:!0,enumerable:!0,get:function(){return G(this,"pseudoRandomTiebreaking")?F(this,"pseudoRandomTiebreaking"):null},set:function(a){this.h.pseudoRandomTiebreaking=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"rankByOneThingRule")?F(this,"rankByOneThingRule"):null},set:function(a){this.h.rankByOneThingRule=a}}});
|
|
var Eg=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.Kh?null:a.Kh;this.h.notIn=null==a.ci?null:a.ci;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Qh?null:a.Qh};q(Eg,E);Eg.prototype.i=function(){return{P:{conditions:hf,logConfig:yg},H:{action:Be},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
k.Object.defineProperties(Eg.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}},Kh:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.h["in"]=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},ci:{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 Mg=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(Mg,E);Mg.prototype.i=function(){return{keys:["policy","updateMask"],s:{policy:Lf}}};
|
|
k.Object.defineProperties(Mg.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 Ag=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(Ag,E);Ag.prototype.i=function(){return{keys:["code","details","message"],La:{details:{ja:null,oa:!0,pa:!1,qa:!1}}}};
|
|
k.Object.defineProperties(Ag.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 Ng=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(Ng,E);Ng.prototype.i=function(){return{H:{fileFormat:De},keys:["expression","fileFormat","filename","name","selectors"],s:{expression:ff}}};
|
|
k.Object.defineProperties(Ng.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 If=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ga?null:a.Ga};q(If,E);If.prototype.i=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:af}}};
|
|
k.Object.defineProperties(If.prototype,{Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Kf=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(Kf,E);
|
|
Kf.prototype.i=function(){return{H:{fileFormat:Ce},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:cf,driveDestination:pf}}};
|
|
k.Object.defineProperties(Kf.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 vf=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.Ei?null:a.Ei;this.h.primaryGeometryColumn=null==a.Zc?null:a.Zc};q(vf,E);vf.prototype.i=function(){return{keys:["paths","primaryGeometryColumn","shardCount","sizeBytes"]}};
|
|
k.Object.defineProperties(vf.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}},Ei:{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 sg=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.ld?null:a.ld;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.ih?null:a.ih;this.h.policy=null==a.jb?null:a.jb;this.h.columnDataTypeOverrides=null==a.Zg?null:a.Zg};q(sg,E);
|
|
sg.prototype.i=function(){return{P:{sources:Og},H:{columnDataTypeOverrides:Ee,csvColumnDataTypeOverrides:Fe},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:Lf}}};
|
|
k.Object.defineProperties(sg.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"columnDataTypeOverrides")?F(this,"columnDataTypeOverrides"):null},set:function(a){this.h.columnDataTypeOverrides=a}},ih:{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}},ld:{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.charset=null==a.charset?null:a.charset;this.h.maxErrorMeters=null==a.Ub?null:a.Ub;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.Wi?null:a.Wi;this.h.yColumn=null==a.Xi?null:a.Xi;this.h.dateFormat=null==a.oh?null:a.oh;this.h.csvDelimiter=null==
|
|
a.jh?null:a.jh;this.h.csvQualifier=null==a.kh?null:a.kh};q(Og,E);Og.prototype.i=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
k.Object.defineProperties(Og.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}},jh:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},kh:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},oh:{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}},Ub:{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}},Wi:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},Xi:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.bc?null:a.bc;this.h.marginDimensions=null==a.Jf?null:a.Jf;this.h.compress=null==a.Xe?null:a.Xe;this.h.maxSizeBytes=null==a.Vb?null:a.Vb;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.ie?null:a.ie;this.h.sequenceData=null==a.gg?null:a.gg;this.h.collapseBands=null==a.Ve?null:a.Ve;this.h.maxMaskedRatio=null==a.Nf?null:a.Nf};q(kg,E);
|
|
kg.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:dg,tileDimensions:dg}}};
|
|
k.Object.defineProperties(kg.prototype,{Ve:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?F(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Xe:{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}},Jf:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},gg:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?F(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},ie:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},bc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.maxFeaturesPerTile=null==a.Mf?null:a.Mf;this.h.thinningStrategy=null==a.ug?null:a.ug};q(Xf,E);Xf.prototype.i=function(){return{H:{thinningStrategy:Ge},keys:["maxFeaturesPerTile","thinningStrategy"]}};
|
|
k.Object.defineProperties(Xf.prototype,{Mf:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFeaturesPerTile")?F(this,"maxFeaturesPerTile"):null},set:function(a){this.h.maxFeaturesPerTile=a}},ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"thinningStrategy")?F(this,"thinningStrategy"):null},set:function(a){this.h.thinningStrategy=a}}});
|
|
var Pg=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.hc?null:a.hc;this.h.grid=null==a.grid?null:a.grid;this.h.filenamePrefix=null==a.wa?null:a.wa};q(Pg,E);
|
|
Pg.prototype.i=function(){return{H:{fileFormat:He},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),s:{expression:ff,grid:Ef,visualizationOptions:yf}}};
|
|
k.Object.defineProperties(Pg.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}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});var Fg=function(a){a=void 0===a?{}:a;this.h={};this.h.maxPrerenderZoom=null==a.Vh?null:a.Vh;this.h.minVerticesPerTile=null==a.ai?null:a.ai;this.h.neighborDepth=null==a.bi?null:a.bi;this.h.minFeaturesPerTile=null==a.Yh?null:a.Yh};q(Fg,E);Fg.prototype.i=function(){return{keys:["maxPrerenderZoom","minFeaturesPerTile","minVerticesPerTile","neighborDepth"]}};
|
|
k.Object.defineProperties(Fg.prototype,{Vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPrerenderZoom")?F(this,"maxPrerenderZoom"):null},set:function(a){this.h.maxPrerenderZoom=a}},Yh:{configurable:!0,enumerable:!0,get:function(){return G(this,"minFeaturesPerTile")?F(this,"minFeaturesPerTile"):null},set:function(a){this.h.minFeaturesPerTile=a}},ai:{configurable:!0,enumerable:!0,get:function(){return G(this,"minVerticesPerTile")?F(this,"minVerticesPerTile"):null},set:function(a){this.h.minVerticesPerTile=
|
|
a}},bi:{configurable:!0,enumerable:!0,get:function(){return G(this,"neighborDepth")?F(this,"neighborDepth"):null},set:function(a){this.h.neighborDepth=a}}});
|
|
var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.ff?null:a.ff;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.og?null:a.og;this.h.skipEmpty=null==a.lg?null:a.lg;this.h.mapsApiKey=null==a.If?null:a.If;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.stride=null==a.stride?null:a.stride;this.h.zoomSubset=null==a.Gg?null:a.Gg};q(Gf,E);
|
|
Gf.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey scale skipEmpty startZoom stride zoomSubset".split(" "),s:{dimensions:dg,zoomSubset:Qg}}};
|
|
k.Object.defineProperties(Gf.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},ff:{configurable:!0,enumerable:!0,get:function(){return G(this,"endZoom")?F(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},If:{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}},lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmpty")?F(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=a}},og:{configurable:!0,enumerable:!0,get:function(){return G(this,"startZoom")?F(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},stride:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?F(this,"stride"):null},set:function(a){this.h.stride=
|
|
a}},Gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});var sf=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.Ji?null:a.Ji;this.h.subdatasetSuffix=null==a.Ki?null:a.Ki};q(sf,E);
|
|
sf.prototype.i=function(){return{P:{sources:pg},H:{dataType:Je},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
k.Object.defineProperties(sf.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}},Ji:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},Ki:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var mg=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.mb?null:a.mb;this.h.tilesetBandIndex=null==a.hd?null:a.hd;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(mg,E);mg.prototype.i=function(){return{H:{pyramidingPolicy:Ie},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:jg}}};
|
|
k.Object.defineProperties(mg.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}},hd:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},mb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.mb?null:a.mb;this.h.bandIds=null==a.ca?null:a.ca};q(ng,E);ng.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
k.Object.defineProperties(ng.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},mb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var wf=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(wf,E);
|
|
wf.prototype.i=function(){return{P:{sources:Rg},keys:["pathPrefix","sources"]}};k.Object.defineProperties(wf.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 Rg=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(Rg,E);Rg.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
k.Object.defineProperties(Rg.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 hg=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.xh?null:a.xh;this.h.firstTileIndex=null==a.zh?null:a.zh;this.h.tilesPerFile=null==a.Qi?null:a.Qi};q(hg,E);hg.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
k.Object.defineProperties(hg.prototype,{xh:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},zh:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},Qi:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var Sg=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Mb?null:a.Mb;this.h.updateMask=null==a.updateMask?null:a.updateMask};q(Sg,E);Sg.prototype.i=function(){return{keys:["asset","updateMask"],s:{asset:qf}}};
|
|
k.Object.defineProperties(Sg.prototype,{Mb:{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 Qe=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.pb?null:a.pb;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.Lb?null:a.Lb;this.h.valueReference=null==a.Na?null:a.Na};q(Qe,E);
|
|
Qe.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:Pe,dictionaryValue:nf,functionDefinitionValue:$f,functionInvocationValue:ag}}};
|
|
k.Object.defineProperties(Qe.prototype,{Lb:{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}},pb:{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 Nf=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(Nf,E);Nf.prototype.i=function(){return{H:{fileFormat:Ke},keys:["cloudStorageDestination","driveDestination","fileFormat"],s:{cloudStorageDestination:cf,driveDestination:pf}}};
|
|
k.Object.defineProperties(Nf.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 Of=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(Of,E);Of.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
k.Object.defineProperties(Of.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 Tg=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(Tg,E);Tg.prototype.i=function(){return{H:{fileFormat:Le},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:ff,grid:Ef,videoOptions:Of}}};
|
|
k.Object.defineProperties(Tg.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 yf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Wf?null:a.Wf;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(yf,E);
|
|
yf.prototype.i=function(){return{P:{ranges:of},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
k.Object.defineProperties(yf.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}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?F(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var Qg=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(Qg,E);Qg.prototype.i=function(){return{keys:["end","start"]}};
|
|
k.Object.defineProperties(Qg.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",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"},Ug=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Ug.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:tg})};var Vg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Vg.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:Ze})};Vg.prototype.Sd=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:ug})};
|
|
var Wg=function(a){this.m="v1";this.j=new Zd(a,null)};h=Wg.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:qf})};
|
|
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:zf})};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:qf})};
|
|
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:qf})};h.Sd=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:ug})};
|
|
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:qf})};var Xg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Xg.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:xg})};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.featureView.create",path:"/"+this.m+"/"+a+"/featureView",u:H(c,d),G:Rf})};var Zg=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
Zg.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:Zf})};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.image.export",path:"/"+this.m+"/"+a+"/image:export",u:H(c,d),G:xg})};$g.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:xg})};
|
|
var ah=function(a){this.m="v1";this.j=new Zd(a,null)};ah.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:xg})};var bh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
bh.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:xf})};var ch=function(a){this.m="v1";this.j=new Zd(a,null)};h=ch.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:zf})};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:zf})};
|
|
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:xg})};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:wg})};
|
|
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:xg})};var dh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
dh.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:xg})};dh.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:xg})};
|
|
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.tables.create",path:"/"+this.m+"/"+a+"/tables",u:H(c,d),G:Ng})};var fh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
fh.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:Pg})};
|
|
var gh=function(a){this.m="v1";this.j=new Zd(a,null)},hh=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:gf})},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.video.export",path:"/"+this.m+"/"+a+"/video:export",u:H(c,d),G:xg})};var jh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
jh.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:xg})};var kh=function(a){this.m="v1";this.j=new Zd(a,null)};
|
|
kh.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:Tg})};var lh=function(){};lh.prototype.send=function(a,b){Vd(a);return(void 0).then(function(c){return b?Uc(b,c):c})};var mh=function(a,b){this.kl=100;this.Zk=a;this.wl=b;this.Vd=0;this.Nd=null};mh.prototype.get=function(){if(0<this.Vd){this.Vd--;var a=this.Nd;this.Nd=a.next;a.next=null}else a=this.Zk();return a};mh.prototype.put=function(a){this.wl(a);this.Vd<this.kl&&(this.Vd++,a.next=this.Nd,this.Nd=a)};var oh=function(a,b){Db(b,function(c,d){c&&"object"==typeof c&&c.rc&&(c=c.qc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:nh.hasOwnProperty(d)?a.setAttribute(nh[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},nh={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"},qh=function(a,b,c){return ph(document,arguments)},ph=function(a,b){var c=b[1],d=rh(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):oh(d,c));2<b.length&&sh(a,d,b,2);return d},sh=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)}}},rh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},th=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},uh=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},vh=function(a){this.Bd=a||r.document||document};h=vh.prototype;
|
|
h.getElementsByTagName=function(a,b){return(b||this.Bd).getElementsByTagName(String(a))};h.Yk=function(a,b,c){return ph(this.Bd,arguments)};h.createElement=function(a){return rh(this.Bd,a)};h.createTextNode=function(a){return this.Bd.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){sh(uh(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=th;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 wh,xh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!qb("Presto")&&(a=function(){var e=rh(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.Xg;c.Xg=null;e()}};return function(e){d.next={Xg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function yh(a){r.setTimeout(function(){throw a;},0)};var zh=function(){this.se=this.ic=null};zh.prototype.add=function(a,b){var c=Ah.get();c.set(a,b);this.se?this.se.next=c:(B(!this.ic),this.ic=c);this.se=c};zh.prototype.remove=function(){var a=null;this.ic&&(a=this.ic,this.ic=this.ic.next,this.ic||(this.se=null),a.next=null);return a};var Ah=new mh(function(){return new Bh},function(a){return a.reset()}),Bh=function(){this.next=this.scope=this.qf=null};Bh.prototype.set=function(a,b){this.qf=a;this.scope=b;this.next=null};
|
|
Bh.prototype.reset=function(){this.next=this.scope=this.qf=null};var Ch=r.console&&r.console.createTask?r.console.createTask.bind(r.console):void 0,Dh=Ch?Symbol("consoleTask"):void 0;function Eh(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(!Ch||a[Ka(Dh)])return a;var d=Ch(a.name||b);c[Ka(Dh)]=d;return c};var Fh,Gh=!1,Hh=new zh,Jh=function(a,b){Fh||Ih();Gh||(Fh(),Gh=!0);a=Eh(a,"goog.async.run");Hh.add(a,b)},Ih=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);Fh=function(){a.then(Kh)}}else Fh=function(){var b=Kh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&(hb&&ob&&0<ob.brands.length||!qb("Edge"))&&r.Window.prototype.setImmediate==r.setImmediate?(wh||(wh=xh()),wh(b)):r.setImmediate(b)}},Kh=function(){for(var a;a=Hh.remove();){try{a.qf.call(a.scope)}catch(b){yh(b)}Ah.put(a)}Gh=
|
|
!1};var Lh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Oh=function(a){this.S=0;this.ha=void 0;this.lc=this.fb=this.W=null;this.Kd=this.jf=!1;if(a!=nc)try{var b=this;a.call(void 0,function(c){Mh(b,2,c)},function(c){if(!(c instanceof Nh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Mh(b,3,c)})}catch(c){Mh(this,3,c)}},Ph=function(){this.next=this.context=this.uc=this.Xb=this.Nb=null;this.qd=!1};Ph.prototype.reset=function(){this.context=this.uc=this.Xb=this.Nb=null;this.qd=!1};
|
|
var Qh=new mh(function(){return new Ph},function(a){a.reset()}),Rh=function(a,b,c){var d=Qh.get();d.Xb=a;d.uc=b;d.context=c;return d};Oh.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 Sh(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Oh.prototype.$goog_Thenable=!0;
|
|
Oh.prototype.Fl=function(a,b){return Sh(this,null,a,b)};Oh.prototype.catch=Oh.prototype.Fl;Oh.prototype.cancel=function(a){if(0==this.S){var b=new Nh(a);Jh(function(){Th(this,b)},this)}};
|
|
var Th=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.qd||(d++,f.Nb==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.S&&1==d?Th(c,b):(g?(d=g,B(c.fb),B(null!=d),d.next==c.lc&&(c.lc=d),d.next=d.next.next):Uh(c),Vh(c,e,3,b)))}a.W=null}else Mh(a,3,b)},Xh=function(a,b){a.fb||2!=a.S&&3!=a.S||Wh(a);B(null!=b.Xb);a.lc?a.lc.next=b:a.fb=b;a.lc=b},Sh=function(a,b,c,d){b&&(b=Eh(b,"goog.Promise.then"));c&&(c=Eh(c,"goog.Promise.then"));var e=Rh(null,null,null);e.Nb=new Oh(function(g,
|
|
f){e.Xb=b?function(l){try{var m=b.call(d,l);g(m)}catch(p){f(p)}}:g;e.uc=c?function(l){try{var m=c.call(d,l);void 0===m&&l instanceof Nh?f(l):g(m)}catch(p){f(p)}}:f});e.Nb.W=a;Xh(a,e);return e.Nb};Oh.prototype.Hl=function(a){B(1==this.S);this.S=0;Mh(this,2,a)};Oh.prototype.Il=function(a){B(1==this.S);this.S=0;Mh(this,3,a)};
|
|
var Mh=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.Hl,g=a.Il;if(d instanceof Oh){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?");Xh(d,Rh(e||nc,g||null,a));var f=!0}else if(Lh(d))d.then(e,g,a),f=!0;else{if(t(d))try{var l=d.then;if("function"===typeof l){Yh(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,Wh(a),3!=b||c instanceof Nh||Zh(a,c))}},Yh=function(a,b,c,d,e){var g=!1,f=function(m){g||(g=!0,c.call(e,m))},l=function(m){g||(g=!0,d.call(e,m))};try{b.call(a,f,l)}catch(m){l(m)}},Wh=function(a){a.jf||(a.jf=!0,Jh(a.cl,a))},Uh=function(a){var b=null;a.fb&&(b=a.fb,a.fb=b.next,b.next=null);a.fb||(a.lc=null);null!=b&&B(null!=b.Xb);return b};Oh.prototype.cl=function(){for(var a;a=Uh(this);)Vh(this,a,this.S,this.ha);this.jf=!1};
|
|
var Vh=function(a,b,c,d){if(3==c&&b.uc&&!b.qd)for(;a&&a.Kd;a=a.W)a.Kd=!1;if(b.Nb)b.Nb.W=null,$h(b,c,d);else try{b.qd?b.Xb.call(b.context):$h(b,c,d)}catch(e){ai.call(null,e)}Qh.put(b)},$h=function(a,b,c){2==b?a.Xb.call(a.context,c):a.uc&&a.uc.call(a.context,c)},Zh=function(a,b){a.Kd=!0;Jh(function(){a.Kd&&ai.call(null,b)})},ai=yh,Nh=function(a){Ga.call(this,a)};x(Nh,Ga);Nh.prototype.name="cancel";var bi=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 ci=function(a,b,c){z.call(this);this.ll=null!=c?a.bind(c):a;this.il=b;this.rd=null;this.zc=!1;this.Yc=0;this.ec=null};q(ci,z);h=ci.prototype;h.nf=function(a){this.rd=arguments;this.ec||this.Yc?this.zc=!0:di(this)};h.stop=function(){this.ec&&(r.clearTimeout(this.ec),this.ec=null,this.zc=!1,this.rd=null)};h.pause=function(){this.Yc++};h.resume=function(){this.Yc--;this.Yc||!this.zc||this.ec||(this.zc=!1,di(this))};h.J=function(){z.prototype.J.call(this);this.stop()};
|
|
var di=function(a){a.ec=bi(function(){a.ec=null;a.zc&&!a.Yc&&(a.zc=!1,di(a))},a.il);var b=a.rd;a.rd=null;a.ll.apply(null,b)};function ei(){};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var fi=function(a,b){this.de=[];this.ei=a;this.ph=b||null;this.Nc=this.oc=!1;this.ha=void 0;this.kg=this.Rg=this.Qe=!1;this.oe=0;this.W=null;this.Re=0};x(fi,ei);fi.prototype.cancel=function(a){if(this.oc)this.ha instanceof fi&&this.ha.cancel();else{if(this.W){var b=this.W;delete this.W;a?b.cancel(a):(b.Re--,0>=b.Re&&b.cancel())}this.ei?this.ei.call(this.ph,this):this.kg=!0;this.oc||gi(this,new hi(this))}};fi.prototype.dh=function(a,b){this.Qe=!1;ii(this,a,b)};
|
|
var ii=function(a,b,c){a.oc=!0;a.ha=c;a.Nc=!b;ji(a)},li=function(a){if(a.oc){if(!a.kg)throw new ki(a);a.kg=!1}};fi.prototype.callback=function(a){li(this);mi(a);ii(this,!0,a)};var gi=function(a,b){li(a);mi(b);ii(a,!1,b)},mi=function(a){B(!(a instanceof fi),"An execution sequence may not be initiated with a blocking Deferred.")},ni=function(a,b,c,d){B(!a.Rg,"Blocking Deferreds can not be re-used");a.de.push([b,c,d]);a.oc&&ji(a)};
|
|
fi.prototype.then=function(a,b,c){var d,e,g=new Oh(function(f,l){e=f;d=l});ni(this,e,function(f){f instanceof hi?g.cancel():d(f);return oi},this);return g.then(a,b,c)};fi.prototype.$goog_Thenable=!0;
|
|
var pi=function(a){return Va(a.de,function(b){return"function"===typeof b[1]})},oi={},ji=function(a){if(a.oe&&a.oc&&pi(a)){var b=a.oe,c=qi[b];c&&(r.clearTimeout(c.ea),delete qi[b]);a.oe=0}a.W&&(a.W.Re--,delete a.W);b=a.ha;for(var d=c=!1;a.de.length&&!a.Qe;){var e=a.de.shift(),g=e[0],f=e[1];e=e[2];if(g=a.Nc?f:g)try{var l=g.call(e||a.ph,b);l===oi&&(l=void 0);void 0!==l&&(a.Nc=a.Nc&&(l==b||l instanceof Error),a.ha=b=l);if(Lh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Qe=!0}catch(m){b=
|
|
m,a.Nc=!0,pi(a)||(c=!0)}}a.ha=b;d&&(l=u(a.dh,a,!0),d=u(a.dh,a,!1),b instanceof fi?(ni(b,l,d),b.Rg=!0):b.then(l,d));c&&(b=new ri(b),qi[b.ea]=b,a.oe=b.ea)},ki=function(){Ga.call(this)};x(ki,Ga);ki.prototype.message="Deferred has already fired";ki.prototype.name="AlreadyCalledError";var hi=function(){Ga.call(this)};x(hi,Ga);hi.prototype.message="Deferred was canceled";hi.prototype.name="CanceledError";var ri=function(a){this.ea=r.setTimeout(u(this.Gl,this),0);this.Ed=a};
|
|
ri.prototype.Gl=function(){B(qi[this.ea],"Cannot throw an error that is not scheduled.");delete qi[this.ea];throw this.Ed;};var qi={};var wi=function(a){var b={},c=b.document||document,d=id(a).toString(),e=(new vh(c)).createElement("SCRIPT"),g={Bi:e,jd:void 0},f=new fi(si,g),l=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(l=window.setTimeout(function(){ti(e,!0);gi(f,new ui(1,"Timeout reached for loading script "+d))},m),g.jd=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(ti(e,b.Pl||!1,l),f.callback(null))};e.onerror=function(){ti(e,!0,l);gi(f,new ui(0,"Error while loading script "+
|
|
d))};g=b.attributes||{};Sb(g,{type:"text/javascript",charset:"UTF-8"});oh(e,g);zd(e,a);vi(c).appendChild(e)},vi=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},si=function(){if(this&&this.Bi){var a=this.Bi;a&&"SCRIPT"==a.tagName&&ti(a,!0,this.jd)}},ti=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){th(a)},0)},ui=function(a,b){var c=
|
|
"Jsloader error (code #"+a+")";b&&(c+=": "+b);Ga.call(this,c);this.code=a};x(ui,Ga);var xi=function(){this.be=void 0};xi.prototype.ua=function(a){var b=[];yi(this,a,b);return b.join("")};
|
|
var yi=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],yi(a,a.be?a.be.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),zi(d,c),c.push(":"),yi(a,a.be?a.be.call(b,d,e):e,c),g=","));c.push("}");
|
|
return}}switch(typeof b){case "string":zi(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);}}},Ai={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},Bi=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,zi=function(a,b){b.push('"',a.replace(Bi,function(c){var d=Ai[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),Ai[c]=d);return d}),'"')};var Ci=function(a,b){this.name=a;this.value=b};Ci.prototype.toString=function(){return this.name};var Di=new Ci("OFF",Infinity),Ei=new Ci("SEVERE",1E3),Fi=new Ci("WARNING",900),Gi=new Ci("CONFIG",700),Hi=new Ci("FINE",500),Ii=function(){this.zd=0;this.clear()},Ji;Ii.prototype.clear=function(){this.wd=Array(this.zd);this.lh=-1;this.Lh=!1};var Ki=function(a,b,c){this.reset(a||Di,b,c,void 0,void 0)};Ki.prototype.reset=function(){};
|
|
var Li=function(a,b){this.level=null;this.gl=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.Uh={uf:function(){return a}}},Mi=function(a){if(a.level)return a.level;if(a.parent)return Mi(a.parent);La("Root logger has no level set.");return Di},Ni=function(a,b){for(;a;)a.gl.forEach(function(c){c(b)}),a=a.parent},Oi=function(){this.entries={};var a=new Li("");a.level=Gi;this.entries[""]=a},Pi,Qi=function(a,b){var c=a.entries[b];if(c)return c;c=Qi(a,b.slice(0,Math.max(b.lastIndexOf("."),
|
|
0)));var d=new Li(b,c);a.entries[b]=d;c.children.push(d);return d},Ri=function(){Pi||(Pi=new Oi);return Pi},Si=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?Mi(Qi(Ri(),a.uf())):Di;d=d>=e.value}if(d){b=b||Di;d=Qi(Ri(),a.uf());"function"===typeof c&&(c=c());Ji||(Ji=new Ii);e=Ji;a=a.uf();if(0<e.zd){var g=(e.lh+1)%e.zd;e.lh=g;e.Lh?(e=e.wd[g],e.reset(b,c,a),a=e):(e.Lh=g==e.zd-1,a=e.wd[g]=new Ki(b,c,a))}else a=new Ki(b,c,a);Ni(d,a)}},Ti=function(a,b){a&&Si(a,Ei,b)},Ui=function(a,b){a&&Si(a,
|
|
Hi,b)};var Vi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Wi=function(){};Wi.prototype.Vg=null;var Yi=function(a){var b;(b=a.Vg)||(b={},Xi(a)&&(b[0]=!0,b[1]=!0),b=a.Vg=b);return b};var Zi,$i=function(){};x($i,Wi);var aj=function(a){return(a=Xi(a))?new ActiveXObject(a):new XMLHttpRequest},Xi=function(a){if(!a.Hh&&"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.Hh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Hh};Zi=new $i;var bj=function(a){D.call(this);this.headers=new Map;this.ue=a||null;this.Da=!1;this.te=this.o=null;this.Rc=this.Ph=this.Rd="";this.Tb=this.Af=this.Pd=this.gf=!1;this.Ac=0;this.ke=null;this.yc="";this.qe=this.ul=this.Vi=!1;this.Oe=this.Cg=null};x(bj,D);bj.prototype.aa=Qi(Ri(),"goog.net.XhrIo").Uh;var cj=/^https?$/i,dj=["POST","PUT"],ej=[];bj.prototype.Xk=function(){this.Qa();Za(ej,this)};bj.prototype.setTrustToken=function(a){this.Cg=a};bj.prototype.setAttributionReporting=function(a){this.Oe=a};
|
|
bj.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Rd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Rd=a;this.Rc="";this.Ph=b;this.gf=!1;this.Da=!0;this.o=this.ue?aj(this.ue):aj(Zi);this.te=this.ue?Yi(this.ue):Yi(Zi);this.o.onreadystatechange=u(this.hi,this);this.ul&&"onprogress"in this.o&&(this.o.onprogress=u(function(f){this.gi(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=u(this.gi,this)));try{Ui(this.aa,fj(this,"Opening Xhr")),
|
|
this.Af=!0,this.o.open(b,String(a),!0),this.Af=!1}catch(f){Ui(this.aa,fj(this,"Error opening Xhr: "+f.message));this.Ed(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(dj,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.yc&&(this.o.responseType=this.yc);"withCredentials"in this.o&&this.o.withCredentials!==this.Vi&&(this.o.withCredentials=this.Vi);if("setTrustToken"in this.o&&this.Cg)try{this.o.setTrustToken(this.Cg)}catch(f){Ui(this.aa,fj(this,"Error SetTrustToken: "+
|
|
f.message))}if("setAttributionReporting"in this.o&&this.Oe)try{this.o.setAttributionReporting(this.Oe)}catch(f){Ui(this.aa,fj(this,"Error SetAttributionReporting: "+f.message))}try{gj(this),0<this.Ac&&(this.qe=hj(this.o),Ui(this.aa,fj(this,"Will abort after "+this.Ac+"ms if incomplete, xhr2 "+this.qe)),this.qe?(this.o.timeout=this.Ac,this.o.ontimeout=u(this.jd,this)):this.ke=bi(this.jd,this.Ac,this)),Ui(this.aa,fj(this,"Sending request")),this.Pd=!0,this.o.send(a),this.Pd=!1}catch(f){Ui(this.aa,fj(this,
|
|
"Send error: "+f.message)),this.Ed(5,f)}};var hj=function(a){return tb&&"number"===typeof a.timeout&&void 0!==a.ontimeout};bj.prototype.jd=function(){"undefined"!=typeof ta&&this.o&&(this.Rc="Timed out after "+this.Ac+"ms, aborting",Ui(this.aa,fj(this,this.Rc)),this.dispatchEvent("timeout"),this.abort(8))};bj.prototype.Ed=function(a,b){this.Da=!1;this.o&&(this.Tb=!0,this.o.abort(),this.Tb=!1);this.Rc=b;ij(this);jj(this)};var ij=function(a){a.gf||(a.gf=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
bj.prototype.abort=function(){this.o&&this.Da&&(Ui(this.aa,fj(this,"Aborting")),this.Da=!1,this.Tb=!0,this.o.abort(),this.Tb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),jj(this))};bj.prototype.J=function(){this.o&&(this.Da&&(this.Da=!1,this.Tb=!0,this.o.abort(),this.Tb=!1),jj(this,!0));bj.L.J.call(this)};bj.prototype.hi=function(){this.Ra||(this.Af||this.Pd||this.Tb?kj(this):this.tl())};bj.prototype.tl=function(){kj(this)};
|
|
var kj=function(a){if(a.Da&&"undefined"!=typeof ta)if(a.te[1]&&4==a.tb()&&2==a.getStatus())Ui(a.aa,fj(a,"Local request error detected and ignored"));else if(a.Pd&&4==a.tb())bi(a.hi,0,a);else if(a.dispatchEvent("readystatechange"),4==a.tb()){Ui(a.aa,fj(a,"Request complete"));a.Da=!1;try{var b=a.getStatus(),c;if(!(c=Vi(b))){var d;if(d=0===b){var e=String(a.Rd).match(Cd)[1]||null;!e&&r.self&&r.self.location&&(e=r.self.location.protocol.slice(0,-1));d=!cj.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
a.dispatchEvent("success");else{try{var g=2<a.tb()?a.o.statusText:""}catch(f){Ui(a.aa,"Can not get status: "+f.message),g=""}a.Rc=g+" ["+a.getStatus()+"]";ij(a)}}finally{jj(a)}}};bj.prototype.gi=function(a,b){B("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(lj(a,"progress"));this.dispatchEvent(lj(a,b?"downloadprogress":"uploadprogress"))};
|
|
var lj=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},jj=function(a,b){if(a.o){gj(a);var c=a.o,d=a.te[0]?function(){}:null;a.o=null;a.te=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){Ti(a.aa,"Problem encountered resetting onreadystatechange: "+e.message)}}},gj=function(a){a.o&&a.qe&&(a.o.ontimeout=null);a.ke&&(r.clearTimeout(a.ke),a.ke=null)};bj.prototype.isActive=function(){return!!this.o};
|
|
bj.prototype.tb=function(){return this.o?this.o.readyState:0};bj.prototype.getStatus=function(){try{return 2<this.tb()?this.o.status:-1}catch(a){return-1}};
|
|
var mj=function(a){try{if(!a.o)return null;if("response"in a.o)return a.o.response;switch(a.yc){case "":case "text":return a.o.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.o)return a.o.mozResponseArrayBuffer}Ti(a.aa,"Response type "+a.yc+" is not supported on this browser");return null}catch(b){return Ui(a.aa,"Can not get response: "+b.message),null}};bj.prototype.getResponseHeader=function(a){if(this.o&&4==this.tb())return a=this.o.getResponseHeader(a),null===a?void 0:a};
|
|
bj.prototype.getAllResponseHeaders=function(){return this.o&&2<=this.tb()?this.o.getAllResponseHeaders()||"":""};var nj=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(", ")})},fj=function(a,b){return b+" ["+a.Ph+" "+a.Rd+" "+a.getStatus()+"]"};var oj,J=function(a,b){pj();this.callback=a;this.M=new qj(!a,b)};J.prototype.nd=function(a){this.M.Qb=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 rj=function(){return"projects/"+oj};h=J.prototype;h.Dc=function(){return new Ug(this.M)};h.assets=function(){return new Wg(this.M)};
|
|
h.Ma=function(){return new ch(this.M)};h.value=function(){return new gh(this.M)};h.maps=function(){return new bh(this.M)};h.map=function(){return new ah(this.M)};h.image=function(){return new $g(this.M)};h.table=function(){return new dh(this.M)};h.video=function(){return new ih(this.M)};var qj=function(a,b){this.sync=a=void 0===a?!1:a;this.Qb=void 0;this.yi=null!=b?b:a?5:10};q(qj,lh);
|
|
qj.prototype.send=function(a,b){var c=this;Vd(a);var d=a.path||"",e=sj()+d,g=tj(a.u||{}),f=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=uj(e,g,void 0,a.B,f,this.yi,this.Qb);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){uj(e,g,function(v,y){y?p(y):m(v)},a.B,f,c.yi,c.Qb)})).then(function(m){return b?Uc(b,m):m})};var xj=function(a){J.call(this,a);this.M=new vj;this.Qb=void 0};q(xj,J);
|
|
xj.prototype.nd=function(a){this.Qb=a;return this};
|
|
xj.prototype.send=function(a,b){var c=this,d=sj()+"/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?(uj(d,null,function(f,l){return c.callback(l?f:g(f),l)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Qb),null):g(uj(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e,void 0,this.Qb))};var vj=function(){};q(vj,lh);
|
|
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=yj();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 zj=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"))}},sj=function(){var a=Aj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Cj=function(a,b,c){var d=[];a&&(d=d.concat(Bj));
|
|
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},Ij=function(a,b,c){Dj&&Ej&&Dj({client_id:String(Ej),immediate:!0,scope:Fj.join(" "),plugin_name:"earthengine"},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Gj(function(){try{r.gapi.client.setToken(d),Hj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Hj(a,
|
|
b,d)})},yj=function(){Jj&&0<=Date.now()-Jj&&Kj();return Lj},Kj=function(){Jj=Lj=null},pj=function(a,b,c,d){null!=a?Aj=a:Mj||(Aj="https://earthengine.googleapis.com/api");null!=b?Nj=b:Mj||(Nj="https://earthengine.googleapis.com");void 0!==c&&(Oj=c);oj=null!=d?d:oj||"earthengine-legacy";Mj=!0},uj=function(a,b,c,d,e,g,f){pj();var l=Pj,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.377";"0.1.377"===
|
|
p&&(p="latest");m["x-goog-api-client"]="ee-js/"+p;p=yj();if(null!=p)m.Authorization=p;else if(c&&Dj&&Ej)return Ij(function(){Qj(l,function(){uj(a,b,c,d)})}),null;b=b?b.clone():new Kd;null!=Rj&&b.add("key",Rj);l&&(m["X-Earth-Engine-Computation-Profiling"]="1");oj&&"earthengine-legacy"!==oj&&(m["X-Goog-User-Project"]=oj);b=Sj(b,a);null!=Oj&&(m["X-XSRF-Token"]=Oj);null!=Tj&&(m["X-Earth-Engine-App-ID-Token"]=Tj);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("/")?Aj+a:a;if(c)return Uj.push(Vj(e,c,d,p,m,g,f)),Wj.nf(),null;v=function(Q,oa){this.setRequestHeader&&this.setRequestHeader(oa,Q)};var y=0;for(g=null!=g?g:5;;){var C=aj(Zi);C.open(d,e,!1);Db(m,v,C);C.send(p);if(429!=C.status||y>g)break;y++}return Xj(C.status,function(Q){try{return C.getResponseHeader(Q)}catch(oa){return null}},C.responseText,l,void 0,e,d,f)},Vj=function(a,b,c,d,e,g,f){var l=0,m={url:a,method:c,content:d,headers:e},p=Pj,v=null!=g?g:10;
|
|
m.callback=function(y){y=y.target;if(429==y.getStatus()&&l<v)return l++,setTimeout(function(){Uj.push(m);Wj.nf()},Math.min(12E4,1E3*Math.pow(2,l))),null;var C=Xj,Q=y.getStatus(),oa=u(y.getResponseHeader,y);try{var R=y.o?y.o.responseText:""}catch(Aa){Ui(y.aa,"Can not get responseText: "+Aa.message),R=""}return C(Q,oa,R,p,b,a,c,f)};return m},Qj=function(a,b){var c=Pj;try{Pj=a,b.call(void 0)}finally{Pj=c}},Xj=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 Q=[];zj(b,c,function(R,Aa,Kb){Kb=p(Kb);Kb.parsed&&(C[R]=Kb.parsed);(Aa=(Kb.parsed?"":Kb)||v(Aa))&&Q.push(R+": "+Aa)});Q.length&&(y=Q.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);},Gj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);Dj||(Dj=r.gapi.auth2.authorize);a()};if(t(r.gapi)&&t(r.gapi.auth2)&&"function"===typeof r.gapi.auth2.authorize)b();
|
|
else{for(var c=Date.now().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};wi(nd({onload:c}))}},Hj=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(Ij,.9*c);void 0!==d.unref&&d.unref();Jj=Date.now()+c}Lj=b;a&&a()}else b&&b(c.error||"Unknown error.")},tj=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},Uj=[],Wj=new ci(function(){var a=Uj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var g=Yj,f=new bj;ej.push(f);c&&f.Wa("complete",c);f.Tc("ready",f.Xk);g&&(f.Ac=Math.max(0,g));f.send(b,d,e,a)}0==Uj.length||Wj.nf()},350),Aj=null,Nj=null,Oj=null,Tj=null,Sj=oc,Lj=null,Jj=null,Ej=null,Fj=[],Dj=null,Bj=["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}"),
|
|
Rj=null,Mj=!1,Yj=0,Pj=null;w("ee.api.ListAssetsResponse",ug);w("ee.api.EarthEngineAsset",qf);w("ee.api.Operation",xg);w("ee.api.ListFeaturesResponse",vg);w("ee.api.FeatureViewLocation",tf);var Zj=function(){};Zj.prototype.Fh=function(){return null};var ak=function(){};w("ee.Encodable.SourceFrame",ak);
|
|
var bk=function(a){if(void 0===a||null===a)a=Pc;return new Qe({gb:a})},ck=function(a){return new Qe({Na:a})},dk=function(a){return new Qe({Ea:new Pe({values:a})})},ek=function(a){return new Qe({Fa:new nf({values:a})})},fk=function(a,b){return new Qe({xa:new ag({functionName:a,arguments:b})})},gk=function(a,b){return new Qe({xa:new ag({Ua:a,arguments:b})})},hk=function(a,b){return new Qe({Ta:new $f({kc:a,body:b})})},ik=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}},jk=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}},kk=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a&&"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},lk=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},ok=function(a){var b=new yf,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=mk(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=mk(a,"min","max");0!==d.length&&(b.Wf=d.map(function(g){return new of(g)}),c=!0);a=nk(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},nk=function(a){return a?a.split(",").map(Number):[]},mk=function(a,b,c){var d=nk(a[b]),e=nk(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})},pk=function(a){var b=function(f){var l={};l.description=f.description||"";l.type=f.type||"";null!=f.sd&&
|
|
(l.name=f.sd);void 0!==f.defaultValue&&(l["default"]=f.defaultValue);null!=f.optional&&(l.optional=f.optional);return l},c=function(f){var l={};l.args=(f.arguments||[]).map(b);l.description=f.description||"";l.returns=f.cg||"";null!=f.hidden&&(l.hidden=f.hidden);f.preview&&(l.preview=f.preview);f.deprecated&&(l.deprecated=f.df);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},qk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,rk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,sk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,tk=function(a){return(a=qk.exec(a))?a[1]:"earthengine-legacy"},uk=function(a){return rk.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},wk=function(a){return(a.assets||[]).map(vk)},xk=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"}},vk=function(a){var b=yk(xk(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.cf,dimensions:void 0,crs_transform:void 0};if(d.grid){if(null!=d.grid.Kb){var g=d.grid.Kb;e.crs_transform=[g.dg||0,g.ig||0,g.Ag||0,g.jg||0,g.eg||0,g.Bg||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.Fd&&(b.mapLocation=a.Fd);a.featureCount&&(b.featureCount=a.featureCount);
|
|
return b},zk=function(a){var b=new qf,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},yk=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},Ck=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=Ak(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 Bk(b)},Ak=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("],[")+"]]]}"},Dk=function(a){var b={};(a.vd||[]).forEach(function(g){b[g.role]=g.Wb});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},Ek=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",Wb:b("owners")},{role:"roles/viewer",Wb:b("readers").concat(c)},{role:"roles/editor",Wb:b("writers")}].map(function(d){return new We(d)});return new Lf({vd:b.filter(function(d){return d.Wb.length}),
|
|
hf:null})},Gk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+Fk(a)},Fk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Hk=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(Bg,a.metadata||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.bf);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=Fk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.ef;b.source_url=e.fg;null!=e.td&&(b.batch_eecu_usage_seconds=e.td);return b},Ik=function(a){var b=
|
|
{started:"OK"};a.name&&(b.taskId=Fk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Jk=function(a){return a.primaryPath?[a.primaryPath].concat(fa(a.additionalPaths||[])):null},Mk=function(a){var b=function(g){var f=Uc(pg,g);f.uris=Jk(g);return f},c=Uc(lg,a);c.name=uk(a.id);c.tilesets=(a.tilesets||[]).map(function(g){var f=Uc(sf,g);f.sources=(g.sources||[]).map(b);return f});c.bands=(a.bands||[]).map(function(g){var f=Uc(mg,g);f.missingData=Kk(g.missingData);return f});c.missingData=
|
|
Kk(a.missingData);c.Kf=eb((a.tilesets||[]).map(Lk));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},Lk=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 ng({mb: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},Nk=function(a){var b=Uc(sg,a);b.name=uk(a.id);b.sources=(a.sources||[]).map(function(e){var g=Uc(Og,e);g.uris=Jk(e);e.maxError&&(g.Ub=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},Kk=function(a){if(null==a)return null;var b=new jg({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},Ok=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 ")},Bk=function(a){a=Object.assign({},a);var b=Ok(a);b&&(a.filter=a.filter?a.filter+" AND "+b:b);return a};var Pk=function(){this.blockSize=-1};var Qk=function(){this.blockSize=-1;this.blockSize=64;this.V=Array(4);this.Uk=Array(this.blockSize);this.ne=this.Ec=0;this.reset()};x(Qk,Pk);Qk.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.ne=this.Ec=0};
|
|
var Rk=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};
|
|
Qk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Uk,e=this.Ec,g=0;g<b;){if(0==e)for(;g<=c;)Rk(this,a,g),g+=this.blockSize;if("string"===typeof a)for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.blockSize){Rk(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.blockSize){Rk(this,d);e=0;break}}this.Ec=e;this.ne+=b};
|
|
Qk.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.ne;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 Sk=function(a){this.od="__ee_hash__";this.Qd=!1!==a;this.Xa=[];this.va={};this.Eg=[];this.Md=new WeakMap;this.ng=new WeakMap;this.Ui=void 0};w("ee.Serializer",Sk);var Tk=new xi,Uk=new Qk,Wk=function(a,b){return Vk(new Sk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Wk);var Xk=function(a){return Tk.ua(Wk(a))};w("ee.Serializer.toJSON",Xk);var Zk=function(a){return Yk(Wk(a,!1))};w("ee.Serializer.toReadableJSON",Zk);
|
|
var Yk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):Tk.ua(a)},Vk=function(a,b){b=a.Dd(b);a.Qd&&(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.Eg,u(function(c){delete c[this.od]},a)),a.Eg=[],a.va={});return b};
|
|
Sk.prototype.Dd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.od]:null;if(this.Qd&&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 Zj){var c=a.encode(u(this.Dd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Ua(a,function(e){return this.Dd(e)},this);else if(t(a)&&"function"!==typeof a)c=Fb(a,function(e){if("function"!==typeof e)return this.Dd(e)},this),Ob(c,this.od),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Qd){b=$k(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.od]=b;this.Eg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var $k=function(a){Uk.reset();Uk.update(Tk.ua(a));return Uk.digest().toString()},bl=function(a){return Vc(al(a),Rc,Sc,Tc)};w("ee.Serializer.encodeCloudApi",bl);
|
|
var al=function(a,b){return cl(new Sk(!0),a,b)},cl=function(a,b,c){a.Ui=c;return dl(a,b)},el=function(a,b){var c={};b=b.values;for(var d in b){var e=a.ng.get(b[d]);c[d]=Object.assign({},e)}return c},fl=function(a){a=dl(new Sk(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},g=d instanceof Object.getPrototypeOf(Qe);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.kc,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",fl);var gl=function(a){return Tk.ua(bl(a))};w("ee.Serializer.toCloudApiJSON",gl);var hl=function(a){return Yk(fl(a))};w("ee.Serializer.toReadableCloudApiJSON",hl);
|
|
var dl=function(a,b){try{var c=il(a,b),d=new jl(c,a.Xa,a.Qd,a.ng),e=kl(d,d.Ai);return new ff({result:e,values:d.ji})}finally{a.Md=new WeakMap,a.va={},a.Xa=[]}},il=function(a,b){var c=function(f){var l=$k(f);t(b)&&a.Md.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.Md.get(b)])return a.va[a.Md.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(bk(b));if(wa(b))return c(fk("Date",{value:bk(Math.floor(b.getTime()))}));
|
|
if(b instanceof Zj){var d=b.ma(a),e=b.Fh();null!==e&&a.ng.set(d,e);return c(d)}if(Array.isArray(b))return c(dk(b.map(function(f){return ck(il(a,f))})));if(t(b)&&"function"!==typeof b){var g={};Object.keys(b).sort().forEach(function(f){g[f]=ck(il(a,b[f]))});return c(ek(g))}throw Error("Can't encode object: "+b);},jl=function(a,b,c,d){var e=this;this.Ai=a;this.values={};b.forEach(function(g){return e.values[g[0]]=g[1]});this.ui=c?ll(this):null;this.ji={};this.Zf={};this.rl=0;this.fd=d},kl=function(a,
|
|
b){if(b in a.Zf)return a.Zf[b];var c=String(a.rl++);a.Zf[b]=c;a.ji[c]=ml(a,a.values[b],0);return c},ml=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.pb||null!=b.Lb)return b;if(null!=b.Na){d=a.values[b.Na];if(null===a.ui||50>c&&1===a.ui[b.Na])return d=ml(a,d,c),g(b,d);if(nl(d))return g(b,d);d=ck(kl(a,b.Na));return g(b,d)}if(null!=b.Ea){var f=b.Ea.values.map(function(y){return ml(a,
|
|
y,c+3)});d=f.every(d)?bk(f.map(function(y){return e(y.gb)})):dk(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]=ml(a,v,c+3);null!==l&&d(f[p])?l[p]=e(f[p].gb):l=null}return null!==l?g(b,bk(l)):g(f,ek(f))}if(null!=b.Ta)return d=b.Ta,d=hk(d.kc||[],kl(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]=ml(a,d.arguments[m],c+3);d=d.functionName?fk(d.functionName,f):gk(kl(a,d.Ua||""),f);return g(b,d)}throw Error("Can't optimize value: "+b);},nl=function(a){var b=a.gb;return null!==b?b===Pc||"number"===typeof b||"boolean"===typeof b:null!=a.Lb},ll=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.Ai);return b};var tl=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 Hf({l:al(a.element),description:K(a.description),na:null,ra:null,Gd:null,ud:null,selectors:b,Ub:L(a.maxErrorMeters),requestId:K(a.id),maxVertices:L(a.maxVertices),O:L(a.maxWorkers)});var c=ol(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Kf({ia:null,la:null,F:jk(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ia=pl(a):d.la=
|
|
ql(a);b.na=d;break;case "ASSET":b.ra=new If({Ga:rl(a)});break;case "FEATURE_VIEW":c=new Sf({name:uk(a.mapName)});d=null==a?null:new Xf({Mf:L(a.maxFeaturesPerTile),ug:a.thinningStrategy});var e=null==a?null:new Wf({Fg:sl(a.zOrderRanking),tg:sl(a.thinningRanking)});d=new Tf({sg:d,Yf:e});c=new Jf({kf:c,sc:d});b.Gd=c;break;case "BIGQUERY":b.ud=new Ve({Pe:new Ue({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 ol=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},vl=function(a){var b=new kg({Xe:!!a.tfrecordCompressed,Vb:K(a.tfrecordMaxFileSize),gg:!!a.tfrecordSequenceData,Ve:!!a.tfrecordCollapseBands,Nf:L(a.tfrecordMaskedThreshold),defaultValue:L(a.tfrecordDefaultValue),bc:ul(a.tfrecordPatchDimensions),Jf:ul(a.tfrecordKernelSize),ie: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.ie=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},wl=function(a,b){var c=new Df({ia:null,la:null,Hd:null,je:null,F:ik(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=ul(a.fileDimensions||a.tiffFileDimensions);d=L(d);var l=a.tiffNoData;l=null!=l?new cg({pf:Number(l)}):null;e=new bg({Ue:e,mg:g,bc:f,tileSize:d,Pf:l});c.Hd=e}else"TF_RECORD_IMAGE"===c.F&&(c.je=vl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ia=pl(a):c.la=ql(a);return c},xl=function(a,b){var c=new Nf({ia:null,la:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=pl(a):c.la=ql(a);return c},yl=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=ul(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 Qg({start:null!=m?m:0,end:a});return new Gf({ff:g,og:b,scale:c,lg:f,If:d,dimensions:l,stride:e,Gg:a})},ul=function(a){if(null==a)return null;var b=new dg({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},
|
|
pl=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new cf({Se:K(a.outputBucket),wa:K(a.outputPrefix),Te:a.bucketCorsUris||null,permissions:b})},ql=function(a){return new pf({rf:K(a.driveFolder),wa:K(a.driveFileNamePrefix)})},rl=function(a){return new af({name:uk(a.assetId)})},sl=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new Lg({Xf:(a||[]).map(zl)});throw Error("Unable to build ranking rule from rules: "+
|
|
JSON.stringify(b)+". Rules should either be a comma-separated string or list of strings.");},zl=function(a){var b=new Kg({direction:null,Xd:null,Zd:null,Yd: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.Yd=new Hg({});break;case ".minZoomLevel":b.Zd=new Jg({});break;default:b.Xd=new Gg({attributeName:K(a)})}return b};var Al=[],Bl=function(a){B(!Object.isSealed(a),"Cannot use getInstance() with a sealed constructor.");var b="Cf";if(a.Cf&&a.hasOwnProperty(b))return a.Cf;Al.push(a);var c=new a;a.Cf=c;B(a.hasOwnProperty(b),"Could not instantiate singleton.");return c};var Dl=function(a,b,c,d,e,g){d=Cj(!g,!1,d||[]);Ej=a;Fj=d;null===a?Kj():Gj(function(){Ij(b,c,e||Da(Cl,b,c))})};w("ee.data.authenticateViaOauth",Dl);var El=function(a,b,c,d,e){Dl(a,b,c,d,e)};w("ee.data.authenticate",El);var Cl=function(a,b){r.gapi.auth2.authorize({client_id:Ej,immediate:!1,scope:Fj.join(" ")},Da(Hj,a,b))};w("ee.data.authenticateViaPopup",Cl);
|
|
var Fl=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=Cj(!e,!e,d||[]);Ej=a.client_email;Fj=d;var g=new google.auth.JWT(a.client_email,null,a.private_key,d,null);Dj=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})})};Ij(b,c)};w("ee.data.authenticateViaPrivateKey",Fl);
|
|
w("ee.data.setExpressionAugmenter",function(a){Gl=a||oc});var Gl=oc;w("ee.data.setAuthToken",function(a,b,c,d,e,g,f,l){e=Cj(!l,!1,e||[]);Ej=a;Fj=e;var m={token_type:b,access_token:c,state:e.join(" "),expires_in:d};Hj(void 0,void 0,m);!1===f?g&&g():Gj(function(){r.gapi.client.setToken(m);g&&g()})});w("ee.data.refreshAuthToken",Ij);w("ee.data.setAuthTokenRefresher",function(a){Dj=a});w("ee.data.getAuthToken",yj);w("ee.data.clearAuthToken",Kj);w("ee.data.getAuthClientId",function(){return Ej});
|
|
w("ee.data.getAuthScopes",function(){return Fj});w("ee.data.setDeadline",function(a){Yj=a});w("ee.data.setParamAugmenter",function(a){Sj=a||oc});
|
|
var Hl=function(a){a=new J(a);return a.handle(a.Dc().list(rj(),{prettyPrint:!1}).then(pk))},Kl=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 xf({name:null,l:Gl(al(a.image)),F:ik(a.format),ca:lk(a.bands),hc:ok(a)});var c={fields:"name"},d=Il();d&&(c.workloadTag=d);b=new J(b);return b.handle(b.maps().create(rj(),a,c).then(function(e){return Jl(e.name,"")}))};
|
|
w("ee.data.getMapId",Kl);var Ll=function(a,b,c,d){if(!a.formatTileUrl){var e=Jl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",Ll);
|
|
var Jl=function(a,b,c){var d=void 0===c?"":c;d||(pj(),c=Nj,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}},Ml=function(a,b){var c=a.visParams?Gl(al(a.visParams)):null;a=new Rf({name:null,Mb:a.assetId,mapName:a.mapName,Dg:c});b=new J(b);return b.handle((new Yg(b.M)).create(rj(),a,{fields:["name"]}).then(function(d){var e=
|
|
d.name.split("/").pop();return{token:e,formatTileUrl:function(g,f,l){return Nj+"/v1/"+d.name+"/tiles/"+l+"/"+g+"/"+f},rawTilesKey:e.substring(0,e.lastIndexOf("-"))}}))};w("ee.data.getFeatureViewTilesKey",Ml);
|
|
var Nl=function(a,b,c){c=new J(c);var d=uk(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:vg});return a.call(c,g)};w("ee.data.listFeatures",Nl);
|
|
var Ol=function(a,b){var c=new Sk(!0);a=cl(c,a);var d={};c=el(c,a);Object.keys(c).length&&(d={__source_code_nodes__:c});c={l:Gl(a,d)};if(a=Il())c.workloadTag=a;b=new J(b);return b.handle(hh(b.value(),rj(),new ef(c)).then(function(e){return e.result}))};w("ee.data.computeValue",Ol);
|
|
var Pl=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 Pg({name:null,l:Gl(al(a.image)),F:ik(a.format),wa:a.name,ca:lk(a.bands),
|
|
hc:ok(a),grid:null});var c={fields:"name"},d=Il();d&&(c.workloadTag=d);b=new J(b);return b.handle((new fh(b.M)).create(rj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getThumbId",Pl);
|
|
var Ql=function(a,b){var c=new Of({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Tg({name:null,l:Gl(al(a.imageCollection)),F:ik(a.format),Oa:c,grid:null});c={fields:"name"};var d=Il();d&&(c.workloadTag=d);b=new J(b);return b.handle((new kh(b.M)).create(rj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getVideoThumbId",Ql);
|
|
var Rl=function(a,b){a=new Zf({name:null,l:Gl(al(a.imageCollection)),F:ik(a.format),orientation:kk(a.orientation),grid:null});var c={fields:"name"},d=Il();d&&(c.workloadTag=d);b=new J(b);return b.handle((new Zg(b.M)).create(rj(),a,c).then(function(e){return{thumbid:e.name,token:""}}))};w("ee.data.getFilmstripThumbId",Rl);var Sl=function(a){return Nj+"/v1/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",Sl);
|
|
var Ul=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=lk(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=Tl(a.image,a);a=new Pg({name:null,l:Gl(al(c)),F:ik(a.format),wa:a.name,ca:a.bands&&lk(a.bands.map(function(e){return e.id})),grid:null});c={fields:"name"};var d=Il();d&&(c.workloadTag=d);b=new J(b);return b.handle((new fh(b.M)).create(rj(),a,c).then(function(e){return{docid:e.name,token:""}}))};w("ee.data.getDownloadId",Ul);var Vl=function(a){pj();return Nj+"/v1/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",Vl);
|
|
var Wl=function(a,b){b=new J(b);var c=jk(a.format),d=Gl(al(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 Ng({name:null,l:d,F:c,selectors:e,filename:a.filename||null});c={fields:"name"};if(d=Il())c.workloadTag=d;return b.handle((new eh(b.M)).create(rj(),a,c).then(function(g){return{docid:g.name||
|
|
"",token:""}}))};w("ee.data.getTableDownloadId",Wl);var Xl=function(a){return Nj+"/v1/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",Xl);var Yl=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",Yl);
|
|
var Zl=function(a){return a.name&&a.done&&a.error},am=function(a,b){var c=$l(a).map(Gk);if(1===c.length)return a=(new J(b)).nd(Zl),a.handle(a.Ma().get(c[0]).then(function(e){return[Hk(e)]}));a=(new xj(b)).nd(Zl);var d=a.Ma();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(g){return Hk(e[g])})})};w("ee.data.getTaskStatus",am);
|
|
var $l=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.");},cm=function(a){return bm(void 0,a)};w("ee.data.getTaskList",cm);var bm=function(a,b){return b?(dm(a,function(c,d){return b(c?{tasks:c.map(Hk)}:null,d)}),null):{tasks:dm(a).map(Hk)}};w("ee.data.getTaskListWithLimit",bm);
|
|
var dm=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(rj(),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(rj(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",dm);
|
|
var em=function(a,b){a=$l(a).map(Gk);var c=new Ye;if(1===a.length)b=new J(b),b.handle(b.Ma().cancel(a[0],c));else{b=new xj(b);var d=b.Ma();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",em);var fm=function(a,b){var c=$l(a).map(Gk);if(!Array.isArray(a))return a=(new J(b)).nd(Zl),a.handle(a.Ma().get(c[0]));a=(new xj(b)).nd(Zl);var d=a.Ma();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",fm);
|
|
var hm=function(a,b){return gm(a,"CANCEL",b)};w("ee.data.cancelTask",hm);var gm=function(a,b,c){if(!Jb(im,b))throw Error("Invalid action: "+b);a=$l(a);a=a.map(Gk);em(a,c);return null};w("ee.data.updateTask",gm);
|
|
var om=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=Il();e&&(b.workloadTag=e)}var g=new J(c);c=function(f){return g.handle(f.then(Ik))};switch(d){case "EXPORT_IMAGE":return b=jm(b,a),c(g.image().Ja(rj(),b));case "EXPORT_FEATURES":return b=tl(b),b.l=Gl(b.l,a),c(g.table().Ja(rj(),b));case "EXPORT_VIDEO":return b=km(b,a),c(g.video().Ja(rj(),b));case "EXPORT_TILES":return b=lm(b,a),c(g.map().Ja(rj(),
|
|
b));case "EXPORT_VIDEO_MAP":return b=mm(b),c((new jh(g.M)).Ja(rj(),b));case "EXPORT_CLASSIFIER":return b=nm(b,a),c((new Xg(g.M)).Ja(rj(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",om);
|
|
var jm=function(a,b){var c=pm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new Bf({l:al(c.element),description:K(c.description),na:null,ra:null,grid:null,Of:K(c.maxPixels),requestId:K(c.id),O:L(c.maxWorkers)}),e=ol(c);switch(e){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":d.na=wl(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 Cf({Ga:rl(c),pyramidingPolicy:g,Vf:Nb(e)?null:e,tileSize:L(c.shardSize)});d.ra=c;break;default:throw Error('Export destination "'+e+'" unknown');}d.l=Gl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},km=function(a,b){var c=qm(a);if(null==c.element)throw Error('"element" not found in params '+c);var d=new Pf({l:al(c.element),description:K(c.description),Oa:new Of({framesPerSecond:L(c.framesPerSecond),maxFrames:L(c.maxFrames),maxPixelsPerFrame:K(c.maxPixels)}),na:null,requestId:K(c.id),
|
|
O:L(c.maxWorkers)});d.na=xl(c,ol(c));d.l=Gl(d.l,b);a.workloadTag&&(d.workloadTag=a.workloadTag);return d},lm=function(a,b){var c=a.scale;delete a.scale;var d=pm(a);d.scale=c;if(null==d.element)throw Error('"element" not found in params '+d);c=new Ff({l:al(d.element),description:K(d.description),dc:yl(d),cc:wl(d,"GOOGLE_CLOUD_STORAGE"),requestId:K(d.id),O:L(d.maxWorkers)});c.l=Gl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},mm=function(a){var b=a.scale;delete a.scale;var c=qm(a);c.scale=
|
|
b;if(null==c.element)throw Error('"element" not found in params '+c);b=new Mf({l:al(c.element),description:K(c.description),Oa:new Of({framesPerSecond:L(c.framesPerSecond),maxFrames:L(c.maxFrames),maxPixelsPerFrame:null}),dc:yl(c),cc:xl(c,"GOOGLE_CLOUD_STORAGE"),requestId:K(c.id),version:K(c.version),O:L(c.maxWorkers)});b.l=Gl(b.l);a.workloadTag&&(b.workloadTag=a.workloadTag);return b},nm=function(a,b){if(null==a.element)throw Error('"element" not found in params '+a);var c=ol(a);if("ASSET"!=c)throw Error('Export destination "'+
|
|
c+'" unknown');c=new Af({l:al(a.element),description:K(a.description),requestId:K(a.id),ra:new $e({Ga:rl(a)}),O:L(a.maxWorkers)});c.l=Gl(c.l,b);a.workloadTag&&(c.workloadTag=a.workloadTag);return c},sm=function(a,b,c){b=Mk(b);var d=function(e){return e?Ik(e):null};return d(rm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startIngestion",sm);
|
|
var rm=function(a,b,c){b=new qg({zf:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return a.handle(a.image().import(rj(),b))},tm=function(a,b,c){b=new rg({rg:b,requestId:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return a.handle(a.table().import(rj(),b))},um=function(a,b,c){b=Nk(b);var d=function(e){return e?Ik(e):null};return d(tm(a,b,c&&function(e,g){return c(d(e),g)}))};w("ee.data.startTableIngestion",um);
|
|
var vm=function(a,b){b=new J(b);a=uk(a);return b.handle(b.assets().get(a,{prettyPrint:!1}).then(vk))};w("ee.data.getAsset",vm);w("ee.data.getInfo",vm);var wm=function(a,b,c,d){b=void 0===b?{}:b;d=void 0===d?oc:d;var e=sk.test(a);c=new J(c);var g=e?new Vg(c.M):c.assets();a=e?"projects/"+tk(a):uk(a);return c.handle(g.Sd(a,b).then(d))},xm=function(a,b){return wm(a.id,Ck(a),b,function(c){return null==c?null:wk(c)})};w("ee.data.getList",xm);var ym=function(a,b,c){b=void 0===b?{}:b;return wm(a,b,c)};
|
|
w("ee.data.listAssets",ym);var zm=function(a,b,c){b=void 0===b?{}:b;b=Bk(b);return wm(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",zm);var Am=function(a,b){b=new J(b);return b.handle((new Vg(b.M)).Sd(a||rj()))};w("ee.data.listBuckets",Am);var Bm=function(a){a=new J(a);return a.handle((new Vg(a.M)).Sd(rj()).then(wk))};w("ee.data.getAssetRoots",Bm);
|
|
var Cm=function(a,b){var c="projects/"+tk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new qf({type:"Folder"});b=new J(b);b.handle(b.assets().create(c,d,{assetId:a}).then(vk))};w("ee.data.createAssetHome",Cm);
|
|
var Dm=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&&uk(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 wf(a.tilestoreLocation));
|
|
a.gcsLocation&&!a.cloudStorageLocation&&(a.cloudStorageLocation=a.gcsLocation,delete a.gcsLocation);a.cloudStorageLocation&&(a.cloudStorageLocation=new df(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 qf(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(vk))};w("ee.data.createAsset",Dm);var Em=function(a,b,c){return Dm({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Em);var Fm=function(a,b,c){a=uk(a);b=uk(b);b=new zg({Pb:b});c=new J(c);c.handle(c.assets().move(a,b).then(vk))};w("ee.data.renameAsset",Fm);
|
|
var Gm=function(a,b,c,d){a=uk(a);b=uk(b);c=new jf({Pb: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:qf});b.call(d,g.then(vk))};w("ee.data.copyAsset",Gm);var Hm=function(a,b){b=new J(b);b.handle(b.assets().delete(uk(a)))};w("ee.data.deleteAsset",Hm);
|
|
var Im=function(a,b){a=uk(a);var c=new eg;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:Lf});return d.call(b,f.then(Dk))};w("ee.data.getAssetAcl",Im);
|
|
var Jm=function(a,b,c,d){b=new Sg({Mb:b,updateMask:(c||[]).join(",")});d=new J(d);c=d.handle;var e=d.assets();a=uk(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:qf});return c.call(d,g.then(vk))};w("ee.data.updateAsset",Jm);
|
|
var Km=function(a,b,c){a=uk(a);b=Ek(b);b=new Mg({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:Lf});d.call(c,f)};w("ee.data.setAssetAcl",Km);
|
|
var Lm=function(a,b,c){var d=zk(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+'"'}));Jm(a,d,b,c)};w("ee.data.setAssetProperties",Lm);
|
|
var Mm=function(a,b){var c=uk(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 qf&&g.quota))throw Error(a+" is not a root folder.");g=g.quota;return{asset_count:{usage:Number(g.Ne||0),limit:Number(g.Lf||0)},asset_size:{usage:Number(g.sizeBytes||0),limit:Number(g.Vb||0)}}}))};w("ee.data.getAssetRootQuota",Mm);
|
|
var Nm=function(){this.default=this.tag=""};Nm.prototype.get=function(){return this.tag};Nm.prototype.set=function(a){this.tag=this.validate(a)};Nm.prototype.reset=function(){this.tag=this.default};
|
|
Nm.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 Il=function(){return Bl(Nm).get()};w("ee.data.getWorkloadTag",Il);var Om=function(a){Bl(Nm).set(a)};w("ee.data.setWorkloadTag",Om);
|
|
var Pm=function(a){var b=Bl(Nm);b.default=b.validate(a);Bl(Nm).set(a)};w("ee.data.setDefaultWorkloadTag",Pm);var Qm=function(a){a&&(a=Bl(Nm),a.default=a.validate(""));Bl(Nm).reset()};w("ee.data.resetWorkloadTag",Qm);var im={Kl:"CANCEL",Nl:"UPDATE"};var N=function(a,b,c){if(!(this instanceof N))return Rm(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.I=a;this.args=b;this.T=c||null;this.Cl=null};x(N,Zj);w("ee.ComputedObject",N);N.prototype.Fh=function(){return this.Cl};N.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");Ol(this,a)};
|
|
N.prototype.evaluate=N.prototype.evaluate;N.prototype.U=function(a){return Ol(this,a)};N.prototype.getInfo=N.prototype.U;N.prototype.encode=function(a){if(null===this.I&&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.I);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
N.prototype.ma=function(a){if(null===this.I&&null===this.args){a=this.T||a.Ui;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Qe({Lb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=ck(il(a,this.args[c])));return"string"===typeof this.I?fk(String(this.I),b):this.I.Cd(a,b)};N.prototype.ua=function(a){return(void 0===a?0:a)?Xk(this):gl(this)};N.prototype.serialize=N.prototype.ua;
|
|
N.prototype.toString=function(){return"ee."+this.name()+"("+Zk(this)+")"};w("ee.ComputedObject.prototype.toString",N.prototype.toString);N.prototype.name=function(){return"ComputedObject"};N.prototype.Hg=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};N.prototype.aside=N.prototype.Hg;
|
|
var Sm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.I=b.I;a.args=b.args;a.T=b.T;return a},Rm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Tm={},Um=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}},Vm=function(a){return"number"===typeof a||a instanceof N&&"Number"==a.name()},Wm=function(a){return"string"===typeof a||a instanceof N&&"String"==a.name()},Xm=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Ym=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Xm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Zm=function(){if(!(this instanceof Zm))return new Zm};x(Zm,Zj);w("ee.Function",Zm);var $m=oc;Zm.prototype.call=function(a){return this.apply(an(this,Array.prototype.slice.call(arguments,0)))};Zm.prototype.call=Zm.prototype.call;Zm.prototype.apply=function(a){a=new N(this,bn(this,a));return $m(a,this.Y().returns)};Zm.prototype.apply=Zm.prototype.apply;
|
|
var cn=function(a,b,c){var d=void 0!==b,e=a.Y();if(Ym(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=an(a,d?[b].concat(c):c);return a.apply(c)},bn=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]=$m(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},an=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};
|
|
Zm.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("")};Zm.prototype.ua=function(a){return(void 0===a?0:a)?Xk(this):gl(this)};var O=function(a,b){if(void 0===b)return dn(a);if(!(this instanceof O))return Rm(O,arguments);this.wb=Qb(b);this.wb.name=a};x(O,Zm);w("ee.ApiFunction",O);var P=function(a,b){return Zm.prototype.call.apply(dn(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",P);var en=function(a,b){return dn(a).apply(b)};w("ee.ApiFunction._apply",en);O.prototype.encode=function(){return this.wb.name};O.prototype.Cd=function(a,b){return fk(this.wb.name,b)};O.prototype.Y=function(){return this.wb};
|
|
var fn=null,gn={},jn=function(){hn();return Fb(fn,function(a){return a.Y()})},kn=function(){hn();return Eb(fn,function(a,b){return!gn[b]})},dn=function(a){var b=ln(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",dn);
|
|
var ln=function(a){hn();return fn[a]||null},hn=function(a,b){if(fn)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(fn=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?Hl(c):c(Hl())}},mn=function(a,b,c,d){hn();var e=d||"";Db(fn,function(g,f){var l=f.split(".");if(2==l.length&&l[0]==b){l=e+l[1];var m=g.Y();gn[f]=!0;var p=!1;m.args.length&&(f=m.args[0].type,p="Object"!=f&&Um(f,c));
|
|
f=p?a.prototype:a;l in f&&!f[l].signature||(f[l]=function(v){return cn(g,p?this:void 0,Array.prototype.slice.call(arguments,0))},f[l].toString=u(g.toString,g,l,p),f[l].signature=m)}})},nn=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=on(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},on=function(a){var b=pn,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||qn(),c=a.paramNames,Array.isArray(c)||qn()):(a=a.toString().replace(rn,
|
|
"").match(b),null===a&&qn(),c=(a[1].split(",")||[]).map(function(d){return d.replace(sn,"")}));return c},qn=function(){throw Error("Failed to locate function parameters.");},rn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,pn=/^function[^\(]*\(([^\)]*)\)/m,sn=/=.*$/;var T=function(a,b,c){N.call(this,a,b,c);tn()};x(T,N);w("ee.Element",T);var un=!1,tn=function(){un||(mn(T,"Element","Element"),un=!0)};T.prototype.name=function(){return"Element"};
|
|
T.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Xm(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(Xm(c)){b=this;for(var f in c)d=c[f],b=P("Element.set",b,f,d)}else if(c instanceof N&&ln("Element.setMulti"))b=P("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=P("Element.set",b,f,d)}return Sm(this,b)};T.prototype.set=T.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return Rm(U,arguments);if(!("type"in a)){var e=S(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}vn();e=null!=b||null!=c||null!=d;if(a instanceof N&&!(a instanceof U&&a.nb)){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.I,a.args,a.T)}else{a instanceof U&&(a=a.encode());if(!wn(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));N.call(this,
|
|
null,null);this.nb=a.type;this.eh=null!=a.coordinates?Qb(a.coordinates):null;this.Eh=a.geometries||null;if(null!=b)this.Zb=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.Zb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new xi).ua(a.crs));this.pc=c;void 0===this.pc&&"geodesic"in a&&(this.pc=!!a.geodesic);this.nc=d;void 0===this.nc&&"evenOdd"in a&&(this.nc=!!a.evenOdd)}};x(U,N);w("ee.Geometry",U);
|
|
var xn=!1,vn=function(){xn||(mn(U,"Geometry","Geometry"),xn=!0)},yn=function(a,b){if(!(this instanceof yn))return zn(yn,arguments);var c=An(yn,"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(yn,U);U.Point=yn;var Bn=function(a,b){if(!(this instanceof Bn))return zn(Bn,arguments);U.call(this,An(Bn,"MultiPoint",2,arguments))};x(Bn,U);U.MultiPoint=Bn;
|
|
var Cn=function(a,b,c,d){if(!(this instanceof Cn))return zn(Cn,arguments);var e=An(Cn,"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(Cn,U);U.Rectangle=Cn;
|
|
var Dn=function(a,b,c,d){if(!(this instanceof Dn))return zn(Dn,arguments);var e=S(Dn,arguments);a=e.west;b=e.south;c=e.east;d=e.north;e=[a,b,c,d];if(En(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=Fn(a),c=Fn(c),c<a&&(c+=360));U.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Dn,Cn);U.BBox=Dn;var Fn=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Gn=function(a,b,c,d){if(!(this instanceof Gn))return zn(Gn,arguments);U.call(this,An(Gn,"LineString",2,arguments))};x(Gn,U);U.LineString=Gn;
|
|
var Hn=function(a,b,c,d){if(!(this instanceof Hn))return zn(Hn,arguments);U.call(this,An(Hn,"LinearRing",2,arguments))};x(Hn,U);U.LinearRing=Hn;var In=function(a,b,c,d){if(!(this instanceof In))return zn(In,arguments);U.call(this,An(In,"MultiLineString",3,arguments))};x(In,U);U.MultiLineString=In;var Jn=function(a,b,c,d,e){if(!(this instanceof Jn))return zn(Jn,arguments);U.call(this,An(Jn,"Polygon",3,arguments))};x(Jn,U);U.Polygon=Jn;
|
|
var Kn=function(a,b,c,d,e){if(!(this instanceof Kn))return zn(Kn,arguments);U.call(this,An(Kn,"MultiPolygon",4,arguments))};x(Kn,U);U.MultiPolygon=Kn;
|
|
U.prototype.encode=function(a){if(!this.nb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.encode.call(this,a)}a={type:this.nb};"GeometryCollection"==this.nb?a.geometries=this.Eh:a.coordinates=this.eh;null!=this.Zb&&(a.crs={type:"name",properties:{name:this.Zb}});null!=this.pc&&(a.geodesic=this.pc);null!=this.nc&&(a.evenOdd=this.nc);return a};
|
|
U.prototype.le=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};U.prototype.toGeoJSON=U.prototype.le;U.prototype.zg=function(){if(this.I)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new xi).ua(this.le())};U.prototype.toGeoJSONString=U.prototype.zg;U.prototype.ua=function(a){return(void 0===a?0:a)?Xk(this):gl(this)};U.prototype.serialize=U.prototype.ua;
|
|
U.prototype.toString=function(){return"ee.Geometry("+this.zg()+")"};
|
|
U.prototype.ma=function(a){if(!this.nb){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.nb?(b.geometries=this.Eh.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.eh,c="GeometryConstructors."+this.nb);null!=this.Zb&&(b.crs="string"===typeof this.Zb?(new O("Projection")).call(this.Zb):this.Zb);var d="Point"!==this.nb&&"MultiPoint"!==this.nb;null!=
|
|
this.pc&&d&&(b.geodesic=this.pc);null!=this.nc&&(b.evenOdd=this.nc);return(new O(c)).apply(b).ma(a)};
|
|
var wn=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(!wn(b[a]))return!1;return!0}a=a.coordinates;var c=Ln(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)},Ln=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Ln(a[0]),c=1;c<a.length;c++)if(Ln(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},Mn=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},An=function(a,b,c,d){a=Nn(a,d);if(En(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=On(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},Nn=function(a,b){if(Wa(b,Vm))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})},En=function(a){return Array.isArray(a)?Va(a,En):a instanceof N},On=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Wa(b,function(e){return"number"===
|
|
typeof e})&&(b=Mn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Ln(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},zn=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 Rm(V,arguments);if(a instanceof V)return a;Pn();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.I,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 Qn=!1,Pn=function(){Qn||(mn(V,"Filter","Filter"),Qn=!0)},Rn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.tc=function(){return P("Filter.not",this)};V.prototype.not=V.prototype.tc;var Sn=function(a,b){var c=S(Sn,arguments);return P("Filter.equals",c.name,c.value)};V.eq=Sn;var Tn=function(a,b){var c=S(Tn,arguments);return Sn(c.name,c.value).tc()};V.neq=Tn;
|
|
var Un=function(a,b){var c=S(Un,arguments);return P("Filter.lessThan",c.name,c.value)};V.lt=Un;var Vn=function(a,b){var c=S(Vn,arguments);return Un(c.name,c.value).tc()};V.gte=Vn;var Wn=function(a,b){var c=S(Wn,arguments);return P("Filter.greaterThan",c.name,c.value)};V.gt=Wn;var Xn=function(a,b){var c=S(Xn,arguments);return Wn(c.name,c.value).tc()};V.lte=Xn;var Yn=function(a){return P("Filter.and",Array.prototype.slice.call(arguments))};V.and=Yn;var Zn=function(a){return P("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=Zn;var $n=function(a,b){var c=S($n,arguments);c=P("DateRange",c.start,c.end);return en("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=$n;var ao=function(a,b,c,d){var e=S(ao,arguments);return en("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=ao;var bo=function(a,b){return en("Filter.intersects",{leftField:".all",rightValue:P("Feature",a),maxError:b})};V.bounds=bo;
|
|
V.prototype.name=function(){return"Filter"};var co=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Rn))throw Error("Unknown filtering operator: "+b);a=P("Filter."+Rn[b],a,c);return d?a.tc():a};V.metadata=co;var W=function(a,b,c){T.call(this,a,b,c);eo()};x(W,T);w("ee.Collection",W);var fo=!1,eo=function(){fo||(mn(W,"Collection","Collection"),mn(W,"AggregateFeatureCollection","Collection","aggregate_"),fo=!0)};W.prototype.filter=function(a){a=S(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Sm(this,P("Collection.filter",this,a))};W.prototype.filter=W.prototype.filter;
|
|
W.prototype.mf=function(a,b,c){var d=S(W.prototype.mf,arguments);return this.filter(co(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.mf;W.prototype.yh=function(a){return this.filter(bo(a))};W.prototype.filterBounds=W.prototype.yh;W.prototype.lf=function(a,b){var c=S(W.prototype.lf,arguments);return this.filter($n(c.start,c.end))};W.prototype.filterDate=W.prototype.lf;
|
|
W.prototype.limit=function(a,b,c){var d=S(W.prototype.limit,arguments);return Sm(this,P("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 Sm(this,P("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 Sm(this,P("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.prototype.Nh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return P("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};W.prototype.iterate=W.prototype.Nh;var X=function(a,b){if(!(this instanceof X))return Rm(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)");go();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.I,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 ho=!1,go=function(){ho||(mn(X,"Feature","Feature"),ho=!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 P("Collection",[this]).getMap(c.visParams,c.callback)};X.prototype.getMap=X.prototype.getMap;X.prototype.name=function(){return"Feature"};var pm=function(a){var b={},c=io(a.element,a);c=jo(c,a,b);b.element=c;return b},qm=function(a){var b={},c=a.element.map(function(d){d=io(d,a);return jo(d,a,b)});b.element=c;return b},jo=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 Cn)){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 Cn(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 Jn(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?en("Image.clipToBoundsAndScale",
|
|
d):en("Image.clip",d));return a},io=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=ko(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=en("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 Cn([0,
|
|
0,e[0],e[1]],c,!1))}}else a=en("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},ko=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.");},mo=function(a,b){var c={};b=lo(b,c);Nb(b)||(b.image=a,a=en("Image.visualize",
|
|
b));c.image=a;return c},lo=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},Tl=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=io(g,e);return g=jo(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 P("Image.addBands",e,g,null,!0)},d.shift())):(d=c(b),a=io(a,d),a=jo(a,d,{}));return a};var M=function(a){if(!(this instanceof M))return Rm(M,arguments);if(a instanceof M)return a;no();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(Vm(a))T.call(this,new O("Image.constant"),{value:a});else if(Wm(a))T.call(this,new O("Image.load"),{id:a});else{if(Array.isArray(a))return oo(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.I,
|
|
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(Wm(b)&&Vm(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 po=!1,no=function(){po||(mn(M,"Image","Image"),po=!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=mo(this,d.visParams);if(d.callback){var g=d.callback;Kl(e,function(f,l){f=f?Object.assign(f,{image:c}):void 0;g(f,l)})}else return d=Kl(e),d.image=this,d};M.prototype.getMap=M.prototype.getMap;M.prototype.rb=function(a,b){var c=S(M.prototype.rb,arguments),d=c.params?Pb(c.params):{};d.image=this;if(c.callback){var e=c.callback;Ul(d,function(g,f){g?e(Vl(g)):e(null,f)})}else return Vl(Ul(d))};
|
|
M.prototype.getDownloadURL=M.prototype.rb;M.prototype.Id=function(a,b){var c=S(M.prototype.rb,arguments),d=c.params?Pb(c.params):{},e={},g=io(this,d);g=jo(g,d,e);d=mo(g,e);return c.callback?(Pl(d,c.callback),null):Pl(d)};M.prototype.getThumbId=M.prototype.Id;M.prototype.vf=function(a,b){var c=S(M.prototype.vf,arguments);if(c.callback)this.Id(c.params,function(d,e){var g="";if(void 0===e)try{g=Sl(d)}catch(f){e=String(f.message)}c.callback(g,e)});else return Sl(this.Id(c.params))};
|
|
M.prototype.getThumbURL=M.prototype.vf;var qo=function(a,b,c){var d=S(qo,arguments);return oo([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};M.rgb=qo;var ro=function(a){return oo(Array.prototype.slice.call(arguments),null)};M.cat=ro;var oo=function(a,b){if(0==a.length)return P("Image.constant",[]);for(var c=new M(a[0]),d=1;d<a.length;d++)c=P("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||Wm(b[0])||Vm(b[0])){for(var d=0;d<b.length;d++)if(!(Wm(b[d])||Vm(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 en("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=P("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Zm;c.encode=function(m){return l.encode(m)};c.Cd=function(m,p){return gk(il(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 P("Image.clip",this,a)};M.prototype.clip=M.prototype.clip;M.prototype.wi=function(a){var b=1!=arguments.length||Wm(arguments[0])?Array.from(arguments):arguments[0];return P("Image.rename",this,b)};M.prototype.rename=M.prototype.wi;M.prototype.name=function(){return"Image"};var so=function(a){if(this instanceof so){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof so)return a}else return Rm(so,arguments);to();if(Array.isArray(a))N.call(this,null,null),this.Sc=a;else if(a instanceof N)N.call(this,a.I,a.args,a.T),this.Sc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(so,N);w("ee.List",so);var uo=!1,to=function(){uo||(mn(so,"List","List"),uo=!0)};
|
|
so.prototype.encode=function(a){return Array.isArray(this.Sc)?Ua(this.Sc,function(b){return a(b)}):so.L.encode.call(this,a)};so.prototype.ma=function(a){return Array.isArray(this.Sc)?ck(il(a,this.Sc)):so.L.ma.call(this,a)};so.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Rm(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)");vo();a instanceof U&&(a=new X(a));a instanceof X&&(a=[a]);if(Wm(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 so)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.I,a.args,a.T);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(Y,W);w("ee.FeatureCollection",Y);var wo=!1,vo=function(){wo||(mn(Y,"FeatureCollection","FeatureCollection"),wo=!0)};
|
|
Y.prototype.getMap=function(a,b){var c=S(Y.prototype.getMap,arguments),d=en("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.rb=function(a,b,c,d){var e=S(Y.prototype.rb,arguments),g={table:this};e.format&&(g.format=e.format.toUpperCase());e.filename&&(g.filename=e.filename);e.selectors&&(g.selectors=e.selectors);if(e.callback)Wl(g,function(f,l){f?e.callback(Xl(f)):e.callback(null,l)});else return Xl(Wl(g))};Y.prototype.getDownloadURL=Y.prototype.rb;
|
|
Y.prototype.select=function(a,b,c){if(Wm(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 Rm(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");xo();a instanceof M&&(a=[a]);if(Wm(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 so)W.call(this,new O("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof N)W.call(this,a.I,a.args,a.T);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,W);w("ee.ImageCollection",Z);var yo=!1,xo=function(){yo||(mn(Z,"ImageCollection","ImageCollection"),mn(Z,"reduce","ImageCollection"),yo=!0)};Z.prototype.tf=function(a,b){var c=S(Z.prototype.tf,arguments);return zo(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.tf;
|
|
Z.prototype.wf=function(a,b){var c=S(Z.prototype.wf,arguments);return zo(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.wf;
|
|
var zo=function(a,b,c,d){var e={};a=a.map(function(l){l=io(l,b.params);return jo(l,b.params,e)});var g={},f=lo(e,g);g.imageCollection=a.map(function(l){f.image=l;return en("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=Pl;switch(d){case "video":c=Ql;break;case "filmstrip":c=Rl}if(b.callback)c(g,function(l,m){var p="";
|
|
if(void 0===m)try{p=Sl(l)}catch(v){m=String(v.message)}b.callback(p,m)});else return Sl(c(g))};Z.prototype.getMap=function(a,b){var c=S(Z.prototype.getMap,arguments),d=P("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.Ff=function(a,b,c,d){var e=S(Z.prototype.Ff,arguments);return this.map(function(g){return P("Image.linkCollection",g,e.imageCollection,e.linkedBands,e.linkedProperties,e.matchPropertyName)})};Z.prototype.linkCollection=Z.prototype.Ff;Z.prototype.first=function(){return new M(P("Collection.first",this))};Z.prototype.first=Z.prototype.first;
|
|
Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return M};var Ao=function(a){this.Ye=a;this.id=null},Co=function(a){var b={element:Bo(a)};Object.assign(b,a);b=Eb(b,function(c){return null!=c});return new Ao(b)};Ao.prototype.start=function(a,b){var c=this;B(this.Ye,"Task config must be specified for tasks to be started.");this.id=this.id||Yl(1)[0];Na(this.id,"Failed to obtain task ID.");if(a)om(this.id,this.Ye,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=om(this.id,this.Ye).taskId)?d:null}};
|
|
Ao.prototype.start=Ao.prototype.start;var Do=function(a,b,c,d,e,g,f,l,m,p,v){var y=S(Do,arguments);y=Eo(y,"ASSET","EXPORT_IMAGE");return Co(y)};w("module$contents$ee$batch_Export.image.toAsset",Do);var Fo=function(a,b,c,d,e,g,f,l,m,p,v,y,C,Q,oa){var R=S(Fo,arguments);R=Eo(R,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Co(R)};w("module$contents$ee$batch_Export.image.toCloudStorage",Fo);var Go=function(a,b,c,d,e,g,f,l,m,p,v,y,C,Q,oa){var R=S(Go,arguments);R=Eo(R,"DRIVE","EXPORT_IMAGE");return Co(R)};
|
|
w("module$contents$ee$batch_Export.image.toDrive",Go);var Ho=function(a,b,c,d,e,g,f,l,m,p,v,y,C){var Q=S(Ho,arguments);Q=Eo(Q,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Co(Q)};w("module$contents$ee$batch_Export.map.toCloudStorage",Ho);var Io=function(a,b,c,d,e,g,f){var l=S(Io,arguments);l=Eo(l,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Co(l)};w("module$contents$ee$batch_Export.table.toCloudStorage",Io);
|
|
var Jo=function(a,b,c,d,e,g,f){var l=S(Jo,arguments);l.type="EXPORT_FEATURES";l=Eo(l,"DRIVE","EXPORT_FEATURES");return Co(l)};w("module$contents$ee$batch_Export.table.toDrive",Jo);var Ko=function(a,b,c,d){var e=S(Ko,arguments);e=Eo(e,"ASSET","EXPORT_FEATURES");return Co(e)};w("module$contents$ee$batch_Export.table.toAsset",Ko);var Lo=function(a,b,c,d,e,g,f){var l=S(Lo,arguments);l=Eo(l,"FEATURE_VIEW","EXPORT_FEATURES");return Co(l)};w("module$contents$ee$batch_Export.table.toFeatureView",Lo);
|
|
var Mo=function(a,b,c,d,e,g,f){var l=S(Mo,arguments);l=Eo(l,"BIGQUERY","EXPORT_FEATURES");return Co(l)};w("module$contents$ee$batch_Export.table.toBigQuery",Mo);var No=function(a,b,c,d,e,g,f,l,m,p,v,y){var C=S(No,arguments);C=Eo(C,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Co(C)};w("module$contents$ee$batch_Export.video.toCloudStorage",No);var Oo=function(a,b,c,d,e,g,f,l,m,p,v,y){var C=S(Oo,arguments);C=Eo(C,"DRIVE","EXPORT_VIDEO");return Co(C)};
|
|
w("module$contents$ee$batch_Export.video.toDrive",Oo);var Po=function(a,b,c,d,e,g,f,l,m,p,v,y,C,Q,oa,R,Aa,Kb,Rq,Sq){var wj=S(Po,arguments);wj=Eo(wj,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Co(wj)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",Po);var Qo=function(a,b,c){var d=S(Qo,arguments);d=Eo(d,"ASSET","EXPORT_CLASSIFIER");return Co(d)};w("module$contents$ee$batch_Export.classifier.toAsset",Qo);
|
|
var Bo=function(a){var b=function(d){return d in a},c=Ro.find(b);B(1===Xa(Ro,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},Eo=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=So(e,a),delete e.formatOptions,Object.assign(e,a));e=To(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=To(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=To(e,b);break;case "EXPORT_VIDEO":e=Uo(e);e=To(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Uo(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=To(e,b);break;case "EXPORT_CLASSIFIER":e=To(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.le();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 Gn(b)}catch(g){try{new Jn(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},To=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},Vo={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
Wo={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},Uo=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},So=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=Wo[b];for(var d=Vo[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},
|
|
Ro=["image","collection","classifier"];var Xo=function(a){if(!(this instanceof Xo))return Rm(Xo,arguments);if(a instanceof Xo)return a;Yo();if("number"===typeof a)N.call(this,null,null),this.Vc=a;else if(a instanceof N)N.call(this,a.I,a.args,a.T),this.Vc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(Xo,N);w("ee.Number",Xo);var Zo=!1,Yo=function(){Zo||(mn(Xo,"Number","Number"),Zo=!0)};Xo.prototype.encode=function(a){return"number"===typeof this.Vc?this.Vc:Xo.L.encode.call(this,a)};
|
|
Xo.prototype.ma=function(a){return"number"===typeof this.Vc?ck(il(a,this.Vc)):Xo.L.ma.call(this,a)};Xo.prototype.name=function(){return"Number"};var $o=function(a){if(!(this instanceof $o))return Rm($o,arguments);if(a instanceof $o)return a;ap();if("string"===typeof a)N.call(this,null,null),this.gd=a;else if(a instanceof N)this.gd=null,a.I&&"String"==a.I.Y().returns?N.call(this,a.I,a.args,a.T):N.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x($o,N);w("ee.String",$o);var bp=!1,ap=function(){bp||(mn($o,"String","String"),bp=!0)};
|
|
$o.prototype.encode=function(a){return"string"===typeof this.gd?this.gd:$o.L.encode.call(this,a)};$o.prototype.ma=function(a){return"string"===typeof this.gd?ck(il(a,this.gd)):$o.L.ma.call(this,a)};$o.prototype.name=function(){return"String"};var cp=function(a,b){if(!(this instanceof cp))return Rm(cp,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(dp(f in Tm?Tm[f]:null,g.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.wb=ep(a,c,b);this.Sg=b.apply(null,c)};x(cp,Zm);w("ee.CustomFunction",cp);cp.prototype.encode=function(a){return{type:"Function",argumentNames:Ua(this.wb.args,function(b){return b.name}),body:a(this.Sg)}};
|
|
cp.prototype.ma=function(a){return hk(this.wb.args.map(function(b){return b.name}),il(a,this.Sg))};cp.prototype.Cd=function(a,b){return gk(il(a,this),b)};cp.prototype.Y=function(){return this.wb};
|
|
var dp=function(a,b){a=a||Object;if(!(a.prototype instanceof N))if(a&&a!=Object)if(a==String)a=$o;else if(a==Number)a=Xo;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.I=null;this.T=d};c.prototype=a.prototype;return new c(b)},fp=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 cp(b,a)},ep=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))}(al(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 gp=function(a,b){if(!(this instanceof gp))return Rm(gp,arguments);if(a instanceof gp)return a;hp();var c=S(gp,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},g=null;if(Wm(a)){if(e.value=a,c)if(Wm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Vm(a))e.value=a;else if(wa(a))e.value=Math.floor(a.getTime());else if(a instanceof N)a.I&&"Date"==a.I.Y().returns?(d=a.I,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(gp,N);w("ee.Date",gp);var ip=!1,hp=function(){ip||(mn(gp,"Date","Date"),ip=!0)};gp.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var kp=function(a){return jp(JSON.parse(a))};w("ee.Deserializer.fromJSON",kp);var jp=function(a){if("result"in a&&"values"in a)return lp(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]=mp(g,b)}a=a.value}return mp(a,b)};w("ee.Deserializer.decode",jp);
|
|
var mp=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 mp(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 dp(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new gp(a/1E3);case "Bytes":return np(new Qe({pb:a}),a);case "Invocation":return c="functionName"in a?dn(a.functionName):mp(a["function"],b),a=Fb(a.arguments,function(e){return mp(e,b)}),op(c,a);case "Dictionary":return Fb(a.value,function(e){return mp(e,b)});case "Function":var d=mp(a.body,b);a={name:"",args:Ua(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new cp(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);}},np=function(a,b){var c=function(){};q(c,Zj);c.prototype.encode=function(){return b};c.prototype.ma=function(){return a};return new c},op=function(a,b){if(a instanceof Zm)return a.apply(b);if(a instanceof N){var c=function(){return Zm.apply(this,arguments)||this};q(c,Zm);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Cd=function(d,e){return gk(il(d,a),
|
|
e)};return new N(new c,b)}throw Error("Invalid function value");},pp=function(a){return lp(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",pp);
|
|
var lp=function(a){var b=Uc(ff,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.Lb)f=dp(Object,f.Lb);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"):dn(l.functionName);l=Fb(l.arguments,e);f=op(f,l)}else f=null!==f.pb?np(new Qe({pb:f.pb}),f.pb):null!==
|
|
f.Va?np(new Qe({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.kc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new cp(f,function(){return l})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",lp);var qp=function(a){if(!(this instanceof qp))return Rm(qp,arguments);if(a instanceof qp)return a;rp();Xm(a)?(N.call(this,null,null),this.Ic=a):(a instanceof N&&a.I&&"Dictionary"==a.I.Y().returns?N.call(this,a.I,a.args,a.T):N.call(this,new O("Dictionary"),{input:a},null),this.Ic=null)};x(qp,N);w("ee.Dictionary",qp);var sp=!1,rp=function(){sp||(mn(qp,"Dictionary","Dictionary"),sp=!0)};qp.prototype.encode=function(a){return null!==this.Ic?a(this.Ic):qp.L.encode.call(this,a)};
|
|
qp.prototype.ma=function(a){return null!==this.Ic?ck(il(a,this.Ic)):qp.L.ma.call(this,a)};qp.prototype.name=function(){return"Dictionary"};var tp={};w("ee.Terrain",tp);tp.Bf=!1;tp.initialize=function(){tp.Bf||(mn(tp,"Terrain","Terrain"),tp.Bf=!0)};tp.reset=function(){nn(tp);tp.Bf=!1};var zp=function(a,b,c,d,e,g){if("ready"!=up||a||b){var f=null!=c;if(d)if(f)vp.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==up&&f)wp.push(c);else if(up="loading",pj(a,b,e,g),f)wp.push(c),hn(xp,yp);else try{hn(),xp()}catch(l){throw yp(l),l;}}else c&&c()};w("ee.initialize",zp);
|
|
var Cp=function(){up="not_ready";Oj=Nj=Aj=null;Mj=!1;fn=null;gn={};nn(gp);ip=!1;nn(qp);sp=!1;nn(T);un=!1;nn(M);po=!1;nn(X);ho=!1;nn(W);fo=!1;nn(Z);yo=!1;nn(Y);wo=!1;nn(V);Qn=!1;nn(U);xn=!1;nn(so);uo=!1;nn(Xo);Zo=!1;nn($o);bp=!1;tp.reset();for(var a=r.ee,b=0;b<Ap.length;b++){var c=Ap[b];nn(a[c]);delete a[c]}Ap=[];Tm=a;a=Bp;for(var d in a)delete a[d]};w("ee.reset",Cp);var Dp={Ll:"not_ready",LOADING:"loading",Ml:"ready"};w("ee.InitState",Dp);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var up="not_ready",wp=[],vp=[];w("ee.TILE_SIZE",256);var Ap=[],Bp={};w("ee.Algorithms",Bp);var Ep=function(a,b){"string"===typeof a&&(a=new O(a));return Zm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Ep);var Fp=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};w("ee.apply",Fp);
|
|
var xp=function(){if("loading"==up){try{hp();rp();tn();no();go();eo();xo();vo();Pn();vn();to();Yo();ap();tp.initialize();var a=jn(),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]=Gp(l),Ap.push(l),a[l]?(f[l].signature=a[l],f[l].signature.isConstructor=!0,gn[l]=!0):f[l].signature={});Tm=f;Hp()}catch(m){yp(m);return}up="ready";for(vp=[];0<wp.length;)wp.shift()()}},
|
|
yp=function(a){if("loading"==up)for(up="not_ready",wp=[];0<vp.length;)vp.shift()(a)},Hp=function(){var a=kn();Ib(a).sort().forEach(function(b){var c=a[b],d=c.Y();if(!d.hidden){b=b.split(".");var e=Bp;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 cn(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=u(c.toString,c);e[b[0]]=g}})},Gp=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 Rm(d,e);d=ln(a);var f=!(e[0]instanceof N),l=!1;d&&(g?f?l=!0:e[0].I&&e[0].I.Y().returns==d.Y().returns||(l=!0):l=!0);if(l)e=Ym(e,d.Y())?e[0]:an(d,e),N.call(this,d,bn(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.I,e.args,e.T)}};x(b,N);b.prototype.name=function(){return a};mn(b,a,a);return b};
|
|
$m=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?P("Feature",P("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.I,a.args,a.T);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?P("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 fp(a,c)}if(a instanceof Zj)return a;throw Error("Argument is not a function: "+a);case "String":return Wm(a)||a instanceof $o||a instanceof N?new $o(a):a;case "Dictionary":return Xm(a)?a:new qp(a);case "List":return new so(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Xo(a);
|
|
default:if(b in c){d=ln(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 Ip=function(a,b,c){Lc.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Bh=new xc;this.Ah=new xc};q(Ip,Lc);Ip.prototype.getTile=function(a,b){var c=Mc(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.xb,this.token].join("/");this.zb.push(c);this.xb+=1;var d=qh("DIV");Jp(this,b,a,c,d);Kp(this);return d};
|
|
var Jp=function(a,b,c,d,e){var g=aj(Zi);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.Bh.set(c,f),this.Ah.set(c,e),Za(this.zb,d),Kp(this);else throw this.wg.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},Kp=function(a){a.dispatchEvent(new Nc(a.zb.length))};Ip.prototype.J=function(){this.Ah=this.Bh=null;Lc.prototype.J.call(this)};
|
|
w("ee.FloatTileOverlay",Ip);var Lp=function(){this.ge=new Map};Lp.prototype.clear=function(){this.ge.clear()};var Mp=function(a,b){a.ge.has(b)||a.ge.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ge.get(b)};var Np=function(a){z.call(this);this.Sb=a;this.K={}};x(Np,z);var Op=[];Np.prototype.Wa=function(a,b,c,d){Array.isArray(b)||(b&&(Op[0]=b.toString()),b=Op);for(var e=0;e<b.length;e++){var g=$b(a,b[e],c||this.handleEvent,d||!1,this.Sb||this);if(!g)break;this.K[g.key]=g}return this};Np.prototype.Tc=function(a,b,c,d){return Pp(this,a,b,c,d)};
|
|
var Pp=function(a,b,c,d,e,g){if(Array.isArray(c))for(var f=0;f<c.length;f++)Pp(a,b,c[f],d,e,g);else{b=Zb(b,c,d||a.handleEvent,e,g||a.Sb||a);if(!b)return a;a.K[b.key]=b}return a};Np.prototype.pe=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.pe(a,b[g],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Sb||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])};
|
|
Np.prototype.cd=function(){Db(this.K,function(a,b){this.K.hasOwnProperty(b)&&hc(a)},this);this.K={}};Np.prototype.J=function(){Np.L.J.call(this);this.cd()};Np.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Rp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Mb[a.name]):(this.code=a=Ma(a.code),this.name=Qp(a));Ga.call(this,Ad("%s %s",this.name,b))};x(Rp,Ga);
|
|
var Qp=function(a){var b=Lb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Sp={},Mb=(Sp.AbortError=3,Sp.EncodingError=5,Sp.InvalidModificationError=9,Sp.InvalidStateError=7,Sp.NotFoundError=1,Sp.NotReadableError=4,Sp.NoModificationAllowedError=6,Sp.PathExistsError=12,Sp.QuotaExceededError=10,Sp.SecurityError=2,Sp.SyntaxError=8,Sp.TypeMismatchError=11,Sp);var Tp=function(a,b){A.call(this,a.type,b);this.Ia=a};x(Tp,A);var Up=function(){D.call(this);this.ba=new FileReader;this.ba.onloadstart=u(this.mc,this);this.ba.onprogress=u(this.mc,this);this.ba.onload=u(this.mc,this);this.ba.onabort=u(this.mc,this);this.ba.onerror=u(this.mc,this);this.ba.onloadend=u(this.mc,this)};x(Up,D);h=Up.prototype;h.abort=function(){try{this.ba.abort()}catch(a){throw new Rp(a,"aborting read");}};h.tb=function(){return this.ba.readyState};h.getError=function(){return this.ba.error&&new Rp(this.ba.error,"reading file")};
|
|
h.mc=function(a){this.dispatchEvent(new Tp(a,this))};h.J=function(){Up.L.J.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 Vp=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 Wp=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.fe=new Lp(a.getUniqueId());this.yb=new xc;this.xb=0;this.vg=a;this.ib=new Np(this);this.radius=0};q(Wp,D);h=Wp.prototype;h.Me=function(a){return $b(this,"tile-load",a)};h.bg=function(a){hc(a)};
|
|
h.Lc=function(){return Xp(this,"throttled")+Xp(this,"loading")+Xp(this,"new")};h.setOpacity=function(a){this.opacity=a;this.yb.forEach(function(b){Vp(b.ka,this.opacity)},this)};h.getStats=function(){return this.fe};
|
|
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.xb++].join("-");e=this.vg.getUniqueId();a=[a,e].join("-");b=this.gh(d,b,c,a);b.tileSize=this.tileSize;Vp(b.ka,this.opacity);this.yb.set(a,b);Yp(this,b);this.dispatchEvent(new Zp(this.Lc()));this.vg.Gf(b,(new Date).getTime()/1E3);return b.ka};h.releaseTile=function(a){var b=this.yb.get(a.id);this.yb.remove(a.id);b&&(b.abort(),Fa(b))};
|
|
var Yp=function(a,b){a.ib.Wa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.ml,d=(new Date).getTime();Mp(this.fe,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new $p(this.Lc()));break;case "throttled":Mp(this.fe,b.zoom).throttleCount++;this.dispatchEvent(new aq(b.Ba));break;case "failed":Mp(this.fe,b.zoom).errorCount++;this.dispatchEvent(new bq(b.Ba,b.al));break;case "aborted":this.dispatchEvent(new cq(this.Lc()))}})};
|
|
Wp.prototype.J=function(){D.prototype.J.call(this);this.yb.forEach(Fa);this.yb.clear();this.yb=null;Fa(this.ib);this.vg=this.ib=null};var Xp=function(a,b){return Xa(a.yb.Z(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",Wp);Wp.prototype.removeTileCallback=Wp.prototype.bg;Wp.prototype.addTileCallback=Wp.prototype.Me;var $p=function(){A.call(this,"tile-load")};q($p,A);var Zp=function(){A.call(this,"tile-start")};q(Zp,A);var aq=function(){A.call(this,"tile-throttle")};q(aq,A);
|
|
var bq=function(a,b){A.call(this,"tile-fail");this.errorMessage=b};q(bq,A);var cq=function(){A.call(this,"tile-abort")};q(cq,A);var dq=function(a,b,c,d){D.call(this);this.qb=a;this.zoom=b;this.ka=c.createElement("div");this.ka.id=d;this.pl=5;this.ae=function(){};this.he="new";this.zi=0;this.Df=!1};q(dq,D);dq.prototype.getDiv=function(){return this.ka};
|
|
var fq=function(a){if(!a.Df&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");eq(a,"loading");a.ml=(new Date).getTime();a.Ya=new bj;a.Ya.yc="blob";a.Ya.Wa("complete",function(){var b=mj(a.Ya),c=a.Ya.getStatus();429==c&&eq(a,"throttled");if(Vi(c)){var d={};Db(nj(a.Ya),function(g,f){d[f.toLowerCase()]=g});a.Dl=d;a.Gi=b;a.Jc()}else if(b){var e=new Up;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=dq.prototype;h.Jc=function(){this.ae(this);eq(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.zi>=this.pl?(this.al=b(a),eq(this,"failed")):(this.Fc(),setTimeout(u(function(){this.Ra||(this.Df=!0,fq(this),this.Df=!1)},this),1E3*Math.pow(2,this.zi++)))};h.abort=function(){this.Fc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&eq(this,this.he in gq?"removed":"aborted")};h.getStatus=function(){return this.he};var eq=function(a,b){a.he=b;a.dispatchEvent("status-changed")};
|
|
dq.prototype.J=function(){D.prototype.J.call(this);this.Fc();this.ka.remove();this.ae=null};var gq={aborted:!0,failed:!0,loaded:!0,removed:!0};var hq=function(){z.call(this)};q(hq,z);var iq=function(a,b){Wp.call(this,a,b);this.Ug=new xc;this.sh=new xc};q(iq,Wp);iq.prototype.gh=function(a,b,c,d){var e=new jq(a,b,c,d);this.ib.Wa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Ug.set(a,new Float32Array(e.wd)),this.sh.set(a,e.ka))});return e};iq.prototype.J=function(){Wp.prototype.J.call(this);this.sh=this.Ug=null};w("ee.layers.BinaryOverlay",iq);var jq=function(a,b,c,d){dq.call(this,a,b,c,d)};q(jq,dq);
|
|
jq.prototype.Jc=function(){var a=new Up;a.Wa("loadend",function(){this.wd=a.ba.result;dq.prototype.Jc.call(this)},void 0,this);a.readAsArrayBuffer(this.Gi)};var kq=function(a){D.call(this);this.Pc={};this.Oc={};this.Sb=new Np(this);this.W=a;this.We=!1};x(kq,D);var lq=["load","abort","error"],mq=function(a,b,c){if(c="string"===typeof c?c:c.src)a.We=!1,a.Pc[b]={src:c,fh:null}},nq=function(a,b){delete a.Pc[b];var c=a.Oc[b];c&&(delete a.Oc[b],a.Sb.pe(c,lq,a.fi))};
|
|
kq.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 vh(uh(d)):Ha||(Ha=new vh)).Yk("IMG")}else d=new Image;c.fh&&(d.crossOrigin=c.fh);this.Sb.Wa(d,lq,this.fi);this.Oc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
kq.prototype.fi=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));nq(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ra&&Nb(this.Oc)&&Nb(this.Pc)&&!this.We&&(this.We=!0,this.dispatchEvent("complete"))}};kq.prototype.J=function(){delete this.Pc;delete this.Oc;Fa(this.Sb);kq.L.J.call(this)};/*
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var oq=[],pq=function(a){var b=Qi(Ri(),"safevalues").Uh;b&&Si(b,Fi,"A URL with content '"+a+"' was sanitized away.")};-1===oq.indexOf(pq)&&oq.push(pq);function qq(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|x-ms-bmp)$/i.test(b[1])||/^video\/(?:mpeg|mp4|ogg|webm|x-matroska|quicktime|x-ms-wmv)$/i.test(b[1])||/^audio\/(?:3gpp2|3gpp|aac|amr|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)$/i.test(b[1])||/^font\/\w+/i.test(b[1])))throw Error("unsafe blob MIME type: "+
|
|
a.type);return new pd(URL.createObjectURL(a),od)};var rq=function(a,b){Wp.call(this,a,b)};q(rq,Wp);rq.prototype.gh=function(a,b,c,d){return new sq(a,b,c,d)};w("ee.layers.ImageOverlay",rq);var sq=function(a,b,c,d){dq.call(this,a,b,c,d);this.ae=tq;this.Jh=this.fa=this.Od=null;this.Wc=""};q(sq,dq);
|
|
sq.prototype.Jc=function(){try{var a=qq(this.Gi);this.Wc=qd(a);var b=this.Wc!==rd.toString()?this.Wc:this.Ba}catch(c){b=this.Ba}this.fa=new kq;mq(this.fa,this.ka.id+"-image",b);this.Jh=Zb(this.fa,uq,function(c){"load"==c.type?(this.Od=c.target,dq.prototype.Jc.call(this)):this.ed()},void 0,this);this.fa.start()};sq.prototype.Fc=function(){dq.prototype.Fc.call(this);this.fa&&(hc(this.Jh),Fa(this.fa))};sq.prototype.J=function(){dq.prototype.J.call(this);this.Wc&&URL.revokeObjectURL(this.Wc)};
|
|
var tq=function(a){a.ka.appendChild(a.Od)},uq=["load","abort","error"];var vq=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 wq=function(a,b,c,d){z.call(this);this.Tg=a;this.Yb=b;this.qg=d||"";this.Ud=c};q(wq,hq);wq.prototype.Gf=function(a){if(a.zoom<=this.Ud)a.Ba=this.Jd(a.qb,a.zoom);else{var b=a.zoom-this.Ud,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.qb.x/c),Math.floor(a.qb.y/c));a.Ba=this.Jd(c,a.zoom-b);a.ae=Da(xq,this.Ud)}var d=u(a.ed,a);a.ed=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?eq(a,"loaded"):d(e)},a);fq(a)};
|
|
wq.prototype.getUniqueId=function(){return[this.Tg,this.Yb,this.Ud,this.qg].join("-")};wq.prototype.Jd=function(a,b){a=vq("https://storage.googleapis.com",this.Tg,this.Yb,String(b),String(a.x),String(a.y));this.qg&&(a+=this.qg);return a};
|
|
var xq=function(a,b){if(!b.Od)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.Od,c/a*(b.qb.x%a),c/a*(b.qb.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",wq);var yq=function(){this.Ka=[];this.Pa=[]};h=yq.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 zq=function(a,b){z.call(this);this.Xh=a||0;this.Td=b||10;if(this.Xh>this.Td)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new yq;this.ub=new Gc;this.delay=0;this.Ef=null;this.pd()};x(zq,z);zq.prototype.Mc=function(){var a=Date.now();if(!(null!=this.Ef&&a-this.Ef<this.delay)){for(var b;0<this.Sa.R()&&(b=this.Sa.Hc(),!this.Qf(b));)this.pd();!b&&this.R()<this.Td&&(b=this.Ze());b&&(this.Ef=a,this.ub.add(b));return b}};
|
|
var Aq=function(a,b){return a.ub.remove(b)?(a.Le(b),!0):!1};h=zq.prototype;h.Le=function(a){this.ub.remove(a);this.Qf(a)&&this.R()<this.Td?this.Sa.enqueue(a):this.Ad(a)};h.pd=function(){for(var a=this.Sa;this.R()<this.Xh;)a.enqueue(this.Ze());for(;this.R()>this.Td&&0<this.Sa.R();)this.Ad(a.Hc())};h.Ze=function(){return{}};h.Ad=function(a){if("function"==typeof a.Qa)a.Qa();else for(var b in a)a[b]=null};h.Qf=function(a){return"function"==typeof a.Vk?a.Vk():!0};
|
|
h.contains=function(a){return this.Sa.contains(a)||this.ub.contains(a)};h.R=function(){return this.Sa.R()+this.ub.R()};h.isEmpty=function(){return this.Sa.isEmpty()&&this.ub.isEmpty()};h.J=function(){zq.L.J.call(this);if(0<this.ub.R())throw Error("[goog.structs.Pool] Objects not released");delete this.ub;for(var a=this.Sa;!a.isEmpty();)this.Ad(a.Hc());delete this.Sa};var Bq=function(a,b){this.Oh=a;this.re=b};Bq.prototype.getKey=function(){return this.Oh};Bq.prototype.clone=function(){return new Bq(this.Oh,this.re)};var Cq=function(a){this.za=[];if(a)a:{if(a instanceof Cq){var b=a.sb();a=a.Z();if(0>=this.R()){for(var c=this.za,d=0;d<b.length;d++)c.push(new Bq(b[d],a[d]));break a}}else b=Ib(a),a=Hb(a);for(c=0;c<b.length;c++)Dq(this,b[c],a[c])}},Dq=function(a,b,c){var d=a.za;d.push(new Bq(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=Cq.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.re}};h.Z=function(){for(var a=this.za,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].re);return b};h.sb=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.re==a})};h.Ob=function(a){return this.za.some(function(b){return b.getKey()==a})};h.clone=function(){return new Cq(this)};h.R=function(){return this.za.length};h.isEmpty=function(){return 0===this.za.length};h.clear=function(){this.za.length=0};var Eq=function(){Cq.apply(this,arguments)};q(Eq,Cq);Eq.prototype.enqueue=function(a,b){Dq(this,a,b)};Eq.prototype.Hc=function(){return this.remove()};var Fq=function(a,b){this.qh=void 0;this.ce=new Eq;zq.call(this,a,b)};x(Fq,zq);h=Fq.prototype;h.Mc=function(a,b){if(!a)return(a=Fq.L.Mc.call(this))&&this.delay&&(this.qh=r.setTimeout(u(this.Ld,this),this.delay)),a;this.ce.enqueue(void 0!==b?b:100,a);this.Ld()};h.Ld=function(){for(var a=this.ce;0<a.R();){var b=this.Mc();if(b)a.Hc().apply(this,[b]);else break}};h.Le=function(a){Fq.L.Le.call(this,a);this.Ld()};h.pd=function(){Fq.L.pd.call(this);this.Ld()};
|
|
h.J=function(){Fq.L.J.call(this);r.clearTimeout(this.qh);this.ce.clear();this.ce=null};var Gq=function(a,b){z.call(this);this.Hf=a;this.ta=b||null};q(Gq,hq);Gq.prototype.Gf=function(a,b){var c=$b(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Dl["x-earth-engine-computation-profile"];this.ta&&e&&this.ta.Sk(a.ka.id,e);break;case "failed":case "aborted":this.ta&&""!==a.ka.id&&this.ta.vl(a.ka.id),hc(c)}},void 0,this);a.Ba=this.Jd(a.qb,a.zoom);var d=u(this.xf,this,a);Hq().Mc(d,b)};Gq.prototype.getUniqueId=function(){return this.Hf.mapid+"-"+this.Hf.token};
|
|
Gq.prototype.xf=function(a,b){var c=Hq();if(a.Ra||"aborted"==a.getStatus())Aq(c,b);else{var d=$b(a,"status-changed",function(){a.he in gq&&(hc(d),Aq(c,b))});fq(a)}};Gq.prototype.Jd=function(a,b){a=Ll(this.Hf,a.x,a.y,b);return this.ta&&this.ta.isEnabled()?a+"&profiling=1":a};var Hq=function(){Iq||(Iq=new Fq(0,4));return Iq};w("ee.layers.EarthEngineTileSource",Gq);var Iq=null;var Jq=function(a){z.call(this);this.Pi=a};q(Jq,hq);Jq.prototype.Gf=function(a){a.Ba=this.Pi.formatTileUrl(a.qb.x,a.qb.y,a.zoom);fq(a)};Jq.prototype.getUniqueId=function(){return this.Pi.token};w("ee.layers.FeatureViewTileSource",Jq);var Lq=function(){D.call(this);this.me=new Kq(0,60);this.xc=new xc};q(Lq,D);Lq.prototype.send=function(a,b,c,d,e){if(this.xc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Mq(a,b,d,u(this.vi,this),void 0!==e?e:1);this.xc.set(a,b);a=u(this.xf,this,b);this.me.Mc(a,c);return b};Lq.prototype.abort=function(a){if(a=this.xc.get(a))a.jc||(a.jc=!0,a.Ia=new A("abort")),this.vi(a)};
|
|
Lq.prototype.xf=function(a,b){if(a.fa||a.jc)Nq(this,b);else if(a.Ri=b,b.setActive(!0),b=new kq,a.fa=b,!a.retry())throw Error("Cannot dispatch first request!");};Lq.prototype.vi=function(a){this.xc.remove(a.getId());a.fa&&(Nq(this,a.Ri),a.fa.Qa());a.yf&&a.yf(a.Ia,a.ri)};var Nq=function(a,b){b.setActive(!1);if(!Aq(a.me,b))throw Error("Object not released");};Lq.prototype.J=function(){D.prototype.J.call(this);this.me.Qa();this.me=null;var a=this.xc;Sa(a.Z(),function(b){b.Qa()});a.clear();this.xc=null};
|
|
w("ee.MapTileManager",Lq);var Mq=function(a,b,c,d,e){z.call(this);this.ea=a;this.Jl=b;this.ql=void 0!==e?e:1;this.yf=c;this.ac=d};q(Mq,z);h=Mq.prototype;h.getId=function(){return this.ea};h.getUrl=function(){return this.Jl};h.fl=function(a){if(this.jc)this.ac&&this.ac(this);else switch(a.type){case "load":this.Ia=a;this.ac&&this.ac(this);break;case "error":case "abort":this.retry()||(this.Ia=a,this.ac&&this.ac(this))}};h.J=function(){z.prototype.J.call(this);delete this.yf;delete this.ac};
|
|
h.retry=function(){if(this.Lg>this.ql)return!1;this.Lg++;nq(this.fa,this.ea);setTimeout(u(this.El,this),0);return!0};
|
|
h.El=function(){if(!this.jc){var a=u(function(d){this.jc||(mq(this.fa,this.ea,d),Zb(this.fa,Oq,u(this.fl,this)),this.fa.start())},this),b=this.getUrl();if(Rd(b).Aa.Ob("profiling")){var c=new bj;c.yc="blob";c.Wa("complete",u(function(){this.ri=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=qd(qq(mj(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.Lg=0;h.jc=!1;h.fa=null;
|
|
h.Ri=null;h.Ia=null;h.ri=null;var Oq=["load","abort","error"],Pq=function(){z.call(this);this.Da=!1};q(Pq,z);Pq.prototype.setActive=function(a){this.Da=a};Pq.prototype.isActive=function(){return this.Da};var Kq=function(a,b){Fq.call(this,a,b)};q(Kq,Fq);Kq.prototype.Ze=function(){return new Pq};Kq.prototype.Ad=function(a){a.Qa()};Kq.prototype.Qf=function(a){return!a.Ra&&!a.isActive()};var Qq=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.xg=new Gc;this.Rf=1;this.ta=e||null};q(Qq,Lc);h=Qq.prototype;h.Me=function(a){return $b(this,"tileevent",a)};h.bg=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.xb,this.token].join("/");this.xb+=1;c=qh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.zb.push(b);Bl(Lq).send(b,a,d,u(this.el,this,c,b));Kp(this);return c};h.Lc=function(){return this.zb.length};
|
|
h.releaseTile=function(a){Bl(Lq).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.xg.remove(b);""!==a.id&&(this.wg.remove(a.id),this.ta&&this.ta.vl(a.id))};h.setOpacity=function(a){this.Rf=a;var b=this.xg.Ca();sc(b,function(c){Vp(c,a)})};
|
|
h.el=function(a,b,c,d){"error"==c.type?(Za(this.zb,b),this.wg.add(b),this.dispatchEvent(c)):(Za(this.zb,b),c.target&&"load"==c.type&&(c=c.target,this.xg.add(c),1!=this.Rf&&Vp(c,this.Rf),a.appendChild(c)),Kp(this));this.ta&&null!==d&&this.ta.Sk(b,d)};w("ee.MapLayerOverlay",Qq);Qq.prototype.removeTileCallback=Qq.prototype.bg;Qq.prototype.addTileCallback=Qq.prototype.Me;Qq.prototype.getTile=Qq.prototype.getTile;Qq.prototype.setOpacity=Qq.prototype.setOpacity;Qq.prototype.releaseTile=Qq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.table.toDrive ee.batch.Export.table.toAsset ee.batch.Export.table.toFeatureView ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.image.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.sort ee.Collection.prototype.iterate ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.evaluate ee.data.getFeatureViewTilesKey ee.data.createAsset ee.data.getList ee.data.getAssetAcl ee.data.listAssets ee.data.authenticate ee.data.makeTableDownloadUrl ee.data.listFeatures ee.data.getWorkloadTag ee.data.createAssetHome ee.data.makeDownloadUrl ee.data.getThumbId ee.data.getAssetRootQuota ee.data.getTableDownloadId ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.startIngestion ee.data.makeThumbUrl ee.data.computeValue ee.data.authenticateViaPrivateKey ee.data.getAssetRoots ee.data.listImages ee.data.setAssetProperties ee.data.getInfo ee.data.listBuckets ee.data.getDownloadId ee.data.setAssetAcl ee.data.getTaskListWithLimit ee.data.deleteAsset ee.data.cancelOperation ee.data.listOperations ee.data.getTaskList ee.data.copyAsset ee.data.resetWorkloadTag ee.data.updateAsset ee.data.renameAsset ee.data.getAsset ee.data.cancelTask ee.data.getMapId ee.data.newTaskId ee.data.createFolder ee.data.getOperation ee.data.setWorkloadTag ee.data.startTableIngestion ee.data.authenticateViaPopup ee.data.getTileUrl ee.data.setDefaultWorkloadTag ee.data.startProcessing ee.data.updateTask ee.data.getTaskStatus ee.data.authenticateViaOauth ee.Date ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.InitState ee.TILE_SIZE ee.reset ee.call ee.initialize ee.apply ee.Algorithms ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMap ee.Filter.gt ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.inList 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.MultiLineString 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.Image.cat ee.Image.prototype.expression ee.Image ee.Image.prototype.rename ee.Image.prototype.getMap 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.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection ee.List ee.Number ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toCloudApiJSON 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_maxVertices"],"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),"collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices".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_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "),"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_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_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(" "),
|
|
"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(" "),["geometry"],["max","opt_property","opt_ascending"],["algorithm","opt_dropNulls"],["filter"],["property","opt_ascending"],["algorithm","opt_first"],["start","opt_end"],
|
|
["name","operator","value"],["opt_callback"],["func","var_args"],["legacy"],["callback"],["params","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["params","opt_callback"],["assetId","opt_callback"],["parent","opt_params","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["id"],["asset","params","opt_callback"],[],["requestedId","opt_callback"],["id"],["params","opt_callback"],["rootId","opt_callback"],["params","opt_callback"],
|
|
["params","opt_callback"],["params","opt_callback"],["taskId","request","opt_callback"],["id"],["obj","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["opt_callback"],["parent","opt_params","opt_callback"],["assetId","properties","opt_callback"],["id","opt_callback"],["project","opt_callback"],["params","opt_callback"],["assetId","aclUpdate","opt_callback"],["opt_limit","opt_callback"],["assetId","opt_callback"],["operationName","opt_callback"],
|
|
["opt_limit","opt_callback"],["opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["opt_resetDefault"],["assetId","asset","updateFields","opt_callback"],["sourceId","destinationId","opt_callback"],["id","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["opt_count","opt_callback"],["path","opt_force","opt_callback"],["operationName","opt_callback"],["tag"],["taskId","request","opt_callback"],["opt_success","opt_error"],["id","x","y","z"],["tag"],["taskId",
|
|
"params","opt_callback"],["taskId","action","opt_callback"],["taskId","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],["func","var_args"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),["func","namedArgs"],[],["var_args"],[],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],
|
|
["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["opt_visParams","opt_callback"],["name","value"],["name","value"],["name","value"],["var_args"],["var_args"],["name","value"],["start","opt_end"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["opt_filter"],[],["name","operator","value"],["name","value"],["name","value"],["geometry","opt_errorMargin"],["namedArgs"],
|
|
["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError"],["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"],["var_args"],
|
|
["expression","opt_map"],["opt_args"],["var_args"],["opt_visParams","opt_callback"],["params","opt_callback"],["opt_callback"],["r","g","b"],["params","opt_callback"],["params","opt_callback"],["geometry"],["var_args"],["params","opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],["imageCollection","opt_linkedBands","opt_linkedProperties","opt_matchPropertyName"],["selectors","opt_names"],[],["args"],["list"],["number"],["obj"],["obj","opt_isCompound"],["obj"],
|
|
["obj"],["obj"],["obj"],["obj"],["string"],[]];[dn,en,P,Jo,Ko,Lo,Mo,Fo,No,Ho,Oo,Qo,Do,Po,Io,Go,W.prototype.yh,W.prototype.limit,W.prototype.map,W.prototype.filter,W.prototype.sort,W.prototype.Nh,W.prototype.lf,W.prototype.mf,N.prototype.U,N.prototype.Hg,N.prototype.ua,N.prototype.evaluate,Ml,Dm,xm,Im,ym,El,Xl,Nl,Il,Cm,Vl,Pl,Mm,Wl,Ql,Rl,sm,Sl,Ol,Fl,Bm,zm,Lm,vm,Am,Ul,Km,bm,Hm,em,dm,cm,Gm,Qm,Jm,Fm,vm,hm,Kl,Yl,Em,fm,Om,um,Cl,Ll,Pm,om,gm,am,Dl,gp,lp,jp,kp,pp,qp,Dp,256,Cp,Ep,zp,Fp,Bp,T.prototype.set,ak,
|
|
X,X.prototype.getMap,X.prototype.U,Y.prototype.select,Y,Y.prototype.U,Y.prototype.rb,Y.prototype.getMap,Wn,Xn,Un,Yn,Zn,Vn,$n,ao,V,V.prototype.tc,co,Sn,Tn,bo,Zm.prototype.apply,Zm.prototype.call,In,Cn,Gn,Jn,U.prototype.le,U.prototype.zg,yn,Dn,Hn,U.prototype.ua,Kn,U,Bn,ro,M.prototype.l,M,M.prototype.wi,M.prototype.getMap,M.prototype.rb,M.prototype.U,qo,M.prototype.vf,M.prototype.Id,M.prototype.clip,M.prototype.select,Z.prototype.tf,Z.prototype.wf,Z.prototype.getMap,Z.prototype.U,Z.prototype.Ff,Z.prototype.select,
|
|
Z.prototype.first,Z,so,Xo,hl,Wk,Xk,fl,bl,Zk,gl,$o,tp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|