mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
636 lines
293 KiB
JavaScript
636 lines
293 KiB
JavaScript
(function(){/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var k,ba=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ca="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},da=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");
|
|
},l=da(this),ea=function(a,b){if(b){var c=l;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ca(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
ea("Symbol",function(a){if(a)return a;var b=function(e,f){this.ci=e;ca(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.ci};var c=0,d=function(e){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new b("jscomp_symbol_"+(e||"")+"_"+c++,e)};return d});
|
|
ea("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=l[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ca(d.prototype,a,{configurable:!0,writable:!0,value:function(){return fa(ba(this))}})}return a});
|
|
var fa=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},m=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ba(a)}},ha=function(a){if(!(a instanceof Array)){a=m(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ia="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ja;
|
|
if("function"==typeof Object.setPrototypeOf)ja=Object.setPrototypeOf;else{var ka;a:{var la={tj:!0},ma={};try{ma.__proto__=la;ka=ma.tj;break a}catch(a){}ka=!1}ja=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var na=ja,q=function(a,b){a.prototype=ia(b.prototype);a.prototype.constructor=a;if(na)na(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.H=b.prototype};ea("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,f=0;f<e;f++){var g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
|
|
var oa=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+""};ea("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=oa(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}});
|
|
ea("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=oa(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});ea("String.prototype.repeat",function(a){return a?a:function(b){var c=oa(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 pa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},qa="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)pa(d,e)&&(a[e]=d[e])}return a};ea("Object.assign",function(a){return a||qa});
|
|
ea("Promise",function(a){function b(){this.ib=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.gg=function(g){if(null==this.ib){this.ib=[];var h=this;this.hg(function(){h.Fj()})}this.ib.push(g)};var d=l.setTimeout;b.prototype.hg=function(g){d(g,0)};b.prototype.Fj=function(){for(;this.ib&&this.ib.length;){var g=this.ib;this.ib=[];for(var h=0;h<g.length;++h){var n=g[h];g[h]=null;try{n()}catch(p){this.wj(p)}}}this.ib=null};b.prototype.wj=function(g){this.hg(function(){throw g;
|
|
})};var e=function(g){this.V=0;this.sa=void 0;this.mc=[];var h=this.Le();try{g(h.resolve,h.reject)}catch(n){h.reject(n)}};e.prototype.Le=function(){function g(p){return function(t){n||(n=!0,p.call(h,t))}}var h=this,n=!1;return{resolve:g(this.bk),reject:g(this.Hf)}};e.prototype.bk=function(g){if(g===this)this.Hf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.ck(g);else{a:switch(typeof g){case "object":var h=null!=g;break a;case "function":h=!0;break a;default:h=!1}h?
|
|
this.ak(g):this.Tg(g)}};e.prototype.ak=function(g){var h=void 0;try{h=g.then}catch(n){this.Hf(n);return}"function"==typeof h?this.dk(h,g):this.Tg(g)};e.prototype.Hf=function(g){this.Ph(2,g)};e.prototype.Tg=function(g){this.Ph(1,g)};e.prototype.Ph=function(g,h){if(0!=this.V)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.V);this.V=g;this.sa=h;this.Hj()};e.prototype.Hj=function(){if(null!=this.mc){for(var g=0;g<this.mc.length;++g)f.gg(this.mc[g]);this.mc=null}};var f=
|
|
new b;e.prototype.ck=function(g){var h=this.Le();g.rd(h.resolve,h.reject)};e.prototype.dk=function(g,h){var n=this.Le();try{g.call(h,n.resolve,n.reject)}catch(p){n.reject(p)}};e.prototype.then=function(g,h){function n(E,aa){return"function"==typeof E?function(Fa){try{p(E(Fa))}catch(T){t(T)}}:aa}var p,t,C=new e(function(E,aa){p=E;t=aa});this.rd(n(g,p),n(h,t));return C};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.rd=function(g,h){function n(){switch(p.V){case 1:g(p.sa);break;
|
|
case 2:h(p.sa);break;default:throw Error("Unexpected state: "+p.V);}}var p=this;null==this.mc?f.gg(n):this.mc.push(n)};e.resolve=c;e.reject=function(g){return new e(function(h,n){n(g)})};e.race=function(g){return new e(function(h,n){for(var p=m(g),t=p.next();!t.done;t=p.next())c(t.value).rd(h,n)})};e.all=function(g){var h=m(g),n=h.next();return n.done?c([]):new e(function(p,t){function C(Fa){return function(T){E[Fa]=T;aa--;0==aa&&p(E)}}var E=[],aa=0;do E.push(void 0),aa++,c(n.value).rd(C(E.length-
|
|
1),t),n=h.next();while(!n.done)})};return e});var ra=function(a,b){a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};ea("Array.prototype.keys",function(a){return a?a:function(){return ra(this,function(b){return b})}});ea("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push([d,b[d]]);return c}});
|
|
ea("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});ea("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 f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});ea("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==oa(this,b,"includes").indexOf(b,c||0)}});
|
|
ea("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});
|
|
ea("WeakMap",function(a){function b(){}function c(n){var p=typeof n;return"object"===p&&null!==n||"function"===p}function d(n){if(!pa(n,f)){var p=new b;ca(n,f,{value:p})}}function e(n){var p=Object[n];p&&(Object[n]=function(t){if(t instanceof b)return t;d(t);return p(t)})}if(function(){if(!a||!Object.seal)return!1;try{var n=Object.seal({}),p=Object.seal({}),t=new a([[n,2],[p,3]]);if(2!=t.get(n)||3!=t.get(p))return!1;t.delete(n);t.set(p,4);return!t.has(n)&&4==t.get(p)}catch(C){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(n){this.da=(g+=Math.random()+1).toString();if(n){n=m(n);for(var p;!(p=n.next()).done;)p=p.value,this.set(p[0],p[1])}};h.prototype.set=function(n,p){if(!c(n))throw Error("Invalid WeakMap key");d(n);if(!pa(n,f))throw Error("WeakMap key fail: "+n);n[f][this.da]=p;return this};h.prototype.get=function(n){return c(n)&&pa(n,f)?n[f][this.da]:void 0};h.prototype.has=function(n){return c(n)&&pa(n,f)&&pa(n[f],
|
|
this.da)};h.prototype.delete=function(n){return c(n)&&pa(n,f)&&pa(n[f],this.da)?delete n[f][this.da]:!1};return h});
|
|
ea("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),n=new a(m([[h,"s"]]));if("s"!=n.get(h)||1!=n.size||n.get({x:4})||n.set({x:4},"t")!=n||2!=n.size)return!1;var p=n.entries(),t=p.next();if(t.done||t.value[0]!=h||"s"!=t.value[1])return!1;t=p.next();return t.done||4!=t.value[0].x||"t"!=t.value[1]||!p.next().done?!1:!0}catch(C){return!1}}())return a;var b=new WeakMap,c=function(h){this.Fc={};this.ja=
|
|
f();this.size=0;if(h){h=m(h);for(var n;!(n=h.next()).done;)n=n.value,this.set(n[0],n[1])}};c.prototype.set=function(h,n){h=0===h?0:h;var p=d(this,h);p.list||(p.list=this.Fc[p.id]=[]);p.ca?p.ca.value=n:(p.ca={next:this.ja,fb:this.ja.fb,head:this.ja,key:h,value:n},p.list.push(p.ca),this.ja.fb.next=p.ca,this.ja.fb=p.ca,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.ca&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.Fc[h.id],h.ca.fb.next=h.ca.next,h.ca.next.fb=
|
|
h.ca.fb,h.ca.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Fc={};this.ja=this.ja.fb=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).ca};c.prototype.get=function(h){return(h=d(this,h).ca)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=function(h,n){for(var p=this.entries(),
|
|
t;!(t=p.next()).done;)t=t.value,h.call(n,t[1],t[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,n){var p=n&&typeof n;"object"==p||"function"==p?b.has(n)?p=b.get(n):(p=""+ ++g,b.set(n,p)):p="p_"+n;var t=h.Fc[p];if(t&&pa(h.Fc,p))for(h=0;h<t.length;h++){var C=t[h];if(n!==n&&C.key!==C.key||n===C.key)return{id:p,list:t,index:h,ca:C}}return{id:p,list:t,index:-1,ca:void 0}},e=function(h,n){var p=h.ja;return fa(function(){if(p){for(;p.head!=h.ja;)p=p.fb;for(;p.next!=p.head;)return p=
|
|
p.next,{done:!1,value:n(p)};p=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.fb=h.next=h.head=h},g=0;return c});
|
|
ea("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(m([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(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.l=new Map;if(c){c=
|
|
m(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.l.size};b.prototype.add=function(c){c=0===c?0:c;this.l.set(c,c);this.size=this.l.size;return this};b.prototype.delete=function(c){c=this.l.delete(c);this.size=this.l.size;return c};b.prototype.clear=function(){this.l.clear();this.size=0};b.prototype.has=function(c){return this.l.has(c)};b.prototype.entries=function(){return this.l.entries()};b.prototype.values=function(){return this.l.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.l.forEach(function(f){return c.call(d,f,f,e)})};return b});ea("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push(b[d]);return c}});ea("String.prototype.padStart",function(a){return a?a:function(b,c){var d=oa(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}});
|
|
var sa=sa||{},r=this||self,ta=/^[\w+/_-]+[=]{0,2}$/,ua=null,va=function(a){return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&ta.test(a)?a:""},wa=function(){},xa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ya=function(a){var b=xa(a);return"array"==b||"object"==b&&"number"==typeof a.length},za=function(a){return u(a)&&"function"==typeof a.getFullYear},v=function(a){return"function"==xa(a)},u=function(a){var b=typeof a;
|
|
return"object"==b&&null!=a||"function"==b},Ca=function(a){return Object.prototype.hasOwnProperty.call(a,Aa)&&a[Aa]||(a[Aa]=++Ba)},Aa="closure_uid_"+(1E9*Math.random()>>>0),Ba=0,Da=function(a,b,c){return a.call.apply(a.bind,arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},
|
|
w=function(a,b,c){w=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Da:Ea;return w.apply(null,arguments)},Ga=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)}},Ha=Date.now||function(){return+new Date},x=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},y=function(a,b){function c(){}c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a};var Ia=function(){this.Ma=this.Ma;this.Jd=this.Jd};Ia.prototype.Ma=!1;Ia.prototype.La=function(){this.Ma||(this.Ma=!0,this.G())};Ia.prototype.G=function(){if(this.Jd)for(;this.Jd.length;)this.Jd.shift()()};var Ja=function(a){a&&"function"==typeof a.La&&a.La()};var z=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ub=!1};z.prototype.stopPropagation=function(){this.Ub=!0};z.prototype.preventDefault=function(){this.defaultPrevented=!0};var Ka=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ka);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};y(Ka,Error);Ka.prototype.name="CustomError";var La;var Ma=function(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");Ka.call(this,c+a[d])};y(Ma,Ka);Ma.prototype.name="AssertionError";
|
|
var Na=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ma(""+e,f||[]);},A=function(a,b,c){a||Na("",null,b,Array.prototype.slice.call(arguments,2))},Oa=function(a,b){throw new Ma("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Pa=function(a,b,c){"number"!==typeof a&&Na("Expected number but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Qa=function(a,b,c){"string"!==typeof a&&Na("Expected string but got %s: %s.",
|
|
[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Ra=function(a,b,c){v(a)||Na("Expected function but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Sa=function(a,b,c){u(a)||Na("Expected object but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Ta=Array.prototype.indexOf?function(a,b){A(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},Ua=Array.prototype.lastIndexOf?function(a,b){A(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},Va=Array.prototype.forEach?function(a,b,c){A(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Wa=Array.prototype.filter?function(a,b){A(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var h=
|
|
f[g];b.call(void 0,h,g,a)&&(d[e++]=h)}return d},Xa=Array.prototype.map?function(a,b,c){A(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},Ya=Array.prototype.some?function(a,b){A(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},Za=Array.prototype.every?function(a,b,c){A(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},$a=function(a,b){var c=0;Va(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},bb=function(a){a:{var b=ab;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)){b=e;break a}b=-1}return 0>b?null:"string"===
|
|
typeof a?a.charAt(b):a[b]},cb=function(a,b){return 0<=Ta(a,b)},eb=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},gb=function(a,b){b=Ta(a,b);var c;(c=0<=b)&&fb(a,b);return c},fb=function(a,b){A(null!=a.length);Array.prototype.splice.call(a,b,1)},hb=function(a){return Array.prototype.concat.apply([],arguments)},ib=function(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[]},jb=function(a,b){for(var c=1;c<arguments.length;c++){var d=
|
|
arguments[c];if(ya(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},kb=function(a,b,c){A(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},lb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=u(f)?"o"+Ca(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},mb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);
|
|
return b},nb=function(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 f=kb(d,e,e+8192);f=nb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var ob=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},pb=/&/g,qb=/</g,rb=/>/g,sb=/"/g,tb=/'/g,ub=/\x00/g,vb=/[\x00&<>"']/,wb=function(a,b){return a<b?-1:a>b?1:0};var xb;a:{var yb=r.navigator;if(yb){var zb=yb.userAgent;if(zb){xb=zb;break a}}xb=""}var Ab=function(a){return-1!=xb.indexOf(a)};var Bb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Cb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Db=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Eb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Fb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Gb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Ib=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Kb=function(a){var b=
|
|
Jb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Lb=function(a){for(var b in a)return!1;return!0},Mb=function(a,b){b in a&&delete a[b]},Nb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Ob=function(a){var b=xa(a);if("object"==b||"array"==b){if(v(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Ob(a[c]);return b}return a},Pb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Qb=function(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 f=0;f<Pb.length;f++)c=Pb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Rb=function(a){return a};var Ub=function(a,b){this.Vf=a===Sb&&b||"";this.fj=Tb};Ub.prototype.Rc=!0;Ub.prototype.Nc=function(){return this.Vf};Ub.prototype.toString=function(){return"Const{"+this.Vf+"}"};var Vb=function(a){if(a instanceof Ub&&a.constructor===Ub&&a.fj===Tb)return a.Vf;Oa("expected object of type Const, got '"+a+"'");return"type_error:Const"},Tb={},Sb={};var Yb=function(a,b){this.Df=a===Wb&&b||"";this.jj=Xb};Yb.prototype.Rc=!0;Yb.prototype.Nc=function(){return this.Df.toString()};Yb.prototype.toString=function(){return"TrustedResourceUrl{"+this.Df+"}"};
|
|
var Zb=function(a){if(a instanceof Yb&&a.constructor===Yb&&a.jj===Xb)return a.Df;Oa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+xa(a));return"type_error:TrustedResourceUrl"},cc=function(a){var b=Vb($b);if(!ac.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(bc,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 Ub?Vb(d):encodeURIComponent(String(d))});return new Yb(Wb,c)},bc=/%{(\w+)}/g,ac=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Xb={},Wb={};var fc=function(a,b){this.Cf=a===dc&&b||"";this.bj=ec};fc.prototype.Rc=!0;fc.prototype.Nc=function(){return this.Cf.toString()};fc.prototype.toString=function(){return"SafeUrl{"+this.Cf+"}"};
|
|
var gc=function(a){if(a instanceof fc&&a.constructor===fc&&a.bj===ec)return a.Cf;Oa("expected object of type SafeUrl, got '"+a+"' of type "+xa(a));return"type_error:SafeUrl"},hc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i,ic=function(a){if(hc.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?
|
|
r.URL:void 0!==r.webkitURL&&void 0!==r.webkitURL.createObjectURL?r.webkitURL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new fc(dc,a)},ec={},dc={};var jc=function(){this.Bf=""};jc.prototype.Rc=!0;jc.prototype.Nc=function(){return this.Bf};jc.prototype.toString=function(){return"SafeStyle{"+this.Bf+"}"};jc.prototype.gf=function(a){this.Bf=a};(new jc).gf("");var kc=function(){this.Af=""};kc.prototype.Rc=!0;kc.prototype.Nc=function(){return this.Af};kc.prototype.toString=function(){return"SafeStyleSheet{"+this.Af+"}"};kc.prototype.gf=function(a){this.Af=a};(new kc).gf("");var lc=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||r;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e.HTMLScriptElement&&(!a||!(a instanceof e.HTMLScriptElement)&&(a instanceof e.Location||a instanceof e.Element))){if(u(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f="<object could not be stringified>"}else f=void 0===a?"undefined":null===a?"null":typeof a;Oa("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
"HTMLScriptElement",f)}a.src=Zb(b);(b=a.ownerDocument&&a.ownerDocument.defaultView)&&b!=r?b=va(b.document):(null===ua&&(ua=va(r.document)),b=ua);b&&a.setAttribute("nonce",b)};var mc=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")},nc=function(a){vb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(pb,"&")),-1!=a.indexOf("<")&&(a=a.replace(qb,"<")),-1!=a.indexOf(">")&&(a=a.replace(rb,">")),-1!=a.indexOf('"')&&(a=a.replace(sb,""")),-1!=a.indexOf("'")&&(a=a.replace(tb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(ub,"�")));return a},oc=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 pc=function(a){pc[" "](a);return a};pc[" "]=wa;var rc=function(a,b){var c=qc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var sc=Ab("Opera"),tc=Ab("Trident")||Ab("MSIE"),uc=Ab("Edge"),vc=Ab("Gecko")&&!(-1!=xb.toLowerCase().indexOf("webkit")&&!Ab("Edge"))&&!(Ab("Trident")||Ab("MSIE"))&&!Ab("Edge"),wc=-1!=xb.toLowerCase().indexOf("webkit")&&!Ab("Edge"),xc=function(){var a=r.document;return a?a.documentMode:void 0},yc;
|
|
a:{var zc="",Ac=function(){var a=xb;if(vc)return/rv:([^\);]+)(\)|;)/.exec(a);if(uc)return/Edge\/([\d\.]+)/.exec(a);if(tc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(wc)return/WebKit\/(\S+)/.exec(a);if(sc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Ac&&(zc=Ac?Ac[1]:"");if(tc){var Bc=xc();if(null!=Bc&&Bc>parseFloat(zc)){yc=String(Bc);break a}}yc=zc}
|
|
var Cc=yc,qc={},Dc=function(a){return rc(a,function(){for(var b=0,c=ob(String(Cc)).split("."),d=ob(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;b=wb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||wb(0==g[2].length,0==h[2].length)||wb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Ec;
|
|
if(r.document&&tc){var Fc=xc();Ec=Fc?Fc:parseInt(Cc,10)||void 0}else Ec=void 0;var Gc=Ec;var Hc=Object.freeze||function(a){return a};var Ic=!tc||9<=Number(Gc),Jc=tc&&!Dc("9"),Kc=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",wa,b),r.removeEventListener("test",wa,b)}catch(c){}return a}();var Mc=function(a,b){z.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Ca=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(vc){a:{try{pc(b.nodeName);var e=!0;break a}catch(f){}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=wc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=wc||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:Lc[a.pointerType]||"";this.state=a.state;this.Ca=a;a.defaultPrevented&&this.preventDefault()}};
|
|
y(Mc,z);var Lc=Hc({2:"touch",3:"pen",4:"mouse"});Mc.prototype.stopPropagation=function(){Mc.H.stopPropagation.call(this);this.Ca.stopPropagation?this.Ca.stopPropagation():this.Ca.cancelBubble=!0};Mc.prototype.preventDefault=function(){Mc.H.preventDefault.call(this);var a=this.Ca;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Jc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Nc="closure_listenable_"+(1E6*Math.random()|0),Oc=function(a){return!(!a||!a[Nc])},Pc=0;var Qc=function(a,b,c,d,e){this.listener=a;this.Kd=null;this.src=b;this.type=c;this.capture=!!d;this.cb=e;this.key=++Pc;this.oc=this.qd=!1},Rc=function(a){a.oc=!0;a.listener=null;a.Kd=null;a.src=null;a.cb=null};var Sc=function(a){this.src=a;this.$={};this.gd=0};Sc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.gd++);var g=Tc(a,b,d,e);-1<g?(b=a[g],c||(b.qd=!1)):(b=new Qc(b,this.src,f,!!d,e),b.qd=c,a.push(b));return b};Sc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.$))return!1;var e=this.$[a];b=Tc(e,b,c,d);return-1<b?(Rc(e[b]),fb(e,b),0==e.length&&(delete this.$[a],this.gd--),!0):!1};
|
|
var Uc=function(a,b){var c=b.type;c in a.$&&gb(a.$[c],b)&&(Rc(b),0==a.$[c].length&&(delete a.$[c],a.gd--))};Sc.prototype.bd=function(a){a=a&&a.toString();var b=0,c;for(c in this.$)if(!a||c==a){for(var d=this.$[c],e=0;e<d.length;e++)++b,Rc(d[e]);delete this.$[c];this.gd--}};Sc.prototype.Kc=function(a,b,c,d){a=this.$[a.toString()];var e=-1;a&&(e=Tc(a,b,c,d));return-1<e?a[e]:null};
|
|
Sc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Eb(this.$,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var Tc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.oc&&f.listener==b&&f.capture==!!c&&f.cb==d)return e}return-1};var Vc="closure_lm_"+(1E6*Math.random()|0),Wc={},Xc=0,Zc=function(a,b,c,d,e){if(d&&d.once)return Yc(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Zc(a,b[f],c,d,e);return null}c=$c(c);return Oc(a)?a.Oa(b,c,u(d)?!!d.capture:!!d,e):ad(a,b,c,!1,d,e)},ad=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=u(e)?!!e.capture:!!e,h=bd(a);h||(a[Vc]=h=new Sc(a));c=h.add(b,c,d,g,f);if(c.Kd)return c;d=cd();c.Kd=d;d.src=a;d.listener=c;if(a.addEventListener)Kc||(e=g),void 0===e&&(e=
|
|
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(dd(b.toString()),d);else if(a.addListener&&a.removeListener)A("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Xc++;return c},cd=function(){var a=ed,b=Ic?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Yc=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Yc(a,
|
|
b[f],c,d,e);return null}c=$c(c);return Oc(a)?a.Wc(b,c,u(d)?!!d.capture:!!d,e):ad(a,b,c,!0,d,e)},fd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)fd(a,b[f],c,d,e);else d=u(d)?!!d.capture:!!d,c=$c(c),Oc(a)?a.Yd(b,c,d,e):a&&(a=bd(a))&&(b=a.Kc(b,c,d,e))&&gd(b)},gd=function(a){if("number"!==typeof a&&a&&!a.oc){var b=a.src;if(Oc(b))Uc(b.Ba,a);else{var c=a.type,d=a.Kd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(dd(c),d):b.addListener&&b.removeListener&&
|
|
b.removeListener(d);Xc--;(c=bd(b))?(Uc(c,a),0==c.gd&&(c.src=null,b[Vc]=null)):Rc(a)}}},dd=function(a){return a in Wc?Wc[a]:Wc[a]="on"+a},id=function(a,b,c,d){var e=!0;if(a=bd(a))if(b=a.$[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.oc&&(f=hd(f,d),e=e&&!1!==f)}return e},hd=function(a,b){var c=a.listener,d=a.cb||a.src;a.qd&&gd(a);return c.call(d,b)},ed=function(a,b){if(a.oc)return!0;if(!Ic){if(!b)a:{b=["window","event"];for(var c=r,d=0;d<b.length;d++)if(c=c[b[d]],
|
|
null==c){b=null;break a}b=c}d=b;b=new Mc(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.Ub&&0<=e;e--){b.currentTarget=d[e];var f=id(d[e],a,!0,b);c=c&&f}for(e=0;!b.Ub&&e<d.length;e++)b.currentTarget=d[e],f=id(d[e],a,!1,b),c=c&&f}return c}return hd(a,new Mc(b,this))},bd=function(a){a=a[Vc];return a instanceof
|
|
Sc?a:null},jd="__closure_events_fn_"+(1E9*Math.random()>>>0),$c=function(a){A(a,"Listener can not be null.");if(v(a))return a;A(a.handleEvent,"An object listener must have handleEvent method.");a[jd]||(a[jd]=function(b){return a.handleEvent(b)});return a[jd]};var kd=function(){Ia.call(this);this.Ba=new Sc(this);this.uj=this;this.yf=null};y(kd,Ia);kd.prototype[Nc]=!0;k=kd.prototype;k.addEventListener=function(a,b,c,d){Zc(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){fd(this,a,b,c,d)};
|
|
k.dispatchEvent=function(a){ld(this);var b=this.yf;if(b){var c=[];for(var d=1;b;b=b.yf)c.push(b),A(1E3>++d,"infinite loop")}b=this.uj;d=a.type||a;if("string"===typeof a)a=new z(a,b);else if(a instanceof z)a.target=a.target||b;else{var e=a;a=new z(d,b);Qb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Ub&&0<=f;f--){var g=a.currentTarget=c[f];e=md(g,d,!0,a)&&e}a.Ub||(g=a.currentTarget=b,e=md(g,d,!0,a)&&e,a.Ub||(e=md(g,d,!1,a)&&e));if(c)for(f=0;!a.Ub&&f<c.length;f++)g=a.currentTarget=c[f],e=md(g,d,!1,a)&&e;
|
|
return e};k.G=function(){kd.H.G.call(this);this.Ba&&this.Ba.bd(void 0);this.yf=null};k.Oa=function(a,b,c,d){ld(this);return this.Ba.add(String(a),b,!1,c,d)};k.Wc=function(a,b,c,d){return this.Ba.add(String(a),b,!0,c,d)};k.Yd=function(a,b,c,d){this.Ba.remove(String(a),b,c,d)};
|
|
var md=function(a,b,c,d){b=a.Ba.$[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.oc&&g.capture==c){var h=g.listener,n=g.cb||g.src;g.qd&&Uc(a.Ba,g);e=!1!==h.call(n,d)&&e}}return e&&!d.defaultPrevented};kd.prototype.Kc=function(a,b,c,d){return this.Ba.Kc(String(a),b,c,d)};kd.prototype.hasListener=function(a,b){return this.Ba.hasListener(void 0!==a?String(a):void 0,b)};var ld=function(a){A(a.Ba,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var nd="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},od=function(){};od.prototype.next=function(){throw nd;};od.prototype.bc=function(){return this};
|
|
var pd=function(a){if(a instanceof od)return a;if("function"==typeof a.bc)return a.bc(!1);if(ya(a)){var b=0,c=new od;c.next=function(){for(;;){if(b>=a.length)throw nd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},qd=function(a,b){if(ya(a))try{Va(a,b,void 0)}catch(c){if(c!==nd)throw c;}else{a=pd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==nd)throw c;}}};var rd=function(a,b){this.l={};this.I=[];this.jd=this.J=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)};k=rd.prototype;k.M=function(){return this.J};k.T=function(){sd(this);for(var a=[],b=0;b<this.I.length;b++)a.push(this.l[this.I[b]]);return a};k.Ea=function(){sd(this);return this.I.concat()};k.kb=function(a){return td(this.l,a)};
|
|
k.Ec=function(a){for(var b=0;b<this.I.length;b++){var c=this.I[b];if(td(this.l,c)&&this.l[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.J!=a.M())return!1;b=b||ud;sd(this);for(var c,d=0;c=this.I[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var ud=function(a,b){return a===b};rd.prototype.isEmpty=function(){return 0==this.J};rd.prototype.clear=function(){this.l={};this.jd=this.J=this.I.length=0};
|
|
rd.prototype.remove=function(a){return td(this.l,a)?(delete this.l[a],this.J--,this.jd++,this.I.length>2*this.J&&sd(this),!0):!1};var sd=function(a){if(a.J!=a.I.length){for(var b=0,c=0;b<a.I.length;){var d=a.I[b];td(a.l,d)&&(a.I[c++]=d);b++}a.I.length=c}if(a.J!=a.I.length){var e={};for(c=b=0;b<a.I.length;)d=a.I[b],td(e,d)||(a.I[c++]=d,e[d]=1),b++;a.I.length=c}};k=rd.prototype;k.get=function(a,b){return td(this.l,a)?this.l[a]:b};
|
|
k.set=function(a,b){td(this.l,a)||(this.J++,this.I.push(a),this.jd++);this.l[a]=b};k.addAll=function(a){if(a instanceof rd)for(var b=a.Ea(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};k.forEach=function(a,b){for(var c=this.Ea(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};k.clone=function(){return new rd(this)};
|
|
k.bc=function(a){sd(this);var b=0,c=this.jd,d=this,e=new od;e.next=function(){if(c!=d.jd)throw Error("The map has changed since the iterator was created");if(b>=d.I.length)throw nd;var f=d.I[b++];return a?f:d.l[f]};return e};var td=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var vd=function(a){if(a.M&&"function"==typeof a.M)a=a.M();else if(ya(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},wd=function(a){if(a.T&&"function"==typeof a.T)return a.T();if("string"===typeof a)return a.split("");if(ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Fb(a)},xd=function(a){if(a.Ea&&"function"==typeof a.Ea)return a.Ea();if(!a.T||"function"!=typeof a.T){if(ya(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
|
|
return b}return Gb(a)}},yd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ya(a)||"string"===typeof a)Va(a,b,c);else for(var d=xd(a),e=wd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},zd=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(ya(a)||"string"===typeof a)return Za(a,b,void 0);for(var c=xd(a),d=wd(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0};var Ad=function(a){this.l=new rd;a&&this.addAll(a)},Bd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+Ca(a):b.substr(0,1)+a};k=Ad.prototype;k.M=function(){return this.l.M()};k.add=function(a){this.l.set(Bd(a),a)};k.addAll=function(a){a=wd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.bd=function(a){a=wd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.l.remove(Bd(a))};k.clear=function(){this.l.clear()};k.isEmpty=function(){return this.l.isEmpty()};
|
|
k.contains=function(a){return this.l.kb(Bd(a))};k.ih=function(a){var b=new Ad;a=wd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.Qe=function(a){var b=this.clone();b.bd(a);return b};k.T=function(){return this.l.T()};k.clone=function(){return new Ad(this)};k.equals=function(a){return this.M()==vd(a)&&Cd(this,a)};
|
|
var Cd=function(a,b){var c=vd(b);if(a.M()>c)return!1;!(b instanceof Ad)&&5<c&&(b=new Ad(b));return zd(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Ec&&"function"==typeof e.Ec?e.Ec(d):ya(e)||"string"===typeof e?cb(e,d):Ib(e,d)})};Ad.prototype.bc=function(){return this.l.bc(!1)};var ee={},Dd=function(a,b,c){kd.call(this);this.Rj=b;this.token=c;this.tb=[];this.Zf=new Ad;this.rb=0;this.url=a};y(Dd,kd);x("ee.AbstractOverlay",Dd);var Ed=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.Rj,c,e,b.y].join("/")};Dd.prototype.Lc=function(){return this.tb.length};var Fd=function(a){z.call(this,"tileevent");this.count=a};y(Fd,z);var Gd=function(){},Hd=new Gd;function Id(a){return Object.assign({S:{},qk:{},keys:[],xa:{},s:{},L:{}},a)}var B=function(){this.a={}},D=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},F=function(a,b){return null!=a.a[b]};function Jd(a,b){return D(b,a)}function Kd(a,b,c){b[a]=c}function Ld(){return{}}function Md(a,b){var c=new a;return null==b?c:Nd(b,Od,Pd,Qd,a)}function Od(a,b){return b[a]}function Pd(a,b,c){b.a[a]=c}
|
|
function Qd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Nd(a,b,c,d,e){e=d(e);var f=Rd(a,e),g=f.S||{},h=f.s||{},n=f.xa||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={xc:p.xc},t=f.next()){t=t.value;var C=b(t,a);if(null!=C){var E=void 0;g.hasOwnProperty(t)?E=Sd(C,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?E=Sd(C,b,c,d,!1,!0,h[t]):n.hasOwnProperty(t)?(p.xc=n[t],E=p.xc.ka?C.map(function(aa){return function(Fa){return Td(Fa,aa.xc,b,c,d)}}(p)):Td(C,p.xc,b,c,d)):E=Array.isArray(C)?Sd(C,b,c,d,!0,!1):C instanceof Gd?null:C;c(t,e,E)}}return e}
|
|
function Td(a,b,c,d,e){for(var f={},g=m(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var n=a[h];null!=n&&(f[h]=Sd(n,c,d,e,b.ma,b.la,b.fa))}return f}function Sd(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(h){return Nd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Nd(a,b,c,d,g):a instanceof Gd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
|
|
function Rd(a,b){if(b instanceof B)a=Id(b.f());else if(a instanceof B)a=Id(a.f());else throw Error("Cannot find ClassMetadata.");return a};var Ud=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^\\/?#]*)@)?([^\\/?#]*?)(?::([0-9]+))?(?=[\\/?#]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Vd=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 f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var Wd=function(a,b){this.ab=this.Zb=this.qb="";this.nc=null;this.Lb=this.eb="";this.va=this.Nj=!1;if(a instanceof Wd){this.va=void 0!==b?b:a.va;Xd(this,a.qb);var c=a.Zb;Yd(this);this.Zb=c;c=a.ab;Yd(this);this.ab=c;Zd(this,a.nc);this.setPath(a.getPath());$d(this,a.ya.clone());a=a.Lb;Yd(this);this.Lb=a}else a&&(c=String(a).match(Ud))?(this.va=!!b,Xd(this,c[1]||"",!0),a=c[2]||"",Yd(this),this.Zb=ae(a),a=c[3]||"",Yd(this),this.ab=ae(a,!0),Zd(this,c[4]),this.setPath(c[5]||"",!0),$d(this,c[6]||"",!0),
|
|
a=c[7]||"",Yd(this),this.Lb=ae(a)):(this.va=!!b,this.ya=new be(null,this.va))};
|
|
Wd.prototype.toString=function(){var a=[],b=this.qb;b&&a.push(ce(b,de,!0),":");var c=this.ab;if(c||"file"==b)a.push("//"),(b=this.Zb)&&a.push(ce(b,de,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.nc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.ab&&"/"!=c.charAt(0)&&a.push("/"),a.push(ce(c,"/"==c.charAt(0)?fe:ge,!0));(c=this.ya.toString())&&a.push("?",c);(c=this.Lb)&&a.push("#",ce(c,he));return a.join("")};
|
|
Wd.prototype.resolve=function(a){var b=this.clone(),c=!!a.qb;c?Xd(b,a.qb):c=!!a.Zb;if(c){var d=a.Zb;Yd(b);b.Zb=d}else c=!!a.ab;c?(d=a.ab,Yd(b),b.ab=d):c=null!=a.nc;d=a.getPath();if(c)Zd(b,a.nc);else if(c=!!a.eb){if("/"!=d.charAt(0))if(this.ab&&!this.eb)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(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 f=[],g=0;g<e.length;){var h=e[g++];
|
|
"."==h?d&&g==e.length&&f.push(""):".."==h?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.ya.toString();c?$d(b,a.ya.clone()):c=!!a.Lb;c&&(a=a.Lb,Yd(b),b.Lb=a);return b};Wd.prototype.clone=function(){return new Wd(this)};
|
|
var Xd=function(a,b,c){Yd(a);a.qb=c?ae(b,!0):b;a.qb&&(a.qb=a.qb.replace(/:$/,""))},Zd=function(a,b){Yd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.nc=b}else a.nc=null};Wd.prototype.getPath=function(){return this.eb};Wd.prototype.setPath=function(a,b){Yd(this);this.eb=b?ae(a,!0):a;return this};var $d=function(a,b,c){Yd(a);b instanceof be?(a.ya=b,a.ya.Of(a.va)):(c||(b=ce(b,ie)),a.ya=new be(b,a.va))};Wd.prototype.getQuery=function(){return this.ya.toString()};
|
|
Wd.prototype.removeParameter=function(a){Yd(this);this.ya.remove(a);return this};var Yd=function(a){if(a.Nj)throw Error("Tried to modify a read-only Uri");};Wd.prototype.Of=function(a){this.va=a;this.ya&&this.ya.Of(a)};
|
|
var je=function(a){return a instanceof Wd?a.clone():new Wd(a,void 0)},ae=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ce=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,ke),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},ke=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},de=/[#\/\?@]/g,ge=/[#\?:]/g,fe=/[#\?]/g,ie=/[#\?@]/g,he=/#/g,be=function(a,b){this.J=this.N=null;this.qa=a||null;this.va=!!b},
|
|
le=function(a){a.N||(a.N=new rd,a.J=0,a.qa&&Vd(a.qa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=be.prototype;k.M=function(){le(this);return this.J};k.add=function(a,b){le(this);this.qa=null;a=me(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.J=Pa(this.J)+1;return this};k.remove=function(a){le(this);a=me(this,a);return this.N.kb(a)?(this.qa=null,this.J=Pa(this.J)-this.N.get(a).length,this.N.remove(a)):!1};k.clear=function(){this.N=this.qa=null;this.J=0};
|
|
k.isEmpty=function(){le(this);return 0==this.J};k.kb=function(a){le(this);a=me(this,a);return this.N.kb(a)};k.Ec=function(a){var b=this.T();return cb(b,a)};k.forEach=function(a,b){le(this);this.N.forEach(function(c,d){Va(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ea=function(){le(this);for(var a=this.N.T(),b=this.N.Ea(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
k.T=function(a){le(this);var b=[];if("string"===typeof a)this.kb(a)&&(b=hb(b,this.N.get(me(this,a))));else{a=this.N.T();for(var c=0;c<a.length;c++)b=hb(b,a[c])}return b};k.set=function(a,b){le(this);this.qa=null;a=me(this,a);this.kb(a)&&(this.J=Pa(this.J)-this.N.get(a).length);this.N.set(a,[b]);this.J=Pa(this.J)+1;return this};k.get=function(a,b){if(!a)return b;a=this.T(a);return 0<a.length?String(a[0]):b};
|
|
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.qa=null,this.N.set(me(this,a),ib(b)),this.J=Pa(this.J)+b.length)};k.toString=function(){if(this.qa)return this.qa;if(!this.N)return"";for(var a=[],b=this.N.Ea(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.T(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.qa=a.join("&")};
|
|
k.clone=function(){var a=new be;a.qa=this.qa;this.N&&(a.N=this.N.clone(),a.J=this.J);return a};var me=function(a,b){b=String(b);a.va&&(b=b.toLowerCase());return b};be.prototype.Of=function(a){a&&!this.va&&(le(this),this.qa=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.va=a};be.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)yd(arguments[b],function(c,d){this.add(d,c)},this)};function ne(a){if(null!=a.o){var b={},c;for(c in a.o)void 0!==a.o[c]&&(b[c]=a.o[c]);a.o=b}}function G(a){for(var b={},c=m(Object.entries(oe)),d=c.next();!d.done;d=c.next()){var e=m(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var pe=function(){};pe.prototype.A=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function qe(a){var b=a.body instanceof B?Nd(a.body,Jd,Kd,Ld):a.body;return{path:a.path,u:a.u,C:a.C,body:b,o:a.o,Rh:a.Rh&&a.Rh}};function re(a,b){if(null==a)return null;a=a.rk(b);return null==a?null:a};var se=function(a,b){this.P=a;this.Kj=void 0===b?null:b};q(se,pe);var te=function(a,b,c){var d=re(a.Kj,b);if(null==d)return c;d.sk();return c.then(function(e){d.uk(e);return e},function(e){d.tk(e);throw e;})},H=function(a,b){var c=b.F||void 0;return te(a,b,a.P.send(qe(b),c))};var ue={fe:"ADMIN_READ",he:"DATA_READ",ie:"DATA_WRITE",Oi:"LOG_TYPE_UNSPECIFIED",values:function(){return[ue.Oi,ue.fe,ue.ie,ue.he]}},ve={fe:"ADMIN_READ",ei:"ADMIN_WRITE",he:"DATA_READ",ie:"DATA_WRITE",Wi:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ve.Wi,ve.fe,ve.ei,ve.he,ve.ie]}},we={mi:"CAPABILITY_GROUP_UNSPECIFIED",ni:"CLOUD_ALPHA",xi:"EXTERNAL",Hi:"INTERNAL",Ki:"LIMITED",Xi:"PREAUTHORIZED",Zi:"PREVIEW",qe:"PUBLIC",values:function(){return[we.mi,we.qe,we.Hi,we.xi,we.Ki,we.Xi,we.Zi,we.ni]}},
|
|
xe={di:"ADMIN_ACTIVITY",pi:"DATA_ACCESS",oj:"UNSPECIFIED_LOG_NAME",values:function(){return[xe.oj,xe.di,xe.pi]}},ye={hi:"APPROVER",ii:"ATTRIBUTION",ji:"AUTHORITY",oi:"CREDENTIALS_TYPE",Ji:"JUSTIFICATION_TYPE",pe:"NO_ATTR",cj:"SECURITY_REALM",values:function(){return[ye.pe,ye.ji,ye.ii,ye.cj,ye.hi,ye.Ji,ye.oi]}},ze={vi:"DISCHARGED",wi:"EQUALS",Di:"IN",Qi:"NOT_EQUALS",Ri:"NOT_IN",Ti:"NO_OP",values:function(){return[ze.Ti,ze.wi,ze.Qi,ze.Di,ze.Ri,ze.vi]}},Ae={Ii:"IP",Pi:"NAME",pe:"NO_ATTR",$i:"REGION",
|
|
dj:"SERVICE",values:function(){return[Ae.pe,Ae.$i,Ae.dj,Ae.Pi,Ae.Ii]}},Be={Mi:"LOG_FAIL_CLOSED",Ni:"LOG_MODE_UNSPECIFIED",values:function(){return[Be.Ni,Be.Mi]}},Ce={zi:"FOLDER",Bi:"IMAGE",Ci:"IMAGE_COLLECTION",hj:"TABLE",kj:"TYPE_UNSPECIFIED",values:function(){return[Ce.kj,Ce.Bi,Ce.Ci,Ce.hj,Ce.zi]}},De={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",
|
|
values:function(){return[De.wb,De.xb,De.Ab,De.ub,De.zb,De.vb,De.Bb,De.yb,De.Cb,De.Db]}},Ee={pj:"V1",qj:"V2",rj:"VERSION_UNSPECIFIED",values:function(){return[Ee.rj,Ee.pj,Ee.qj]}},Fe={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Fe.wb,Fe.xb,Fe.Ab,Fe.ub,Fe.zb,Fe.vb,Fe.Bb,Fe.yb,Fe.Cb,Fe.Db]}},Ge={Ai:"HORIZONTAL",Ui:"ORIENTATION_UNSPECIFIED",
|
|
sj:"VERTICAL",values:function(){return[Ge.Ui,Ge.Ai,Ge.sj]}},He={si:"DEFAULT_OBJECT_ACL",qe:"PUBLIC",ij:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[He.ij,He.qe,He.si]}},Ie={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[Ie.Wa,Ie.Ua,Ie.Xa,Ie.MIN,Ie.MAX,Ie.Va]}},Je={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[Je.Wa,Je.Ua,Je.Xa,Je.MIN,Je.MAX,Je.Va]}},Ke={MAX:"MAX",
|
|
Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[Ke.Wa,Ke.Ua,Ke.Xa,Ke.MIN,Ke.MAX,Ke.Va]}},Le={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Le.wb,Le.xb,Le.Ab,Le.ub,Le.zb,Le.vb,Le.Bb,Le.yb,Le.Cb,Le.Db]}},Me={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",
|
|
Xa:"SAMPLE",values:function(){return[Me.Wa,Me.Ua,Me.Xa,Me.MIN,Me.MAX,Me.Va]}},Ne={ki:"CANCELLED",li:"CANCELLING",yi:"FAILED",Vi:"PENDING",aj:"RUNNING",ej:"STATE_UNSPECIFIED",gj:"SUCCEEDED",values:function(){return[Ne.ej,Ne.Vi,Ne.aj,Ne.li,Ne.gj,Ne.ki,Ne.yi]}},Oe={je:"DOUBLE",FLOAT:"FLOAT",INT:"INT",Yi:"PRECISION_UNSPECIFIED",values:function(){return[Oe.Yi,Oe.INT,Oe.FLOAT,Oe.je]}},Pe={fi:"ALLOW",gi:"ALLOW_WITH_LOG",ti:"DENY",ui:"DENY_WITH_LOG",Li:"LOG",Si:"NO_ACTION",values:function(){return[Pe.Si,
|
|
Pe.fi,Pe.gi,Pe.ti,Pe.ui,Pe.Li]}},Qe={ge:"CSV",ke:"GEO_JSON",me:"KML",ne:"KMZ",re:"SHP",se:"TABLE_FILE_FORMAT_UNSPECIFIED",te:"TF_RECORD_TABLE",values:function(){return[Qe.se,Qe.ge,Qe.ke,Qe.me,Qe.ne,Qe.re,Qe.te]}},Re={ge:"CSV",ke:"GEO_JSON",me:"KML",ne:"KMZ",re:"SHP",se:"TABLE_FILE_FORMAT_UNSPECIFIED",te:"TF_RECORD_TABLE",values:function(){return[Re.se,Re.ge,Re.ke,Re.me,Re.ne,Re.re,Re.te]}},Se={ub:"AUTO_JPEG_PNG",vb:"GEO_TIFF",wb:"IMAGE_FILE_FORMAT_UNSPECIFIED",xb:"JPEG",yb:"MULTI_BAND_IMAGE_TILE",
|
|
zb:"NPY",Ab:"PNG",Bb:"TF_RECORD_IMAGE",Cb:"ZIPPED_GEO_TIFF",Db:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Se.wb,Se.xb,Se.Ab,Se.ub,Se.zb,Se.vb,Se.Bb,Se.yb,Se.Cb,Se.Db]}},Te={MAX:"MAX",Ua:"MEAN",MIN:"MIN",Va:"MODE",Wa:"PYRAMIDING_POLICY_UNSPECIFIED",Xa:"SAMPLE",values:function(){return[Te.Wa,Te.Ua,Te.Xa,Te.MIN,Te.MAX,Te.Va]}},Ue={ri:"DATA_TYPE_UNSPECIFIED",je:"DOUBLE",FLOAT:"FLOAT",Ei:"INT16",Fi:"INT32",Gi:"INT8",lj:"UINT16",mj:"UINT32",nj:"UINT8",values:function(){return[Ue.ri,Ue.Gi,Ue.nj,
|
|
Ue.Ei,Ue.lj,Ue.Fi,Ue.mj,Ue.FLOAT,Ue.je]}},Ve={le:"GIF",oe:"MP4",ue:"VIDEO_FILE_FORMAT_UNSPECIFIED",ve:"VP9",values:function(){return[Ve.ue,Ve.oe,Ve.le,Ve.ve]}},We={le:"GIF",oe:"MP4",ue:"VIDEO_FILE_FORMAT_UNSPECIFIED",ve:"VP9",values:function(){return[We.ue,We.oe,We.le,We.ve]}},Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.Kf?null:a.Kf;this.a.shearX=null==a.Pf?null:a.Pf;this.a.translateX=null==a.bg?null:a.bg;this.a.shearY=null==a.Qf?null:a.Qf;this.a.scaleY=null==a.Lf?null:a.Lf;this.a.translateY=
|
|
null==a.cg?null:a.cg};q(Xe,B);Xe.prototype.f=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
l.Object.defineProperties(Xe.prototype,{Kf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?D(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?D(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},Pf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?D(this,"shearX"):null},set:function(a){this.a.shearX=a}},Qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
|
|
D(this,"shearY"):null},set:function(a){this.a.shearY=a}},bg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?D(this,"translateX"):null},set:function(a){this.a.translateX=a}},cg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?D(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
|
|
var Ye=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.description=null==a.description?null:a.description;this.a.returnType=null==a.Jf?null:a.Jf;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.Oe?null:a.Oe;this.a.hidden=null==a.hidden?null:a.hidden;this.a.preview=null==a.preview?null:a.preview;this.a.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Ye,B);
|
|
Ye.prototype.f=function(){return{S:{arguments:Ze},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
l.Object.defineProperties(Ye.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?D(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecated")?D(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},Oe:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecationReason")?D(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return F(this,"hidden")?D(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return F(this,"preview")?D(this,"preview"):null},set:function(a){this.a.preview=
|
|
a}},Jf:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnType")?D(this,"returnType"):null},set:function(a){this.a.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return F(this,"sourceCodeUri")?D(this,"sourceCodeUri"):null},set:function(a){this.a.sourceCodeUri=a}}});
|
|
var Ze=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.od?null:a.od;this.a.type=null==a.type?null:a.type;this.a.description=null==a.description?null:a.description;this.a.optional=null==a.optional?null:a.optional;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue};q(Ze,B);Ze.prototype.f=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
l.Object.defineProperties(Ze.prototype,{od:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentName")?D(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?D(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"optional")?D(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}}});var $e=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q($e,B);$e.prototype.f=function(){return{S:{values:af},keys:["values"]}};
|
|
l.Object.defineProperties($e.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var bf=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.Nh?null:a.Nh;this.a.exemptedMembers=null==a.Ic?null:a.Ic;this.a.auditLogConfigs=null==a.kg?null:a.kg};q(bf,B);bf.prototype.f=function(){return{S:{auditLogConfigs:cf},keys:["auditLogConfigs","exemptedMembers","service"]}};
|
|
l.Object.defineProperties(bf.prototype,{kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?D(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},Ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},Nh:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?D(this,"service"):null},set:function(a){this.a.service=a}}});
|
|
var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.rh?null:a.rh;this.a.exemptedMembers=null==a.Ic?null:a.Ic;this.a.ignoreChildExemptions=null==a.fh?null:a.fh};q(cf,B);cf.prototype.f=function(){return{L:{logType:ue},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
l.Object.defineProperties(cf.prototype,{Ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},fh:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?D(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},rh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?D(this,"logType"):null},set:function(a){this.a.logType=
|
|
a}}});var df=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.Bh?null:a.Bh};q(df,B);df.prototype.f=function(){return{L:{permissionType:ve},keys:["permissionType"]}};l.Object.defineProperties(df.prototype,{Bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?D(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
|
|
var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.rc?null:a.rc;this.a.members=null==a.Rb?null:a.Rb;this.a.condition=null==a.vg?null:a.vg};q(ef,B);ef.prototype.f=function(){return{keys:["condition","members","role"],s:{condition:ff}}};
|
|
l.Object.defineProperties(ef.prototype,{vg:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?D(this,"condition"):null},set:function(a){this.a.condition=a}},Rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?D(this,"members"):null},set:function(a){this.a.members=a}},rc:{configurable:!0,enumerable:!0,get:function(){return F(this,"role")?D(this,"role"):null},set:function(a){this.a.role=a}}});var gf=function(){this.a={}};q(gf,B);gf.prototype.f=function(){return{keys:[]}};
|
|
var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.sg?null:a.sg};q(hf,B);hf.prototype.f=function(){return{L:{capabilities:we},keys:["capabilities"]}};l.Object.defineProperties(hf.prototype,{sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?D(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});var jf=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.qh?null:a.qh;this.a.authorizationLoggingOptions=null==a.lg?null:a.lg};
|
|
q(jf,B);jf.prototype.f=function(){return{L:{logName:xe},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:df}}};
|
|
l.Object.defineProperties(jf.prototype,{lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?D(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?D(this,"logName"):null},set:function(a){this.a.logName=a}}});var kf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i};q(kf,B);
|
|
kf.prototype.f=function(){return{keys:["expression"],s:{expression:lf}}};l.Object.defineProperties(kf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}}});var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};q(mf,B);mf.prototype.f=function(){return{keys:["result"]}};
|
|
l.Object.defineProperties(mf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?D(this,"result"):null},set:function(a){this.a.result=a}}});var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.ah?null:a.ah;this.a.sys=null==a.Vh?null:a.Vh;this.a.svc=null==a.Uh?null:a.Uh;this.a.op=null==a.zh?null:a.zh;this.a.values=null==a.values?null:a.values};q(nf,B);nf.prototype.f=function(){return{L:{iam:ye,op:ze,sys:Ae},keys:["iam","op","svc","sys","values"]}};
|
|
l.Object.defineProperties(nf.prototype,{ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?D(this,"iam"):null},set:function(a){this.a.iam=a}},zh:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?D(this,"op"):null},set:function(a){this.a.op=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?D(this,"svc"):null},set:function(a){this.a.svc=a}},Vh:{configurable:!0,enumerable:!0,get:function(){return F(this,"sys")?D(this,"sys"):null},set:function(a){this.a.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var of=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Ib?null:a.Ib;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.ba?null:a.ba};q(of,B);of.prototype.f=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
l.Object.defineProperties(of.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},Ib:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?D(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}}});
|
|
var pf=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.sh?null:a.sh;this.a.field=null==a.Mg?null:a.Mg;this.a.customFields=null==a.Eg?null:a.Eg};q(pf,B);pf.prototype.f=function(){return{S:{customFields:qf},keys:["customFields","field","metric"]}};
|
|
l.Object.defineProperties(pf.prototype,{Eg:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?D(this,"customFields"):null},set:function(a){this.a.customFields=a}},Mg:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?D(this,"field"):null},set:function(a){this.a.field=a}},sh:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?D(this,"metric"):null},set:function(a){this.a.metric=a}}});
|
|
var qf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.value=null==a.value?null:a.value};q(qf,B);qf.prototype.f=function(){return{keys:["name","value"]}};l.Object.defineProperties(qf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return F(this,"value")?D(this,"value"):null},set:function(a){this.a.value=a}}});
|
|
var rf=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.ph?null:a.ph};q(rf,B);rf.prototype.f=function(){return{L:{logMode:Be},keys:["logMode"]}};l.Object.defineProperties(rf.prototype,{ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?D(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(sf,B);
|
|
sf.prototype.f=function(){return{keys:["values"],xa:{values:{fa:af,ka:!1,la:!0,ma:!1}}}};l.Object.defineProperties(sf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var tf=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};q(tf,B);tf.prototype.f=function(){return{keys:["max","min"]}};
|
|
l.Object.defineProperties(tf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?D(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?D(this,"min"):null},set:function(a){this.a.min=a}}});var uf=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.Ze?null:a.Ze;this.a.filenamePrefix=null==a.ua?null:a.ua};q(uf,B);uf.prototype.f=function(){return{keys:["filenamePrefix","folder"]}};
|
|
l.Object.defineProperties(uf.prototype,{ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?D(this,"folder"):null},set:function(a){this.a.folder=a}}});
|
|
var vf=function(a){a=void 0===a?{}:a;this.a={};this.a.type=null==a.type?null:a.type;this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ia?null:a.Ia;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=
|
|
null==a.bands?null:a.bands;this.a.sizeBytes=null==a.za?null:a.za;this.a.quota=null==a.quota?null:a.quota;this.a.tilestoreEntry=null==a.Yh?null:a.Yh;this.a.gcsLocation=null==a.Ug?null:a.Ug;this.a.expression=null==a.i?null:a.i};q(vf,B);
|
|
vf.prototype.f=function(){return{S:{bands:wf},L:{type:Ce},keys:"bands description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),xa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{expression:lf,gcsLocation:xf,quota:yf,tilestoreEntry:zf}}};
|
|
l.Object.defineProperties(vf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsLocation")?D(this,"gcsLocation"):null},set:function(a){this.a.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return F(this,"geometry")?D(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return F(this,"quota")?D(this,"quota"):null},set:function(a){this.a.quota=a}},za:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=
|
|
a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},Yh:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilestoreEntry")?D(this,"tilestoreEntry"):null},set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?
|
|
D(this,"type"):null},set:function(a){this.a.type=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});var Af=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};q(Af,B);Af.prototype.f=function(){return{keys:["name"]}};
|
|
l.Object.defineProperties(Af.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}}});var Bf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.bandIds=null==a.ba?null:a.ba;this.a.visualizationOptions=null==a.$b?null:a.$b};q(Bf,B);
|
|
Bf.prototype.f=function(){return{L:{fileFormat:De},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:lf,visualizationOptions:Cf}}};
|
|
l.Object.defineProperties(Bf.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},$b:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var Df=function(){this.a={}};q(Df,B);Df.prototype.f=function(){return{keys:[]}};
|
|
var Ef=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Za?null:a.Za;this.a.maxPixels=null==a.uf?null:a.uf;this.a.grid=null==a.K?null:a.K;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(Ef,B);
|
|
Ef.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount requestId".split(" "),s:{assetExportOptions:Ff,expression:lf,fileExportOptions:Gf,grid:Hf}}};
|
|
l.Object.defineProperties(Ef.prototype,{Za:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?D(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},uf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?D(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},U:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?
|
|
D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}}});
|
|
var If=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.tileOptions=null==a.Xb?null:a.Xb;this.a.tileExportOptions=null==a.Wb?null:a.Wb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(If,B);If.prototype.f=function(){return{keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions".split(" "),s:{expression:lf,tileExportOptions:Gf,tileOptions:Jf}}};
|
|
l.Object.defineProperties(If.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?D(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}}});
|
|
var Kf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Za?null:a.Za;this.a.selectors=null==a.selectors?null:a.selectors;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxErrorMeters=null==a.Pb?null:a.Pb;this.a.maxWorkerCount=null==a.U?null:a.U;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices};q(Kf,B);
|
|
Kf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount requestId selectors".split(" "),s:{assetExportOptions:Lf,expression:lf,fileExportOptions:Mf}}};
|
|
l.Object.defineProperties(Kf.prototype,{Za:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?D(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Pb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?D(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?D(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},U:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?D(this,"selectors"):null},set:function(a){this.a.selectors=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ja?null:a.Ja;this.a.tileOptions=null==a.Xb?null:a.Xb;this.a.tileExportOptions=null==a.Wb?null:a.Wb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.version=null==a.version?null:a.version;this.a.maxWorkerCount=null==a.U?null:a.U};q(Nf,B);
|
|
Nf.prototype.f=function(){return{L:{version:Ee},keys:"description expression maxWorkerCount requestId tileExportOptions tileOptions version videoOptions".split(" "),s:{expression:lf,tileExportOptions:Of,tileOptions:Jf,videoOptions:Pf}}};
|
|
l.Object.defineProperties(Nf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Wb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?D(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?
|
|
D(this,"version"):null},set:function(a){this.a.version=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});
|
|
var Qf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ja?null:a.Ja;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(Qf,B);Qf.prototype.f=function(){return{keys:"description expression fileExportOptions maxWorkerCount requestId videoOptions".split(" "),s:{expression:lf,fileExportOptions:Of,videoOptions:Pf}}};
|
|
l.Object.defineProperties(Qf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},U:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkerCount")?D(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});
|
|
var ff=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.location=null==a.location?null:a.location};q(ff,B);ff.prototype.f=function(){return{keys:["description","expression","location","title"]}};
|
|
l.Object.defineProperties(ff.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?D(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}}});var lf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values;this.a.result=null==a.result?null:a.result};q(lf,B);lf.prototype.f=function(){return{keys:["result","values"],xa:{values:{fa:af,ka:!1,la:!0,ma:!1}}}};
|
|
l.Object.defineProperties(lf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?D(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});
|
|
var Rf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.orientation=null==a.orientation?null:a.orientation;this.a.fileFormat=null==a.B?null:a.B;this.a.grid=null==a.K?null:a.K};q(Rf,B);Rf.prototype.f=function(){return{L:{fileFormat:Fe,orientation:Ge},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:lf,grid:Hf}}};
|
|
l.Object.defineProperties(Rf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return F(this,"orientation")?D(this,"orientation"):null},set:function(a){this.a.orientation=a}}});var yf=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.za?null:a.za;this.a.maxSizeBytes=null==a.Qb?null:a.Qb;this.a.assetCount=null==a.ze?null:a.ze;this.a.maxAssetCount=null==a.sf?null:a.sf};q(yf,B);
|
|
yf.prototype.f=function(){return{keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"]}};
|
|
l.Object.defineProperties(yf.prototype,{ze:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?D(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssetCount")?D(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?D(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},za:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}}});var Sf=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.zc?null:a.zc;this.a.body=null==a.body?null:a.body};q(Sf,B);Sf.prototype.f=function(){return{keys:["argumentNames","body"]}};
|
|
l.Object.defineProperties(Sf.prototype,{zc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentNames")?D(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return F(this,"body")?D(this,"body"):null},set:function(a){this.a.body=a}}});
|
|
var Tf=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.mb?null:a.mb;this.a.arguments=null==a.arguments?null:a.arguments};q(Tf,B);Tf.prototype.f=function(){return{keys:["arguments","functionName","functionReference"],xa:{arguments:{fa:af,ka:!1,la:!0,ma:!1}}}};
|
|
l.Object.defineProperties(Tf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?D(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionName")?D(this,"functionName"):null},set:function(a){this.a.functionName=a}},mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?D(this,"functionReference"):null},set:function(a){this.a.functionReference=
|
|
a}}});var Uf=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.Ce?null:a.Ce;this.a.filenamePrefix=null==a.ua?null:a.ua;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.De?null:a.De};q(Uf,B);Uf.prototype.f=function(){return{L:{permissions:He},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(Uf.prototype,{Ce:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?D(this,"bucket"):null},set:function(a){this.a.bucket=a}},De:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?D(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"permissions")?D(this,"permissions"):null},set:function(a){this.a.permissions=a}}});l.Object.defineProperties(Uf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return He}}});var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Sa?null:a.Sa};q(xf,B);xf.prototype.f=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(xf.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}}});var Vf=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.Ge?null:a.Ge;this.a.tileDimensions=null==a.Ha?null:a.Ha;this.a.skipEmptyFiles=null==a.Sf?null:a.Sf};q(Vf,B);Vf.prototype.f=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],s:{tileDimensions:Wf}}};
|
|
l.Object.defineProperties(Vf.prototype,{Ge:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?D(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyFiles")?D(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var Xf=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};q(Xf,B);Xf.prototype.f=function(){return{keys:["options"],s:{options:Yf}}};l.Object.defineProperties(Xf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?D(this,"options"):null},set:function(a){this.a.options=a}}});var Yf=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.Ih?null:a.Ih};q(Yf,B);Yf.prototype.f=function(){return{keys:["requestedPolicyVersion"]}};
|
|
l.Object.defineProperties(Yf.prototype,{Ih:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?D(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var Wf=function(a){a=void 0===a?{}:a;this.a={};this.a.width=null==a.width?null:a.width;this.a.height=null==a.height?null:a.height};q(Wf,B);Wf.prototype.f=function(){return{keys:["height","width"]}};
|
|
l.Object.defineProperties(Wf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return F(this,"height")?D(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return F(this,"width")?D(this,"width"):null},set:function(a){this.a.width=a}}});var Zf=function(a){a=void 0===a?{}:a;this.a={};this.a.x=null==a.x?null:a.x;this.a.y=null==a.y?null:a.y};q(Zf,B);Zf.prototype.f=function(){return{keys:["x","y"]}};
|
|
l.Object.defineProperties(Zf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return F(this,"x")?D(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return F(this,"y")?D(this,"y"):null},set:function(a){this.a.y=a}}});
|
|
var $f=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ia?null:a.Ia;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=null==a.bands?null:a.bands;this.a.sizeBytes=
|
|
null==a.za?null:a.za};q($f,B);$f.prototype.f=function(){return{S:{bands:wf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),xa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
|
|
l.Object.defineProperties($f.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"geometry")?D(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},za:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):null},set:function(a){this.a.updateTime=
|
|
a}}});var Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Kb?null:a.Kb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.Ef?null:a.Ef;this.a.tileSize=null==a.tileSize?null:a.tileSize};q(Ff,B);
|
|
Ff.prototype.f=function(){return{L:{pyramidingPolicy:Ie,pyramidingPolicyOverrides:Je},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],xa:{pyramidingPolicyOverrides:{fa:null,ka:!1,la:!1,ma:!1}},s:{earthEngineDestination:Af}}};
|
|
l.Object.defineProperties(Ff.prototype,{Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?D(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Ef:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicyOverrides")?D(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.a.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?D(this,"tileSize"):null},set:function(a){this.a.tileSize=a}}});
|
|
var wf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.dataType=null==a.dataType?null:a.dataType;this.a.grid=null==a.K?null:a.K;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.missingData=null==a.missingData?null:a.missingData};q(wf,B);
|
|
wf.prototype.f=function(){return{S:{tilesets:ag},L:{pyramidingPolicy:Ke},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),s:{dataType:bg,grid:Hf,missingData:cg}}};
|
|
l.Object.defineProperties(wf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?D(this,"dataType"):null},set:function(a){this.a.dataType=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?
|
|
D(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?D(this,"tilesets"):null},set:function(a){this.a.tilesets=a}}});
|
|
var Gf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.B?null:a.B;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia;this.a.geoTiffOptions=null==a.wd?null:a.wd;this.a.tfRecordOptions=null==a.Td?null:a.Td};q(Gf,B);Gf.prototype.f=function(){return{L:{fileFormat:Le},keys:["driveDestination","fileFormat","gcsDestination","geoTiffOptions","tfRecordOptions"],s:{driveDestination:uf,gcsDestination:Uf,geoTiffOptions:Vf,tfRecordOptions:dg}}};
|
|
l.Object.defineProperties(Gf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},wd:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"geoTiffOptions")?D(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Td:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?D(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
|
|
var eg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.hd?null:a.hd;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.rf?null:a.rf;this.a.footprint=null==a.Sg?null:a.Sg;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.startTime=null==a.startTime?
|
|
null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};q(eg,B);eg.prototype.f=function(){return{S:{bands:fg,maskBands:gg,tilesets:hg},L:{pyramidingPolicy:Me},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),xa:{properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{footprint:ig,missingData:cg}}};
|
|
l.Object.defineProperties(eg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},Sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?D(this,"footprint"):null},set:function(a){this.a.footprint=a}},rf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"maskBands")?D(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?D(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?D(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},hd:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var jg=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Sa?null:a.Sa;this.a.affineTransform=null==a.Eb?null:a.Eb};q(jg,B);jg.prototype.f=function(){return{keys:["affineTransform","uris"],s:{affineTransform:Xe}}};
|
|
l.Object.defineProperties(jg.prototype,{Eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.ef?null:a.ef;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};q(kg,B);kg.prototype.f=function(){return{keys:["description","imageManifest","overwrite","requestId"],s:{imageManifest:eg}}};
|
|
l.Object.defineProperties(kg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},ef:{configurable:!0,enumerable:!0,get:function(){return F(this,"imageManifest")?D(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}}});var lg=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.Xf?null:a.Xf;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.requestId?null:a.requestId};q(lg,B);lg.prototype.f=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:mg}}};
|
|
l.Object.defineProperties(lg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Xf:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tableManifest")?D(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var ng=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.yc?null:a.yc};q(ng,B);ng.prototype.f=function(){return{S:{algorithms:Ye},keys:["algorithms"]}};l.Object.defineProperties(ng.prototype,{yc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?D(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
|
|
var og=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.assets?null:a.assets;this.a.nextPageToken=null==a.Pa?null:a.Pa};q(og,B);og.prototype.f=function(){return{S:{assets:vf},keys:["assets","nextPageToken"]}};
|
|
l.Object.defineProperties(og.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?D(this,"assets"):null},set:function(a){this.a.assets=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var pg=function(a){a=void 0===a?{}:a;this.a={};this.a.images=null==a.images?null:a.images;this.a.nextPageToken=null==a.Pa?null:a.Pa};q(pg,B);
|
|
pg.prototype.f=function(){return{S:{images:$f},keys:["images","nextPageToken"]}};l.Object.defineProperties(pg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return F(this,"images")?D(this,"images"):null},set:function(a){this.a.images=a}},Pa:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});
|
|
var qg=function(a){a=void 0===a?{}:a;this.a={};this.a.operations=null==a.Fa?null:a.Fa;this.a.nextPageToken=null==a.Pa?null:a.Pa};q(qg,B);qg.prototype.f=function(){return{S:{operations:rg},keys:["nextPageToken","operations"]}};
|
|
l.Object.defineProperties(qg.prototype,{Pa:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"operations")?D(this,"operations"):null},set:function(a){this.a.operations=a}}});var sg=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.zg?null:a.zg;this.a.dataAccess=null==a.Fg?null:a.Fg;this.a.cloudAudit=null==a.ug?null:a.ug};
|
|
q(sg,B);sg.prototype.f=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:jf,counter:pf,dataAccess:rf}}};
|
|
l.Object.defineProperties(sg.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudAudit")?D(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},zg:{configurable:!0,enumerable:!0,get:function(){return F(this,"counter")?D(this,"counter"):null},set:function(a){this.a.counter=a}},Fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?D(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
|
|
var cg=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};q(cg,B);cg.prototype.f=function(){return{keys:["values"]}};l.Object.defineProperties(cg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var tg=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.Ib?null:a.Ib};q(tg,B);tg.prototype.f=function(){return{keys:["destinationName"]}};
|
|
l.Object.defineProperties(tg.prototype,{Ib:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?D(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});var rg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.vf?null:a.vf;this.a.done=null==a.done?null:a.done;this.a.error=null==a.error?null:a.error;this.a.response=null==a.response?null:a.response};q(rg,B);
|
|
rg.prototype.f=function(){return{keys:["done","error","metadata","name","response"],xa:{metadata:{fa:null,ka:!1,la:!1,ma:!1},response:{fa:null,ka:!1,la:!1,ma:!1}},s:{error:ug}}};
|
|
l.Object.defineProperties(rg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return F(this,"done")?D(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return F(this,"error")?D(this,"error"):null},set:function(a){this.a.error=a}},vf:{configurable:!0,enumerable:!0,get:function(){return F(this,"metadata")?D(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?
|
|
D(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return F(this,"response")?D(this,"response"):null},set:function(a){this.a.response=a}}});
|
|
var vg=function(a){a=void 0===a?{}:a;this.a={};this.a.state=null==a.state?null:a.state;this.a.description=null==a.description?null:a.description;this.a.type=null==a.type?null:a.type;this.a.priority=null==a.priority?null:a.priority;this.a.createTime=null==a.Me?null:a.Me;this.a.updateTime=null==a.Ia?null:a.Ia;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.scriptUri=null==a.Mf?null:a.Mf;this.a.destinationUris=null==a.Pe?null:a.Pe};q(vg,B);
|
|
vg.prototype.f=function(){return{L:{state:Ne},keys:"createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" ")}};
|
|
l.Object.defineProperties(vg.prototype,{Me:{configurable:!0,enumerable:!0,get:function(){return F(this,"createTime")?D(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},Pe:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationUris")?D(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return F(this,"priority")?D(this,"priority"):null},set:function(a){this.a.priority=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scriptUri")?D(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},
|
|
set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return F(this,"state")?D(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
|
|
var bg=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.ad?null:a.ad;this.a.dimensionsCount=null==a.Jg?null:a.Jg};q(bg,B);bg.prototype.f=function(){return{L:{precision:Oe},keys:["dimensionsCount","precision","range"],s:{range:tf}}};
|
|
l.Object.defineProperties(bg.prototype,{Jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensionsCount")?D(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return F(this,"precision")?D(this,"precision"):null},set:function(a){this.a.precision=a}},ad:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?D(this,"range"):null},set:function(a){this.a.range=a}}});
|
|
var ig=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.Ch?null:a.Ch;this.a.bandId=null==a.mg?null:a.mg};q(ig,B);ig.prototype.f=function(){return{S:{points:Zf},keys:["bandId","points"]}};l.Object.defineProperties(ig.prototype,{mg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?D(this,"bandId"):null},set:function(a){this.a.bandId=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?D(this,"points"):null},set:function(a){this.a.points=a}}});
|
|
var Hf=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.Ne?null:a.Ne;this.a.crsWkt=null==a.Bg?null:a.Bg;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.Eb?null:a.Eb};q(Hf,B);Hf.prototype.f=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:Xe,dimensions:Wf}}};
|
|
l.Object.defineProperties(Hf.prototype,{Eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Ne:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?D(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},Bg:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsWkt")?D(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"dimensions")?D(this,"dimensions"):null},set:function(a){this.a.dimensions=a}}});var wg=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.pd?null:a.pd;this.a.auditConfigs=null==a.jg?null:a.jg;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.Te?null:a.Te;this.a.iamOwned=null==a.bh?null:a.bh};q(wg,B);wg.prototype.f=function(){return{S:{auditConfigs:bf,bindings:ef,rules:xg},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
|
|
l.Object.defineProperties(wg.prototype,{jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?D(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},pd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?D(this,"bindings"):null},set:function(a){this.a.bindings=a}},Te:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?D(this,"etag"):null},set:function(a){this.a.etag=a}},bh:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"iamOwned")?D(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return F(this,"rules")?D(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?D(this,"version"):null},set:function(a){this.a.version=a}}});
|
|
var xg=function(a){a=void 0===a?{}:a;this.a={};this.a.description=null==a.description?null:a.description;this.a.permissions=null==a.permissions?null:a.permissions;this.a.action=null==a.action?null:a.action;this.a["in"]=null==a.hh?null:a.hh;this.a.notIn=null==a.uh?null:a.uh;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.oh?null:a.oh};q(xg,B);xg.prototype.f=function(){return{S:{conditions:nf,logConfig:sg},L:{action:Pe},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
l.Object.defineProperties(xg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return F(this,"action")?D(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return F(this,"conditions")?D(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},hh:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"in")?D(this,"in"):null},set:function(a){this.a["in"]=a}},oh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?D(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"notIn")?D(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?D(this,"permissions"):null},set:function(a){this.a.permissions=
|
|
a}}});var yg=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.zf?null:a.zf;this.a.updateMask=null==a.vc?null:a.vc};q(yg,B);yg.prototype.f=function(){return{keys:["policy","updateMask"],s:{policy:wg}}};
|
|
l.Object.defineProperties(yg.prototype,{zf:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?D(this,"policy"):null},set:function(a){this.a.policy=a}},vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});var ug=function(a){a=void 0===a?{}:a;this.a={};this.a.code=null==a.code?null:a.code;this.a.message=null==a.message?null:a.message;this.a.details=null==a.details?null:a.details};q(ug,B);
|
|
ug.prototype.f=function(){return{keys:["code","details","message"],xa:{details:{fa:null,ka:!0,la:!1,ma:!1}}}};
|
|
l.Object.defineProperties(ug.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return F(this,"code")?D(this,"code"):null},set:function(a){this.a.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return F(this,"details")?D(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return F(this,"message")?D(this,"message"):null},set:function(a){this.a.message=a}}});
|
|
var zg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.selectors=null==a.selectors?null:a.selectors;this.a.filename=null==a.filename?null:a.filename};q(zg,B);zg.prototype.f=function(){return{L:{fileFormat:Re},keys:["expression","fileFormat","filename","name","selectors"],s:{expression:lf}}};
|
|
l.Object.defineProperties(zg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return F(this,"filename")?D(this,"filename"):null},set:function(a){this.a.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?D(this,"selectors"):null},set:function(a){this.a.selectors=a}}});var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.Kb?null:a.Kb};q(Lf,B);Lf.prototype.f=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:Af}}};
|
|
l.Object.defineProperties(Lf.prototype,{Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?D(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});var Mf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.B?null:a.B;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};q(Mf,B);
|
|
Mf.prototype.f=function(){return{L:{fileFormat:Qe},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:uf,gcsDestination:Uf}}};
|
|
l.Object.defineProperties(Mf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var mg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.hd?null:a.hd;this.a.sources=null==a.sources?null:a.sources;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};q(mg,B);mg.prototype.f=function(){return{S:{sources:Ag},keys:"endTime name properties sources startTime uriPrefix".split(" "),xa:{properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
|
|
l.Object.defineProperties(mg.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sources")?D(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},hd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
|
|
var Ag=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Sa?null:a.Sa;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Pb?null:a.Pb;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices;this.a.crs=null==a.crs?null:a.crs;this.a.geodesic=null==a.geodesic?null:a.geodesic;this.a.primaryGeometryColumn=null==a.Dh?null:a.Dh;this.a.xColumn=null==a.ai?null:a.ai;this.a.yColumn=null==a.bi?null:a.bi;this.a.dateFormat=null==a.Gg?null:a.Gg;this.a.csvDelimiter=null==a.Cg?
|
|
null:a.Cg;this.a.csvQualifier=null==a.Dg?null:a.Dg};q(Ag,B);Ag.prototype.f=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
l.Object.defineProperties(Ag.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return F(this,"charset")?D(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?D(this,"crs"):null},set:function(a){this.a.crs=a}},Cg:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvDelimiter")?D(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Dg:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"csvQualifier")?D(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Gg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dateFormat")?D(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return F(this,"geodesic")?D(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Pb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?D(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?D(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},Dh:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?D(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}},ai:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"xColumn")?D(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},bi:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?D(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
|
|
var dg=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Ha?null:a.Ha;this.a.marginDimensions=null==a.qf?null:a.qf;this.a.compress=null==a.Ie?null:a.Ie;this.a.maxSizeBytes=null==a.Qb?null:a.Qb;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.Sd?null:a.Sd;this.a.sequenceData=null==a.Nf?null:a.Nf;this.a.collapseBands=null==a.He?null:a.He;this.a.maxMaskedRatio=null==a.tf?null:a.tf};q(dg,B);
|
|
dg.prototype.f=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),xa:{tensorDepths:{fa:null,ka:!1,la:!1,ma:!1}},s:{marginDimensions:Wf,tileDimensions:Wf}}};
|
|
l.Object.defineProperties(dg.prototype,{He:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?D(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Ie:{configurable:!0,enumerable:!0,get:function(){return F(this,"compress")?D(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?D(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},qf:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"marginDimensions")?D(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},tf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?D(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?D(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sequenceData")?D(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},Sd:{configurable:!0,enumerable:!0,get:function(){return F(this,"tensorDepths")?D(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var Bg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.B?null:a.B;this.a.bandIds=null==a.ba?null:a.ba;this.a.visualizationOptions=null==a.$b?null:a.$b;this.a.grid=null==a.K?null:a.K;this.a.filenamePrefix=null==a.ua?null:a.ua};q(Bg,B);Bg.prototype.f=function(){return{L:{fileFormat:Se},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),s:{expression:lf,grid:Hf,visualizationOptions:Cf}}};
|
|
l.Object.defineProperties(Bg.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ua:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},$b:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=
|
|
a}}});var Jf=function(a){a=void 0===a?{}:a;this.a={};this.a.maxZoom=null==a.maxZoom?null:a.maxZoom;this.a.scale=null==a.scale?null:a.scale;this.a.minZoom=null==a.minZoom?null:a.minZoom;this.a.skipEmptyTiles=null==a.Tf?null:a.Tf;this.a.mapsApiKey=null==a.pf?null:a.pf;this.a.tileDimensions=null==a.Ha?null:a.Ha;this.a.stride=null==a.Uf?null:a.Uf;this.a.zoomSubset=null==a.eg?null:a.eg};q(Jf,B);
|
|
Jf.prototype.f=function(){return{keys:"mapsApiKey maxZoom minZoom scale skipEmptyTiles stride tileDimensions zoomSubset".split(" "),s:{tileDimensions:Wf,zoomSubset:Cg}}};
|
|
l.Object.defineProperties(Jf.prototype,{pf:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapsApiKey")?D(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxZoom")?D(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"minZoom")?D(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"scale")?D(this,"scale"):null},set:function(a){this.a.scale=a}},Tf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyTiles")?D(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return F(this,"stride")?D(this,"stride"):null},set:function(a){this.a.stride=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}},
|
|
eg:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?D(this,"zoomSubset"):null},set:function(a){this.a.zoomSubset=a}}});var hg=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.sources=null==a.sources?null:a.sources;this.a.dataType=null==a.dataType?null:a.dataType;this.a.crs=null==a.crs?null:a.crs;this.a.subdatasetPrefix=null==a.Sh?null:a.Sh;this.a.subdatasetSuffix=null==a.Th?null:a.Th};q(hg,B);
|
|
hg.prototype.f=function(){return{S:{sources:jg},L:{dataType:Ue},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
l.Object.defineProperties(hg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?D(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?D(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?
|
|
D(this,"sources"):null},set:function(a){this.a.sources=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?D(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},Th:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?D(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.tc?null:a.tc;this.a.tilesetBandIndex=null==a.Xh?null:a.Xh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(fg,B);fg.prototype.f=function(){return{L:{pyramidingPolicy:Te},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:cg}}};
|
|
l.Object.defineProperties(fg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?D(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Xh:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?D(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},tc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var gg=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.tc?null:a.tc;this.a.bandIds=null==a.ba?null:a.ba};q(gg,B);gg.prototype.f=function(){return{keys:["bandIds","tilesetId"]}};
|
|
l.Object.defineProperties(gg.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},tc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var zf=function(a){a=void 0===a?{}:a;this.a={};this.a.sources=null==a.sources?null:a.sources;this.a.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(zf,B);
|
|
zf.prototype.f=function(){return{S:{sources:Dg},keys:["pathPrefix","sources"]}};l.Object.defineProperties(zf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?D(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?D(this,"sources"):null},set:function(a){this.a.sources=a}}});
|
|
var Dg=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.$g?null:a.$g};q(Dg,B);Dg.prototype.f=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
l.Object.defineProperties(Dg.prototype,{$g:{configurable:!0,enumerable:!0,get:function(){return F(this,"headerSizeBytes")?D(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathSuffix")?D(this,"pathSuffix"):null},set:function(a){this.a.pathSuffix=a}}});
|
|
var ag=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.Ng?null:a.Ng;this.a.firstTileIndex=null==a.Pg?null:a.Pg;this.a.tilesPerFile=null==a.Wh?null:a.Wh};q(ag,B);ag.prototype.f=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
l.Object.defineProperties(ag.prototype,{Ng:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?D(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},Pg:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?D(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},Wh:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?D(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
|
|
var Eg=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.ye?null:a.ye;this.a.updateMask=null==a.vc?null:a.vc};q(Eg,B);Eg.prototype.f=function(){return{keys:["asset","updateMask"],s:{asset:vf}}};
|
|
l.Object.defineProperties(Eg.prototype,{ye:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?D(this,"asset"):null},set:function(a){this.a.asset=a}},vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var af=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.Hb?null:a.Hb;this.a.integerValue=null==a.kf?null:a.kf;this.a.bytesValue=null==a.Ee?null:a.Ee;this.a.arrayValue=null==a.Fb?null:a.Fb;this.a.dictionaryValue=null==a.Jb?null:a.Jb;this.a.functionDefinitionValue=null==a.Mb?null:a.Mb;this.a.functionInvocationValue=null==a.lb?null:a.lb;this.a.argumentReference=null==a.Ac?null:a.Ac;this.a.valueReference=null==a.hb?null:a.hb};q(af,B);
|
|
af.prototype.f=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:$e,dictionaryValue:sf,functionDefinitionValue:Sf,functionInvocationValue:Tf}}};
|
|
l.Object.defineProperties(af.prototype,{Ac:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?D(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},Fb:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?D(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},Ee:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?D(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},Hb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"constantValue")?D(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},Jb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?D(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},Mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionDefinitionValue")?D(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},lb:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"functionInvocationValue")?D(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},kf:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?D(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},hb:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?D(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
|
|
var Of=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.B?null:a.B;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};q(Of,B);Of.prototype.f=function(){return{L:{fileFormat:Ve},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:uf,gcsDestination:Uf}}};
|
|
l.Object.defineProperties(Of.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.a.maxFrames=null==a.maxFrames?null:a.maxFrames;this.a.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Pf,B);Pf.prototype.f=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
l.Object.defineProperties(Pf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return F(this,"framesPerSecond")?D(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFrames")?D(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixelsPerFrame")?D(this,"maxPixelsPerFrame"):null},set:function(a){this.a.maxPixelsPerFrame=
|
|
a}}});var Fg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.videoOptions=null==a.Ja?null:a.Ja;this.a.fileFormat=null==a.B?null:a.B;this.a.grid=null==a.K?null:a.K};q(Fg,B);Fg.prototype.f=function(){return{L:{fileFormat:We},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:lf,grid:Hf,videoOptions:Pf}}};
|
|
l.Object.defineProperties(Fg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var Cf=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.Ff?null:a.Ff;this.a.paletteColors=null==a.Zc?null:a.Zc;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};q(Cf,B);
|
|
Cf.prototype.f=function(){return{S:{ranges:tf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
l.Object.defineProperties(Cf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return F(this,"gamma")?D(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return F(this,"opacity")?D(this,"opacity"):null},set:function(a){this.a.opacity=a}},Zc:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?D(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},Ff:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"ranges")?D(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var Cg=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};q(Cg,B);Cg.prototype.f=function(){return{keys:["max","min"]}};
|
|
l.Object.defineProperties(Cg.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?D(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?D(this,"min"):null},set:function(a){this.a.min=a}}});
|
|
var oe={$Xgafv:"$.xgafv",access_token:"access_token",alt:"alt",assetId:"assetId",callback:"callback",endTime:"endTime",fields:"fields",filter:"filter",key:"key",oauth_token:"oauth_token",overwrite:"overwrite",pageSize:"pageSize",pageToken:"pageToken",prettyPrint:"prettyPrint",quotaUser:"quotaUser",region:"region",startTime:"startTime",uploadType:"uploadType",upload_protocol:"upload_protocol",view:"view"},Gg=function(a){this.j="v1alpha";this.h=new se(a,null)};
|
|
Gg.prototype.list=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:null,u:"GET",C:"earthengine.projects.algorithms.list",path:"/"+this.j+"/"+a+"/algorithms",o:G(b),F:ng})};var Hg=function(a){this.j="v1alpha";this.h=new se(a,null)};Hg.prototype.getCapabilities=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:null,u:"GET",C:"earthengine.projects.getCapabilities",path:"/"+this.j+"/"+a+"/capabilities",o:G(b),F:hf})};
|
|
Hg.prototype.Uc=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:null,u:"GET",C:"earthengine.projects.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:G(b),F:og})};var Ig=function(a){this.j="v1alpha";this.h=new se(a,null)};k=Ig.prototype;k.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.create",path:"/"+this.j+"/"+a+"/assets",o:G(c),F:vf})};
|
|
k.delete=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:null,u:"DELETE",C:"earthengine.projects.assets.delete",path:"/"+this.j+"/"+a,o:G(b),F:Df})};k.get=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:null,u:"GET",C:"earthengine.projects.assets.get",path:"/"+this.j+"/"+a,o:G(b),F:vf})};
|
|
k.link=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.link",path:"/"+this.j+"/"+a+":link",o:G(c),F:vf})};k.Uc=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:null,u:"GET",C:"earthengine.projects.assets.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:G(b),F:og})};
|
|
var Jg=function(a,b,c){c=void 0===c?{}:c;a.h.A(b,/^projects\/[^/]+\/assets\/.*$/);return H(a.h,{body:null,u:"GET",C:"earthengine.projects.assets.listImages",path:"/"+a.j+"/"+b+":listImages",o:G(c),F:pg})};Ig.prototype.move=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.move",path:"/"+this.j+"/"+a+":move",o:G(c),F:vf})};var Kg=function(a){this.j="v1alpha";this.h=new se(a,null)};
|
|
Kg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.j+"/"+a+"/filmstripThumbnails",o:G(c),F:Rf})};var Lg=function(a){this.j="v1alpha";this.h=new se(a,null)};Lg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.image.export",path:"/"+this.j+"/"+a+"/image:export",o:G(c),F:rg})};
|
|
Lg.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.image.import",path:"/"+this.j+"/"+a+"/image:import",o:G(c),F:rg})};var Mg=function(a){this.j="v1alpha";this.h=new se(a,null)};Mg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.map.export",path:"/"+this.j+"/"+a+"/map:export",o:G(c),F:rg})};
|
|
var Ng=function(a){this.j="v1alpha";this.h=new se(a,null)};Ng.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.maps.create",path:"/"+this.j+"/"+a+"/maps",o:G(c),F:Bf})};var Og=function(a){this.j="v1alpha";this.h=new se(a,null)};k=Og.prototype;
|
|
k.cancel=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.operations.cancel",path:"/"+this.j+"/"+a+":cancel",o:G(c),F:Df})};k.delete=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:null,u:"DELETE",C:"earthengine.projects.operations.delete",path:"/"+this.j+"/"+a,o:G(b),F:Df})};
|
|
k.get=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:null,u:"GET",C:"earthengine.projects.operations.get",path:"/"+this.j+"/"+a,o:G(b),F:rg})};k.list=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:null,u:"GET",C:"earthengine.projects.operations.list",path:"/"+this.j+"/"+a+"/operations",o:G(b),F:qg})};
|
|
k.wait=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.operations.wait",path:"/"+this.j+"/"+a+":wait",o:G(c),F:rg})};var Pg=function(a){this.j="v1alpha";this.h=new se(a,null)};Pg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.table.export",path:"/"+this.j+"/"+a+"/table:export",o:G(c),F:rg})};
|
|
Pg.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.table.import",path:"/"+this.j+"/"+a+"/table:import",o:G(c),F:rg})};var Qg=function(a){this.j="v1alpha";this.h=new se(a,null)};Qg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.tables.create",path:"/"+this.j+"/"+a+"/tables",o:G(c),F:zg})};
|
|
var Rg=function(a){this.j="v1alpha";this.h=new se(a,null)};Rg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.thumbnails.create",path:"/"+this.j+"/"+a+"/thumbnails",o:G(c),F:Bg})};
|
|
var Sg=function(a){this.j="v1alpha";this.h=new se(a,null)},Tg=function(a,b,c){var d=void 0===d?{}:d;a.h.A(b,/^projects\/[^/]+$/);return H(a.h,{body:c,u:"POST",C:"earthengine.projects.value.compute",path:"/"+a.j+"/"+b+"/value:compute",o:G(d),F:mf})},Ug=function(a){this.j="v1alpha";this.h=new se(a,null)};
|
|
Ug.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.video.export",path:"/"+this.j+"/"+a+"/video:export",o:G(c),F:rg})};var Vg=function(a){this.j="v1alpha";this.h=new se(a,null)};Vg.prototype.bb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.videoMap.export",path:"/"+this.j+"/"+a+"/videoMap:export",o:G(c),F:rg})};
|
|
var Wg=function(a){this.j="v1alpha";this.h=new se(a,null)};Wg.prototype.create=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return H(this.h,{body:b,u:"POST",C:"earthengine.projects.videoThumbnails.create",path:"/"+this.j+"/"+a+"/videoThumbnails",o:G(c),F:Fg})};var Xg=function(){};Xg.prototype.send=function(a,b){ne(a);return(void 0).then(function(c){return b?Md(b,c):c})};var Yg=function(a,b){this.Oj=100;this.Dj=a;this.$j=b;this.Id=0;this.ja=null};Yg.prototype.get=function(){if(0<this.Id){this.Id--;var a=this.ja;this.ja=a.next;a.next=null}else a=this.Dj();return a};Yg.prototype.put=function(a){this.$j(a);this.Id<this.Oj&&(this.Id++,a.next=this.ja,this.ja=a)};var Zg=!tc||9<=Number(Gc),$g=!vc&&!tc||tc&&9<=Number(Gc)||vc&&Dc("1.9.1");var ah=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};k=ah.prototype;k.clone=function(){return new ah(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof ah&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
|
|
k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};k.translate=function(a,b){a instanceof ah?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};k.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var bh=function(a,b){this.width=a;this.height=b};k=bh.prototype;k.clone=function(){return new bh(this.width,this.height)};k.toString=function(){return"("+this.width+" x "+this.height+")"};k.aspectRatio=function(){return this.width/this.height};k.isEmpty=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
|
k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var dh=function(a,b){Bb(b,function(c,d){c&&"object"==typeof c&&c.Rc&&(c=c.Nc());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ch.hasOwnProperty(d)?a.setAttribute(ch[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},ch={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"},fh=function(a,b,c){return eh(document,arguments)},eh=function(a,b){var c=String(b[0]),d=b[1];if(!Zg&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',nc(d.name),'"');if(d.type){c.push(' type="',nc(d.type),'"');var e={};Qb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=gh(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):dh(c,d));2<b.length&&hh(a,c,b,2);return c},hh=function(a,b,c,d){function e(h){h&&b.appendChild("string"===typeof h?a.createTextNode(h):
|
|
h)}for(;d<c.length;d++){var f=c[d];if(!ya(f)||u(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(u(f)){var g="function"==typeof f.item||"string"==typeof f.item;break a}if(v(f)){g="function"==typeof f.item;break a}}g=!1}Va(g?ib(f):f,e)}}},gh=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},ih=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},jh=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},
|
|
kh=function(a){A(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},lh=function(a){this.td=a||r.document||document};k=lh.prototype;k.getElementsByTagName=function(a,b){return(b||this.td).getElementsByTagName(String(a))};k.Cj=function(a,b,c){return eh(this.td,arguments)};k.createElement=function(a){return gh(this.td,a)};k.createTextNode=function(a){return this.td.createTextNode(String(a))};
|
|
k.appendChild=function(a,b){A(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){hh(kh(a),a,arguments,1)};k.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};
|
|
k.removeNode=ih;k.Wg=function(){return $g&&void 0!=(void 0).children?(void 0).children:Wa((void 0).childNodes,function(a){return 1==a.nodeType})};k.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 mh=function(a){r.setTimeout(function(){throw a;},0)},nh,oh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ab("Presto")&&(a=function(){var e=gh(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=w(function(n){if(("*"==
|
|
h||n.origin==h)&&n.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if("undefined"!==typeof a&&!Ab("Trident")&&!Ab("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.tg;c.tg=null;e()}};return function(e){d.next={tg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};var ph=function(){this.be=this.ac=null},rh=new Yg(function(){return new qh},function(a){a.reset()});ph.prototype.add=function(a,b){var c=rh.get();c.set(a,b);this.be?this.be.next=c:(A(!this.ac),this.ac=c);this.be=c};ph.prototype.remove=function(){var a=null;this.ac&&(a=this.ac,this.ac=this.ac.next,this.ac||(this.be=null),a.next=null);return a};var qh=function(){this.next=this.scope=this.Ye=null};qh.prototype.set=function(a,b){this.Ye=a;this.scope=b;this.next=null};
|
|
qh.prototype.reset=function(){this.next=this.scope=this.Ye=null};var wh=function(a,b){sh||th();uh||(sh(),uh=!0);vh.add(a,b)},sh,th=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);sh=function(){a.then(xh)}}else sh=function(){var b=xh;!v(r.setImmediate)||r.Window&&r.Window.prototype&&!Ab("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?(nh||(nh=oh()),nh(b)):r.setImmediate(b)}},uh=!1,vh=new ph,xh=function(){for(var a;a=vh.remove();){try{a.Ye.call(a.scope)}catch(b){mh(b)}rh.put(a)}uh=!1};var yh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Bh=function(a){this.V=0;this.sa=void 0;this.dc=this.$a=this.O=null;this.zd=this.Ue=!1;if(a!=wa)try{var b=this;a.call(void 0,function(c){zh(b,2,c)},function(c){if(!(c instanceof Ah))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}zh(b,3,c)})}catch(c){zh(this,3,c)}},Ch=function(){this.next=this.context=this.lc=this.Sb=this.Gb=null;this.md=!1};Ch.prototype.reset=function(){this.context=this.lc=this.Sb=this.Gb=null;this.md=!1};
|
|
var Dh=new Yg(function(){return new Ch},function(a){a.reset()}),Eh=function(a,b,c){var d=Dh.get();d.Sb=a;d.lc=b;d.context=c;return d};Bh.prototype.then=function(a,b,c){null!=a&&Ra(a,"opt_onFulfilled should be a function.");null!=b&&Ra(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Fh(this,v(a)?a:null,v(b)?b:null,c)};Bh.prototype.$goog_Thenable=!0;
|
|
Bh.prototype.cancel=function(a){if(0==this.V){var b=new Ah(a);wh(function(){Gh(this,b)},this)}};
|
|
var Gh=function(a,b){if(0==a.V)if(a.O){var c=a.O;if(c.$a){for(var d=0,e=null,f=null,g=c.$a;g&&(g.md||(d++,g.Gb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.V&&1==d?Gh(c,b):(f?(d=f,A(c.$a),A(null!=d),d.next==c.dc&&(c.dc=d),d.next=d.next.next):Hh(c),Ih(c,e,3,b)))}a.O=null}else zh(a,3,b)},Kh=function(a,b){a.$a||2!=a.V&&3!=a.V||Jh(a);A(null!=b.Sb);a.dc?a.dc.next=b:a.$a=b;a.dc=b},Fh=function(a,b,c,d){var e=Eh(null,null,null);e.Gb=new Bh(function(f,g){e.Sb=b?function(h){try{var n=b.call(d,h);f(n)}catch(p){g(p)}}:
|
|
f;e.lc=c?function(h){try{var n=c.call(d,h);void 0===n&&h instanceof Ah?g(h):f(n)}catch(p){g(p)}}:g});e.Gb.O=a;Kh(a,e);return e.Gb};Bh.prototype.hk=function(a){A(1==this.V);this.V=0;zh(this,2,a)};Bh.prototype.ik=function(a){A(1==this.V);this.V=0;zh(this,3,a)};
|
|
var zh=function(a,b,c){if(0==a.V){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.V=1;a:{var d=c,e=a.hk,f=a.ik;if(d instanceof Bh){null!=e&&Ra(e,"opt_onFulfilled should be a function.");null!=f&&Ra(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Kh(d,Eh(e||wa,f||null,a));var g=!0}else if(yh(d))d.then(e,f,a),g=!0;else{if(u(d))try{var h=d.then;if(v(h)){Lh(d,h,e,f,a);g=!0;break a}}catch(n){f.call(a,n);g=!0;break a}g=!1}}g||
|
|
(a.sa=c,a.V=b,a.O=null,Jh(a),3!=b||c instanceof Ah||Mh(a,c))}},Lh=function(a,b,c,d,e){var f=!1,g=function(n){f||(f=!0,c.call(e,n))},h=function(n){f||(f=!0,d.call(e,n))};try{b.call(a,g,h)}catch(n){h(n)}},Jh=function(a){a.Ue||(a.Ue=!0,wh(a.Gj,a))},Hh=function(a){var b=null;a.$a&&(b=a.$a,a.$a=b.next,b.next=null);a.$a||(a.dc=null);null!=b&&A(null!=b.Sb);return b};Bh.prototype.Gj=function(){for(var a;a=Hh(this);)Ih(this,a,this.V,this.sa);this.Ue=!1};
|
|
var Ih=function(a,b,c,d){if(3==c&&b.lc&&!b.md)for(;a&&a.zd;a=a.O)a.zd=!1;if(b.Gb)b.Gb.O=null,Nh(b,c,d);else try{b.md?b.Sb.call(b.context):Nh(b,c,d)}catch(e){Oh.call(null,e)}Dh.put(b)},Nh=function(a,b,c){2==b?a.Sb.call(a.context,c):a.lc&&a.lc.call(a.context,c)},Mh=function(a,b){a.zd=!0;wh(function(){a.zd&&Oh.call(null,b)})},Oh=mh,Ah=function(a){Ka.call(this,a)};y(Ah,Ka);Ah.prototype.name="cancel";var Ph=function(a,b,c){if(v(a))c&&(a=w(a,c));else if(a&&"function"==typeof a.handleEvent)a=w(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Qh=function(a,b,c){Ia.call(this);this.Pj=null!=c?w(a,c):a;this.Mj=b;this.zj=w(this.Xj,this);this.nd=null};y(Qh,Ia);k=Qh.prototype;k.sc=!1;k.$c=0;k.Yb=null;k.Xe=function(a){this.nd=arguments;this.Yb||this.$c?this.sc=!0:Rh(this)};k.stop=function(){this.Yb&&(r.clearTimeout(this.Yb),this.Yb=null,this.sc=!1,this.nd=null)};k.pause=function(){this.$c++};k.resume=function(){this.$c--;this.$c||!this.sc||this.Yb||(this.sc=!1,Rh(this))};k.G=function(){Qh.H.G.call(this);this.stop()};
|
|
k.Xj=function(){this.Yb=null;this.sc&&!this.$c&&(this.sc=!1,Rh(this))};var Rh=function(a){a.Yb=Ph(a.zj,a.Mj);var b=a.nd;a.nd=null;a.Pj.apply(null,b)};/*
|
|
Portions of this code are from MochiKit, received by
|
|
The Closure Authors under the MIT license. All other code is Copyright
|
|
2005-2009 The Closure Authors. All Rights Reserved.
|
|
*/
|
|
var Th=function(a){var b=Sh;this.Od=[];this.vh=b;this.Hg=a||null;this.Oc=this.ic=!1;this.sa=void 0;this.Rf=this.ng=this.Ae=!1;this.Xd=0;this.O=null;this.Be=0};Th.prototype.cancel=function(a){if(this.ic)this.sa instanceof Th&&this.sa.cancel();else{if(this.O){var b=this.O;delete this.O;a?b.cancel(a):(b.Be--,0>=b.Be&&b.cancel())}this.vh?this.vh.call(this.Hg,this):this.Rf=!0;this.ic||Uh(this,new Vh(this))}};Th.prototype.wg=function(a,b){this.Ae=!1;Wh(this,a,b)};
|
|
var Wh=function(a,b,c){a.ic=!0;a.sa=c;a.Oc=!b;Xh(a)},Zh=function(a){if(a.ic){if(!a.Rf)throw new Yh(a);a.Rf=!1}};Th.prototype.callback=function(a){Zh(this);$h(a);Wh(this,!0,a)};var Uh=function(a,b){Zh(a);$h(b);Wh(a,!1,b)},$h=function(a){A(!(a instanceof Th),"An execution sequence may not be initiated with a blocking Deferred.")},ai=function(a,b,c){A(!a.ng,"Blocking Deferreds can not be re-used");a.Od.push([b,c,void 0]);a.ic&&Xh(a)};
|
|
Th.prototype.then=function(a,b,c){var d,e,f=new Bh(function(g,h){d=g;e=h});ai(this,d,function(g){g instanceof Vh?f.cancel():e(g)});return f.then(a,b,c)};Th.prototype.$goog_Thenable=!0;
|
|
var bi=function(a){return Ya(a.Od,function(b){return v(b[1])})},Xh=function(a){if(a.Xd&&a.ic&&bi(a)){var b=a.Xd,c=ci[b];c&&(r.clearTimeout(c.da),delete ci[b]);a.Xd=0}a.O&&(a.O.Be--,delete a.O);b=a.sa;for(var d=c=!1;a.Od.length&&!a.Ae;){var e=a.Od.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Oc?g:f)try{var h=f.call(e||a.Hg,b);void 0!==h&&(a.Oc=a.Oc&&(h==b||h instanceof Error),a.sa=b=h);if(yh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Ae=!0}catch(n){b=n,a.Oc=!0,bi(a)||(c=!0)}}a.sa=b;d&&
|
|
(h=w(a.wg,a,!0),d=w(a.wg,a,!1),b instanceof Th?(ai(b,h,d),b.ng=!0):b.then(h,d));c&&(b=new di(b),ci[b.da]=b,a.Xd=b.da)},Yh=function(){Ka.call(this)};y(Yh,Ka);Yh.prototype.message="Deferred has already fired";Yh.prototype.name="AlreadyCalledError";var Vh=function(){Ka.call(this)};y(Vh,Ka);Vh.prototype.message="Deferred was canceled";Vh.prototype.name="CanceledError";var di=function(a){this.da=r.setTimeout(w(this.gk,this),0);this.vd=a};
|
|
di.prototype.gk=function(){A(ci[this.da],"Cannot throw an error that is not scheduled.");delete ci[this.da];throw this.vd;};var ci={};var hi=function(a){var b={},c=b.document||document,d=Zb(a).toString(),e=gh(document,"SCRIPT"),f={Mh:e,ed:void 0},g=new Th(f),h=null,n=null!=b.timeout?b.timeout:5E3;0<n&&(h=window.setTimeout(function(){ei(e,!0);Uh(g,new fi(1,"Timeout reached for loading script "+d))},n),f.ed=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(ei(e,b.pk||!1,h),g.callback(null))};e.onerror=function(){ei(e,!0,h);Uh(g,new fi(0,"Error while loading script "+d))};
|
|
f=b.attributes||{};Qb(f,{type:"text/javascript",charset:"UTF-8"});dh(e,f);lc(e,a);gi(c).appendChild(e)},gi=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Sh=function(){if(this&&this.Mh){var a=this.Mh;a&&"SCRIPT"==a.tagName&&ei(a,!0,this.ed)}},ei=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=wa;a.onerror=wa;a.onreadystatechange=wa;b&&window.setTimeout(function(){ih(a)},0)},fi=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=
|
|
": "+b);Ka.call(this,c);this.code=a};y(fi,Ka);var ji=function(a){return(new ii(void 0)).X(a)},ii=function(a){this.Md=a};ii.prototype.X=function(a){var b=[];ki(this,a,b);return b.join("")};
|
|
var ki=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="",f=0;f<b;f++)c.push(e),e=d[f],ki(a,a.Md?a.Md.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),li(d,c),c.push(":"),ki(a,a.Md?a.Md.call(b,d,e):e,c),f=","));c.push("}");
|
|
return}}switch(typeof b){case "string":li(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);}}},mi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},ni=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,li=function(a,b){b.push('"',a.replace(ni,function(c){var d=mi[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),mi[c]=d);return d}),'"')};var oi=function(a,b,c){this.reset(a,b,c,void 0,void 0)};oi.prototype.Lg=null;var pi=0;oi.prototype.reset=function(a,b,c,d,e){"number"==typeof e||pi++;d||Ha();this.Tc=a;delete this.Lg};oi.prototype.Oh=function(a){this.Tc=a};var qi=function(a){this.Uj=a;this.Zg=this.Fe=this.Tc=this.O=null},ri=function(a,b){this.name=a;this.value=b};ri.prototype.toString=function(){return this.name};var si=new ri("SEVERE",1E3),ti=new ri("INFO",800),ui=new ri("CONFIG",700),vi=new ri("FINE",500);qi.prototype.getParent=function(){return this.O};qi.prototype.Wg=function(){this.Fe||(this.Fe={});return this.Fe};qi.prototype.Oh=function(a){this.Tc=a};
|
|
var wi=function(a){if(a.Tc)return a.Tc;if(a.O)return wi(a.O);Oa("Root logger has no level set.");return null};qi.prototype.log=function(a,b,c){if(a.value>=wi(this).value)for(v(b)&&(b=b()),a=new oi(a,String(b),this.Uj),c&&(a.Lg=c),c=this;c;){var d=c,e=a;if(d.Zg)for(var f=0;b=d.Zg[f];f++)b(e);c=c.getParent()}};qi.prototype.info=function(a,b){this.log(ti,a,b)};
|
|
var xi={},yi=null,zi=function(a){yi||(yi=new qi(""),xi[""]=yi,yi.Oh(ui));var b;if(!(b=xi[a])){b=new qi(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=zi(a.substr(0,c));c.Wg()[d]=b;b.O=c;xi[a]=b}return b};var Ai=function(a,b){a&&a.log(vi,b,void 0)};var Bi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Ci=function(){};Ci.prototype.rg=null;var Ei=function(a){var b;(b=a.rg)||(b={},Di(a)&&(b[0]=!0,b[1]=!0),b=a.rg=b);return b};var Fi,Gi=function(){};y(Gi,Ci);var Hi=function(a){return(a=Di(a))?new ActiveXObject(a):new XMLHttpRequest},Di=function(a){if(!a.eh&&"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.eh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.eh};Fi=new Gi;var Ii=function(a){kd.call(this);this.headers=new rd;this.de=a||null;this.Aa=!1;this.ce=this.m=null;this.Sc=this.mh=this.Fd="";this.Ob=this.ff=this.Dd=this.Se=!1;this.uc=0;this.Ud=null;this.qc="";this.Zd=this.Yj=this.$h=!1};y(Ii,kd);var Ji=Ii.prototype,Ki=zi("goog.net.XhrIo");Ji.na=Ki;var Li=/^https?$/i,Mi=["POST","PUT"],Oi=[];Ii.prototype.Bj=function(){this.La();gb(Oi,this)};
|
|
Ii.prototype.send=function(a,b,c,d){if(this.m)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Fd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Fd=a;this.Sc="";this.mh=b;this.Se=!1;this.Aa=!0;this.m=this.de?Hi(this.de):Hi(Fi);this.ce=this.de?Ei(this.de):Ei(Fi);this.m.onreadystatechange=w(this.yh,this);this.Yj&&"onprogress"in this.m&&(this.m.onprogress=w(function(f){this.xh(f,!0)},this),this.m.upload&&(this.m.upload.onprogress=w(this.xh,this)));try{Ai(this.na,Pi(this,"Opening Xhr")),
|
|
this.ff=!0,this.m.open(b,String(a),!0),this.ff=!1}catch(f){Ai(this.na,Pi(this,"Error opening Xhr: "+f.message));this.vd(5,f);return}a=c||"";var e=this.headers.clone();d&&yd(d,function(f,g){e.set(g,f)});d=bb(e.Ea());c=r.FormData&&a instanceof r.FormData;!cb(Mi,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.m.setRequestHeader(g,f)},this);this.qc&&(this.m.responseType=this.qc);"withCredentials"in this.m&&this.m.withCredentials!==this.$h&&
|
|
(this.m.withCredentials=this.$h);try{Qi(this),0<this.uc&&(this.Zd=Ri(this.m),Ai(this.na,Pi(this,"Will abort after "+this.uc+"ms if incomplete, xhr2 "+this.Zd)),this.Zd?(this.m.timeout=this.uc,this.m.ontimeout=w(this.ed,this)):this.Ud=Ph(this.ed,this.uc,this)),Ai(this.na,Pi(this,"Sending request")),this.Dd=!0,this.m.send(a),this.Dd=!1}catch(f){Ai(this.na,Pi(this,"Send error: "+f.message)),this.vd(5,f)}};
|
|
var Ri=function(a){return tc&&Dc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},ab=function(a){return"content-type"==a.toLowerCase()};Ii.prototype.ed=function(){"undefined"!=typeof sa&&this.m&&(this.Sc="Timed out after "+this.uc+"ms, aborting",Ai(this.na,Pi(this,this.Sc)),this.dispatchEvent("timeout"),this.abort(8))};Ii.prototype.vd=function(a,b){this.Aa=!1;this.m&&(this.Ob=!0,this.m.abort(),this.Ob=!1);this.Sc=b;Si(this);Ti(this)};
|
|
var Si=function(a){a.Se||(a.Se=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Ii.prototype.abort=function(){this.m&&this.Aa&&(Ai(this.na,Pi(this,"Aborting")),this.Aa=!1,this.Ob=!0,this.m.abort(),this.Ob=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ti(this))};Ii.prototype.G=function(){this.m&&(this.Aa&&(this.Aa=!1,this.Ob=!0,this.m.abort(),this.Ob=!1),Ti(this,!0));Ii.H.G.call(this)};Ii.prototype.yh=function(){this.Ma||(this.ff||this.Dd||this.Ob?Ui(this):this.Wj())};
|
|
Ii.prototype.Wj=function(){Ui(this)};
|
|
var Ui=function(a){if(a.Aa&&"undefined"!=typeof sa)if(a.ce[1]&&4==a.ob()&&2==a.getStatus())Ai(a.na,Pi(a,"Local request error detected and ignored"));else if(a.Dd&&4==a.ob())Ph(a.yh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ob()){Ai(a.na,Pi(a,"Request complete"));a.Aa=!1;try{var b=a.getStatus(),c;if(!(c=Bi(b))){var d;if(d=0===b){var e=String(a.Fd).match(Ud)[1]||null;if(!e&&r.self&&r.self.location){var f=r.self.location.protocol;e=f.substr(0,f.length-1)}d=!Li.test(e?e.toLowerCase():"")}c=
|
|
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.ob()?a.m.statusText:""}catch(h){Ai(a.na,"Can not get status: "+h.message),g=""}a.Sc=g+" ["+a.getStatus()+"]";Si(a)}}finally{Ti(a)}}};Ii.prototype.xh=function(a,b){A("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Vi(a,"progress"));this.dispatchEvent(Vi(a,b?"downloadprogress":"uploadprogress"))};
|
|
var Vi=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Ti=function(a,b){if(a.m){Qi(a);var c=a.m,d=a.ce[0]?wa:null;a.m=null;a.ce=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.na)&&a.log(si,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Qi=function(a){a.m&&a.Zd&&(a.m.ontimeout=null);a.Ud&&(r.clearTimeout(a.Ud),a.Ud=null)};Ii.prototype.jh=function(){return!!this.m};
|
|
Ii.prototype.ob=function(){return this.m?this.m.readyState:0};Ii.prototype.getStatus=function(){try{return 2<this.ob()?this.m.status:-1}catch(a){return-1}};
|
|
var Wi=function(a){try{if(!a.m)return null;if("response"in a.m)return a.m.response;switch(a.qc){case "":case "text":return a.m.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.m)return a.m.mozResponseArrayBuffer}var b=a.na;b&&b.log(si,"Response type "+a.qc+" is not supported on this browser",void 0);return null}catch(c){return Ai(a.na,"Can not get response: "+c.message),null}};
|
|
Ii.prototype.getResponseHeader=function(a){if(this.m&&4==this.ob())return a=this.m.getResponseHeader(a),null===a?void 0:a};Ii.prototype.getAllResponseHeaders=function(){return this.m&&4==this.ob()?this.m.getAllResponseHeaders()||"":""};
|
|
var Xi=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=oc(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return Db(b,function(g){return g.join(", ")})},Pi=function(a,b){return b+" ["+a.mh+" "+a.Fd+" "+a.getStatus()+"]"};var Yi,Zi=/^\/(table).*/,I=function(a,b){$i();this.callback=a;this.P=new aj(!a,b)},J=function(a,b){b instanceof Promise?a.callback&&b.then(function(c){return a.callback(c)}).catch(function(c){return a.callback(void 0,c)}):b.then(function(c){b=c});return b},bj=function(){return"projects/"+Yi};k=I.prototype;k.yc=function(){return new Gg(this.P)};k.assets=function(){return new Ig(this.P)};k.Fa=function(){return new Og(this.P)};k.value=function(){return new Sg(this.P)};k.maps=function(){return new Ng(this.P)};
|
|
k.map=function(){return new Mg(this.P)};k.image=function(){return new Lg(this.P)};k.table=function(){return new Pg(this.P)};k.video=function(){return new Ug(this.P)};var aj=function(a,b){this.sync=a=void 0===a?!1:a;this.Jh=null!=b?b:a?5:10};q(aj,Xg);
|
|
aj.prototype.send=function(a,b){var c=this;ne(a);var d=a.path||"",e=cj()+d,f=K(a.o||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=L(e,f,void 0,a.u,g,this.Jh);d=b?Md(b,d):d;var h=function(n){return{then:function(p){return h(p(n))}}};return h(d)}return(new Promise(function(n,p){L(e,f,function(t,C){C?p(C):n(t)},a.u,g,c.Jh)})).then(function(n){return b?Md(b,n):n})};var ej=function(a){I.call(this,a);this.P=new dj};q(ej,I);
|
|
ej.prototype.send=function(a,b){var c=this,d=cj()+"/batch",e=a.map(function(g){var h=m(g);g=h.next().value;h=m(h.next().value);var n=h.next().value;h.next();return"--batch_EARTHENGINE_batch\r\nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\nMIME-Version: 1.0\r\nContent-ID: <"+g+">\r\n\r\n"+n+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",f=function(g){var h={};a.forEach(function(n){var p=m(n);n=p.next().value;p=m(p.next().value);p.next();p=p.next().value;null!=g[n]&&(h[n]=
|
|
Md(p,g[n]))});return b?b(h):h};return this.callback?(L(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(L(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var dj=function(){};q(dj,Xg);
|
|
dj.prototype.send=function(a,b){var c=[a.u+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=fj();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 gj=function(a,b,c){a=m(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"))}},cj=function(){var a=hj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},nj=function(a,b,c){ij&&jj&&ij({client_id:String(jj),
|
|
immediate:!0,scope:kj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(M&&"window"in r)try{lj(function(){try{r.gapi.auth.setToken(d),mj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else mj(a,b,d)})},fj=function(){oj&&0<=Ha()-oj&&pj();return qj},pj=function(){oj=qj=null},rj=function(a,b){jj=a;kj=b},$i=function(a,b,c){null!=a?hj=a:sj||(hj="https://earthengine.googleapis.com/api");null!=b?tj=b:sj||(tj="https://earthengine.googleapis.com");void 0!==c&&(uj=c);M&&(Yi=
|
|
Yi||"earthengine-legacy");sj=!0},L=function(a,b,c,d,e,f){$i();var g=vj,h="application/x-www-form-urlencoded";e&&(h="application/json",d&&d.startsWith("multipart")&&(h=d,d="POST"));d=d||"POST";h={"Content-Type":h};var n=Zi.test(a);if(M&&!n){var p="0.1.224";"0.1.224"===p&&(p="latest");h["x-goog-api-client"]="ee-js/"+p}p=fj();if(null!=p)h.Authorization=p;else if(c&&ij&&jj)return nj(function(){wj(g,function(){L(a,b,c,d)})}),null;b=b?b.clone():new be;null!=xj&&b.add("key",xj);M?(g&&(h["X-Earth-Engine-Computation-Profile"]=
|
|
"1"),Yi&&"earthengine-legacy"!==Yi&&!n&&(h["X-Goog-User-Project"]=Yi)):g&&b.add("profiling","1");b=yj(b,a);null!=uj&&(h["X-XSRF-Token"]=uj);null!=zj&&(h["X-Earth-Engine-App-ID-Token"]=zj);n=e||null;p=b?b.toString():"";"POST"===d&&void 0===e?n=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?hj+a:a;if(c)return Aj.push(Bj(e,c,d,n,h,f)),Cj.Xe(),null;p=function(E,aa){this.setRequestHeader&&this.setRequestHeader(aa,E)};var t=0;for(f=null!=f?f:5;;){var C=Hi(Fi);C.open(d,
|
|
e,!1);Bb(h,p,C);C.send(n);if(429!=C.status||t>f)break;t++}return Dj(C.status,function(E){try{return C.getResponseHeader(E)}catch(aa){return null}},C.responseText,g,void 0,e,d)},Bj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},n=vj,p=null!=f?f:10;h.callback=function(t){t=t.target;if(429==t.getStatus()&&g<p)return g++,setTimeout(function(){Aj.push(h);Cj.Xe()},Math.min(12E4,1E3*Math.pow(2,g))),null;var C=Dj,E=t.getStatus(),aa=w(t.getResponseHeader,t);try{var Fa=t.m?t.m.responseText:
|
|
""}catch(T){Ai(t.na,"Can not get responseText: "+T.message),Fa=""}return C(E,aa,Fa,n,b,a,c)};return h},wj=function(a,b){var c=vj;try{vj=a,b.call(void 0)}finally{vj=c}},Dj=function(a,b,c,d,e,f,g){var h=d?b("X-Earth-Engine-Computation-Profile"):"";h&&d&&d(h);var n=function(T){return M?T:T.data},p=function(T){try{var db=JSON.parse(T);return u(db)&&"error"in db&&"message"in db.error?db.error.message:{parsed:db}}catch(Hb){return"Invalid JSON: "+T}},t=function(T){if(0===T)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";
|
|
if(200>T||300<=T)return"Server returned HTTP code: "+T+" for "+g+" "+f},C;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=p(c),b.parsed){var E=n(b.parsed);void 0===E&&(C="Malformed response: "+c)}else C=b;else if("multipart/mixed"===d){E={};var aa=[];gj(b,c,function(T,db,Hb){Hb=p(Hb);Hb.parsed&&(E[T]=n(Hb.parsed));(db=(Hb.parsed?"":Hb)||t(db))&&aa.push(T+": "+db)});aa.length&&(C=aa.join("\n"))}else var Fa="Response was unexpectedly not JSON, but "+
|
|
d;C=C||t(a)||Fa;if(e)return e(E,C),null;if(!C)return E;throw Error(C);},lj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);ij||(ij=r.gapi.auth.authorize);a()};if(u(r.gapi)&&u(r.gapi.auth)&&v(r.gapi.auth.authorize))b();else{for(var c=Ha().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};hi(cc({onload:c}))}},mj=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(nj,.9*c);void 0!==
|
|
d.unref&&d.unref();oj=Ha()+c}qj=b;a&&a()}else b&&b(c.error||"Unknown error.")},K=function(a){var b=new be;a=m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=m(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Aj=[],Cj=new Qh(function(){var a=Aj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Ej,g=new Ii;Oi.push(g);c&&g.Oa("complete",c);g.Wc("ready",g.Bj);f&&(g.uc=Math.max(0,f));g.send(b,d,e,a)}0==Aj.length||Cj.Xe()},350),hj=null,tj=null,
|
|
uj=null,zj=null,yj=Rb,qj=null,oj=null,jj=null,kj=[],ij=null,$b=new Ub(Sb,"https://apis.google.com/js/client.js?onload=%{onload}"),xj=null,M=!0,sj=!1,Ej=0,vj=null;x("ee.api.ListAssetsResponse",og);x("ee.api.EarthEngineAsset",vf);x("ee.api.ListImagesResponse",pg);x("ee.api.Image",$f);x("ee.api.Operation",rg);var Fj=function(){},Gj=function(a){if(void 0===a||null===a)a=Hd;return new af({Hb:a})},Hj=function(a){return new af({hb:a})},Ij=function(a){return new af({Fb:new $e({values:a})})},Jj=function(a){return new af({Jb:new sf({values:a})})},Kj=function(a,b){return new af({lb:new Tf({functionName:a,arguments:b})})},Lj=function(a,b){return new af({lb:new Tf({mb:a,arguments:b})})},Mj=function(a,b){return new af({Mb:new Sf({zc:a,body:b})})},Nj=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}},Oj=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}},Pj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Qj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Tj=function(a){var b=new Cf,c=!1;"palette"in a&&(c=a.palette,b.Zc="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.Zc?b.Zc.length-1:255;d=Rj(a,"bias","gain").map(function(f){var g=-f.bias/f.gain;return{min:g,max:e/f.gain+g}})}else if("min"in a||"max"in a)d=Rj(a,"min","max");0!==d.length&&(b.Ff=d.map(function(f){return new tf(f)}),c=!0);a=Sj(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},Sj=function(a){return a?a.split(",").map(Number):[]},Rj=function(a,b,c){var d=Sj(a[b]),e=Sj(a[c]);if(0===d.length)return e.map(function(f){var g={};return g[b]=0,g[c]=f,g});if(0===e.length)return d.map(function(f){var g={};return g[b]=f,g[c]=1,g});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(f,g){var h={};return h[b]=f,h[c]=e[g],h})},Uj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.od&&
|
|
(h.name=g.od);void 0!==g.defaultValue&&(h["default"]=g.defaultValue);null!=g.optional&&(h.optional=g.optional);return h},c=function(g){var h={};h.args=(g.arguments||[]).map(b);h.description=g.description||"";h.returns=g.Jf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&(h.deprecated=g.Oe);g.sourceCodeUri&&(h.sourceCodeUri=g.sourceCodeUri);return h},d={};a=m(a.yc||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var f=e.name.replace(/^algorithms\//,"");d[f]=
|
|
c(e)}return d},Vj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Wj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Xj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Yj=function(a){return(a=Vj.exec(a))?a[1]:"earthengine-legacy"},Zj=function(a){return Wj.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},bk=function(a){return(a.assets||[]).map(ak)},dk=function(a){return(a.images||[]).map(ck)},ek=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";default:return"Unknown"}},ak=function(a){var b=fk(ek(a.type),a.name),c=Object.assign({},a.properties||{});a.za&&(c["system:asset_size"]=Number(a.za));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 a.description&&(c["system:description"]=a.description);a.Ia&&(b.version=1E3*Date.parse(a.Ia));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.K.Ne,dimensions:void 0,crs_transform:void 0};if(d.K){if(null!=d.K.Eb){var f=d.K.Eb;e.crs_transform=[f.Kf||0,f.Pf||0,f.bg||0,f.Qf||0,f.Lf||0,f.cg||0]}null!=d.K.dimensions&&
|
|
(e.dimensions=[d.K.dimensions.width,d.K.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.ad&&(f.min=d.dataType.ad.min||0,f.max=d.dataType.ad.max),e.data_type=f);return e}));return b},gk=function(a){var b=new vf,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.za=String(d));a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());
|
|
a("system:footprint")&&(b.geometry=d);"string"===typeof a("system:title")&&(b.title=d);"string"===typeof a("system:description")&&(b.description=d);b.properties=c;return b},ck=function(a){return fk("Image",a.name)},fk=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},ik=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=hk(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=m(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");b.fields="assets(type,path)";return b},hk=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("],[")+"]]]}"},jk=function(a){var b={};(a.pd||[]).forEach(function(f){b[f.rc]=f.Rb});var c=new Set,d=function(f){var g=f.replace(/^group:|^user:|^serviceAccount:/,"");f.startsWith("group:")&&c.add(g);return g};a=b["roles/viewer"]||[];var e=a.filter(function(f){return"allUsers"!==f});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},kk=function(a){var b=function(d){return(a[d]||[]).map(function(e){var f="user:";a.groups&&a.groups.has(e)?f="group:":e.match(/[@|\.]gserviceaccount\.com$/)&&(f="serviceAccount:");return f+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{rc:"roles/owner",Rb:b("owners")},{rc:"roles/viewer",Rb:b("readers").concat(c)},{rc:"roles/editor",Rb:b("writers")}].map(function(d){return new ef(d)});return new wg({pd:b.filter(function(d){return d.Rb.length}),Te:null})},lk=function(a){return"projects/earthengine-legacy/operations/"+
|
|
a},mk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},nk=function(a){var b={},c=function(f,g){null!=g&&(b[f]=Date.parse(g))},d=function(f){switch(f){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=Md(vg,a.vf||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",
|
|
e.Me);c("update_timestamp_ms",e.Ia);c("start_timestamp_ms",e.startTime);a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=mk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.Pe;b.source_url=e.Mf;return b},ok=function(a){var b={started:"OK"};a.name&&(b.taskId=mk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},pk=function(a){return a.primaryPath?[a.primaryPath].concat(ha(a.additionalPaths||[])):null},sk=function(a){var b=function(f){var g=
|
|
Md(jg,f);g.Sa=pk(f);return g},c=Md(eg,a);c.name=Zj(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Md(hg,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Md(fg,f);g.missingData=qk(f.missingData);return g});c.missingData=qk(a.missingData);c.rf=nb((a.tilesets||[]).map(rk));c.pyramidingPolicy=a.pyramidingPolicy||null;if(a.properties){var d=Object.assign({},a.properties),e;a=function(f){e=d[f];delete d[f];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},rk=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(f){return f||""}));return new gg({tc:a.id||"",ba:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});return b},tk=function(a){var b=Md(mg,a);b.name=Zj(a.id);
|
|
b.sources=(a.sources||[]).map(function(e){var f=Md(Ag,e);f.Sa=pk(e);e.maxError&&(f.Pb=e.maxError);return f});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},qk=function(a){if(null==a)return null;var b=new cg({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};var uk=function(){this.jb=-1};var vk=function(){this.jb=64;this.Y=Array(4);this.xj=Array(this.jb);this.Wd=this.Cc=0;this.reset()};y(vk,uk);vk.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Wd=this.Cc=0};
|
|
var wk=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.Y[0];c=a.Y[1];e=a.Y[2];var f=a.Y[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
|
|
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
|
|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
|
|
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
|
|
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
|
|
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
|
|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
|
|
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
|
|
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
|
|
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.Y[0]=a.Y[0]+b&4294967295;a.Y[1]=a.Y[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.Y[2]=a.Y[2]+e&4294967295;a.Y[3]=a.Y[3]+f&4294967295};
|
|
vk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.jb,d=this.xj,e=this.Cc,f=0;f<b;){if(0==e)for(;f<=c;)wk(this,a,f),f+=this.jb;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.jb){wk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.jb){wk(this,d);e=0;break}}this.Cc=e;this.Wd+=b};
|
|
vk.prototype.digest=function(){var a=Array((56>this.Cc?this.jb:2*this.jb)-this.Cc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Wd;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.Y[b]>>>d&255;return a};var xk=function(a){this.kd="__ee_hash__";this.Ed=!1!==a;this.Qa=[];this.ta={};this.dg=[];this.Bd=new WeakMap};x("ee.Serializer",xk);var yk=new ii,zk=new vk,Bk=function(a,b){return Ak(new xk(void 0!==b?b:!0),a)};x("ee.Serializer.encode",Bk);var Ck=function(a){return yk.X(Bk(a))};x("ee.Serializer.toJSON",Ck);var Ek=function(a){return Dk(Bk(a,!1))};x("ee.Serializer.toReadableJSON",Ek);
|
|
var Dk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):yk.X(a)},Ak=function(a,b){b=a.ud(b);a.Ed&&(b=u(b)&&"ValueRef"==b.type&&1==a.Qa.length?a.Qa[0][1]:{type:"CompoundValue",scope:a.Qa,value:b},a.Qa=[],Va(a.dg,w(function(c){delete c[this.kd]},a)),a.dg=[],a.ta={});return b};
|
|
xk.prototype.ud=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=u(a)?a[this.kd]:null;if(this.Ed&&null!=b&&this.ta[b])return{type:"ValueRef",value:this.ta[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(za(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Fj){var c=a.encode(w(this.ud,this));if(!(Array.isArray(c)||u(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Xa(a,function(e){return this.ud(e)},this);else if(u(a)&&!v(a))c=Db(a,function(e){if(!v(e))return this.ud(e)},this),Mb(c,this.kd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Ed){b=Fk(c);if(this.ta[b])var d=this.ta[b];else d=String(this.Qa.length),this.Qa.push([d,c]),this.ta[b]=d;a[this.kd]=b;this.dg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var Fk=function(a){zk.reset();zk.update(yk.X(a));return zk.digest().toString()},Hk=function(a){return Nd(Gk(a),Jd,Kd,Ld)};x("ee.Serializer.encodeCloudApi",Hk);
|
|
var Gk=function(a){return Ik(new xk(!0),a)},Jk=function(a){a=Ik(new xk(!1),a);var b=a.values,c=function(d){if(!u(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(af);d=m(Object.entries(f?d.a:d));for(var g=d.next();!g.done;g=d.next()){var h=m(g.value);g=h.next().value;h=h.next().value;f?null!==h&&(e[g]="functionDefinitionValue"===g&&null!=h.body?{argumentNames:h.zc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.mb?{arguments:Db(h.arguments,c),functionReference:c(b[h.mb])}:
|
|
"constantValue"===g?h===Hd?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};x("ee.Serializer.encodeCloudApiPretty",Jk);var Kk=function(a){return Dk(Jk(a))};x("ee.Serializer.toReadableCloudApiJSON",Kk);
|
|
var Ik=function(a,b){try{var c=Lk(a,b),d=new Mk(c,a.Qa,a.Ed),e=Nk(d,d.Lh);return new lf({result:e,values:d.Ah})}finally{a.Bd=new WeakMap,a.ta={},a.Qa=[]}},Lk=function(a,b){var c=function(e){var f=Fk(e);if(a.ta[f])return a.ta[f];var g=String(a.Qa.length);a.Qa.push([g,e]);a.ta[f]=g;u(b)&&a.Bd.set(b,f);return g};if(u(b)&&a.ta[a.Bd.get(b)])return a.ta[a.Bd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Gj(b));if(za(b))return c(Kj("Date",{value:Gj(Math.floor(b.getTime()))}));
|
|
if(b instanceof Fj)return c(b.pa(function(e){return Lk(a,e)}));if(Array.isArray(b))return c(Ij(b.map(function(e){return Hj(Lk(a,e))})));if(u(b)&&!v(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Hj(Lk(a,b[e]))});return c(Jj(d))}throw Error("Can't encode object: "+b);},Mk=function(a,b,c){var d=this;this.Lh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Fh=c?Ok(this):null;this.Ah={};this.Gf={};this.Vj=0},Nk=function(a,b){if(b in a.Gf)return a.Gf[b];var c=String(a.Vj++);
|
|
a.Gf[b]=c;a.Ah[c]=Pk(a,a.values[b],0);return c},Pk=function(a,b,c){var d=function(p){return null!==p.Hb},e=function(p){return p===Hd?null:p};if(d(b)||null!=b.kf||null!=b.Ee||null!=b.Ac)return b;if(null!=b.hb)return d=a.values[b.hb],null===a.Fh||50>c&&1===a.Fh[b.hb]?Pk(a,d,c):Qk(d)?d:Hj(Nk(a,b.hb));if(null!=b.Fb){var f=b.Fb.values.map(function(p){return Pk(a,p,c+3)});return f.every(d)?Gj(f.map(function(p){return e(p.Hb)})):Ij(f)}if(null!=b.Jb){f={};var g={};b=m(Object.entries(b.Jb.values||{}));for(var h=
|
|
b.next();!h.done;h=b.next()){var n=m(h.value);h=n.next().value;n=n.next().value;f[h]=Pk(a,n,c+3);null!==g&&d(f[h])?g[h]=e(f[h].Hb):g=null}return null!==g?Gj(g):Jj(f)}if(null!=b.Mb)return d=b.Mb,Mj(d.zc||[],Nk(a,d.body||""));if(null!=b.lb){d=b.lb;f={};g=m(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Pk(a,d.arguments[b],c+3);return d.functionName?Kj(d.functionName,f):Lj(Nk(a,d.mb||""),f)}throw Error("Can't optimize value: "+b);},Qk=function(a){var b=a.Hb;return null!==
|
|
b?b===Hd||"number"===typeof b||"boolean"===typeof b:null!=a.Ac},Ok=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Fb?e.Fb.values.forEach(d):null!=e.Jb?Object.values(e.Jb.values).forEach(d):null!=e.Mb?c(e.Mb.body):null!=e.lb?(e=e.lb,null!=e.mb&&c(e.mb),Object.values(e.arguments).forEach(d)):null!=e.hb&&c(e.hb)};c(a.Lh);return b};var Wk=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 Kf({i:Gk(a.element),description:Rk(a.description),ha:null,Za:null,selectors:b,Pb:Sk(a.maxErrorMeters),requestId:Rk(a.id),U:Sk(a.maxWorkers)});var c=Tk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Mf({ia:null,ga:null,B:Oj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ia=Uk(a):d.ga=Vk(a);b.ha=d;break;case "ASSET":b.Za=new Lf({Kb:new Af({name:Zj(a.assetId)})});
|
|
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Rk(a){return null!=a?String(a):null}function Sk(a){return null!=a?Number(a):null}
|
|
var Tk=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");return b},Yk=function(a){var b=new dg({Ie:!!a.tfrecordCompressed,Qb:Rk(a.tfrecordMaxFileSize),Nf:!!a.tfrecordSequenceData,He:!!a.tfrecordCollapseBands,tf:Sk(a.tfrecordMaskedThreshold),defaultValue:Sk(a.tfrecordDefaultValue),Ha:Xk(a.tfrecordPatchDimensions),qf:Xk(a.tfrecordKernelSize),Sd:null});a=a.tfrecordTensorDepths;if(null!=a)if(u(a)){var c={};Bb(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.Sd=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Zk=function(a,b){var c=new Gf({ia:null,ga:null,wd:null,Td:null,B:Nj(a.fileFormat)});if("GEO_TIFF"===c.B){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=new Vf({Ge:!!a.tiffCloudOptimized,
|
|
Sf:!!a.tiffSkipEmptyFiles,Ha:Xk(a.fileDimensions||a.tiffFileDimensions)});c.wd=d}else"TF_RECORD_IMAGE"===c.B&&(c.Td=Yk(a));"GOOGLE_CLOUD_STORAGE"===b?c.ia=Uk(a):c.ga=Vk(a);return c},$k=function(a,b){var c=new Of({ia:null,ga:null,B:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=Uk(a):c.ga=Vk(a);return c},al=function(a){var b=Sk(a.maxZoom),c=Sk(a.scale),d=Sk(a.minZoom),e=!!a.skipEmptyTiles,f=Rk(a.mapsApiKey),g=Xk(a.tileDimensions),h=Sk(a.stride);var n=Sk(a.minTimeMachineZoomSubset);a=Sk(a.maxTimeMachineZoomSubset);
|
|
if(null==n&&null==a)n=null;else{var p=new Cg({min:0,max:null});null!=n&&(p.min=n);p.max=a;n=p}return new Jf({maxZoom:b,scale:c,minZoom:d,Tf:e,pf:f,Ha:g,Uf:h,eg:n})},Xk=function(a){if(null==a)return null;var b=new Wf({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(u(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},Uk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Uf({Ce:Rk(a.outputBucket),ua:Rk(a.outputPrefix),De:a.bucketCorsUris||null,permissions:b})},Vk=function(a){return new uf({Ze:Rk(a.driveFolder),ua:Rk(a.driveFileNamePrefix)})};var cl=function(a,b){this.Ya=a;this.$d=b;this.l={};this.Bc=!0;if(0<this.Ya.length){for(a=0;a<this.Ya.length;a++){b=this.Ya[a];var c=b[0];this.l[c.toString()]=new bl(c,b[1])}this.Bc=!0}},dl=function(a){if(a.Bc){if(a.$d){var b=a.l,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].wc;d&&dl(d)}}}else{a.Ya.length=0;b=el(a);b.sort();for(c=0;c<b.length;c++){var e=a.l[b[c]];(d=e.wc)&&dl(d);a.Ya.push([e.key,e.value])}a.Bc=!0}return a.Ya};k=cl.prototype;k.getLength=function(){return el(this).length};
|
|
k.clear=function(){this.l={};this.Bc=!1};k.entries=function(){var a=[],b=el(this);b.sort();for(var c=0;c<b.length;c++){var d=this.l[b[c]];a.push([d.key,fl(this,d)])}return new gl(a)};k.keys=function(){var a=[],b=el(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.l[b[c]].key);return new gl(a)};k.values=function(){var a=[],b=el(this);b.sort();for(var c=0;c<b.length;c++)a.push(fl(this,this.l[b[c]]));return new gl(a)};
|
|
k.forEach=function(a,b){var c=el(this);c.sort();for(var d=0;d<c.length;d++){var e=this.l[c[d]];a.call(b,fl(this,e),e.key,this)}};k.set=function(a,b){var c=new bl(a);this.$d?(c.wc=b,c.value=dl(b)):c.value=b;this.l[a.toString()]=c;this.Bc=!1;return this};var fl=function(a,b){return a.$d?(b.wc||(b.wc=new a.$d(b.value)),b.wc):b.value};cl.prototype.get=function(a){if(a=this.l[a.toString()])return fl(this,a)};cl.prototype.has=function(a){return a.toString()in this.l};
|
|
var el=function(a){a=a.l;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},bl=function(a,b){this.key=a;this.value=b;this.wc=void 0},gl=function(a){this.dh=0;this.Ya=a};gl.prototype.next=function(){return this.dh<this.Ya.length?{done:!1,value:this.Ya[this.dh++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.iterator&&(gl.prototype[Symbol.iterator]=function(){return this});Object.freeze&&Object.freeze([]);var il=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];M&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(jb(f,d),lb(f));rj(a,f);null===a?pj():lj(function(){nj(b,c,e||Ga(hl,b,c))})};x("ee.data.authenticateViaOauth",il);var jl=function(a,b,c,d,e){il(a,b,c,d,e)};x("ee.data.authenticate",jl);var hl=function(a,b){r.gapi.auth.authorize({client_id:jj,immediate:!1,scope:kj.join(" ")},Ga(mj,a,b))};x("ee.data.authenticateViaPopup",hl);
|
|
var kl=function(a,b,c,d){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");var e=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/devstorage.read_write"];M&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(jb(e,d),lb(e));rj(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);ij=function(g,h){f.authorize(function(n,p){n?h({error:n}):h({access_token:p.access_token,
|
|
token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};nj(b,c)};x("ee.data.authenticateViaPrivateKey",kl);var ll=[];ll.push("setApiKey");ll.push("setProject");ll.push("getProject");ll.push("setCloudApiEnabled");ll.push("getCloudApiEnabled");x("ee.data.setExpressionAugmenter",function(a){ml=a||Rb});var ml=Rb;
|
|
x("ee.data.setAuthToken",function(a,b,c,d,e,f,g){var h=["https://www.googleapis.com/auth/earthengine"];M&&h.push("https://www.googleapis.com/auth/cloud-platform");e&&(jb(h,e),lb(h));jj=a;kj=h;var n={token_type:b,access_token:c,state:h.join(" "),expires_in:d};mj(void 0,void 0,n);!1===g?f&&f():lj(function(){r.gapi.auth.setToken(n);f&&f()})});x("ee.data.refreshAuthToken",nj);x("ee.data.setAuthTokenRefresher",function(a){ij=a});x("ee.data.getAuthToken",fj);x("ee.data.clearAuthToken",pj);
|
|
x("ee.data.getAuthClientId",function(){return jj});x("ee.data.getAuthScopes",function(){return kj});x("ee.data.setDeadline",function(a){Ej=a});x("ee.data.setParamAugmenter",function(a){yj=a||Rb});
|
|
var nl=function(a){if(M)return a=new I(a),J(a,a.yc().list(bj(),{prettyPrint:!1}).then(Uj));var b=L("/algorithms",null,a,"GET");return a?null:b},pl=function(a,b){if(M){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 Bf({name:null,i:ml(Gk(a.image)),B:Nj(a.format),ba:Qj(a.bands),$b:Tj(a)});var c=new I(b);return J(c,c.maps().create(bj(),a,{fields:["name"]}).then(function(e){return ol(e.name,
|
|
"")}))}a=Nb(a);"string"!==typeof a.image&&(a.image=a.image.X());var d=function(e){return ol(e.mapid,e.token)};return b?(L("/mapid",K(a),function(e,f){return b(e&&d(e),f)}),null):d(L("/mapid",K(a)))};x("ee.data.getMapId",pl);var ql=function(a,b,c,d){if(!a.formatTileUrl){var e=ol(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};x("ee.data.getTileUrl",ql);
|
|
var ol=function(a,b,c){var d=void 0===c?"":c;d||($i(),c=tj,d=b?c+"/map/"+a+"/{z}/{x}/{y}?token="+b:c+"/v1alpha/"+a+"/tiles/{z}/{x}/{y}");return{mapid:a,token:b,formatTileUrl:function(e,f,g){var h=Math.pow(2,g);e%=h;e=String(0>e?e+h:e);return d.replace("{x}",e).replace("{y}",f).replace("{z}",g)},urlFormat:d}},rl=function(a,b){if(M)return a=ml(Gk(a)),b=new I(b),J(b,Tg(b.value(),bj(),new kf({i:a})).then(function(c){return c.result}));a={json:Ck(a)};return L("/value",K(a),b)};
|
|
x("ee.data.computeValue",rl);
|
|
var sl=function(a,b){if(M){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 Bg({name:null,i:ml(Gk(a.image)),B:Nj(a.format),ua:a.name,ba:Qj(a.bands),
|
|
$b:Tj(a),K:null});b=new I(b);return J(b,(new Rg(b.P)).create(bj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=Nb(a);Array.isArray(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));var c=a.image||a.imageCollection;"string"!==typeof c&&(c=c.X());a.image=c;delete a.imageCollection;a=K(a).add("getid","1");return L("/thumb",a,b)};x("ee.data.getThumbId",sl);
|
|
var tl=function(a,b){if(!M)throw Error("getVideoThumbId is only supported in Cloud API mode.");var c=new Pf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Fg({name:null,i:ml(Gk(a.imageCollection)),B:Nj(a.format),Ja:c,K:null});b=new I(b);return J(b,(new Wg(b.P)).create(bj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};x("ee.data.getVideoThumbId",tl);ll.push("getVideoThumbId");
|
|
var ul=function(a,b){if(!M)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new Rf({name:null,i:ml(Gk(a.imageCollection)),B:Nj(a.format),orientation:Pj(a.orientation),K:null});b=new I(b);return J(b,(new Kg(b.P)).create(bj(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};x("ee.data.getFilmstripThumbId",ul);ll.push("getFilmstripThumbId");
|
|
var vl=function(a){return M?tj+"/v1alpha/"+a.thumbid+":getPixels":tj+"/api/thumb?thumbid="+a.thumbid+("&token="+a.token)};x("ee.data.makeThumbUrl",vl);
|
|
var xl=function(a,b){if(M){a=Object.assign({},a);a.id&&(a.image=new N(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
|
|
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(d){a.bands=Qj(a.bands)}if(a.bands&&!Array.isArray(a.bands))throw Error("Bands parameter must be an array.");a.bands&&a.bands.every(function(d){return"string"===typeof d})&&(a.bands=a.bands.map(function(d){return{id:d}}));if(a.bands&&a.bands.some(function(d){return null==d.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(d){}var c=wl(a.image,a);a=new Bg({name:null,i:ml(Gk(c)),B:Nj(a.format),ua:a.name,ba:a.bands&&Qj(a.bands.map(function(d){return d.id})),K:null});b=new I(b);return J(b,(new Rg(b.P)).create(bj(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))}a=Nb(a);return L("/download",K(a),b)};x("ee.data.getDownloadId",xl);var yl=function(a){$i();var b=tj;return M?b+"/v1alpha/"+a.docid+":getPixels":b+"/api/download?docid="+a.docid+"&token="+a.token};
|
|
x("ee.data.makeDownloadUrl",yl);var zl=function(a,b){if(M){b=new I(b);var c=Oj(a.format);a=ml(Gk(a.table));a=new zg({name:null,i:a,B:c});return J(b,(new Qg(b.P)).create(bj(),a,{fields:["name"]}).then(function(d){return{docid:d.name||"",token:""}}))}a=Nb(a);return L("/table",K(a),b)};x("ee.data.getTableDownloadId",zl);var Al=function(a){return M?tj+"/v1alpha/"+a.docid+":getFeatures":tj+"/api/table?docid="+a.docid+"&token="+a.token};x("ee.data.makeTableDownloadUrl",Al);
|
|
var Bl=function(a,b){if(M){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=mb(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}var d={};"number"===typeof a&&(d.count=a);return L("/newtaskid",K(d),b)};x("ee.data.newTaskId",Bl);
|
|
var Dl=function(a,b){if(M){var c=Cl(a).map(lk);if(1===c.length)return b=new I(b),J(b,b.Fa().get(c[0]).then(function(e){return[nk(e)]}));b=new ej(b);var d=b.Fa();return b.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return nk(e[f])})})}a="/taskstatus?q="+Cl(a).join();return L(a,null,b,"GET")};x("ee.data.getTaskStatus",Dl);
|
|
var Cl=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.");},Fl=function(a){return El(void 0,a)};x("ee.data.getTaskList",Fl);
|
|
var El=function(a,b){function c(h){var n={pagesize:500};a&&(n.pagesize=Math.min(n.pagesize,a-e.tasks.length));h&&(n.pagetoken=h);return n}function d(h,n){n=c(n);L("/tasklist",K(n),function(p,t){t?h(e,t):(jb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(M)return b?(Gl(a,function(h,n){return b(h?{tasks:h.map(nk)}:null,n)}),null):{tasks:Gl(a).map(nk)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=L("/tasklist",K(f),void 0,"GET");
|
|
jb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};x("ee.data.getTaskListWithLimit",El);var Gl=function(a,b){var c=[],d={pageSize:500},e=function(h){jb(c,h.Fa||[]);!h.Pa||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.Pa,J(f,g.list(bj(),d).then(e)));return null},f=new I(b?function(h,n){return n&&b(h,n)}:void 0),g=f.Fa();J(f,g.list(bj(),d).then(e));return b?null:a?c.slice(0,a):c};x("ee.data.listOperations",Gl);ll.push("listOperations");
|
|
var Hl=function(a,b){a=Cl(a);var c=new gf;if(1===a.length)b=new I(b),J(b,b.Fa().cancel(a[0],c));else{b=new ej(b);var d=b.Fa();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};x("ee.data.cancelOperation",Hl);ll.push("cancelOperation");var Il=function(a,b){var c=Cl(a).map(lk);if(!Array.isArray(a))return a=new I(b),J(a,a.Fa().get(c[0]));a=new ej(b);var d=a.Fa();return a.send(c.map(function(e){return[e,d.get(e)]}))};x("ee.data.getOperation",Il);ll.push("getOperation");
|
|
var Kl=function(a,b){return Jl(a,"CANCEL",b)};x("ee.data.cancelTask",Kl);var Jl=function(a,b,c){if(!Ib(Ll,b))throw Error("Invalid action: "+b);a=Cl(a);return M?(a=a.map(lk),Hl(a,c),null):L("/updatetask",K({id:a,action:b}),c,"POST")};x("ee.data.updateTask",Jl);
|
|
var Ql=function(a,b,c){if(M){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new I(c);c=function(f){return J(e,f.then(ok))};switch(d){case "EXPORT_IMAGE":return b=Ml(b,a),c(e.image().bb(bj(),b));case "EXPORT_FEATURES":return b=Wk(b),b.i=ml(b.i,a),c(e.table().bb(bj(),b));case "EXPORT_VIDEO":return b=Nl(b,a),c(e.video().bb(bj(),b));case "EXPORT_TILES":return b=Ol(b,a),c(e.map().bb(bj(),b));case "EXPORT_VIDEO_MAP":return b=Pl(b),c((new Vg(e.P)).bb(bj(),b));default:throw Error("Unable to start processing for task of type "+
|
|
d);}}b=Nb(b);null!=b.element&&(b.json=b.element.X(),delete b.element);Array.isArray(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return L("/processingrequest",K(b),c)};x("ee.data.startProcessing",Ql);
|
|
var Ml=function(a,b){var c=Rl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new Ef({i:Gk(c.element),description:Rk(c.description),ha:null,Za:null,K:null,uf:Rk(c.maxPixels),requestId:Rk(c.id),U:Sk(c.maxWorkers)});var d=Tk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ha=Zk(c,d);break;case "ASSET":d=c.pyramidingPolicy||{};try{d=JSON.parse(d)}catch(f){}var e="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof d?(e=d,d={}):d[".default"]&&(e=d[".default"],delete d[".default"]);
|
|
c=new Ff({Kb:new Af({name:Zj(c.assetId)}),pyramidingPolicy:e,Ef:Lb(d)?null:d});a.Za=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.i=ml(a.i,b);return a},Nl=function(a,b){a=Sl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Qf({i:Gk(a.element),description:Rk(a.description),Ja:new Pf({framesPerSecond:Sk(a.framesPerSecond),maxFrames:Sk(a.maxFrames),maxPixelsPerFrame:Rk(a.maxPixels)}),ha:null,requestId:Rk(a.id),U:Sk(a.maxWorkers)});c.ha=$k(a,Tk(a));
|
|
c.i=ml(c.i,b);return c},Ol=function(a,b){var c=a.scale;delete a.scale;a=Rl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new If({i:Gk(a.element),description:Rk(a.description),Xb:al(a),Wb:Zk(a,"GOOGLE_CLOUD_STORAGE"),requestId:Rk(a.id),U:Sk(a.maxWorkers)});c.i=ml(c.i,b);return c},Pl=function(a){var b=a.scale;delete a.scale;a=Sl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Nf({i:Gk(a.element),description:Rk(a.description),
|
|
Ja:new Pf({framesPerSecond:Sk(a.framesPerSecond),maxFrames:Sk(a.maxFrames),maxPixelsPerFrame:null}),Xb:al(a),Wb:$k(a,"GOOGLE_CLOUD_STORAGE"),requestId:Rk(a.id),version:Rk(a.version),U:Sk(a.maxWorkers)});b.i=ml(b.i);return b},Ul=function(a,b,c){if(M){b=sk(b);var d=function(e){return e?ok(e):null};return d(Tl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:ji(b)};return L("/ingestionrequest",K(a),c)};x("ee.data.startIngestion",Ul);
|
|
var Tl=function(a,b,c){b=new kg({ef:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.image().import(bj(),b))},Vl=function(a,b,c){b=new lg({Xf:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.table().import(bj(),b))},Wl=function(a,b,c){if(M){b=tk(b);var d=function(e){return e?ok(e):null};return d(Vl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:ji(b)};return L("/ingestionrequest",K(a),c)};
|
|
x("ee.data.startTableIngestion",Wl);var Xl=function(a,b){return M?(b=new I(b),a=Zj(a),J(b,b.assets().get(a,{prettyPrint:!1}).then(ak))):L("/info",(new be).add("id",a),b)};x("ee.data.getAsset",Xl);ll.push("getAsset");x("ee.data.getInfo",Xl);
|
|
var Yl=function(a,b){if(M){b=new I(b);var c=b.assets(),d=Zj(a.id),e=Xj.test(a.id);e&&(c=new Hg(b.P),d="projects/"+Yj(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return J(b,c.Uc(d,{pageSize:a.num}).then(bk));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=ik(a);return J(b,Jg(c,d,a).then(dk))}a=K(a);return L("/list",a,b)};x("ee.data.getList",Yl);
|
|
var Zl=function(a,b,c){b=void 0===b?{}:b;var d=Xj.test(a);c=new I(c);var e=d?new Hg(c.P):c.assets();a=d?"projects/"+Yj(a):Zj(a);return J(c,e.Uc(a,b))};x("ee.data.listAssets",Zl);ll.push("listAssets");var $l=function(a,b,c){b=void 0===b?{}:b;c=new I(c);return J(c,Jg(c.assets(),a,b))};x("ee.data.listImages",$l);ll.push("listImages");var am=function(a,b){b=new I(b);return J(b,(new Hg(b.P)).Uc(a||bj()))};x("ee.data.listBuckets",am);ll.push("listBuckets");
|
|
var bm=function(a){return M?(a=new I(a),J(a,(new Hg(a.P)).Uc(bj()).then(bk))):L("/buckets",null,a,"GET")};x("ee.data.getAssetRoots",bm);var cm=function(a,b){if(M){var c="projects/"+Yj(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new vf({type:"Folder"});b=new I(b);J(b,b.assets().create(c,d,{assetId:a}).then(ak))}else c=K({id:a}),L("/createbucket",c,b)};x("ee.data.createAssetHome",cm);
|
|
var dm=function(a,b,c,d,e){if(M){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&Zj(b);if(!c)throw Error("Either asset name or opt_path must be specified.");var f=c.indexOf("/assets/");if(-1===f)throw Error("Asset name must contain /assets/.");a=new vf(a);b=c.slice(0,f);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
|
|
case "Folder":d="FOLDER"}a.type=d;e=new I(e);return J(e,e.assets().create(b,a,{assetId:c}).then(ak))}"string"!==typeof a&&(a=ji(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=ji(d));return L("/create",K(a),e)};x("ee.data.createAsset",dm);var em=function(a,b,c){return M?dm({type:"Folder"},a,b,void 0,c):L("/createfolder",K({id:a,force:b||!1}),c)};x("ee.data.createFolder",em);
|
|
var fm=function(a,b,c){M?(a=Zj(a),b=Zj(b),b=new tg({Ib:b}),c=new I(c),J(c,c.assets().move(a,b).then(ak))):L("/rename",K({sourceId:a,destinationId:b}),c)};x("ee.data.renameAsset",fm);
|
|
var gm=function(a,b,c,d){if(M){a=Zj(a);b=Zj(b);c=new of({Ib:b,overwrite:null!=c?c:null});d=new I(d);b=ak;var e=d.assets();var f=void 0===f?{}:f;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=H(e.h,{body:c,u:"POST",C:"earthengine.projects.assets.copy",path:"/"+e.j+"/"+a+":copy",o:G(f),F:vf});J(d,f.then(b))}else f={sourceId:a,destinationId:b},c&&(f.allowOverwrite=c),L("/copy",K(f),d)};x("ee.data.copyAsset",gm);var hm=function(a,b){M?(b=new I(b),J(b,b.assets().delete(Zj(a)))):L("/delete",K({id:a}),b)};
|
|
x("ee.data.deleteAsset",hm);var im=function(a,b){if(M){a=Zj(a);var c=new Xf;b=new I(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);a=H(d.h,{body:c,u:"POST",C:"earthengine.projects.assets.getIamPolicy",path:"/"+d.j+"/"+a+":getIamPolicy",o:G(e),F:wg});return J(b,a.then(jk))}return L("/getacl",K({id:a}),b,"GET")};x("ee.data.getAssetAcl",im);
|
|
var jm=function(a,b,c,d){b=new Eg({ye:b,vc:(c||[]).join(",")});d=new I(d);c=ak;var e=d.assets();a=Zj(a);var f=void 0===f?{}:f;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=H(e.h,{body:b,u:"PATCH",C:"earthengine.projects.assets.patch",path:"/"+e.j+"/"+a,o:G(f),F:vf});return J(d,f.then(c))};x("ee.data.updateAsset",jm);
|
|
var km=function(a,b,c){if(M){a=Zj(a);b=kk(b);b=new yg({zf:b});c=new I(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);a=H(d.h,{body:b,u:"POST",C:"earthengine.projects.assets.setIamPolicy",path:"/"+d.j+"/"+a+":setIamPolicy",o:G(e),F:wg});J(c,a)}else b={readers:b.readers,writers:b.writers,all_users_can_read:b.all_users_can_read},a={id:a,value:ji(b)},L("/setacl",K(a),c)};x("ee.data.setAssetAcl",km);
|
|
var lm=function(a,b,c){if(M){var d=gk(b);b=Id(d.f()).keys.filter(function(e){return"properties"!==e&&F(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));jm(a,d,b,c)}else a={id:a,properties:ji(b)},L("/setproperties",K(a),c)};x("ee.data.setAssetProperties",lm);
|
|
var mm=function(a,b){if(M){var c=Zj(a);b=new I(b);var d=b.assets(),e=d.h.A;d.h.A=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=/^projects\/[^/]+\/assets\/.*$/);return e(f,g)};c=d.get(c,{prettyPrint:!1});return J(b,c.then(function(f){if(!(f instanceof vf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.ze||0),limit:Number(f.sf||0)},asset_size:{usage:Number(f.za||0),limit:Number(f.Qb||0)}}}))}return L("/quota",K({id:a}),b,"GET")};
|
|
x("ee.data.getAssetRootQuota",mm);var Ll={kk:"CANCEL",nk:"UPDATE"};var O=function(a,b,c){if(!(this instanceof O))return nm(O,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.D=a;this.args=b;this.R=c||null};y(O,Fj);x("ee.ComputedObject",O);O.prototype.evaluate=function(a){if(!a||!v(a))throw Error("evaluate() requires a callback function.");rl(this,a)};O.prototype.evaluate=O.prototype.evaluate;
|
|
O.prototype.W=function(a){return rl(this,a)};O.prototype.getInfo=O.prototype.W;O.prototype.encode=function(a){if(null===this.D&&null===this.args)return{type:"ArgumentRef",value:this.R};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.D);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
O.prototype.pa=function(a){if(null===this.D&&null===this.args){if(null===this.R)throw Error("Internal error: function argument not initialized.");return new af({Ac:this.R})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Hj(a(this.args[c])));return"string"===typeof this.D?Kj(String(this.D),b):this.D.Re(a,b)};O.prototype.X=function(){return Ck(this)};O.prototype.serialize=O.prototype.X;O.prototype.toString=function(){return"ee."+this.name()+"("+Ek(this)+")"};
|
|
x("ee.ComputedObject.prototype.toString",O.prototype.toString);O.prototype.name=function(){return"ComputedObject"};O.prototype.fg=function(a,b){var c=ib(arguments);c[0]=this;a.apply(r,c);return this};O.prototype.aside=O.prototype.fg;var om=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.D=b.D;a.args=b.args;a.R=b.R;return a},nm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var pm={},qm=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}},rm=function(a){return"number"===typeof a||a instanceof O&&"Number"==a.name()},sm=function(a){return"string"===typeof a||a instanceof O&&"String"==a.name()},tm=function(a){return u(a)&&
|
|
!v(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},um=function(a,b,c){return 1===a.length&&tm(a[0])&&(a=b.args,(void 0===c?0:c)&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var vm=function(){if(!(this instanceof vm))return new vm};y(vm,Fj);x("ee.Function",vm);var wm=Rb;vm.prototype.call=function(a){return this.apply(xm(this,Array.prototype.slice.call(arguments,0)))};vm.prototype.call=vm.prototype.call;vm.prototype.apply=function(a){a=new O(this,ym(this,a));return wm(a,this.Z().returns)};vm.prototype.apply=vm.prototype.apply;
|
|
var zm=function(a,b,c){var d=void 0!==b,e=a.Z();if(um(c,e,d)){if(c=Nb(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=xm(a,d?[b].concat(c):c);return a.apply(c)},ym=function(a,b){for(var c=a.Z().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=wm(b[g],c[f].type);else if(!c[f].optional)throw Error("Required argument ("+g+") missing to function: "+a);e[g]=!0}c=[];for(var h in b)e[h]||c.push(h);if(0<c.length)throw Error("Unrecognized arguments ("+
|
|
c+") to function: "+a);return d},xm=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
vm.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(Xa(c.args.slice(b?1:0),function(f){return f.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("")};vm.prototype.X=function(){return Ck(this)};var P=function(a,b){if(void 0===b)return Am(a);if(!(this instanceof P))return nm(P,arguments);this.Ra=Ob(b);this.Ra.name=a};y(P,vm);x("ee.ApiFunction",P);var Q=function(a,b){return vm.prototype.call.apply(Am(a),Array.prototype.slice.call(arguments,1))};x("ee.ApiFunction._call",Q);var Bm=function(a,b){return Am(a).apply(b)};x("ee.ApiFunction._apply",Bm);P.prototype.encode=function(){return this.Ra.name};P.prototype.Re=function(a,b){return Kj(this.Ra.name,b)};P.prototype.Z=function(){return this.Ra};
|
|
var Cm=null,Dm={},Fm=function(){Em();return Db(Cm,function(a){return a.Z()})},Gm=function(){Em();return Cb(Cm,function(a,b){return!Dm[b]})},Am=function(a){var b=Hm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};x("ee.ApiFunction.lookup",Am);
|
|
var Hm=function(a){Em();return Cm[a]||null},Em=function(a,b){if(Cm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Cm=Db(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var h=0;h<f.args.length;h++)f.args[h].type=f.args[h].type.replace(/<.*>/,"");return new P(g,f)}),a&&a())};a?nl(c):c(nl())}},Im=function(a,b,c,d){Em();var e=d||"";Bb(Cm,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var n=f.Z();Dm[g]=!0;var p=!1;n.args.length&&(g=n.args[0].type,p="Object"!=g&&qm(g,c));
|
|
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(t){return zm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=w(f.toString,f,h,p),g[h].signature=n)}})},Jm=function(a){var b=function(c){for(var d in c)v(c[d])&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var R=function(a,b){var c=Km(a),d=Xa(c,function(n){return n.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=u(f)&&!v(f)&&!Array.isArray(f)&&"Object"===Object.getPrototypeOf(f).constructor.name;if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{g=new Ad(Gb(f));var h=new Ad(d);
|
|
if(h.ih(g).isEmpty())e[d[0]]=b[0];else{b=g.Qe(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.T().join(", "));e=Nb(f)}}b=new Ad(Gb(e));c=(new Ad(Wa(c,function(n){return 0!=n.lastIndexOf("opt_",0)}))).Qe(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.T().join(", "));return e},Km=function(a){var b=Lm,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],u(a)||Mm(),c=a.paramNames,Array.isArray(c)||Mm()):(a=a.toString().replace(Nm,"").match(b),null===a&&Mm(),
|
|
c=(a[1].split(",")||[]).map(function(d){return d.replace(Om,"")}));return c},Mm=function(){throw Error("Failed to locate function parameters.");},Nm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Lm=/^function[^\(]*\(([^\)]*)\)/m,Om=/=.*$/;var S=function(a,b,c){O.call(this,a,b,c);Pm()};y(S,O);x("ee.Element",S);var Qm=!1,Pm=function(){Qm||(Im(S,"Element","Element"),Qm=!0)};S.prototype.name=function(){return"Element"};
|
|
S.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=tm(c))a:{b=Gb(c);var d=["properties"];if(ya(b)&&ya(d)&&b.length==d.length){for(var e=b.length,f=0;f<e;f++)if(b[f]!==d[f]){b=!1;break a}b=!0}else b=!1}b&&u(c.properties)&&(c=c.properties);if(tm(c)){b=this;for(var g in c)d=c[g],b=Q("Element.set",b,g,d)}else if(c instanceof O&&Hm("Element.setMulti"))b=Q("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
|
|
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)g=arguments[c],d=arguments[c+1],b=Q("Element.set",b,g,d)}return om(this,b)};S.prototype.set=S.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return nm(U,arguments);if(!("type"in a)){var e=R(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Rm();e=null!=b||null!=c||null!=d;if(a instanceof O&&!(a instanceof U&&a.gb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");O.call(this,a.D,a.args,a.R)}else{a instanceof U&&(a=a.encode());if(!Sm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));O.call(this,
|
|
null,null);this.gb=a.type;this.xg=null!=a.coordinates?Ob(a.coordinates):null;this.Vg=a.geometries||null;if(null!=b)this.Tb=b;else if("crs"in a)if(u(a.crs)&&"name"==a.crs.type&&u(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.Tb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new ii).X(a.crs));this.jc=c;void 0===this.jc&&"geodesic"in a&&(this.jc=!!a.geodesic);this.hc=d;void 0===this.hc&&"evenOdd"in a&&(this.hc=!!a.evenOdd)}};y(U,O);x("ee.Geometry",U);
|
|
var Tm=!1,Rm=function(){Tm||(Im(U,"Geometry","Geometry"),Tm=!0)},Um=function(a,b){if(!(this instanceof Um))return Vm(Um,arguments);var c=Wm(Um,"Point",1,arguments);if(!(c instanceof O)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};y(Um,U);U.Point=Um;var Xm=function(a,b){if(!(this instanceof Xm))return Vm(Xm,arguments);U.call(this,Wm(Xm,"MultiPoint",2,arguments))};y(Xm,U);U.MultiPoint=Xm;
|
|
var Ym=function(a,b,c,d){if(!(this instanceof Ym))return Vm(Ym,arguments);var e=Wm(Ym,"Rectangle",2,arguments);if(!(e instanceof O)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],h=f[0][1],n=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,h],[n,h],[n,f]]];e.type="Polygon"}U.call(this,e)};y(Ym,U);U.Rectangle=Ym;
|
|
var Zm=function(a,b,c,d){if(!(this instanceof Zm))return Vm(Zm,arguments);U.call(this,Wm(Zm,"LineString",2,arguments))};y(Zm,U);U.LineString=Zm;var $m=function(a,b,c,d){if(!(this instanceof $m))return Vm($m,arguments);U.call(this,Wm($m,"LinearRing",2,arguments))};y($m,U);U.LinearRing=$m;var an=function(a,b,c,d){if(!(this instanceof an))return Vm(an,arguments);U.call(this,Wm(an,"MultiLineString",3,arguments))};y(an,U);U.MultiLineString=an;
|
|
var bn=function(a,b,c,d,e){if(!(this instanceof bn))return Vm(bn,arguments);U.call(this,Wm(bn,"Polygon",3,arguments))};y(bn,U);U.Polygon=bn;var cn=function(a,b,c,d,e){if(!(this instanceof cn))return Vm(cn,arguments);U.call(this,Wm(cn,"MultiPolygon",4,arguments))};y(cn,U);U.MultiPolygon=cn;
|
|
U.prototype.encode=function(a){if(!this.gb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.encode.call(this,a)}a={type:this.gb};"GeometryCollection"==this.gb?a.geometries=this.Vg:a.coordinates=this.xg;null!=this.Tb&&(a.crs={type:"name",properties:{name:this.Tb}});null!=this.jc&&(a.geodesic=this.jc);null!=this.hc&&(a.evenOdd=this.hc);return a};
|
|
U.prototype.fd=function(){if(this.D)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};U.prototype.toGeoJSON=U.prototype.fd;U.prototype.ag=function(){if(this.D)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new ii).X(this.fd())};U.prototype.toGeoJSONString=U.prototype.ag;U.prototype.X=function(){return Ck(this)};U.prototype.serialize=U.prototype.X;
|
|
U.prototype.toString=function(){return"ee.Geometry("+this.ag()+")"};
|
|
U.prototype.pa=function(a){if(!this.gb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return O.prototype.pa.call(this,a)}var b={},c="";"GeometryCollection"===this.gb?(b.geometries=this.Vg.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.xg,c="GeometryConstructors."+this.gb);null!=this.Tb&&(b.crs="string"===typeof this.Tb?(new P("Projection")).call(this.Tb):this.Tb);var d="Point"!==this.gb&&"MultiPoint"!==this.gb;
|
|
null!=this.jc&&d&&(b.geodesic=this.jc);null!=this.hc&&(b.evenOdd=this.hc);return(new P(c)).apply(b).pa(a)};
|
|
var Sm=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(!Sm(b[a]))return!1;return!0}a=a.coordinates;var c=dn(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)},dn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=dn(a[0]),c=1;c<a.length;c++)if(dn(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},en=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},Wm=function(a,b,c,d){a=fn(a,d);if(gn(a.coordinates)||null!=a.crs||null!=a.maxError)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=hn(c,a.coordinates);(b=cb(["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},fn=function(a,b){if(Za(b,rm))return{coordinates:ib(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Cb(a,function(c){return null!=c})},gn=function(a){return Array.isArray(a)?Ya(a,gn):a instanceof O},hn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Za(b,function(e){return"number"===
|
|
typeof e})&&(b=en(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(dn(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},Vm=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 nm(V,arguments);if(a instanceof V)return a;jn();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]);O.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof O)O.call(this,a.D,a.args,a.R);else if(void 0===a)O.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};y(V,O);x("ee.Filter",V);
|
|
var kn=!1,jn=function(){kn||(Im(V,"Filter","Filter"),kn=!0)},ln={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.kc=function(){return Q("Filter.not",this)};V.prototype.not=V.prototype.kc;var mn=function(a,b){var c=R(mn,arguments);return Q("Filter.equals",c.name,c.value)};V.eq=mn;var nn=function(a,b){var c=R(nn,arguments);return mn(c.name,c.value).kc()};V.neq=nn;
|
|
var on=function(a,b){var c=R(on,arguments);return Q("Filter.lessThan",c.name,c.value)};V.lt=on;var pn=function(a,b){var c=R(pn,arguments);return on(c.name,c.value).kc()};V.gte=pn;var qn=function(a,b){var c=R(qn,arguments);return Q("Filter.greaterThan",c.name,c.value)};V.gt=qn;var rn=function(a,b){var c=R(rn,arguments);return qn(c.name,c.value).kc()};V.lte=rn;var sn=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};V.and=sn;var tn=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=tn;var un=function(a,b){var c=R(un,arguments);c=Q("DateRange",c.start,c.end);return Bm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=un;var vn=function(a,b,c,d){var e=R(vn,arguments);return Bm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=vn;var wn=function(a,b){return Bm("Filter.intersects",{leftField:".all",rightValue:Q("Feature",a),maxError:b})};V.bounds=wn;
|
|
V.prototype.name=function(){return"Filter"};var xn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in ln))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+ln[b],a,c);return d?a.kc():a};V.metadata=xn;var W=function(a,b,c){S.call(this,a,b,c);yn()};y(W,S);x("ee.Collection",W);var zn=!1,yn=function(){zn||(Im(W,"Collection","Collection"),Im(W,"AggregateFeatureCollection","Collection","aggregate_"),zn=!0)};W.prototype.filter=function(a){a=R(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return om(this,Q("Collection.filter",this,a))};W.prototype.filter=W.prototype.filter;
|
|
W.prototype.We=function(a,b,c){var d=R(W.prototype.We,arguments);return this.filter(xn(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.We;W.prototype.Og=function(a){return this.filter(wn(a))};W.prototype.filterBounds=W.prototype.Og;W.prototype.Ve=function(a,b){var c=R(W.prototype.Ve,arguments);return this.filter(un(c.start,c.end))};W.prototype.filterDate=W.prototype.Ve;
|
|
W.prototype.limit=function(a,b,c){var d=R(W.prototype.limit,arguments);return om(this,Q("Collection.limit",this,d.max,d.property,d.ascending))};W.prototype.limit=W.prototype.limit;W.prototype.sort=function(a,b){var c=R(W.prototype.sort,arguments);return om(this,Q("Collection.limit",this,void 0,c.property,c.ascending))};W.prototype.sort=W.prototype.sort;W.prototype.name=function(){return"Collection"};W.prototype.elementType=function(){return S};
|
|
W.prototype.map=function(a,b){var c=this.elementType();return om(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.prototype.kh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return Q("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};W.prototype.iterate=W.prototype.kh;var X=function(a,b){if(!(this instanceof X))return nm(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)");An();if(a instanceof U||null===a)S.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof O)S.call(this,a.D,a.args,a.R);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=Nb(c);c["system:index"]=a.id}S.call(this,new P("Feature"),{geometry:new U(a.geometry),metadata:c})}else S.call(this,new P("Feature"),{geometry:new U(a),metadata:b||null})};y(X,S);x("ee.Feature",X);var Bn=!1,An=function(){Bn||(Im(X,"Feature","Feature"),Bn=!0)};X.prototype.W=function(a){return X.H.W.call(this,a)};X.prototype.getInfo=X.prototype.W;
|
|
X.prototype.getMap=function(a,b){var c=R(X.prototype.getMap,arguments);return Q("Collection",[this]).getMap(c.visParams,c.callback)};X.prototype.getMap=X.prototype.getMap;X.prototype.name=function(){return"Feature"};var Rl=function(a){var b={},c=Cn(a.element,a);c=Dn(c,a,b);b.element=c;return b},Sl=function(a){var b={},c=a.element.map(function(d){d=Cn(d,a);return Dn(d,a,b)});b.element=c;return b},Dn=function(a,b,c){var d={},e=["maxDimension","width","height","scale"];Bb(b,function(f,g){switch(g){case "dimensions":g="string"===typeof f?f.split("x").map(Number):Array.isArray(f)?f:"number"===typeof f?[f]:[];if(1===g.length)d.maxDimension=g[0];else if(2===g.length)d.width=g[0],d.height=g[1];else throw Error("Invalid dimensions "+
|
|
f);break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(f instanceof Ym)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(h){g=f.split(/\s*,\s*/).map(Number)}if(Array.isArray(g)){if(g.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");f=new Ym(g,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)){g=f;if("string"===typeof f)try{g=JSON.parse(f)}catch(h){throw Error('Region string "'+f+'" is not valid GeoJSON.');}if(Array.isArray(g))f=new bn(g,null,!1);else if(u(g))f=new U(g,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[g]=f}});Lb(d)||(d.input=a,a=e.some(function(f){return f in d})?Bm("Image.clipToBoundsAndScale",d):Bm("Image.clip",d));return a},Cn=function(a,b){var c=
|
|
b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=En(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=Bm("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,c=(new P("Projection")).call(c,d),b.region=new Ym([0,0,e[0],e[1]],c,!1))}}else a=Bm("Image.setDefaultProjection",{image:a,crs:c,
|
|
crsTransform:[1,0,0,0,-1,0]});return a},En=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Za(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.");},Gn=function(a,b){var c={};b=Fn(b,c);Lb(b)||(b.image=a,a=Bm("Image.visualize",b));c.image=a;return c},Fn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),
|
|
d={};Bb(a,function(e,f){cb(c,f)?d[f]=e:b[f]=e});return d},wl=function(a,b){b=Object.assign({},b);var c=function(e){var f={};["crs","crs_transform","dimensions","region"].forEach(function(g){g in e&&(f[g]=e[g])});null!=e.scale&&null==e.dimensions&&(f.scale=e.scale);return f},d=function(e){var f=e.id;if(void 0===f)throw Error("Each band dictionary must have an id.");f=a.select(f);var g=c(b);e=c(e);e=c(Object.assign(g,e));f=Cn(f,e);return f=Dn(f,e,{})};"ZIPPED_GEO_TIFF_PER_BAND"===b.format&&b.bands&&
|
|
b.bands.length?(d=b.bands.map(d),a=d.reduce(function(e,f){return Q("Image.addBands",e,f,null,!0)},d.shift())):(d=c(b),a=Cn(a,d),a=Dn(a,d,{}));return a};var N=function(a){if(!(this instanceof N))return nm(N,arguments);if(a instanceof N)return a;Hn();var b=arguments.length;if(0==b||1==b&&void 0===a)S.call(this,new P("Image.mask"),{image:new N(0),mask:new N(0)});else if(1==b)if(rm(a))S.call(this,new P("Image.constant"),{value:a});else if(sm(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return In(Xa(a,function(d){return new N(d)}));if(a instanceof O)"Array"==a.name()?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.D,
|
|
a.args,a.R);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(sm(b)&&rm(c))S.call(this,new P("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};y(N,S);x("ee.Image",N);var Jn=!1,Hn=function(){Jn||(Im(N,"Image","Image"),Im(N,"Window","Image","focal_"),Jn=!0)};
|
|
N.prototype.W=function(a){return N.H.W.call(this,a)};N.prototype.getInfo=N.prototype.W;N.prototype.getMap=function(a,b){var c=this,d=R(N.prototype.getMap,arguments),e=Gn(this,d.visParams);if(d.callback){var f=d.callback;pl(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=pl(e),d.image=this,d};N.prototype.getMap=N.prototype.getMap;
|
|
N.prototype.nb=function(a,b){var c=R(N.prototype.nb,arguments),d=c.params?Nb(c.params):{};d.image=M?this:this.X();if(c.callback){var e=c.callback;xl(d,function(f,g){f?e(yl(f)):e(null,g)})}else return yl(xl(d))};N.prototype.getDownloadURL=N.prototype.nb;
|
|
N.prototype.xd=function(a,b){var c=R(N.prototype.nb,arguments),d=c.params?Nb(c.params):{};if(M){var e={},f=Cn(this,d);f=Dn(f,d,e);d=Gn(f,e)}else if(d=Gn(this,d),d.region)if(d.region instanceof U&&(d.region=d.region.fd()),Array.isArray(d.region)||tm(d.region))d.region=ji(d.region);else if("string"!==typeof d.region)throw Error("The region parameter must be an array or a GeoJSON object.");return c.callback?(sl(d,c.callback),null):sl(d)};N.prototype.getThumbId=N.prototype.xd;
|
|
N.prototype.af=function(a,b){var c=R(N.prototype.af,arguments);if(c.callback)this.xd(c.params,function(d,e){var f="";if(void 0===e)try{f=vl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return vl(this.xd(c.params))};N.prototype.getThumbURL=N.prototype.af;var Kn=function(a,b,c){var d=R(Kn,arguments);return In([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};N.rgb=Kn;var Ln=function(a){return In(Array.prototype.slice.call(arguments),null)};N.cat=Ln;
|
|
var In=function(a,b){if(0==a.length)return Q("Image.constant",[]);for(var c=new N(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
N.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||sm(b[0])||rm(b[0])){for(var d=0;d<b.length;d++)if(!(sm(b[d])||rm(b[d])||b[d]instanceof O))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Bm("Image.select",c)};N.prototype.select=N.prototype.select;
|
|
N.prototype.i=function(a,b){var c=R(N.prototype.i,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var f=c.map,g;for(g in f)d.push(g),e[g]=new N(f[g])}var h=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new vm;c.encode=function(n){return h.encode(n)};c.Re=function(n,p){return Lj(n(h),p)};c.Z=function(){return{name:"",args:Xa(d,function(n){return{name:n,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
N.prototype.expression=N.prototype.i;N.prototype.clip=function(a){try{a=new U(a)}catch(b){}return Q("Image.clip",this,a)};N.prototype.clip=N.prototype.clip;N.prototype.Hh=function(a){var b=1!=arguments.length||sm(arguments[0])?ib(arguments):arguments[0];return Q("Image.rename",this,b)};N.prototype.rename=N.prototype.Hh;N.prototype.name=function(){return"Image"};var Mn=function(a){if(this instanceof Mn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Mn)return a}else return nm(Mn,arguments);Nn();if(Array.isArray(a))O.call(this,null,null),this.Vc=a;else if(a instanceof O)O.call(this,a.D,a.args,a.R),this.Vc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};y(Mn,O);x("ee.List",Mn);var On=!1,Nn=function(){On||(Im(Mn,"List","List"),On=!0)};
|
|
Mn.prototype.encode=function(a){return Array.isArray(this.Vc)?Xa(this.Vc,function(b){return a(b)}):Mn.H.encode.call(this,a)};Mn.prototype.pa=function(a){return Array.isArray(this.Vc)?Hj(a(this.Vc)):Mn.H.pa.call(this,a)};Mn.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return nm(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)");Pn();a instanceof U&&(a=new X(a));a instanceof X&&(a=[a]);if(sm(a)){var c={tableId:a};b&&(c.geometryColumn=b);W.call(this,new P("Collection.loadTable"),c)}else if(Array.isArray(a))W.call(this,new P("Collection"),{features:Xa(a,function(d){return new X(d)})});else if(a instanceof Mn)W.call(this,
|
|
new P("Collection"),{features:a});else if(a instanceof O)W.call(this,a.D,a.args,a.R);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};y(Y,W);x("ee.FeatureCollection",Y);var Qn=!1,Pn=function(){Qn||(Im(Y,"FeatureCollection","FeatureCollection"),Qn=!0)};Y.prototype.getMap=function(a,b){var c=R(Y.prototype.getMap,arguments),d=Bm("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.W=function(a){return Y.H.W.call(this,a)};Y.prototype.getInfo=Y.prototype.W;
|
|
Y.prototype.nb=function(a,b,c,d){var e=R(Y.prototype.nb,arguments),f={};f.table=M?this:this.X();e.format&&(f.format=e.format.toUpperCase());e.filename&&!M&&(f.filename=e.filename);if(e.selectors){var g=e.selectors;M?("string"===typeof g&&(g=g.split(",")),ya(g)&&(f.table=this.select(g))):(ya(g)&&(g=g.join(",")),f.selectors=g)}if(e.callback)zl(f,function(h,n){h?e.callback(Al(h)):e.callback(null,n)});else return Al(zl(f))};Y.prototype.getDownloadURL=Y.prototype.nb;
|
|
Y.prototype.select=function(a,b,c){if(sm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=R(Y.prototype.select,arguments);return this.map(function(f){return f.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 nm(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Rn();a instanceof N&&(a=[a]);if(sm(a))W.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))W.call(this,new P("ImageCollection.fromImages"),{images:Xa(a,function(b){return new N(b)})});else if(a instanceof Mn)W.call(this,new P("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof O)W.call(this,a.D,a.args,a.R);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};y(Z,W);x("ee.ImageCollection",Z);var Sn=!1,Rn=function(){Sn||(Im(Z,"ImageCollection","ImageCollection"),Im(Z,"reduce","ImageCollection"),Sn=!0)};Z.prototype.$e=function(a,b){var c=R(Z.prototype.$e,arguments);return Tn(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.$e;
|
|
Z.prototype.bf=function(a,b){var c=R(Z.prototype.bf,arguments);return Tn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.bf;
|
|
var Tn=function(a,b,c,d){var e={};a=a.map(function(h){h=Cn(h,b.params);return Dn(h,b.params,e)});var f={},g=Fn(e,f);f.imageCollection=a.map(function(h){g.image=h;return Bm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Ya(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=sl;if(M)switch(d){case "video":c=tl;break;case "filmstrip":c=ul}if(b.callback)c(f,function(h,n){var p=
|
|
"";if(void 0===n)try{p=vl(h)}catch(t){n=String(t.message)}b.callback(p,n)});else return vl(c(f))};Z.prototype.getMap=function(a,b){var c=R(Z.prototype.getMap,arguments),d=Q("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Z.prototype.getMap=Z.prototype.getMap;Z.prototype.W=function(a){return Z.H.W.call(this,a)};Z.prototype.getInfo=Z.prototype.W;
|
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new N(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return N};var Un=function(a){this.Je=a;this.id=null},Wn=function(a){var b={element:Vn(a)};Object.assign(b,a);b=Cb(b,function(c){return null!=c});return new Un(b)};
|
|
Un.prototype.start=function(a,b){var c=this;A(this.Je,"Task config must be specified for tasks to be started.");if(a){var d=function(){Qa(c.id);Ql(c.id,c.Je,function(e,f){f?b(f):a()})};this.id?d():Bl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Bl(1)[0],Qa(this.id,"Failed to obtain task ID."),Ql(this.id,this.Je)};Un.prototype.start=Un.prototype.start;var Xn=function(a,b,c,d,e,f,g,h,n,p){var t=R(Xn,arguments);t=Yn(t,"ASSET","EXPORT_IMAGE");return Wn(t)};
|
|
x("ee.batch.Export.image.toAsset",Xn);var Zn=function(a,b,c,d,e,f,g,h,n,p,t,C,E,aa,Fa){var T=R(Zn,arguments);T=Yn(T,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Wn(T)};x("ee.batch.Export.image.toCloudStorage",Zn);var $n=function(a,b,c,d,e,f,g,h,n,p,t,C,E,aa,Fa){var T=R($n,arguments);T=Yn(T,"DRIVE","EXPORT_IMAGE");return Wn(T)};x("ee.batch.Export.image.toDrive",$n);var ao=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=R(ao,arguments);E=Yn(E,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Wn(E)};
|
|
x("ee.batch.Export.map.toCloudStorage",ao);var bo=function(a,b,c,d,e,f){var g=R(bo,arguments);g=Yn(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Wn(g)};x("ee.batch.Export.table.toCloudStorage",bo);var co=function(a,b,c,d,e,f){var g=R(co,arguments);g.type="EXPORT_FEATURES";g=Yn(g,"DRIVE","EXPORT_FEATURES");return Wn(g)};x("ee.batch.Export.table.toDrive",co);var eo=function(a,b,c){var d=R(eo,arguments);d=Yn(d,"ASSET","EXPORT_FEATURES");return Wn(d)};x("ee.batch.Export.table.toAsset",eo);
|
|
var fo=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=R(fo,arguments);E=Yn(E,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Wn(E)};x("ee.batch.Export.video.toCloudStorage",fo);var go=function(a,b,c,d,e,f,g,h,n,p,t,C){var E=R(go,arguments);E=Yn(E,"DRIVE","EXPORT_VIDEO");return Wn(E)};x("ee.batch.Export.video.toDrive",go);var ho=function(a,b,c,d,e,f,g,h,n,p,t,C,E,aa,Fa,T,db,Hb,cq,dq){var Ni=R(ho,arguments);Ni=Yn(Ni,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Wn(Ni)};
|
|
x("ee.batch.Export.videoMap.toCloudStorage",ho);
|
|
var Vn=function(a){var b=function(d){return d in a},c=io.find(b);A(1===$a(io,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof N||b instanceof Y||b instanceof Z||b instanceof S))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},Yn=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'.");}null!=e.formatOptions&&(a=jo(e,a),delete e.formatOptions,Object.assign(e,a));e=ko(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
|
|
b=ko(e,b);break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());e=ko(e,b);break;case "EXPORT_VIDEO":e=lo(e);e=ko(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=lo(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=ko(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.fd();else if("string"===typeof b)try{b=Sa(JSON.parse(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.");}if(!(u(b)&&"type"in b))try{new Zm(b)}catch(f){try{new bn(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.");
|
|
}}b=ji(b);d.region=b}return e},ko=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;default:b=xa(a.folder);if(!cb(["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},
|
|
mo={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},no={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},lo=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},jo=function(a,b){var c=a.formatOptions;if(null==c)return{};if(Object.keys(a).some(function(n){return null!==c&&n in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
a=no[b];for(var d=mo[b],e={},f=m(Object.entries(c)),g=f.next();!g.done;g=f.next()){var h=m(g.value);g=h.next().value;h=h.next().value;if(!cb(d,g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+g[0].toUpperCase()+g.substring(1)]=Array.isArray(h)?h.join():h}return e},io=["image","collection"];var oo=function(a){if(!(this instanceof oo))return nm(oo,arguments);if(a instanceof oo)return a;po();if("number"===typeof a)O.call(this,null,null),this.Xc=a;else if(a instanceof O)O.call(this,a.D,a.args,a.R),this.Xc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};y(oo,O);x("ee.Number",oo);var qo=!1,po=function(){qo||(Im(oo,"Number","Number"),qo=!0)};oo.prototype.encode=function(a){return"number"===typeof this.Xc?this.Xc:oo.H.encode.call(this,a)};
|
|
oo.prototype.pa=function(a){return"number"===typeof this.Xc?Hj(a(this.Xc)):oo.H.pa.call(this,a)};oo.prototype.name=function(){return"Number"};var ro=function(a){if(!(this instanceof ro))return nm(ro,arguments);if(a instanceof ro)return a;so();if("string"===typeof a)O.call(this,null,null),this.dd=a;else if(a instanceof O)this.dd=null,a.D&&"String"==a.D.Z().returns?O.call(this,a.D,a.args,a.R):O.call(this,new P("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};y(ro,O);x("ee.String",ro);var to=!1,so=function(){to||(Im(ro,"String","String"),to=!0)};
|
|
ro.prototype.encode=function(a){return"string"===typeof this.dd?this.dd:ro.H.encode.call(this,a)};ro.prototype.pa=function(a){return"string"===typeof this.dd?Hj(a(this.dd)):ro.H.pa.call(this,a)};ro.prototype.name=function(){return"String"};var uo=function(a,b){if(!(this instanceof uo))return nm(uo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(vo(g in pm?pm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Ra=wo(a,c,b);this.og=b.apply(null,c)};y(uo,vm);x("ee.CustomFunction",uo);uo.prototype.encode=function(a){return{type:"Function",argumentNames:Xa(this.Ra.args,function(b){return b.name}),body:a(this.og)}};
|
|
uo.prototype.pa=function(a){return Mj(this.Ra.args.map(function(b){return b.name}),a(this.og))};uo.prototype.Re=function(a,b){return Lj(a(this),b)};uo.prototype.Z=function(){return this.Ra};
|
|
var vo=function(a,b){a=a||Object;if(!(a.prototype instanceof O))if(a&&a!=Object)if(a==String)a=ro;else if(a==Number)a=oo;else if(a==Array)a=r.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=O;var c=function(d){this.args=this.D=null;this.R=d};c.prototype=a.prototype;return new c(b)},xo=function(a,b){b={name:"",returns:"Object",args:Xa(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof O?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new uo(b,a)},wo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].R&&d.push(e);if(0==d.length)return a;var f=function(n){var p=0;u(n)&&!v(n)&&("Function"==n.type&&p++,Bb(n,function(t){p+=f(t)}));return p};e=Bk(c.apply(null,b));c="_MAPPING_VAR_"+f(e)+"_";for(e=0;e<d.length;e++){var g=d[e],h=c+e;b[g].R=h;a.args[g].name=h}return a};var yo=function(a,b){if(!(this instanceof yo))return nm(yo,arguments);if(a instanceof yo)return a;zo();var c=R(yo,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},f=null;if(sm(a)){if(e.value=a,c)if(sm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(rm(a))e.value=a;else if(za(a))e.value=Math.floor(a.getTime());else if(a instanceof O)a.D&&"Date"==a.D.Z().returns?(d=a.D,e=a.args,f=a.R):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);O.call(this,d,e,f)};y(yo,O);x("ee.Date",yo);var Ao=!1,zo=function(){Ao||(Im(yo,"Date","Date"),Ao=!0)};yo.prototype.name=function(){return"Date"};x("ee.Deserializer",function(){});var Co=function(a){return Bo(JSON.parse(a))};x("ee.Deserializer.fromJSON",Co);var Bo=function(a){var b={};if(u(a)&&"CompoundValue"==a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=Do(f,b)}a=a.value}return Do(a,b)};x("ee.Deserializer.decode",Bo);
|
|
var Do=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Xa(a,function(f){return Do(f,b)});if(!u(a)||v(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":c=a.value;if("string"!==typeof c)throw Error("Invalid variable name: "+c);return vo(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
|
|
c);return new yo(c/1E3);case "Bytes":return c=new Fj,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?Am(a.functionName):Do(a["function"],b);var d=Db(a.arguments,function(f){return Do(f,b)});if(c instanceof vm)return c.apply(d);if(c instanceof O)return new O(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Db(a.value,function(f){return Do(f,b)});case "Function":var e=Do(a.body,b);c={name:"",args:Xa(a.argumentNames,function(f){return{name:f,
|
|
type:"Object",optional:!1}}),returns:"Object"};return new uo(c,function(){return e});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);}};var Eo=function(a){if(!(this instanceof Eo))return nm(Eo,arguments);if(a instanceof Eo)return a;Fo();tm(a)?(O.call(this,null,null),this.Hc=a):(a instanceof O&&a.D&&"Dictionary"==a.D.Z().returns?O.call(this,a.D,a.args,a.R):O.call(this,new P("Dictionary"),{input:a},null),this.Hc=null)};y(Eo,O);x("ee.Dictionary",Eo);var Go=!1,Fo=function(){Go||(Im(Eo,"Dictionary","Dictionary"),Go=!0)};Eo.prototype.encode=function(a){return null!==this.Hc?a(this.Hc):Eo.H.encode.call(this,a)};
|
|
Eo.prototype.pa=function(a){return null!==this.Hc?Hj(a(this.Hc)):Eo.H.pa.call(this,a)};Eo.prototype.name=function(){return"Dictionary"};var Ho={};x("ee.Terrain",Ho);Ho.hf=!1;Ho.Lj=function(){Ho.hf||(Im(Ho,"Terrain","Terrain"),Ho.hf=!0)};Ho.reset=function(){Jm(Ho);Ho.hf=!1};var No=function(a,b,c,d,e){if("ready"!=Io||a||b){var f=null!=c;if(d)if(f)Jo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Io&&f)Ko.push(c);else if(Io="loading",$i(a,b,e),f)Ko.push(c),Em(Lo,Mo);else try{Em(),Lo()}catch(g){throw Mo(g),g;}}else c&&c()};x("ee.initialize",No);
|
|
var Qo=function(){Io="not_ready";uj=tj=hj=null;sj=!1;Cm=null;Dm={};Jm(yo);Ao=!1;Jm(Eo);Go=!1;Jm(S);Qm=!1;Jm(N);Jn=!1;Jm(X);Bn=!1;Jm(W);zn=!1;Jm(Z);Sn=!1;Jm(Y);Qn=!1;Jm(V);kn=!1;Jm(U);Tm=!1;Jm(Mn);On=!1;Jm(oo);qo=!1;Jm(ro);to=!1;Ho.reset();for(var a=r.ee,b=0;b<Oo.length;b++){var c=Oo[b];Jm(a[c]);delete a[c]}Oo=[];pm=a;a=Po;for(var d in a)delete a[d]};x("ee.reset",Qo);var Ro={lk:"not_ready",LOADING:"loading",mk:"ready"};x("ee.InitState",Ro);x("ee.InitState.NOT_READY","not_ready");
|
|
x("ee.InitState.LOADING","loading");x("ee.InitState.READY","ready");var Io="not_ready",Ko=[],Jo=[];x("ee.TILE_SIZE",256);var Oo=[],Po={};x("ee.Algorithms",Po);var So=function(a,b){"string"===typeof a&&(a=new P(a));return vm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};x("ee.call",So);var To=function(a,b){"string"===typeof a&&(a=new P(a));return a.apply(b)};x("ee.apply",To);
|
|
var Lo=function(){if("loading"==Io){try{zo();Fo();Pm();Hn();An();yn();Rn();Pn();jn();Rm();Nn();po();so();Ho.Lj();var a=Fm(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=r.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=Uo(g),Oo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Dm[g]=!0):f[g].signature={});pm=f;Vo()}catch(h){Mo(h);return}Io="ready";for(Jo=[];0<Ko.length;)Ko.shift()()}},Mo=function(a){if("loading"==
|
|
Io)for(Io="not_ready",Ko=[];0<Jo.length;)Jo.shift()(a)},Vo=function(){var a=Gm();Gb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Po;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=kb(b,1)}f=function(g){return zm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=w(c.toString,c);e[b[0]]=f}})},Uo=function(a){var b=function(c){var d=r.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
|
|
d)return e[0];if(!(this instanceof d))return nm(d,e);d=Hm(a);var g=!(e[0]instanceof O),h=!1;d&&(f?g?h=!0:e[0].D&&e[0].D.Z().returns==d.Z().returns||(h=!0):h=!0);if(h)e=um(e,d.Z())?e[0]:xm(d,e),O.call(this,d,ym(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];O.call(this,e.D,e.args,e.R)}};y(b,O);b.prototype.name=function(){return a};Im(b,a,a);return b};
|
|
wm=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new N(a);case "Feature":return a instanceof W?Q("Feature",Q("Collection.geometry",a)):new X(a);case "Element":if(a instanceof S)return a;if(a instanceof U)return new X(a);if(a instanceof O)return new S(a.D,a.args,a.R);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new U(a);case "FeatureCollection":case "Collection":return a instanceof W?
|
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new V(a);case "Algorithm":if("string"===typeof a)return new P(a);if(v(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return xo(a,c)}if(a instanceof Fj)return a;throw Error("Argument is not a function: "+a);case "String":return sm(a)||a instanceof ro||a instanceof O?new ro(a):a;case "Dictionary":return tm(a)?a:new Eo(a);case "List":return new Mn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new oo(a);
|
|
default:if(b in c){d=Hm(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 Wo=function(a,b,c){Dd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Rg=new rd;this.Qg=new rd};q(Wo,Dd);Wo.prototype.getTile=function(a,b){var c=Ed(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.rb,this.token].join("/");this.tb.push(c);this.rb+=1;var d=fh("DIV");Xo(this,b,a,c,d);Yo(this);return d};
|
|
var Xo=function(a,b,c,d,e){var f=Hi(Fi);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=w(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.Rg.set(c,g),this.Qg.set(c,e),gb(this.tb,d),Yo(this);else throw this.Zf.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},Yo=function(a){a.dispatchEvent(new Fd(a.tb.length))};Wo.prototype.G=function(){this.Qg=this.Rg=null;Dd.prototype.G.call(this)};
|
|
x("ee.FloatTileOverlay",Wo);var Zo=function(){this.Qd=new Map};Zo.prototype.clear=function(){this.Qd.clear()};var $o=function(a,b){a.Qd.has(b)||a.Qd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.Qd.get(b)};var ap=function(a){Ia.call(this);this.Nb=a;this.I={}};y(ap,Ia);var bp=[];ap.prototype.Oa=function(a,b,c,d){Array.isArray(b)||(b&&(bp[0]=b.toString()),b=bp);for(var e=0;e<b.length;e++){var f=Zc(a,b[e],c||this.handleEvent,d||!1,this.Nb||this);if(!f)break;this.I[f.key]=f}return this};ap.prototype.Wc=function(a,b,c,d){return cp(this,a,b,c,d)};
|
|
var cp=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)cp(a,b,c[g],d,e,f);else{b=Yc(b,c,d||a.handleEvent,e,f||a.Nb||a);if(!b)return a;a.I[b.key]=b}return a};ap.prototype.Yd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Yd(a,b[f],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Nb||this,c=$c(c),d=!!d,b=Oc(a)?a.Kc(b,c,d,e):a?(a=bd(a))?a.Kc(b,c,d,e):null:null,b&&(gd(b),delete this.I[b.key])};
|
|
ap.prototype.bd=function(){Bb(this.I,function(a,b){this.I.hasOwnProperty(b)&&gd(a)},this);this.I={}};ap.prototype.G=function(){ap.H.G.call(this);this.bd()};ap.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var ep=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Jb[a.name]):(this.code=a=Pa(a.code),this.name=dp(a));Ka.call(this,mc("%s %s",this.name,b))};y(ep,Ka);var dp=function(a){var b=Kb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Jb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var fp=function(a,b){z.call(this,a.type,b);this.Ca=a};y(fp,z);var gp=function(){kd.call(this);this.aa=new FileReader;this.aa.onloadstart=w(this.fc,this);this.aa.onprogress=w(this.fc,this);this.aa.onload=w(this.fc,this);this.aa.onabort=w(this.fc,this);this.aa.onerror=w(this.fc,this);this.aa.onloadend=w(this.fc,this)};y(gp,kd);k=gp.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new ep(a,"aborting read");}};k.ob=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new ep(this.aa.error,"reading file")};
|
|
k.fc=function(a){this.dispatchEvent(new fp(a,this))};k.G=function(){gp.H.G.call(this);delete this.aa};k.readAsBinaryString=function(a){this.aa.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.aa.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.aa.readAsText(a,b)};var hp=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=hp.prototype;k.clone=function(){return new hp(this.top,this.right,this.bottom,this.left)};k.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};k.contains=function(a){return this&&a?a instanceof hp?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
|
|
k.expand=function(a,b,c,d){u(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
|
|
k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
|
|
k.translate=function(a,b){a instanceof ah?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Pa(a),this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var ip=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=ip.prototype;k.clone=function(){return new ip(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
|
|
k.ih=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};k.intersects=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height};
|
|
k.Qe=function(a){b:{var b=Math.max(this.left,a.left);var c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){b=new ip(b,d,c-b,e-d);break b}}b=null}if(b&&b.height&&b.width){b=[];c=this.top;d=this.height;e=this.left+this.width;var f=this.top+this.height,g=a.left+a.width,h=a.top+a.height;a.top>this.top&&(b.push(new ip(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new ip(this.left,
|
|
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new ip(this.left,c,a.left-this.left,d));g<e&&b.push(new ip(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof ah?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
|
|
k.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};k.getCenter=function(){return new ah(this.left+this.width/2,this.top+this.height/2)};k.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
|
k.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.translate=function(a,b){a instanceof ah?(this.left+=a.x,this.top+=a.y):(this.left+=Pa(a),"number"===typeof b&&(this.top+=b));return this};
|
|
k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var jp=function(a,b){A(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 kp=function(a,b){kd.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.Pd=new Zo;this.sb=new rd;this.rb=0;this.Yf=a;this.cb=new ap(this);this.projection=null;this.radius=0;this.alt=null};y(kp,kd);x("ee.layers.AbstractOverlay",kp);
|
|
kp.prototype.xe=function(a){return Zc(this,"tile-load",a)};kp.prototype.addTileCallback=kp.prototype.xe;kp.prototype.If=function(a){gd(a)};kp.prototype.removeTileCallback=kp.prototype.If;k=kp.prototype;k.Lc=function(){return lp(this,"throttled")+lp(this,"loading")+lp(this,"new")};k.setOpacity=function(a){this.opacity=a;this.sb.forEach(function(b){jp(b.oa,this.opacity)},this)};k.getStats=function(){return this.Pd};
|
|
k.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.rb++].join("-"),this.Yf.Yg()].join("-");b=this.Ag(d,b,c,a);b.tileSize=this.tileSize;jp(b.oa,this.opacity);this.sb.set(a,b);mp(this,b);this.dispatchEvent(new np(this.Lc()));this.Yf.nh(b,(new Date).getTime()/1E3);return b.oa};k.releaseTile=function(a){var b=this.sb.get(a.id);this.sb.remove(a.id);b&&(b.abort(),Ja(b))};
|
|
var mp=function(a,b){a.cb.Oa(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Qj,d=(new Date).getTime();$o(this.Pd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new op(this.Lc()));break;case "throttled":$o(this.Pd,b.zoom).throttleCount++;this.dispatchEvent(new pp(b.Ga));break;case "failed":$o(this.Pd,b.zoom).errorCount++;this.dispatchEvent(new qp(b.Ga,b.Ej));break;case "aborted":this.dispatchEvent(new rp(this.Lc()))}})};
|
|
kp.prototype.G=function(){kp.H.G.call(this);this.sb.forEach(Ja);this.sb.clear();this.sb=null;Ja(this.cb);this.Yf=this.cb=null};var lp=function(a,b){return $a(a.sb.T(),function(c){return c.getStatus()==b})},op=function(){z.call(this,"tile-load")};y(op,z);var np=function(){z.call(this,"tile-start")};y(np,z);var pp=function(){z.call(this,"tile-throttle")};y(pp,z);var qp=function(a,b){z.call(this,"tile-fail");this.errorMessage=b};y(qp,z);var rp=function(){z.call(this,"tile-abort")};y(rp,z);
|
|
var sp=function(a,b,c,d){kd.call(this);this.ec=a;this.zoom=b;this.oa=c.createElement("div");this.oa.id=d;this.Sj=5;this.Ld=function(){};this.Rd="new";this.Kh=0;this.lf=!1};y(sp,kd);
|
|
var up=function(a){if(!a.lf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");tp(a,"loading");a.Qj=(new Date).getTime();a.Ta=new Ii;a.Ta.qc="blob";a.Ta.Oa("complete",function(){var b=Wi(this.Ta),c=this.Ta.getStatus();429==c&&tp(this,"throttled");if(Bi(c)){var d={};Bb(Xi(this.Ta),function(f,g){d[g.toLowerCase()]=f});this.ek=d;this.Qh=b;this.Jc()}else if(b){var e=new gp;e.Oa("loadend",function(){this.cd(e.aa.result)},void 0,this);
|
|
e.readAsText(b)}else this.cd("Failed to load tile.")},!1,a);a.Ta.Wc("ready",Ga(Ja,a.Ta));a.Ga&&a.Ga.endsWith("&profiling=1")&&M&&(a.Ga=a.Ga.replace("&profiling=1",""),a.Ta.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Ta.send(a.Ga,"GET")};k=sp.prototype;k.Jc=function(){this.Ld(this);tp(this,"loaded")};k.Dc=function(){Ja(this.Ta)};
|
|
k.cd=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.Kh>=this.Sj?(this.Ej=b(a),tp(this,"failed")):(this.Dc(),setTimeout(w(function(){this.Ma||(this.lf=!0,up(this),this.lf=!1)},this),1E3*Math.pow(2,this.Kh++)))};k.abort=function(){this.Dc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&tp(this,this.Rd in vp?"removed":"aborted")};k.getStatus=function(){return this.Rd};
|
|
var tp=function(a,b){a.Rd=b;a.dispatchEvent("status-changed")},vp={aborted:!0,failed:!0,loaded:!0,removed:!0};sp.prototype.G=function(){sp.H.G.call(this);this.Dc();this.oa.remove();this.Ld=null};var wp=function(){Ia.call(this)};y(wp,Ia);var xp=function(a,b){kp.call(this,a,b);this.qg=new rd;this.Kg=new rd};q(xp,kp);xp.prototype.Ag=function(a,b,c,d){var e=new yp(a,b,c,d);this.cb.Oa(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.qg.set(a,new Float32Array(e.yj)),this.Kg.set(a,e.oa))});return e};xp.prototype.G=function(){kp.prototype.G.call(this);this.Kg=this.qg=null};x("ee.layers.BinaryOverlay",xp);var yp=function(a,b,c,d){sp.call(this,a,b,c,d)};q(yp,sp);
|
|
yp.prototype.Jc=function(){var a=new gp;a.Oa("loadend",function(){this.yj=a.aa.result;sp.prototype.Jc.call(this)},void 0,this);a.readAsArrayBuffer(this.Qh)};var zp=function(a){kd.call(this);this.Qc={};this.Pc={};this.Nb=new ap(this);this.O=a};y(zp,kd);var Ap=[tc&&!Dc("11")?"readystatechange":"load","abort","error"],Bp=function(a,b,c){(c="string"===typeof c?c:c.src)&&(a.Qc[b]={src:c,yg:null})},Cp=function(a,b){delete a.Qc[b];var c=a.Pc[b];c&&(delete a.Pc[b],a.Nb.Yd(c,Ap,a.wh),Lb(a.Pc)&&Lb(a.Qc)&&a.dispatchEvent("complete"))};
|
|
zp.prototype.start=function(){var a=this.Qc;Va(Gb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Ma)){if(this.O){var d=this.O;d=(d?new lh(kh(d)):La||(La=new lh)).Cj("IMG")}else d=new Image;c.yg&&(d.crossOrigin=c.yg);this.Nb.Oa(d,Ap,this.wh);this.Pc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
zp.prototype.wh=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));this.dispatchEvent({type:a.type,target:b});this.Ma||Cp(this,b.id)}};zp.prototype.G=function(){delete this.Qc;delete this.Pc;Ja(this.Nb);zp.H.G.call(this)};var Dp=function(a,b){kp.call(this,a,b)};q(Dp,kp);Dp.prototype.Ag=function(a,b,c,d){return new Ep(a,b,c,d)};x("ee.layers.ImageOverlay",Dp);var Ep=function(a,b,c,d){sp.call(this,a,b,c,d);this.Ld=Fp;this.gh=this.ea=this.Cd=null;this.Yc=""};q(Ep,sp);
|
|
Ep.prototype.Jc=function(){try{var a=ic(this.Qh);this.Yc=gc(a);var b="about:invalid#zClosurez"!==this.Yc?this.Yc:this.Ga}catch(c){b=this.Ga}this.ea=new zp;Bp(this.ea,this.oa.id+"-image",b);this.gh=Yc(this.ea,Gp,function(c){"load"==c.type?(this.Cd=c.target,sp.prototype.Jc.call(this)):this.cd()},void 0,this);this.ea.start()};Ep.prototype.Dc=function(){sp.prototype.Dc.call(this);this.ea&&(gd(this.gh),Ja(this.ea))};Ep.prototype.G=function(){sp.prototype.G.call(this);this.Yc&&URL.revokeObjectURL(this.Yc)};
|
|
var Fp=function(a){a.oa.appendChild(a.Cd)},Gp=["load","abort","error"];var Hp=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 Ip=function(a,b,c,d){Ia.call(this);this.pg=a;this.eb=b;this.Wf=d||"";this.Hd=c};y(Ip,wp);x("ee.layers.CloudStorageTileSource",Ip);
|
|
Ip.prototype.nh=function(a){if(a.zoom<=this.Hd)a.Ga=this.yd(a.ec,a.zoom);else{var b=a.zoom-this.Hd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.ec.x/c),Math.floor(a.ec.y/c));a.Ga=this.yd(c,a.zoom-b);a.Ld=Ga(Jp,this.Hd)}var d=w(a.cd,a);a.cd=w(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?tp(a,"loaded"):d(e)},a);up(a)};Ip.prototype.Yg=function(){return[this.pg,this.eb,this.Hd,this.Wf].join("-")};
|
|
Ip.prototype.yd=function(a,b){a=Hp("https://storage.googleapis.com",this.pg,this.eb,String(b),String(a.x),String(a.y));this.Wf&&(a+=this.Wf);return a};
|
|
var Jp=function(a,b){if(!b.Cd)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.oa.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.oa.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Cd,c/a*(b.ec.x%a),c/a*(b.ec.y%a),c/a,c/a,0,0,c,c)};var Kp=function(){this.Da=[];this.Ka=[]};k=Kp.prototype;k.enqueue=function(a){this.Ka.push(a)};k.Gc=function(){0==this.Da.length&&(this.Da=this.Ka,this.Da.reverse(),this.Ka=[]);return this.Da.pop()};k.M=function(){return this.Da.length+this.Ka.length};k.isEmpty=function(){return 0==this.Da.length&&0==this.Ka.length};k.clear=function(){this.Da=[];this.Ka=[]};k.contains=function(a){return cb(this.Da,a)||cb(this.Ka,a)};
|
|
k.remove=function(a){var b=this.Da;var c=Ua(b,a);0<=c?(fb(b,c),b=!0):b=!1;return b||gb(this.Ka,a)};k.T=function(){for(var a=[],b=this.Da.length-1;0<=b;--b)a.push(this.Da[b]);var c=this.Ka.length;for(b=0;b<c;++b)a.push(this.Ka[b]);return a};var Lp=function(a,b){Ia.call(this);this.th=a||0;this.Gd=b||10;if(this.th>this.Gd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Na=new Kp;this.pb=new Ad;this.delay=0;this.mf=null;this.ld()};y(Lp,Ia);Lp.prototype.Mc=function(){var a=Ha();if(!(null!=this.mf&&a-this.mf<this.delay)){for(var b;0<this.Na.M()&&(b=this.Na.Gc(),!this.wf(b));)this.ld();!b&&this.M()<this.Gd&&(b=this.Ke());b&&(this.mf=a,this.pb.add(b));return b}};
|
|
var Mp=function(a,b){return a.pb.remove(b)?(a.we(b),!0):!1};k=Lp.prototype;k.we=function(a){this.pb.remove(a);this.wf(a)&&this.M()<this.Gd?this.Na.enqueue(a):this.sd(a)};k.ld=function(){for(var a=this.Na;this.M()<this.th;)a.enqueue(this.Ke());for(;this.M()>this.Gd&&0<this.Na.M();)this.sd(a.Gc())};k.Ke=function(){return{}};k.sd=function(a){if("function"==typeof a.La)a.La();else for(var b in a)a[b]=null};k.wf=function(a){return"function"==typeof a.Aj?a.Aj():!0};
|
|
k.contains=function(a){return this.Na.contains(a)||this.pb.contains(a)};k.M=function(){return this.Na.M()+this.pb.M()};k.isEmpty=function(){return this.Na.isEmpty()&&this.pb.isEmpty()};k.G=function(){Lp.H.G.call(this);if(0<this.pb.M())throw Error("[goog.structs.Pool] Objects not released");delete this.pb;for(var a=this.Na;!a.isEmpty();)this.sd(a.Gc());delete this.Na};var Np=function(a,b){this.lh=a;this.ae=b};Np.prototype.getKey=function(){return this.lh};Np.prototype.clone=function(){return new Np(this.lh,this.ae)};var Op=function(a){this.wa=[];if(a)a:{if(a instanceof Op){var b=a.Ea();a=a.T();if(0>=this.M()){for(var c=this.wa,d=0;d<b.length;d++)c.push(new Np(b[d],a[d]));break a}}else b=Gb(a),a=Fb(a);for(d=0;d<b.length;d++)Pp(this,b[d],a[d])}},Pp=function(a,b,c){var d=a.wa;d.push(new Np(b,c));b=d.length-1;a=a.wa;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};k=Op.prototype;
|
|
k.remove=function(){var a=this.wa,b=a.length,c=a[0];if(!(0>=b)){if(1==b)eb(a);else{a[0]=a.pop();a=0;b=this.wa;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,g=2*a+2;f=g<d&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.ae}};k.T=function(){for(var a=this.wa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].ae);return b};k.Ea=function(){for(var a=this.wa,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.Ec=function(a){return Ya(this.wa,function(b){return b.ae==a})};k.kb=function(a){return Ya(this.wa,function(b){return b.getKey()==a})};k.clone=function(){return new Op(this)};k.M=function(){return this.wa.length};k.isEmpty=function(){return 0==this.wa.length};k.clear=function(){eb(this.wa)};var Qp=function(){Op.call(this)};y(Qp,Op);Qp.prototype.enqueue=function(a,b){Pp(this,a,b)};Qp.prototype.Gc=function(){return this.remove()};var Rp=function(a,b){this.Ig=void 0;this.Nd=new Qp;Lp.call(this,a,b)};y(Rp,Lp);k=Rp.prototype;k.Mc=function(a,b){if(!a)return(a=Rp.H.Mc.call(this))&&this.delay&&(this.Ig=r.setTimeout(w(this.Ad,this),this.delay)),a;this.Nd.enqueue(void 0!==b?b:100,a);this.Ad()};k.Ad=function(){for(var a=this.Nd;0<a.M();){var b=this.Mc();if(b)a.Gc().apply(this,[b]);else break}};k.we=function(a){Rp.H.we.call(this,a);this.Ad()};k.ld=function(){Rp.H.ld.call(this);this.Ad()};
|
|
k.G=function(){Rp.H.G.call(this);r.clearTimeout(this.Ig);this.Nd.clear();this.Nd=null};var Sp=function(a,b){Ia.call(this);this.nf=a;this.ra=b||null};y(Sp,wp);x("ee.layers.EarthEngineTileSource",Sp);Sp.prototype.nh=function(a,b){var c=Zc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.ek["x-earth-engine-computation-profile"];this.ra&&e&&this.ra.vj(a.oa.id,e);break;case "failed":case "aborted":this.ra&&""!==a.oa.id&&this.ra.Zj(a.oa.id),gd(c)}},void 0,this);a.Ga=this.yd(a.ec,a.zoom);var d=w(this.cf,this,a);Tp().Mc(d,b)};
|
|
Sp.prototype.Yg=function(){return this.nf.mapid+"-"+this.nf.token};Sp.prototype.cf=function(a,b){var c=Tp();if(a.Ma||"aborted"==a.getStatus())Mp(c,b);else{var d=Zc(a,"status-changed",function(){a.Rd in vp&&(gd(d),Mp(c,b))});up(a)}};Sp.prototype.yd=function(a,b){a=ql(this.nf,a.x,a.y,b);return this.ra&&this.ra.isEnabled()?a+"&profiling=1":a};var Tp=function(){Up||(Up=new Rp(0,4));return Up},Up=null;var Wp=function(){kd.call(this);this.Vd=new Vp(0,60);this.pc=new rd};y(Wp,kd);x("ee.MapTileManager",Wp);Wp.jf=void 0;Wp.Xg=function(){return Wp.jf?Wp.jf:Wp.jf=new Wp};Wp.prototype.send=function(a,b,c,d,e){if(this.pc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Xp(a,b,d,w(this.Gh,this),void 0!==e?e:1);this.pc.set(a,b);a=w(this.cf,this,b);this.Vd.Mc(a,c);return b};Wp.prototype.abort=function(a){if(a=this.pc.get(a))a.cc||(a.cc=!0,a.Ca=new z("abort")),this.Gh(a)};
|
|
Wp.prototype.cf=function(a,b){if(a.ea||a.cc)Yp(this,b);else if(a.Zh=b,b.setActive(!0),b=new zp,a.ea=b,!a.retry())throw Error("Cannot dispatch first request!");};Wp.prototype.Gh=function(a){this.pc.remove(a.getId());a.ea&&(Yp(this,a.Zh),a.ea.La());a.df&&a.df(a.Ca,a.Eh)};var Yp=function(a,b){b.setActive(!1);if(!Mp(a.Vd,b))throw Error("Object not released");};Wp.prototype.G=function(){Wp.H.G.call(this);this.Vd.La();this.Vd=null;var a=this.pc;Va(a.T(),function(b){b.La()});a.clear();this.pc=null};
|
|
var Xp=function(a,b,c,d,e){Ia.call(this);this.da=a;this.jk=b;this.Tj=void 0!==e?e:1;this.df=c;this.Vb=d};y(Xp,Ia);k=Xp.prototype;k.ig=0;k.cc=!1;k.ea=null;k.Zh=null;k.Ca=null;k.Eh=null;var Zp=["load","abort","error"];k=Xp.prototype;k.getId=function(){return this.da};k.getUrl=function(){return this.jk};k.Jj=function(a){if(this.cc)this.Vb&&this.Vb(this);else switch(a.type){case "load":this.Ca=a;this.Vb&&this.Vb(this);break;case "error":case "abort":this.retry()||(this.Ca=a,this.Vb&&this.Vb(this))}};
|
|
k.G=function(){Xp.H.G.call(this);delete this.df;delete this.Vb};k.retry=function(){if(this.ig>this.Tj)return!1;this.ig++;Cp(this.ea,this.da);setTimeout(w(this.fk,this),0);return!0};
|
|
k.fk=function(){if(!this.cc){var a=w(function(d){this.cc||(Bp(this.ea,this.da,d),Yc(this.ea,Zp,w(this.Jj,this)),this.ea.start())},this),b=this.getUrl();if(je(b).ya.kb("profiling")){var c=new Ii;c.qc="blob";c.Oa("complete",w(function(){this.Eh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=gc(ic(Wi(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Wc("ready",w(c.La,c));c.send(b,"GET")}else a(b)}};
|
|
var $p=function(){Ia.call(this);this.Aa=!1};y($p,Ia);$p.prototype.setActive=function(a){this.Aa=a};$p.prototype.jh=function(){return this.Aa};var Vp=function(a,b){Rp.call(this,a,b)};y(Vp,Rp);Vp.prototype.Ke=function(){return new $p};Vp.prototype.sd=function(a){a.La()};Vp.prototype.wf=function(a){return!a.Ma&&!a.jh()};var aq=function(a,b,c,d,e){Dd.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.$f=new Ad;this.xf=1;this.ra=e||null};q(aq,Dd);k=aq.prototype;k.xe=function(a){return Zc(this,"tileevent",a)};k.If=function(a){gd(a)};
|
|
k.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=Ed(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ra&&this.ra.isEnabled()&&(a+="&profiling=1");b=[b,this.rb,this.token].join("/");this.rb+=1;c=fh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.tb.push(b);Wp.Xg().send(b,a,d,w(this.Ij,this,c,b));Yo(this);return c};k.Lc=function(){return this.tb.length};
|
|
k.releaseTile=function(a){Wp.Xg().abort(a.id);this.$f.remove(void 0!==a.firstElementChild?a.firstElementChild:jh(a.firstChild));""!==a.id&&(this.Zf.remove(a.id),this.ra&&this.ra.Zj(a.id))};k.setOpacity=function(a){this.xf=a;var b=this.$f.bc();qd(b,function(c){jp(c,a)})};
|
|
k.Ij=function(a,b,c,d){"error"==c.type?(gb(this.tb,b),this.Zf.add(b),this.dispatchEvent(c)):(gb(this.tb,b),c.target&&"load"==c.type&&(c=c.target,this.$f.add(c),1!=this.xf&&jp(c,this.xf),a.appendChild(c)),Yo(this));this.ra&&null!==d&&this.ra.vj(b,d)};x("ee.MapLayerOverlay",aq);aq.prototype.removeTileCallback=aq.prototype.If;aq.prototype.addTileCallback=aq.prototype.xe;aq.prototype.getTile=aq.prototype.getTile;aq.prototype.setOpacity=aq.prototype.setOpacity;aq.prototype.releaseTile=aq.prototype.releaseTile;var bq=function(a,b){if(!(this instanceof bq))return new bq(a,b);this.eb=a;this.Ra=b};y(bq,vm);x("ee.SavedFunction",bq);bq.prototype.encode=function(a){return Q("LoadAlgorithmById",this.eb).encode(a)};bq.prototype.Z=function(){return this.Ra};(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._call ee.ApiFunction._apply ee.batch.Export.image.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.video.toDrive ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.image.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toCloudStorage ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.evaluate ee.data.computeValue ee.data.makeTableDownloadUrl ee.data.getVideoThumbId ee.data.getThumbId ee.data.newTaskId ee.data.updateAsset ee.data.getTaskStatus ee.data.getFilmstripThumbId ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.getTableDownloadId ee.data.setAssetProperties ee.data.authenticate ee.data.getTaskList ee.data.getAssetRootQuota ee.data.getDownloadId ee.data.getTaskListWithLimit ee.data.makeDownloadUrl ee.data.listOperations ee.data.authenticateViaPopup ee.data.getAsset ee.data.createAssetHome ee.data.cancelOperation ee.data.authenticateViaPrivateKey ee.data.getInfo ee.data.createAsset ee.data.getOperation ee.data.getList ee.data.createFolder ee.data.cancelTask ee.data.startIngestion ee.data.listAssets ee.data.renameAsset ee.data.updateTask ee.data.getAssetAcl ee.data.authenticateViaOauth ee.data.getMapId ee.data.listImages ee.data.copyAsset ee.data.startProcessing ee.data.startTableIngestion ee.data.listBuckets ee.data.getTileUrl ee.data.deleteAsset ee.data.getAssetRoots ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.Algorithms ee.InitState ee.initialize ee.reset ee.call ee.TILE_SIZE ee.apply ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.Filter.gte ee.Filter.lt ee.Filter.lte ee.Filter.or ee.Filter.gt ee.Filter.eq ee.Filter.prototype.not ee.Filter.and ee.Filter.bounds ee.Filter.neq ee.Filter ee.Filter.metadata ee.Filter.inList ee.Filter.date ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.LineString ee.Geometry.Point ee.Geometry.MultiPolygon ee.Geometry.LinearRing ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPoint ee.Geometry.prototype.toGeoJSONString ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.cat ee.Image.rgb ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.prototype.clip ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApi ee.String ee.Terrain".split(" "),
|
|
c=[["name"],["name","var_args"],["name","namedArgs"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".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(" "),
|
|
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey".split(" "),["collection","opt_description","opt_assetId"],"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(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),"image opt_description opt_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(" "),
|
|
["name","operator","value"],["start","opt_end"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["filter"],["algorithm","opt_first"],["max","opt_property","opt_ascending"],["geometry"],[],["func","var_args"],["opt_callback"],["callback"],["obj","opt_callback"],["id"],["params","opt_callback"],["params","opt_callback"],["opt_count","opt_callback"],["assetId","asset","updateFields","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["assetId","aclUpdate","opt_callback"],
|
|
["id"],["params","opt_callback"],["assetId","properties","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["opt_callback"],["rootId","opt_callback"],["params","opt_callback"],["opt_limit","opt_callback"],["id"],["opt_limit","opt_callback"],["opt_success","opt_error"],["id","opt_callback"],["requestedId","opt_callback"],["operationName","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["id","opt_callback"],["value","opt_path","opt_force",
|
|
"opt_properties","opt_callback"],["operationName","opt_callback"],["params","opt_callback"],["path","opt_force","opt_callback"],["taskId","opt_callback"],["taskId","request","opt_callback"],["parent","params","opt_callback"],["sourceId","destinationId","opt_callback"],["taskId","action","opt_callback"],["assetId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params","opt_callback"],["parent","params","opt_callback"],["sourceId","destinationId","opt_overwrite",
|
|
"opt_callback"],["taskId","params","opt_callback"],["taskId","request","opt_callback"],["project","opt_callback"],["id","x","y","z"],["assetId","opt_callback"],["opt_callback"],["date","opt_tz"],["json"],["json"],["opt_dict"],[],[],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],[],["func","var_args"],[],["func","namedArgs"],["var_args"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["propertySelectors","opt_newProperties",
|
|
"opt_retainGeometry"],["opt_format","opt_selectors","opt_filename","opt_callback"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_callback"],["name","value"],["name","value"],["name","value"],["var_args"],["name","value"],["name","value"],[],["var_args"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["name","operator","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["start","opt_end"],["var_args"],["namedArgs"],["coords","opt_proj","opt_geodesic",
|
|
"opt_maxError"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj"],[],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["opt_visParams","opt_callback"],["params","opt_callback"],["var_args"],["r","g","b"],["var_args"],
|
|
["expression","opt_map"],["opt_callback"],["var_args"],["geometry"],["params","opt_callback"],["params","opt_callback"],["opt_args"],["opt_visParams","opt_callback"],[],["params","opt_callback"],["params","opt_callback"],["args"],["opt_callback"],["selectors","opt_names"],["list"],["number"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[Am,Q,Bm,Xn,bo,co,go,ao,eo,$n,fo,ho,Zn,W.prototype.We,W.prototype.Ve,W.prototype.sort,W.prototype.map,W.prototype.filter,W.prototype.kh,
|
|
W.prototype.limit,W.prototype.Og,O.prototype.X,O.prototype.fg,O.prototype.W,O.prototype.evaluate,rl,Al,tl,sl,Bl,jm,Dl,ul,km,vl,zl,lm,jl,Fl,mm,xl,El,yl,Gl,hl,Xl,cm,Hl,kl,Xl,dm,Il,Yl,em,Kl,Ul,Zl,fm,Jl,im,il,pl,$l,gm,Ql,Wl,am,ql,hm,bm,yo,Bo,Co,Eo,Po,Ro,No,Qo,So,256,To,S.prototype.set,X,X.prototype.getMap,X.prototype.W,Y.prototype.select,Y.prototype.nb,Y,Y.prototype.getMap,Y.prototype.W,pn,on,rn,tn,qn,mn,V.prototype.kc,sn,wn,nn,V,xn,vn,un,vm.prototype.call,vm.prototype.apply,Zm,Um,cn,$m,U.prototype.fd,
|
|
Xm,U.prototype.ag,bn,U.prototype.X,U,an,Ym,N.prototype.getMap,N.prototype.nb,Ln,Kn,N.prototype.select,N.prototype.i,N.prototype.W,N.prototype.Hh,N.prototype.clip,N.prototype.af,N.prototype.xd,N,Z.prototype.getMap,Z.prototype.first,Z.prototype.$e,Z.prototype.bf,Z,Z.prototype.W,Z.prototype.select,Mn,oo,Bk,Ck,Jk,Ek,Kk,Hk,ro,Ho].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|