mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
643 lines
296 KiB
JavaScript
643 lines
296 KiB
JavaScript
(function(){/*
|
|
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var k,aa=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)a:{var c=l;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ca(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
ea("Symbol",function(a){if(a)return a;var b=function(e,f){this.ai=e;ca(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.ai};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(aa(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:aa(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={qj:!0},ma={};try{ma.__proto__=la;ka=ma.qj;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.L=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.ob=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.eg=function(g){if(null==this.ob){this.ob=[];var h=this;this.fg(function(){h.Bj()})}this.ob.push(g)};var d=l.setTimeout;b.prototype.fg=function(g){d(g,0)};b.prototype.Bj=function(){for(;this.ob&&this.ob.length;){var g=this.ob;this.ob=[];for(var h=0;h<g.length;++h){var n=g[h];g[h]=null;try{n()}catch(p){this.tj(p)}}}this.ob=null};b.prototype.tj=function(g){this.fg(function(){throw g;
|
|
})};var e=function(g){this.W=0;this.sa=void 0;this.qc=[];var h=this.Me();try{g(h.resolve,h.reject)}catch(n){h.reject(n)}};e.prototype.Me=function(){function g(p){return function(t){n||(n=!0,p.call(h,t))}}var h=this,n=!1;return{resolve:g(this.Xj),reject:g(this.Ff)}};e.prototype.Xj=function(g){if(g===this)this.Ff(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.Yj(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.Wj(g):this.Rg(g)}};e.prototype.Wj=function(g){var h=void 0;try{h=g.then}catch(n){this.Ff(n);return}"function"==typeof h?this.Zj(h,g):this.Rg(g)};e.prototype.Ff=function(g){this.Nh(2,g)};e.prototype.Rg=function(g){this.Nh(1,g)};e.prototype.Nh=function(g,h){if(0!=this.W)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.W);this.W=g;this.sa=h;this.Dj()};e.prototype.Dj=function(){if(null!=this.qc){for(var g=0;g<this.qc.length;++g)f.eg(this.qc[g]);this.qc=null}};var f=
|
|
new b;e.prototype.Yj=function(g){var h=this.Me();g.rd(h.resolve,h.reject)};e.prototype.Zj=function(g,h){var n=this.Me();try{g.call(h,n.resolve,n.reject)}catch(p){n.reject(p)}};e.prototype.then=function(g,h){function n(D,ba){return"function"==typeof D?function(Ca){try{p(D(Ca))}catch(T){t(T)}}:ba}var p,t,B=new e(function(D,ba){p=D;t=ba});this.rd(n(g,p),n(h,t));return B};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.rd=function(g,h){function n(){switch(p.W){case 1:g(p.sa);break;
|
|
case 2:h(p.sa);break;default:throw Error("Unexpected state: "+p.W);}}var p=this;null==this.qc?f.eg(n):this.qc.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 B(Ca){return function(T){D[Ca]=T;ba--;0==ba&&p(D)}}var D=[],ba=0;do D.push(void 0),ba++,c(n.value).rd(B(D.length-
|
|
1),t),n=h.next();while(!n.done)})};return e});var ra=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};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;Object.isExtensible(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(B){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(B){return!1}}())return a;var b=new WeakMap,c=function(h){this.Hc={};this.ka=
|
|
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.Hc[p.id]=[]);p.ca?p.ca.value=n:(p.ca={next:this.ka,mb:this.ka.mb,head:this.ka,key:h,value:n},p.list.push(p.ca),this.ka.mb.next=p.ca,this.ka.mb=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.Hc[h.id],h.ca.mb.next=h.ca.next,h.ca.next.mb=
|
|
h.ca.mb,h.ca.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Hc={};this.ka=this.ka.mb=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.Hc[p];if(t&&pa(h.Hc,p))for(h=0;h<t.length;h++){var B=t[h];if(n!==n&&B.key!==B.key||n===B.key)return{id:p,list:t,index:h,ca:B}}return{id:p,list:t,index:-1,ca:void 0}},e=function(h,n){var p=h.ka;return fa(function(){if(p){for(;p.head!=h.ka;)p=p.mb;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.mb=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},Aa=function(a){return"function"==xa(a)},u=function(a){var b=
|
|
typeof a;return"object"==b&&null!=a||"function"==b},Ea=function(a){return Object.prototype.hasOwnProperty.call(a,Ba)&&a[Ba]||(a[Ba]=++Da)},Ba="closure_uid_"+(1E9*Math.random()>>>0),Da=0,Fa=function(a,b,c){return a.call.apply(a.bind,arguments)},Ga=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)}},v=function(a,b,c){v=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Fa:Ga;return v.apply(null,arguments)},Ha=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)}},Ia=Date.now,w=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?
|
|
c[d]:c[d]={}:c[d]=b},x=function(a,b){function c(){}c.prototype=b.prototype;a.L=b.prototype;a.prototype=new c;a.prototype.constructor=a},Ja=function(a){return a};var Ka=function(){this.Ra=this.Ra;this.Kd=this.Kd};Ka.prototype.Ra=!1;Ka.prototype.Qa=function(){this.Ra||(this.Ra=!0,this.G())};Ka.prototype.G=function(){if(this.Kd)for(;this.Kd.length;)this.Kd.shift()()};var La=function(a){a&&"function"==typeof a.Qa&&a.Qa()};var Ma=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Xb=!1};Ma.prototype.stopPropagation=function(){this.Xb=!0};Ma.prototype.preventDefault=function(){this.defaultPrevented=!0};var Na=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Na);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};x(Na,Error);Na.prototype.name="CustomError";var Oa;var Pa=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");Na.call(this,c+a[d])};x(Pa,Na);Pa.prototype.name="AssertionError";
|
|
var Qa=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Pa(""+e,f||[]);},y=function(a,b,c){a||Qa("",null,b,Array.prototype.slice.call(arguments,2))},Ra=function(a,b){throw new Pa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Sa=function(a,b,c){"number"!==typeof a&&Qa("Expected number but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ta=function(a,b,c){"string"!==typeof a&&Qa("Expected string but got %s: %s.",
|
|
[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Ua=function(a,b,c){Aa(a)||Qa("Expected function but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2))},Va=function(a,b,c){u(a)||Qa("Expected object but got %s: %s.",[xa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Wa=Array.prototype.indexOf?function(a,b){y(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},Xa=Array.prototype.lastIndexOf?function(a,b){y(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},Ya=Array.prototype.forEach?function(a,b,c){y(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)},Za=Array.prototype.filter?function(a,b){y(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},$a=Array.prototype.map?function(a,b,c){y(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},ab=Array.prototype.some?function(a,b){y(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},bb=Array.prototype.every?function(a,b,c){y(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},cb=function(a,b){var c=0;Ya(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},fb=function(a){a:{var b=db;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]},gb=function(a,b){return 0<=Wa(a,b)},hb=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},jb=function(a,b){b=Wa(a,b);var c;(c=0<=b)&&ib(a,b);return c},ib=function(a,b){y(null!=a.length);Array.prototype.splice.call(a,b,1)},kb=function(a){return Array.prototype.concat.apply([],arguments)},lb=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[]},mb=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)}},nb=function(a,b,c){y(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},ob=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=u(f)?"o"+Ea(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},pb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);
|
|
return b},qb=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=nb(d,e,e+8192);f=qb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var rb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},sb=/&/g,tb=/</g,ub=/>/g,vb=/"/g,wb=/'/g,xb=/\x00/g,yb=/[\x00&<>"']/,zb=function(a,b){return a<b?-1:a>b?1:0};var Ab;a:{var Bb=r.navigator;if(Bb){var Cb=Bb.userAgent;if(Cb){Ab=Cb;break a}}Ab=""}var Db=function(a){return-1!=Ab.indexOf(a)};var Eb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Fb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Gb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Hb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Ib=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Kb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Lb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Nb=function(a){var b=
|
|
Mb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Ob=function(a){for(var b in a)return!1;return!0},Pb=function(a,b){b in a&&delete a[b]},Qb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Rb=function(a){var b=xa(a);if("object"==b||"array"==b){if(Aa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Rb(a[c]);return b}return a},Sb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Tb=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<Sb.length;f++)c=Sb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Ub=function(a){return a};var Vb;var Yb=function(a,b){this.Tf=a===Wb&&b||"";this.dj=Xb};Yb.prototype.gf=!0;Yb.prototype.bf=function(){return this.Tf};Yb.prototype.toString=function(){return"Const{"+this.Tf+"}"};var Zb=function(a){if(a instanceof Yb&&a.constructor===Yb&&a.dj===Xb)return a.Tf;Ra("expected object of type Const, got '"+a+"'");return"type_error:Const"},Xb={},Wb={};var ac=function(a,b){this.Bf=b===$b?a:""};ac.prototype.gf=!0;ac.prototype.bf=function(){return this.Bf.toString()};ac.prototype.toString=function(){return"TrustedResourceUrl{"+this.Bf+"}"};
|
|
var bc=function(a){if(a instanceof ac&&a.constructor===ac)return a.Bf;Ra("expected object of type TrustedResourceUrl, got '"+a+"' of type "+xa(a));return"type_error:TrustedResourceUrl"},gc=function(a){var b=Zb(cc);if(!dc.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(ec,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
|
|
Yb?Zb(d):encodeURIComponent(String(d))});return fc(c)},ec=/%{(\w+)}/g,dc=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,$b={},fc=function(a){if(void 0===Vb){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ja,createScript:Ja,createScriptURL:Ja})}catch(d){r.console&&r.console.error(d.message)}Vb=b}a=(b=Vb)?b.createScriptURL(a):a;return new ac(a,$b)};var ic=function(a,b){this.Af=b===hc?a:""};ic.prototype.gf=!0;ic.prototype.bf=function(){return this.Af.toString()};ic.prototype.toString=function(){return"SafeUrl{"+this.Af+"}"};
|
|
var jc=function(a){if(a instanceof ic&&a.constructor===ic)return a.Af;Ra("expected object of type SafeUrl, got '"+a+"' of type "+xa(a));return"type_error:SafeUrl"},kc=/^(?: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,lc=function(a){if(kc.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 ic(a,hc)},hc={};var mc=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;Ra("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
"HTMLScriptElement",f)}a.src=bc(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 nc=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")},oc=function(a){yb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(sb,"&")),-1!=a.indexOf("<")&&(a=a.replace(tb,"<")),-1!=a.indexOf(">")&&(a=a.replace(ub,">")),-1!=a.indexOf('"')&&(a=a.replace(vb,""")),-1!=a.indexOf("'")&&(a=a.replace(wb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(xb,"�")));return a},pc=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 qc=function(a){qc[" "](a);return a};qc[" "]=wa;var sc=function(a,b){var c=rc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var tc=Db("Opera"),uc=Db("Trident")||Db("MSIE"),vc=Db("Edge"),wc=Db("Gecko")&&!(-1!=Ab.toLowerCase().indexOf("webkit")&&!Db("Edge"))&&!(Db("Trident")||Db("MSIE"))&&!Db("Edge"),xc=-1!=Ab.toLowerCase().indexOf("webkit")&&!Db("Edge"),yc=function(){var a=r.document;return a?a.documentMode:void 0},zc;
|
|
a:{var Ac="",Bc=function(){var a=Ab;if(wc)return/rv:([^\);]+)(\)|;)/.exec(a);if(vc)return/Edge\/([\d\.]+)/.exec(a);if(uc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(xc)return/WebKit\/(\S+)/.exec(a);if(tc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Bc&&(Ac=Bc?Bc[1]:"");if(uc){var Cc=yc();if(null!=Cc&&Cc>parseFloat(Ac)){zc=String(Cc);break a}}zc=Ac}
|
|
var Dc=zc,rc={},Ec=function(a){return sc(a,function(){for(var b=0,c=rb(String(Dc)).split("."),d=rb(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=zb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||zb(0==g[2].length,0==h[2].length)||zb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Fc;
|
|
if(r.document&&uc){var Gc=yc();Fc=Gc?Gc:parseInt(Dc,10)||void 0}else Fc=void 0;var Hc=Fc;var Ic=Object.freeze||function(a){return a};var Jc=!uc||9<=Number(Hc),Kc=uc&&!Ec("9"),Lc=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 Nc=function(a,b){Ma.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.Ha=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(wc){a:{try{qc(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=xc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=xc||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:Mc[a.pointerType]||"";this.state=a.state;this.Ha=a;a.defaultPrevented&&this.preventDefault()}};
|
|
x(Nc,Ma);var Mc=Ic({2:"touch",3:"pen",4:"mouse"});Nc.prototype.stopPropagation=function(){Nc.L.stopPropagation.call(this);this.Ha.stopPropagation?this.Ha.stopPropagation():this.Ha.cancelBubble=!0};Nc.prototype.preventDefault=function(){Nc.L.preventDefault.call(this);var a=this.Ha;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Kc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Oc="closure_listenable_"+(1E6*Math.random()|0),Pc=function(a){return!(!a||!a[Oc])},Qc=0;var Rc=function(a,b,c,d,e){this.listener=a;this.Ld=null;this.src=b;this.type=c;this.capture=!!d;this.kb=e;this.key=++Qc;this.sc=this.qd=!1},Sc=function(a){a.sc=!0;a.listener=null;a.Ld=null;a.src=null;a.kb=null};var Tc=function(a){this.src=a;this.$={};this.gd=0};Tc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.gd++);var g=Uc(a,b,d,e);-1<g?(b=a[g],c||(b.qd=!1)):(b=new Rc(b,this.src,f,!!d,e),b.qd=c,a.push(b));return b};Tc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.$))return!1;var e=this.$[a];b=Uc(e,b,c,d);return-1<b?(Sc(e[b]),ib(e,b),0==e.length&&(delete this.$[a],this.gd--),!0):!1};
|
|
var Vc=function(a,b){var c=b.type;c in a.$&&jb(a.$[c],b)&&(Sc(b),0==a.$[c].length&&(delete a.$[c],a.gd--))};Tc.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,Sc(d[e]);delete this.$[c];this.gd--}};Tc.prototype.Mc=function(a,b,c,d){a=this.$[a.toString()];var e=-1;a&&(e=Uc(a,b,c,d));return-1<e?a[e]:null};
|
|
Tc.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Hb(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 Uc=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.sc&&f.listener==b&&f.capture==!!c&&f.kb==d)return e}return-1};var Wc="closure_lm_"+(1E6*Math.random()|0),Xc={},Yc=0,$c=function(a,b,c,d,e){if(d&&d.once)return Zc(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)$c(a,b[f],c,d,e);return null}c=ad(c);return Pc(a)?a.Ua(b,c,u(d)?!!d.capture:!!d,e):bd(a,b,c,!1,d,e)},bd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=u(e)?!!e.capture:!!e,h=cd(a);h||(a[Wc]=h=new Tc(a));c=h.add(b,c,d,g,f);if(c.Ld)return c;d=dd();c.Ld=d;d.src=a;d.listener=c;if(a.addEventListener)Lc||(e=g),void 0===e&&(e=
|
|
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(ed(b.toString()),d);else if(a.addListener&&a.removeListener)y("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Yc++;return c},dd=function(){var a=fd,b=Jc?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},Zc=function(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=ad(c);return Pc(a)?a.Wc(b,c,u(d)?!!d.capture:!!d,e):bd(a,b,c,!0,d,e)},gd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)gd(a,b[f],c,d,e);else d=u(d)?!!d.capture:!!d,c=ad(c),Pc(a)?a.Zd(b,c,d,e):a&&(a=cd(a))&&(b=a.Mc(b,c,d,e))&&hd(b)},hd=function(a){if("number"!==typeof a&&a&&!a.sc){var b=a.src;if(Pc(b))Vc(b.Ga,a);else{var c=a.type,d=a.Ld;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ed(c),d):b.addListener&&b.removeListener&&
|
|
b.removeListener(d);Yc--;(c=cd(b))?(Vc(c,a),0==c.gd&&(c.src=null,b[Wc]=null)):Sc(a)}}},ed=function(a){return a in Xc?Xc[a]:Xc[a]="on"+a},jd=function(a,b,c,d){var e=!0;if(a=cd(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.sc&&(f=id(f,d),e=e&&!1!==f)}return e},id=function(a,b){var c=a.listener,d=a.kb||a.src;a.qd&&hd(a);return c.call(d,b)},fd=function(a,b){if(a.sc)return!0;if(!Jc){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 Nc(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.Xb&&0<=e;e--){b.currentTarget=d[e];var f=jd(d[e],a,!0,b);c=c&&f}for(e=0;!b.Xb&&e<d.length;e++)b.currentTarget=d[e],f=jd(d[e],a,!1,b),c=c&&f}return c}return id(a,new Nc(b,this))},cd=function(a){a=a[Wc];return a instanceof
|
|
Tc?a:null},kd="__closure_events_fn_"+(1E9*Math.random()>>>0),ad=function(a){y(a,"Listener can not be null.");if(Aa(a))return a;y(a.handleEvent,"An object listener must have handleEvent method.");a[kd]||(a[kd]=function(b){return a.handleEvent(b)});return a[kd]};var z=function(){Ka.call(this);this.Ga=new Tc(this);this.rj=this;this.yf=null};x(z,Ka);z.prototype[Oc]=!0;k=z.prototype;k.addEventListener=function(a,b,c,d){$c(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){gd(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),y(1E3>++d,"infinite loop")}b=this.rj;d=a.type||a;if("string"===typeof a)a=new Ma(a,b);else if(a instanceof Ma)a.target=a.target||b;else{var e=a;a=new Ma(d,b);Tb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Xb&&0<=f;f--){var g=a.currentTarget=c[f];e=md(g,d,!0,a)&&e}a.Xb||(g=a.currentTarget=b,e=md(g,d,!0,a)&&e,a.Xb||(e=md(g,d,!1,a)&&e));if(c)for(f=0;!a.Xb&&f<c.length;f++)g=a.currentTarget=c[f],e=md(g,d,!1,a)&&
|
|
e;return e};k.G=function(){z.L.G.call(this);this.Ga&&this.Ga.bd(void 0);this.yf=null};k.Ua=function(a,b,c,d){ld(this);return this.Ga.add(String(a),b,!1,c,d)};k.Wc=function(a,b,c,d){return this.Ga.add(String(a),b,!0,c,d)};k.Zd=function(a,b,c,d){this.Ga.remove(String(a),b,c,d)};
|
|
var md=function(a,b,c,d){b=a.Ga.$[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.sc&&g.capture==c){var h=g.listener,n=g.kb||g.src;g.qd&&Vc(a.Ga,g);e=!1!==h.call(n,d)&&e}}return e&&!d.defaultPrevented};z.prototype.Mc=function(a,b,c,d){return this.Ga.Mc(String(a),b,c,d)};z.prototype.hasListener=function(a,b){return this.Ga.hasListener(void 0!==a?String(a):void 0,b)};var ld=function(a){y(a.Ga,"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.ec=function(){return this};
|
|
var pd=function(a){if(a instanceof od)return a;if("function"==typeof a.ec)return a.ec(!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{Ya(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.H=[];this.jd=this.I=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.I};k.S=function(){sd(this);for(var a=[],b=0;b<this.H.length;b++)a.push(this.l[this.H[b]]);return a};k.Ja=function(){sd(this);return this.H.concat()};k.rb=function(a){return td(this.l,a)};
|
|
k.Gc=function(a){for(var b=0;b<this.H.length;b++){var c=this.H[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.I!=a.M())return!1;b=b||ud;sd(this);for(var c,d=0;c=this.H[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.I};rd.prototype.clear=function(){this.l={};this.jd=this.I=this.H.length=0};
|
|
rd.prototype.remove=function(a){return td(this.l,a)?(delete this.l[a],this.I--,this.jd++,this.H.length>2*this.I&&sd(this),!0):!1};var sd=function(a){if(a.I!=a.H.length){for(var b=0,c=0;b<a.H.length;){var d=a.H[b];td(a.l,d)&&(a.H[c++]=d);b++}a.H.length=c}if(a.I!=a.H.length){var e={};for(c=b=0;b<a.H.length;)d=a.H[b],td(e,d)||(a.H[c++]=d,e[d]=1),b++;a.H.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.I++,this.H.push(a),this.jd++);this.l[a]=b};k.addAll=function(a){if(a instanceof rd)for(var b=a.Ja(),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.Ja(),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.ec=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.H.length)throw nd;var f=d.H[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.S&&"function"==typeof a.S)return a.S();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 Ib(a)},xd=function(a){if(a.Ja&&"function"==typeof a.Ja)return a.Ja();if(!a.S||"function"!=typeof a.S){if(ya(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
|
|
return b}return Kb(a)}},yd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ya(a)||"string"===typeof a)Ya(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 bb(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"+Ea(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.rb(Bd(a))};k.gh=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.Re=function(a){var b=this.clone();b.bd(a);return b};k.S=function(){return this.l.S()};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.Gc&&"function"==typeof e.Gc?e.Gc(d):ya(e)||"string"===typeof e?gb(e,d):Lb(e,d)})};Ad.prototype.ec=function(){return this.l.ec(!1)};var ee={},Dd=function(a,b,c){z.call(this);this.Nj=b;this.token=c;this.yb=[];this.Xf=new Ad;this.wb=0;this.url=a};x(Dd,z);w("ee.AbstractOverlay",Dd);var Ed=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.Nj,c,e,b.y].join("/")};Dd.prototype.Nc=function(){return this.yb.length};var Fd=function(a){Ma.call(this,"tileevent");this.count=a};x(Fd,Ma);var Gd=function(){},Hd=new Gd;function Id(a){return Object.assign({R:{},kk:{},keys:[],Aa:{},s:{},K:{}},a)}var A=function(){this.a={}},C=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},E=function(a,b){return null!=a.a[b]};function Jd(a,b){return C(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.R||{},h=f.s||{},n=f.Aa||{},p={};f=m(f.keys||[]);for(var t=f.next();!t.done;p={Bc:p.Bc},t=f.next()){t=t.value;var B=b(t,a);if(null!=B){var D=void 0;g.hasOwnProperty(t)?D=Sd(B,b,c,d,!0,!0,g[t]):h.hasOwnProperty(t)?D=Sd(B,b,c,d,!1,!0,h[t]):n.hasOwnProperty(t)?(p.Bc=n[t],D=p.Bc.la?B.map(function(ba){return function(Ca){return Td(Ca,ba.Bc,b,c,d)}}(p)):Td(B,p.Bc,b,c,d)):D=Array.isArray(B)?Sd(B,b,c,d,!0,!1):B instanceof Gd?null:B;c(t,e,D)}}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.na,b.ma,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 A)a=Id(b.f());else if(a instanceof A)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.ib=this.bc=this.vb="";this.rc=null;this.Ob=this.lb="";this.ya=this.Jj=!1;if(a instanceof Wd){this.ya=void 0!==b?b:a.ya;Xd(this,a.vb);var c=a.bc;Yd(this);this.bc=c;c=a.ib;Yd(this);this.ib=c;Zd(this,a.rc);this.setPath(a.getPath());$d(this,a.Ba.clone());a=a.Ob;Yd(this);this.Ob=a}else a&&(c=String(a).match(Ud))?(this.ya=!!b,Xd(this,c[1]||"",!0),a=c[2]||"",Yd(this),this.bc=ae(a),a=c[3]||"",Yd(this),this.ib=ae(a,!0),Zd(this,c[4]),this.setPath(c[5]||"",!0),$d(this,c[6]||"",!0),
|
|
a=c[7]||"",Yd(this),this.Ob=ae(a)):(this.ya=!!b,this.Ba=new be(null,this.ya))};
|
|
Wd.prototype.toString=function(){var a=[],b=this.vb;b&&a.push(ce(b,de,!0),":");var c=this.ib;if(c||"file"==b)a.push("//"),(b=this.bc)&&a.push(ce(b,de,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.rc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.ib&&"/"!=c.charAt(0)&&a.push("/"),a.push(ce(c,"/"==c.charAt(0)?fe:ge,!0));(c=this.Ba.toString())&&a.push("?",c);(c=this.Ob)&&a.push("#",ce(c,he));return a.join("")};
|
|
Wd.prototype.resolve=function(a){var b=this.clone(),c=!!a.vb;c?Xd(b,a.vb):c=!!a.bc;if(c){var d=a.bc;Yd(b);b.bc=d}else c=!!a.ib;c?(d=a.ib,Yd(b),b.ib=d):c=null!=a.rc;d=a.getPath();if(c)Zd(b,a.rc);else if(c=!!a.lb){if("/"!=d.charAt(0))if(this.ib&&!this.lb)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.Ba.toString();c?$d(b,a.Ba.clone()):c=!!a.Ob;c&&(a=a.Ob,Yd(b),b.Ob=a);return b};Wd.prototype.clone=function(){return new Wd(this)};
|
|
var Xd=function(a,b,c){Yd(a);a.vb=c?ae(b,!0):b;a.vb&&(a.vb=a.vb.replace(/:$/,""))},Zd=function(a,b){Yd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.rc=b}else a.rc=null};Wd.prototype.getPath=function(){return this.lb};Wd.prototype.setPath=function(a,b){Yd(this);this.lb=b?ae(a,!0):a;return this};var $d=function(a,b,c){Yd(a);b instanceof be?(a.Ba=b,a.Ba.Mf(a.ya)):(c||(b=ce(b,ie)),a.Ba=new be(b,a.ya))};Wd.prototype.getQuery=function(){return this.Ba.toString()};
|
|
Wd.prototype.removeParameter=function(a){Yd(this);this.Ba.remove(a);return this};var Yd=function(a){if(a.Jj)throw Error("Tried to modify a read-only Uri");};Wd.prototype.Mf=function(a){this.ya=a;this.Ba&&this.Ba.Mf(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.I=this.N=null;this.qa=a||null;this.ya=!!b},
|
|
le=function(a){a.N||(a.N=new rd,a.I=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.I};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.I=Sa(this.I)+1;return this};k.remove=function(a){le(this);a=me(this,a);return this.N.rb(a)?(this.qa=null,this.I=Sa(this.I)-this.N.get(a).length,this.N.remove(a)):!1};k.clear=function(){this.N=this.qa=null;this.I=0};
|
|
k.isEmpty=function(){le(this);return 0==this.I};k.rb=function(a){le(this);a=me(this,a);return this.N.rb(a)};k.Gc=function(a){var b=this.S();return gb(b,a)};k.forEach=function(a,b){le(this);this.N.forEach(function(c,d){Ya(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ja=function(){le(this);for(var a=this.N.S(),b=this.N.Ja(),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.S=function(a){le(this);var b=[];if("string"===typeof a)this.rb(a)&&(b=kb(b,this.N.get(me(this,a))));else{a=this.N.S();for(var c=0;c<a.length;c++)b=kb(b,a[c])}return b};k.set=function(a,b){le(this);this.qa=null;a=me(this,a);this.rb(a)&&(this.I=Sa(this.I)-this.N.get(a).length);this.N.set(a,[b]);this.I=Sa(this.I)+1;return this};k.get=function(a,b){if(!a)return b;a=this.S(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),lb(b)),this.I=Sa(this.I)+b.length)};k.toString=function(){if(this.qa)return this.qa;if(!this.N)return"";for(var a=[],b=this.N.Ja(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.S(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.I=this.I);return a};var me=function(a,b){b=String(b);a.ya&&(b=b.toLowerCase());return b};be.prototype.Mf=function(a){a&&!this.ya&&(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.ya=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 F(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 A?Nd(a.body,Jd,Kd,Ld):a.body;return{path:a.path,u:a.u,C:a.C,body:b,o:a.o,Ph:a.Ph&&a.Ph}};function re(a,b){if(null==a)return null;a=a.lk(b);return null==a?null:a};var se=function(a,b){this.P=a;this.Gj=void 0===b?null:b};q(se,pe);var te=function(a,b,c){var d=re(a.Gj,b);if(null==d)return c;d.mk();return c.then(function(e){d.pk(e);return e},function(e){d.nk(e);throw e;})},G=function(a,b){var c=b.F||void 0;return te(a,b,a.P.send(qe(b),c))};var ue={ge:"ADMIN_READ",ie:"DATA_READ",je:"DATA_WRITE",Ni:"LOG_TYPE_UNSPECIFIED",values:function(){return[ue.Ni,ue.ge,ue.je,ue.ie]}},ve={ge:"ADMIN_READ",ci:"ADMIN_WRITE",ie:"DATA_READ",je:"DATA_WRITE",Vi:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ve.Vi,ve.ge,ve.ci,ve.ie,ve.je]}},we={ki:"CAPABILITY_GROUP_UNSPECIFIED",li:"CLOUD_ALPHA",wi:"EXTERNAL",Gi:"INTERNAL",Ji:"LIMITED",Wi:"PREAUTHORIZED",Yi:"PREVIEW",re:"PUBLIC",values:function(){return[we.ki,we.re,we.Gi,we.wi,we.Ji,we.Wi,we.Yi,we.li]}},
|
|
xe={bi:"ADMIN_ACTIVITY",oi:"DATA_ACCESS",lj:"UNSPECIFIED_LOG_NAME",values:function(){return[xe.lj,xe.bi,xe.oi]}},ye={fi:"APPROVER",gi:"ATTRIBUTION",hi:"AUTHORITY",mi:"CREDENTIALS_TYPE",ni:"CREDS_ASSERTION",Ii:"JUSTIFICATION_TYPE",qe:"NO_ATTR",aj:"SECURITY_REALM",values:function(){return[ye.qe,ye.hi,ye.gi,ye.aj,ye.fi,ye.Ii,ye.mi,ye.ni]}},ze={ui:"DISCHARGED",vi:"EQUALS",Ci:"IN",Pi:"NOT_EQUALS",Qi:"NOT_IN",Si:"NO_OP",values:function(){return[ze.Si,ze.vi,ze.Pi,ze.Ci,ze.Qi,ze.ui]}},Ae={Hi:"IP",Oi:"NAME",
|
|
qe:"NO_ATTR",Zi:"REGION",bj:"SERVICE",values:function(){return[Ae.qe,Ae.Zi,Ae.bj,Ae.Oi,Ae.Hi]}},Be={Li:"LOG_FAIL_CLOSED",Mi:"LOG_MODE_UNSPECIFIED",values:function(){return[Be.Mi,Be.Li]}},Ce={yi:"FOLDER",Ai:"IMAGE",Bi:"IMAGE_COLLECTION",fj:"TABLE",hj:"TYPE_UNSPECIFIED",values:function(){return[Ce.hj,Ce.Ai,Ce.Bi,Ce.fj,Ce.yi]}},De={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",
|
|
values:function(){return[De.Bb,De.Cb,De.Fb,De.zb,De.Eb,De.Ab,De.Gb,De.Db,De.Hb,De.Ib]}},Ee={mj:"V1",nj:"V2",oj:"VERSION_UNSPECIFIED",values:function(){return[Ee.oj,Ee.mj,Ee.nj]}},Fe={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Fe.Bb,Fe.Cb,Fe.Fb,Fe.zb,Fe.Eb,Fe.Ab,Fe.Gb,Fe.Db,Fe.Hb,Fe.Ib]}},Ge={zi:"HORIZONTAL",Ti:"ORIENTATION_UNSPECIFIED",
|
|
pj:"VERTICAL",values:function(){return[Ge.Ti,Ge.zi,Ge.pj]}},He={ri:"DEFAULT_OBJECT_ACL",re:"PUBLIC",gj:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[He.gj,He.re,He.ri]}},Ie={MAX:"MAX",$a:"MEAN",MIN:"MIN",ab:"MODE",bb:"PYRAMIDING_POLICY_UNSPECIFIED",cb:"SAMPLE",values:function(){return[Ie.bb,Ie.$a,Ie.cb,Ie.MIN,Ie.MAX,Ie.ab]}},Je={MAX:"MAX",$a:"MEAN",MIN:"MIN",ab:"MODE",bb:"PYRAMIDING_POLICY_UNSPECIFIED",cb:"SAMPLE",values:function(){return[Je.bb,Je.$a,Je.cb,Je.MIN,Je.MAX,Je.ab]}},Ke={MAX:"MAX",
|
|
$a:"MEAN",MIN:"MIN",ab:"MODE",bb:"PYRAMIDING_POLICY_UNSPECIFIED",cb:"SAMPLE",values:function(){return[Ke.bb,Ke.$a,Ke.cb,Ke.MIN,Ke.MAX,Ke.ab]}},Le={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Le.Bb,Le.Cb,Le.Fb,Le.zb,Le.Eb,Le.Ab,Le.Gb,Le.Db,Le.Hb,Le.Ib]}},Me={MAX:"MAX",$a:"MEAN",MIN:"MIN",ab:"MODE",bb:"PYRAMIDING_POLICY_UNSPECIFIED",
|
|
cb:"SAMPLE",values:function(){return[Me.bb,Me.$a,Me.cb,Me.MIN,Me.MAX,Me.ab]}},Ne={ii:"CANCELLED",ji:"CANCELLING",xi:"FAILED",Ui:"PENDING",$i:"RUNNING",cj:"STATE_UNSPECIFIED",ej:"SUCCEEDED",values:function(){return[Ne.cj,Ne.Ui,Ne.$i,Ne.ji,Ne.ej,Ne.ii,Ne.xi]}},Oe={ke:"DOUBLE",FLOAT:"FLOAT",INT:"INT",Xi:"PRECISION_UNSPECIFIED",values:function(){return[Oe.Xi,Oe.INT,Oe.FLOAT,Oe.ke]}},Pe={di:"ALLOW",ei:"ALLOW_WITH_LOG",si:"DENY",ti:"DENY_WITH_LOG",Ki:"LOG",Ri:"NO_ACTION",values:function(){return[Pe.Ri,
|
|
Pe.di,Pe.ei,Pe.si,Pe.ti,Pe.Ki]}},Qe={he:"CSV",le:"GEO_JSON",ne:"KML",oe:"KMZ",se:"SHP",te:"TABLE_FILE_FORMAT_UNSPECIFIED",ue:"TF_RECORD_TABLE",values:function(){return[Qe.te,Qe.he,Qe.le,Qe.ne,Qe.oe,Qe.se,Qe.ue]}},Re={he:"CSV",le:"GEO_JSON",ne:"KML",oe:"KMZ",se:"SHP",te:"TABLE_FILE_FORMAT_UNSPECIFIED",ue:"TF_RECORD_TABLE",values:function(){return[Re.te,Re.he,Re.le,Re.ne,Re.oe,Re.se,Re.ue]}},Se={zb:"AUTO_JPEG_PNG",Ab:"GEO_TIFF",Bb:"IMAGE_FILE_FORMAT_UNSPECIFIED",Cb:"JPEG",Db:"MULTI_BAND_IMAGE_TILE",
|
|
Eb:"NPY",Fb:"PNG",Gb:"TF_RECORD_IMAGE",Hb:"ZIPPED_GEO_TIFF",Ib:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Se.Bb,Se.Cb,Se.Fb,Se.zb,Se.Eb,Se.Ab,Se.Gb,Se.Db,Se.Hb,Se.Ib]}},Te={MAX:"MAX",$a:"MEAN",MIN:"MIN",ab:"MODE",bb:"PYRAMIDING_POLICY_UNSPECIFIED",cb:"SAMPLE",values:function(){return[Te.bb,Te.$a,Te.cb,Te.MIN,Te.MAX,Te.ab]}},Ue={pi:"DATA_TYPE_UNSPECIFIED",ke:"DOUBLE",FLOAT:"FLOAT",Di:"INT16",Ei:"INT32",Fi:"INT8",ij:"UINT16",jj:"UINT32",kj:"UINT8",values:function(){return[Ue.pi,Ue.Fi,Ue.kj,
|
|
Ue.Di,Ue.ij,Ue.Ei,Ue.jj,Ue.FLOAT,Ue.ke]}},Ve={me:"GIF",pe:"MP4",ve:"VIDEO_FILE_FORMAT_UNSPECIFIED",we:"VP9",values:function(){return[Ve.ve,Ve.pe,Ve.me,Ve.we]}},We={me:"GIF",pe:"MP4",ve:"VIDEO_FILE_FORMAT_UNSPECIFIED",we:"VP9",values:function(){return[We.ve,We.pe,We.me,We.we]}},Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.If?null:a.If;this.a.shearX=null==a.Nf?null:a.Nf;this.a.translateX=null==a.$f?null:a.$f;this.a.shearY=null==a.Of?null:a.Of;this.a.scaleY=null==a.Jf?null:a.Jf;this.a.translateY=
|
|
null==a.ag?null:a.ag};q(Xe,A);Xe.prototype.f=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
l.Object.defineProperties(Xe.prototype,{If:{configurable:!0,enumerable:!0,get:function(){return E(this,"scaleX")?C(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},Jf:{configurable:!0,enumerable:!0,get:function(){return E(this,"scaleY")?C(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},Nf:{configurable:!0,enumerable:!0,get:function(){return E(this,"shearX")?C(this,"shearX"):null},set:function(a){this.a.shearX=a}},Of:{configurable:!0,enumerable:!0,get:function(){return E(this,"shearY")?
|
|
C(this,"shearY"):null},set:function(a){this.a.shearY=a}},$f:{configurable:!0,enumerable:!0,get:function(){return E(this,"translateX")?C(this,"translateX"):null},set:function(a){this.a.translateX=a}},ag:{configurable:!0,enumerable:!0,get:function(){return E(this,"translateY")?C(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.Hf?null:a.Hf;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.Pe?null:a.Pe;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,A);
|
|
Ye.prototype.f=function(){return{R:{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 E(this,"arguments")?C(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return E(this,"deprecated")?C(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},Pe:{configurable:!0,enumerable:!0,get:function(){return E(this,"deprecationReason")?C(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return E(this,"hidden")?C(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.a.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return E(this,"preview")?C(this,"preview"):null},set:function(a){this.a.preview=
|
|
a}},Hf:{configurable:!0,enumerable:!0,get:function(){return E(this,"returnType")?C(this,"returnType"):null},set:function(a){this.a.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return E(this,"sourceCodeUri")?C(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,A);Ze.prototype.f=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
l.Object.defineProperties(Ze.prototype,{od:{configurable:!0,enumerable:!0,get:function(){return E(this,"argumentName")?C(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return E(this,"defaultValue")?C(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"optional")?C(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return E(this,"type")?C(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,A);$e.prototype.f=function(){return{R:{values:af},keys:["values"]}};
|
|
l.Object.defineProperties($e.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(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.Lh?null:a.Lh;this.a.exemptedMembers=null==a.Kc?null:a.Kc;this.a.auditLogConfigs=null==a.jg?null:a.jg};q(bf,A);bf.prototype.f=function(){return{R:{auditLogConfigs:cf},keys:["auditLogConfigs","exemptedMembers","service"]}};
|
|
l.Object.defineProperties(bf.prototype,{jg:{configurable:!0,enumerable:!0,get:function(){return E(this,"auditLogConfigs")?C(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},Kc:{configurable:!0,enumerable:!0,get:function(){return E(this,"exemptedMembers")?C(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},Lh:{configurable:!0,enumerable:!0,get:function(){return E(this,"service")?C(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.ph?null:a.ph;this.a.exemptedMembers=null==a.Kc?null:a.Kc;this.a.ignoreChildExemptions=null==a.dh?null:a.dh};q(cf,A);cf.prototype.f=function(){return{K:{logType:ue},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
l.Object.defineProperties(cf.prototype,{Kc:{configurable:!0,enumerable:!0,get:function(){return E(this,"exemptedMembers")?C(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},dh:{configurable:!0,enumerable:!0,get:function(){return E(this,"ignoreChildExemptions")?C(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},ph:{configurable:!0,enumerable:!0,get:function(){return E(this,"logType")?C(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.zh?null:a.zh};q(df,A);df.prototype.f=function(){return{K:{permissionType:ve},keys:["permissionType"]}};l.Object.defineProperties(df.prototype,{zh:{configurable:!0,enumerable:!0,get:function(){return E(this,"permissionType")?C(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.vc?null:a.vc;this.a.members=null==a.Ub?null:a.Ub;this.a.condition=null==a.ug?null:a.ug};q(ef,A);ef.prototype.f=function(){return{keys:["condition","members","role"],s:{condition:ff}}};
|
|
l.Object.defineProperties(ef.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return E(this,"condition")?C(this,"condition"):null},set:function(a){this.a.condition=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return E(this,"members")?C(this,"members"):null},set:function(a){this.a.members=a}},vc:{configurable:!0,enumerable:!0,get:function(){return E(this,"role")?C(this,"role"):null},set:function(a){this.a.role=a}}});var gf=function(){this.a={}};q(gf,A);gf.prototype.f=function(){return{keys:[]}};
|
|
var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.rg?null:a.rg};q(hf,A);hf.prototype.f=function(){return{K:{capabilities:we},keys:["capabilities"]}};l.Object.defineProperties(hf.prototype,{rg:{configurable:!0,enumerable:!0,get:function(){return E(this,"capabilities")?C(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.oh?null:a.oh;this.a.authorizationLoggingOptions=null==a.kg?null:a.kg};
|
|
q(jf,A);jf.prototype.f=function(){return{K:{logName:xe},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:df}}};
|
|
l.Object.defineProperties(jf.prototype,{kg:{configurable:!0,enumerable:!0,get:function(){return E(this,"authorizationLoggingOptions")?C(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},oh:{configurable:!0,enumerable:!0,get:function(){return E(this,"logName")?C(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,A);
|
|
kf.prototype.f=function(){return{keys:["expression"],s:{expression:lf}}};l.Object.defineProperties(kf.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(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,A);mf.prototype.f=function(){return{keys:["result"]}};
|
|
l.Object.defineProperties(mf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return E(this,"result")?C(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.Zg?null:a.Zg;this.a.sys=null==a.Th?null:a.Th;this.a.svc=null==a.Sh?null:a.Sh;this.a.op=null==a.xh?null:a.xh;this.a.values=null==a.values?null:a.values};q(nf,A);nf.prototype.f=function(){return{K:{iam:ye,op:ze,sys:Ae},keys:["iam","op","svc","sys","values"]}};
|
|
l.Object.defineProperties(nf.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return E(this,"iam")?C(this,"iam"):null},set:function(a){this.a.iam=a}},xh:{configurable:!0,enumerable:!0,get:function(){return E(this,"op")?C(this,"op"):null},set:function(a){this.a.op=a}},Sh:{configurable:!0,enumerable:!0,get:function(){return E(this,"svc")?C(this,"svc"):null},set:function(a){this.a.svc=a}},Th:{configurable:!0,enumerable:!0,get:function(){return E(this,"sys")?C(this,"sys"):null},set:function(a){this.a.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(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.Mb?null:a.Mb;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.ba?null:a.ba};q(of,A);of.prototype.f=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
l.Object.defineProperties(of.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},Mb:{configurable:!0,enumerable:!0,get:function(){return E(this,"destinationName")?C(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return E(this,"overwrite")?C(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.qh?null:a.qh;this.a.field=null==a.Kg?null:a.Kg;this.a.customFields=null==a.Cg?null:a.Cg};q(pf,A);pf.prototype.f=function(){return{R:{customFields:qf},keys:["customFields","field","metric"]}};
|
|
l.Object.defineProperties(pf.prototype,{Cg:{configurable:!0,enumerable:!0,get:function(){return E(this,"customFields")?C(this,"customFields"):null},set:function(a){this.a.customFields=a}},Kg:{configurable:!0,enumerable:!0,get:function(){return E(this,"field")?C(this,"field"):null},set:function(a){this.a.field=a}},qh:{configurable:!0,enumerable:!0,get:function(){return E(this,"metric")?C(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,A);qf.prototype.f=function(){return{keys:["name","value"]}};l.Object.defineProperties(qf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.a.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return E(this,"value")?C(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.nh?null:a.nh};q(rf,A);rf.prototype.f=function(){return{K:{logMode:Be},keys:["logMode"]}};l.Object.defineProperties(rf.prototype,{nh:{configurable:!0,enumerable:!0,get:function(){return E(this,"logMode")?C(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,A);
|
|
sf.prototype.f=function(){return{keys:["values"],Aa:{values:{fa:af,la:!1,ma:!0,na:!1}}}};l.Object.defineProperties(sf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(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,A);tf.prototype.f=function(){return{keys:["max","min"]}};
|
|
l.Object.defineProperties(tf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return E(this,"max")?C(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return E(this,"min")?C(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.va?null:a.va};q(uf,A);uf.prototype.f=function(){return{keys:["filenamePrefix","folder"]}};
|
|
l.Object.defineProperties(uf.prototype,{va:{configurable:!0,enumerable:!0,get:function(){return E(this,"filenamePrefix")?C(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},Ze:{configurable:!0,enumerable:!0,get:function(){return E(this,"folder")?C(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.Na?null:a.Na;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.Ca?null:a.Ca;this.a.quota=null==a.quota?null:a.quota;this.a.tilestoreEntry=null==a.Wh?null:a.Wh;this.a.gcsLocation=null==a.Sg?null:a.Sg;this.a.expression=null==a.i?null:a.i};q(vf,A);
|
|
vf.prototype.f=function(){return{R:{bands:wf},K:{type:Ce},keys:"bands description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),Aa:{geometry:{fa:null,la:!1,ma:!1,na:!1},properties:{fa:null,la:!1,ma:!1,na:!1}},s:{expression:lf,gcsLocation:xf,quota:yf,tilestoreEntry:zf}}};
|
|
l.Object.defineProperties(vf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return E(this,"bands")?C(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.a.endTime=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},Sg:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsLocation")?C(this,"gcsLocation"):null},set:function(a){this.a.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return E(this,"geometry")?C(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,"properties")?C(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return E(this,"quota")?C(this,"quota"):null},set:function(a){this.a.quota=a}},Ca:{configurable:!0,enumerable:!0,get:function(){return E(this,"sizeBytes")?C(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=
|
|
a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.a.startTime=a}},Wh:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilestoreEntry")?C(this,"tilestoreEntry"):null},set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return E(this,"title")?C(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return E(this,"type")?
|
|
C(this,"type"):null},set:function(a){this.a.type=a}},Na:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateTime")?C(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,A);Af.prototype.f=function(){return{keys:["name"]}};
|
|
l.Object.defineProperties(Af.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(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.cc?null:a.cc};q(Bf,A);
|
|
Bf.prototype.f=function(){return{K:{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 E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"name")?C(this,"name"):null},set:function(a){this.a.name=a}},cc:{configurable:!0,enumerable:!0,get:function(){return E(this,"visualizationOptions")?C(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var Df=function(){this.a={}};q(Df,A);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.ia?null:a.ia;this.a.assetExportOptions=null==a.fb?null:a.fb;this.a.maxPixels=null==a.uf?null:a.uf;this.a.grid=null==a.J?null:a.J;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(Ef,A);
|
|
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,{fb:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetExportOptions")?C(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ia:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileExportOptions")?C(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},J:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.a.grid=a}},uf:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxPixels")?C(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},U:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?
|
|
C(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(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.$b?null:a.$b;this.a.tileExportOptions=null==a.Zb?null:a.Zb;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(If,A);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 E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.a.requestId=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileExportOptions")?C(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},$b:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileOptions")?C(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.ia?null:a.ia;this.a.assetExportOptions=null==a.fb?null:a.fb;this.a.selectors=null==a.selectors?null:a.selectors;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxErrorMeters=null==a.Sb?null:a.Sb;this.a.maxWorkerCount=null==a.U?null:a.U;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices};q(Kf,A);
|
|
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,{fb:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetExportOptions")?C(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ia:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileExportOptions")?C(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Sb:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxErrorMeters")?C(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxVertices")?C(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},U:{configurable:!0,enumerable:!0,
|
|
get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return E(this,"selectors")?C(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.Oa?null:a.Oa;this.a.tileOptions=null==a.$b?null:a.$b;this.a.tileExportOptions=null==a.Zb?null:a.Zb;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,A);
|
|
Nf.prototype.f=function(){return{K:{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 E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},U:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.a.requestId=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileExportOptions")?C(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},$b:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileOptions")?C(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return E(this,"version")?
|
|
C(this,"version"):null},set:function(a){this.a.version=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return E(this,"videoOptions")?C(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.Oa?null:a.Oa;this.a.fileExportOptions=null==a.ia?null:a.ia;this.a.requestId=null==a.requestId?null:a.requestId;this.a.maxWorkerCount=null==a.U?null:a.U};q(Qf,A);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 E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},ia:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileExportOptions")?C(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},U:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"maxWorkerCount")?C(this,"maxWorkerCount"):null},set:function(a){this.a.maxWorkerCount=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.a.requestId=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return E(this,"videoOptions")?C(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,A);ff.prototype.f=function(){return{keys:["description","expression","location","title"]}};
|
|
l.Object.defineProperties(ff.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return E(this,"location")?C(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return E(this,"title")?C(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,A);lf.prototype.f=function(){return{keys:["result","values"],Aa:{values:{fa:af,la:!1,ma:!0,na:!1}}}};
|
|
l.Object.defineProperties(lf.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return E(this,"result")?C(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(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.J?null:a.J};q(Rf,A);Rf.prototype.f=function(){return{K:{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 E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},J:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"name")?C(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return E(this,"orientation")?C(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.Ca?null:a.Ca;this.a.maxSizeBytes=null==a.Tb?null:a.Tb;this.a.assetCount=null==a.Ae?null:a.Ae;this.a.maxAssetCount=null==a.sf?null:a.sf};q(yf,A);
|
|
yf.prototype.f=function(){return{keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"]}};
|
|
l.Object.defineProperties(yf.prototype,{Ae:{configurable:!0,enumerable:!0,get:function(){return E(this,"assetCount")?C(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},sf:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxAssetCount")?C(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Tb:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxSizeBytes")?C(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Ca:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"sizeBytes")?C(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.hc?null:a.hc;this.a.body=null==a.body?null:a.body};q(Sf,A);Sf.prototype.f=function(){return{keys:["argumentNames","body"]}};
|
|
l.Object.defineProperties(Sf.prototype,{hc:{configurable:!0,enumerable:!0,get:function(){return E(this,"argumentNames")?C(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return E(this,"body")?C(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.xa?null:a.xa;this.a.arguments=null==a.arguments?null:a.arguments};q(Tf,A);Tf.prototype.f=function(){return{keys:["arguments","functionName","functionReference"],Aa:{arguments:{fa:af,la:!1,ma:!0,na:!1}}}};
|
|
l.Object.defineProperties(Tf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return E(this,"arguments")?C(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return E(this,"functionName")?C(this,"functionName"):null},set:function(a){this.a.functionName=a}},xa:{configurable:!0,enumerable:!0,get:function(){return E(this,"functionReference")?C(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.De?null:a.De;this.a.filenamePrefix=null==a.va?null:a.va;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.Ee?null:a.Ee};q(Uf,A);Uf.prototype.f=function(){return{K:{permissions:He},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(Uf.prototype,{De:{configurable:!0,enumerable:!0,get:function(){return E(this,"bucket")?C(this,"bucket"):null},set:function(a){this.a.bucket=a}},Ee:{configurable:!0,enumerable:!0,get:function(){return E(this,"bucketCorsUris")?C(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},va:{configurable:!0,enumerable:!0,get:function(){return E(this,"filenamePrefix")?C(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"permissions")?C(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.Ya?null:a.Ya};q(xf,A);xf.prototype.f=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(xf.prototype,{Ya:{configurable:!0,enumerable:!0,get:function(){return E(this,"uris")?C(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.Ma?null:a.Ma;this.a.skipEmptyFiles=null==a.Qf?null:a.Qf};q(Vf,A);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 E(this,"cloudOptimized")?C(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},Qf:{configurable:!0,enumerable:!0,get:function(){return E(this,"skipEmptyFiles")?C(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Ma:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileDimensions")?C(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,A);Xf.prototype.f=function(){return{keys:["options"],s:{options:Yf}}};l.Object.defineProperties(Xf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return E(this,"options")?C(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.Gh?null:a.Gh};q(Yf,A);Yf.prototype.f=function(){return{keys:["requestedPolicyVersion"]}};
|
|
l.Object.defineProperties(Yf.prototype,{Gh:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestedPolicyVersion")?C(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,A);Wf.prototype.f=function(){return{keys:["height","width"]}};
|
|
l.Object.defineProperties(Wf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return E(this,"height")?C(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return E(this,"width")?C(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,A);Zf.prototype.f=function(){return{keys:["x","y"]}};
|
|
l.Object.defineProperties(Zf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return E(this,"x")?C(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return E(this,"y")?C(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.Na?null:a.Na;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.Ca?null:a.Ca};q($f,A);$f.prototype.f=function(){return{R:{bands:wf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),Aa:{geometry:{fa:null,la:!1,ma:!1,na:!1},properties:{fa:null,la:!1,ma:!1,na:!1}}}};
|
|
l.Object.defineProperties($f.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return E(this,"bands")?C(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return E(this,"geometry")?C(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,"properties")?C(this,"properties"):null},set:function(a){this.a.properties=a}},Ca:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"sizeBytes")?C(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return E(this,"title")?C(this,"title"):null},set:function(a){this.a.title=a}},Na:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateTime")?C(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.Nb?null:a.Nb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.Cf?null:a.Cf;this.a.tileSize=null==a.tileSize?null:a.tileSize};q(Ff,A);
|
|
Ff.prototype.f=function(){return{K:{pyramidingPolicy:Ie,pyramidingPolicyOverrides:Je},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],Aa:{pyramidingPolicyOverrides:{fa:null,la:!1,ma:!1,na:!1}},s:{earthEngineDestination:Af}}};
|
|
l.Object.defineProperties(Ff.prototype,{Nb:{configurable:!0,enumerable:!0,get:function(){return E(this,"earthEngineDestination")?C(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Cf:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicyOverrides")?C(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.a.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileSize")?C(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.J?null:a.J;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,A);
|
|
wf.prototype.f=function(){return{R:{tilesets:ag},K:{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 E(this,"dataType")?C(this,"dataType"):null},set:function(a){this.a.dataType=a}},J:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return E(this,"missingData")?
|
|
C(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesets")?C(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.ja?null:a.ja;this.a.geoTiffOptions=null==a.xd?null:a.xd;this.a.tfRecordOptions=null==a.Ud?null:a.Ud};q(Gf,A);Gf.prototype.f=function(){return{K:{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 E(this,"driveDestination")?C(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsDestination")?C(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},xd:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"geoTiffOptions")?C(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Ud:{configurable:!0,enumerable:!0,get:function(){return E(this,"tfRecordOptions")?C(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.Qg?null:a.Qg;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,A);eg.prototype.f=function(){return{R:{bands:fg,maskBands:gg,tilesets:hg},K:{pyramidingPolicy:Me},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),Aa:{properties:{fa:null,la:!1,ma:!1,na:!1}},s:{footprint:ig,missingData:cg}}};
|
|
l.Object.defineProperties(eg.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return E(this,"bands")?C(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.a.endTime=a}},Qg:{configurable:!0,enumerable:!0,get:function(){return E(this,"footprint")?C(this,"footprint"):null},set:function(a){this.a.footprint=a}},rf:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"maskBands")?C(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return E(this,"missingData")?C(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,"properties")?C(this,"properties"):null},set:function(a){this.a.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesets")?C(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},hd:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"uriPrefix")?C(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.Ya?null:a.Ya;this.a.affineTransform=null==a.Jb?null:a.Jb};q(jg,A);jg.prototype.f=function(){return{keys:["affineTransform","uris"],s:{affineTransform:Xe}}};
|
|
l.Object.defineProperties(jg.prototype,{Jb:{configurable:!0,enumerable:!0,get:function(){return E(this,"affineTransform")?C(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Ya:{configurable:!0,enumerable:!0,get:function(){return E(this,"uris")?C(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.ff?null:a.ff;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,A);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 E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},ff:{configurable:!0,enumerable:!0,get:function(){return E(this,"imageManifest")?C(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return E(this,"overwrite")?C(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"requestId")?C(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.Vf?null:a.Vf;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,A);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 E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return E(this,"overwrite")?C(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return E(this,"requestId")?C(this,"requestId"):null},set:function(a){this.a.requestId=a}},Vf:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"tableManifest")?C(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.Cc?null:a.Cc};q(ng,A);ng.prototype.f=function(){return{R:{algorithms:Ye},keys:["algorithms"]}};l.Object.defineProperties(ng.prototype,{Cc:{configurable:!0,enumerable:!0,get:function(){return E(this,"algorithms")?C(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.Va?null:a.Va};q(og,A);og.prototype.f=function(){return{R:{assets:vf},keys:["assets","nextPageToken"]}};
|
|
l.Object.defineProperties(og.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return E(this,"assets")?C(this,"assets"):null},set:function(a){this.a.assets=a}},Va:{configurable:!0,enumerable:!0,get:function(){return E(this,"nextPageToken")?C(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.Va?null:a.Va};q(pg,A);
|
|
pg.prototype.f=function(){return{R:{images:$f},keys:["images","nextPageToken"]}};l.Object.defineProperties(pg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return E(this,"images")?C(this,"images"):null},set:function(a){this.a.images=a}},Va:{configurable:!0,enumerable:!0,get:function(){return E(this,"nextPageToken")?C(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.Ka?null:a.Ka;this.a.nextPageToken=null==a.Va?null:a.Va};q(qg,A);qg.prototype.f=function(){return{R:{operations:rg},keys:["nextPageToken","operations"]}};
|
|
l.Object.defineProperties(qg.prototype,{Va:{configurable:!0,enumerable:!0,get:function(){return E(this,"nextPageToken")?C(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Ka:{configurable:!0,enumerable:!0,get:function(){return E(this,"operations")?C(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.counter?null:a.counter;this.a.dataAccess=null==a.Dg?null:a.Dg;this.a.cloudAudit=null==a.tg?null:a.tg};q(sg,A);sg.prototype.f=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:jf,counter:pf,dataAccess:rf}}};
|
|
l.Object.defineProperties(sg.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return E(this,"cloudAudit")?C(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return E(this,"counter")?C(this,"counter"):null},set:function(a){this.a.counter=a}},Dg:{configurable:!0,enumerable:!0,get:function(){return E(this,"dataAccess")?C(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,A);cg.prototype.f=function(){return{keys:["values"]}};l.Object.defineProperties(cg.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return E(this,"values")?C(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.Mb?null:a.Mb};q(tg,A);tg.prototype.f=function(){return{keys:["destinationName"]}};
|
|
l.Object.defineProperties(tg.prototype,{Mb:{configurable:!0,enumerable:!0,get:function(){return E(this,"destinationName")?C(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,A);
|
|
rg.prototype.f=function(){return{keys:["done","error","metadata","name","response"],Aa:{metadata:{fa:null,la:!1,ma:!1,na:!1},response:{fa:null,la:!1,ma:!1,na:!1}},s:{error:ug}}};
|
|
l.Object.defineProperties(rg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return E(this,"done")?C(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return E(this,"error")?C(this,"error"):null},set:function(a){this.a.error=a}},vf:{configurable:!0,enumerable:!0,get:function(){return E(this,"metadata")?C(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?
|
|
C(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return E(this,"response")?C(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.Ne?null:a.Ne;this.a.updateTime=null==a.Na?null:a.Na;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.attempt=null==a.gg?null:a.gg;this.a.scriptUri=null==a.Kf?null:a.Kf;this.a.destinationUris=
|
|
null==a.Qe?null:a.Qe};q(vg,A);vg.prototype.f=function(){return{K:{state:Ne},keys:"attempt createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" ")}};
|
|
l.Object.defineProperties(vg.prototype,{gg:{configurable:!0,enumerable:!0,get:function(){return E(this,"attempt")?C(this,"attempt"):null},set:function(a){this.a.attempt=a}},Ne:{configurable:!0,enumerable:!0,get:function(){return E(this,"createTime")?C(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},Qe:{configurable:!0,enumerable:!0,
|
|
get:function(){return E(this,"destinationUris")?C(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return E(this,"priority")?C(this,"priority"):null},set:function(a){this.a.priority=a}},Kf:{configurable:!0,enumerable:!0,get:function(){return E(this,"scriptUri")?C(this,"scriptUri"):null},
|
|
set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return E(this,"state")?C(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return E(this,"type")?C(this,"type"):null},set:function(a){this.a.type=a}},Na:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"updateTime")?C(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.Hg?null:a.Hg};q(bg,A);bg.prototype.f=function(){return{K:{precision:Oe},keys:["dimensionsCount","precision","range"],s:{range:tf}}};
|
|
l.Object.defineProperties(bg.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return E(this,"dimensionsCount")?C(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return E(this,"precision")?C(this,"precision"):null},set:function(a){this.a.precision=a}},ad:{configurable:!0,enumerable:!0,get:function(){return E(this,"range")?C(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.Ah?null:a.Ah;this.a.bandId=null==a.lg?null:a.lg};q(ig,A);ig.prototype.f=function(){return{R:{points:Zf},keys:["bandId","points"]}};l.Object.defineProperties(ig.prototype,{lg:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandId")?C(this,"bandId"):null},set:function(a){this.a.bandId=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return E(this,"points")?C(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.Oe?null:a.Oe;this.a.crsWkt=null==a.zg?null:a.zg;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.Jb?null:a.Jb};q(Hf,A);Hf.prototype.f=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:Xe,dimensions:Wf}}};
|
|
l.Object.defineProperties(Hf.prototype,{Jb:{configurable:!0,enumerable:!0,get:function(){return E(this,"affineTransform")?C(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Oe:{configurable:!0,enumerable:!0,get:function(){return E(this,"crsCode")?C(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},zg:{configurable:!0,enumerable:!0,get:function(){return E(this,"crsWkt")?C(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return E(this,"dimensions")?C(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.ig?null:a.ig;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.Te?null:a.Te;this.a.iamOwned=null==a.$g?null:a.$g};q(wg,A);wg.prototype.f=function(){return{R:{auditConfigs:bf,bindings:ef,rules:xg},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
|
|
l.Object.defineProperties(wg.prototype,{ig:{configurable:!0,enumerable:!0,get:function(){return E(this,"auditConfigs")?C(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},pd:{configurable:!0,enumerable:!0,get:function(){return E(this,"bindings")?C(this,"bindings"):null},set:function(a){this.a.bindings=a}},Te:{configurable:!0,enumerable:!0,get:function(){return E(this,"etag")?C(this,"etag"):null},set:function(a){this.a.etag=a}},$g:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"iamOwned")?C(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return E(this,"rules")?C(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return E(this,"version")?C(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.fh?null:a.fh;this.a.notIn=null==a.sh?null:a.sh;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.mh?null:a.mh};q(xg,A);xg.prototype.f=function(){return{R:{conditions:nf,logConfig:sg},K:{action:Pe},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
l.Object.defineProperties(xg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return E(this,"action")?C(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return E(this,"conditions")?C(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return E(this,"description")?C(this,"description"):null},set:function(a){this.a.description=a}},fh:{configurable:!0,enumerable:!0,
|
|
get:function(){return E(this,"in")?C(this,"in"):null},set:function(a){this.a["in"]=a}},mh:{configurable:!0,enumerable:!0,get:function(){return E(this,"logConfig")?C(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},sh:{configurable:!0,enumerable:!0,get:function(){return E(this,"notIn")?C(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return E(this,"permissions")?C(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.zc?null:a.zc};q(yg,A);yg.prototype.f=function(){return{keys:["policy","updateMask"],s:{policy:wg}}};
|
|
l.Object.defineProperties(yg.prototype,{zf:{configurable:!0,enumerable:!0,get:function(){return E(this,"policy")?C(this,"policy"):null},set:function(a){this.a.policy=a}},zc:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateMask")?C(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,A);
|
|
ug.prototype.f=function(){return{keys:["code","details","message"],Aa:{details:{fa:null,la:!0,ma:!1,na:!1}}}};
|
|
l.Object.defineProperties(ug.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return E(this,"code")?C(this,"code"):null},set:function(a){this.a.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return E(this,"details")?C(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return E(this,"message")?C(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,A);zg.prototype.f=function(){return{K:{fileFormat:Re},keys:["expression","fileFormat","filename","name","selectors"],s:{expression:lf}}};
|
|
l.Object.defineProperties(zg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return E(this,"filename")?C(this,"filename"):null},set:function(a){this.a.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"name")?C(this,"name"):null},set:function(a){this.a.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return E(this,"selectors")?C(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.Nb?null:a.Nb};q(Lf,A);Lf.prototype.f=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:Af}}};
|
|
l.Object.defineProperties(Lf.prototype,{Nb:{configurable:!0,enumerable:!0,get:function(){return E(this,"earthEngineDestination")?C(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.ja?null:a.ja};q(Mf,A);
|
|
Mf.prototype.f=function(){return{K:{fileFormat:Qe},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:uf,gcsDestination:Uf}}};
|
|
l.Object.defineProperties(Mf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return E(this,"driveDestination")?C(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsDestination")?C(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,A);mg.prototype.f=function(){return{R:{sources:Ag},keys:"endTime name properties sources startTime uriPrefix".split(" "),Aa:{properties:{fa:null,la:!1,ma:!1,na:!1}}}};
|
|
l.Object.defineProperties(mg.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"endTime")?C(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return E(this,"properties")?C(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"sources")?C(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return E(this,"startTime")?C(this,"startTime"):null},set:function(a){this.a.startTime=a}},hd:{configurable:!0,enumerable:!0,get:function(){return E(this,"uriPrefix")?C(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.Ya?null:a.Ya;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Sb?null:a.Sb;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.Bh?null:a.Bh;this.a.xColumn=null==a.Zh?null:a.Zh;this.a.yColumn=null==a.$h?null:a.$h;this.a.dateFormat=null==a.Eg?null:a.Eg;this.a.csvDelimiter=null==a.Ag?
|
|
null:a.Ag;this.a.csvQualifier=null==a.Bg?null:a.Bg};q(Ag,A);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 E(this,"charset")?C(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return E(this,"crs")?C(this,"crs"):null},set:function(a){this.a.crs=a}},Ag:{configurable:!0,enumerable:!0,get:function(){return E(this,"csvDelimiter")?C(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Bg:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"csvQualifier")?C(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Eg:{configurable:!0,enumerable:!0,get:function(){return E(this,"dateFormat")?C(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return E(this,"geodesic")?C(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Sb:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxErrorMeters")?C(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxVertices")?C(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},Bh:{configurable:!0,enumerable:!0,get:function(){return E(this,"primaryGeometryColumn")?C(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},Ya:{configurable:!0,enumerable:!0,get:function(){return E(this,"uris")?C(this,"uris"):null},set:function(a){this.a.uris=a}},Zh:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"xColumn")?C(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},$h:{configurable:!0,enumerable:!0,get:function(){return E(this,"yColumn")?C(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.Ma?null:a.Ma;this.a.marginDimensions=null==a.qf?null:a.qf;this.a.compress=null==a.Je?null:a.Je;this.a.maxSizeBytes=null==a.Tb?null:a.Tb;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.Td?null:a.Td;this.a.sequenceData=null==a.Lf?null:a.Lf;this.a.collapseBands=null==a.He?null:a.He;this.a.maxMaskedRatio=null==a.tf?null:a.tf};q(dg,A);
|
|
dg.prototype.f=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),Aa:{tensorDepths:{fa:null,la:!1,ma:!1,na:!1}},s:{marginDimensions:Wf,tileDimensions:Wf}}};
|
|
l.Object.defineProperties(dg.prototype,{He:{configurable:!0,enumerable:!0,get:function(){return E(this,"collapseBands")?C(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Je:{configurable:!0,enumerable:!0,get:function(){return E(this,"compress")?C(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return E(this,"defaultValue")?C(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},qf:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"marginDimensions")?C(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},tf:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxMaskedRatio")?C(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Tb:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxSizeBytes")?C(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"sequenceData")?C(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},Td:{configurable:!0,enumerable:!0,get:function(){return E(this,"tensorDepths")?C(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Ma:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileDimensions")?C(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.cc?null:a.cc;this.a.grid=null==a.J?null:a.J;this.a.filenamePrefix=null==a.va?null:a.va};q(Bg,A);Bg.prototype.f=function(){return{K:{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 E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},va:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"filenamePrefix")?C(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},J:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,"name")?C(this,"name"):null},set:function(a){this.a.name=a}},cc:{configurable:!0,enumerable:!0,get:function(){return E(this,"visualizationOptions")?C(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.Rf?null:a.Rf;this.a.mapsApiKey=null==a.pf?null:a.pf;this.a.tileDimensions=null==a.Ma?null:a.Ma;this.a.stride=null==a.Sf?null:a.Sf;this.a.zoomSubset=null==a.cg?null:a.cg};q(Jf,A);
|
|
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 E(this,"mapsApiKey")?C(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxZoom")?C(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return E(this,"minZoom")?C(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"scale")?C(this,"scale"):null},set:function(a){this.a.scale=a}},Rf:{configurable:!0,enumerable:!0,get:function(){return E(this,"skipEmptyTiles")?C(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return E(this,"stride")?C(this,"stride"):null},set:function(a){this.a.stride=a}},Ma:{configurable:!0,enumerable:!0,get:function(){return E(this,"tileDimensions")?C(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}},
|
|
cg:{configurable:!0,enumerable:!0,get:function(){return E(this,"zoomSubset")?C(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.Qh?null:a.Qh;this.a.subdatasetSuffix=null==a.Rh?null:a.Rh};q(hg,A);
|
|
hg.prototype.f=function(){return{R:{sources:jg},K:{dataType:Ue},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
l.Object.defineProperties(hg.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return E(this,"crs")?C(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return E(this,"dataType")?C(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return E(this,"sources")?
|
|
C(this,"sources"):null},set:function(a){this.a.sources=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return E(this,"subdatasetPrefix")?C(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return E(this,"subdatasetSuffix")?C(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.xc?null:a.xc;this.a.tilesetBandIndex=null==a.Vh?null:a.Vh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(fg,A);fg.prototype.f=function(){return{K:{pyramidingPolicy:Te},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:cg}}};
|
|
l.Object.defineProperties(fg.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return E(this,"id")?C(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return E(this,"missingData")?C(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return E(this,"pyramidingPolicy")?C(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Vh:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"tilesetBandIndex")?C(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},xc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesetId")?C(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.xc?null:a.xc;this.a.bandIds=null==a.ba?null:a.ba};q(gg,A);gg.prototype.f=function(){return{keys:["bandIds","tilesetId"]}};
|
|
l.Object.defineProperties(gg.prototype,{ba:{configurable:!0,enumerable:!0,get:function(){return E(this,"bandIds")?C(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},xc:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesetId")?C(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,A);
|
|
zf.prototype.f=function(){return{R:{sources:Dg},keys:["pathPrefix","sources"]}};l.Object.defineProperties(zf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return E(this,"pathPrefix")?C(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return E(this,"sources")?C(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.Yg?null:a.Yg};q(Dg,A);Dg.prototype.f=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
l.Object.defineProperties(Dg.prototype,{Yg:{configurable:!0,enumerable:!0,get:function(){return E(this,"headerSizeBytes")?C(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return E(this,"pathSuffix")?C(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.Lg?null:a.Lg;this.a.firstTileIndex=null==a.Ng?null:a.Ng;this.a.tilesPerFile=null==a.Uh?null:a.Uh};q(ag,A);ag.prototype.f=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
l.Object.defineProperties(ag.prototype,{Lg:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileIndexes")?C(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},Ng:{configurable:!0,enumerable:!0,get:function(){return E(this,"firstTileIndex")?C(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},Uh:{configurable:!0,enumerable:!0,get:function(){return E(this,"tilesPerFile")?C(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.ze?null:a.ze;this.a.updateMask=null==a.zc?null:a.zc};q(Eg,A);Eg.prototype.f=function(){return{keys:["asset","updateMask"],s:{asset:vf}}};
|
|
l.Object.defineProperties(Eg.prototype,{ze:{configurable:!0,enumerable:!0,get:function(){return E(this,"asset")?C(this,"asset"):null},set:function(a){this.a.asset=a}},zc:{configurable:!0,enumerable:!0,get:function(){return E(this,"updateMask")?C(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.Rb?null:a.Rb;this.a.bytesValue=null==a.qb?null:a.qb;this.a.arrayValue=null==a.Ea?null:a.Ea;this.a.dictionaryValue=null==a.Fa?null:a.Fa;this.a.functionDefinitionValue=null==a.Ta?null:a.Ta;this.a.functionInvocationValue=null==a.wa?null:a.wa;this.a.argumentReference=null==a.Kb?null:a.Kb;this.a.valueReference=null==a.ta?null:a.ta};q(af,A);
|
|
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,{Kb:{configurable:!0,enumerable:!0,get:function(){return E(this,"argumentReference")?C(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},Ea:{configurable:!0,enumerable:!0,get:function(){return E(this,"arrayValue")?C(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},qb:{configurable:!0,enumerable:!0,get:function(){return E(this,"bytesValue")?C(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},hb:{configurable:!0,
|
|
enumerable:!0,get:function(){return E(this,"constantValue")?C(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return E(this,"dictionaryValue")?C(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return E(this,"functionDefinitionValue")?C(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},wa:{configurable:!0,enumerable:!0,
|
|
get:function(){return E(this,"functionInvocationValue")?C(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},Rb:{configurable:!0,enumerable:!0,get:function(){return E(this,"integerValue")?C(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},ta:{configurable:!0,enumerable:!0,get:function(){return E(this,"valueReference")?C(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.ja?null:a.ja};q(Of,A);Of.prototype.f=function(){return{K:{fileFormat:Ve},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:uf,gcsDestination:Uf}}};
|
|
l.Object.defineProperties(Of.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return E(this,"driveDestination")?C(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ja:{configurable:!0,enumerable:!0,get:function(){return E(this,"gcsDestination")?C(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,A);Pf.prototype.f=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
l.Object.defineProperties(Pf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return E(this,"framesPerSecond")?C(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxFrames")?C(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return E(this,"maxPixelsPerFrame")?C(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.Oa?null:a.Oa;this.a.fileFormat=null==a.B?null:a.B;this.a.grid=null==a.J?null:a.J};q(Fg,A);Fg.prototype.f=function(){return{K:{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 E(this,"expression")?C(this,"expression"):null},set:function(a){this.a.expression=a}},B:{configurable:!0,enumerable:!0,get:function(){return E(this,"fileFormat")?C(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},J:{configurable:!0,enumerable:!0,get:function(){return E(this,"grid")?C(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"name")?C(this,"name"):null},set:function(a){this.a.name=a}},Oa:{configurable:!0,enumerable:!0,get:function(){return E(this,"videoOptions")?C(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.Df?null:a.Df;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,A);
|
|
Cf.prototype.f=function(){return{R:{ranges:tf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
l.Object.defineProperties(Cf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return E(this,"gamma")?C(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return E(this,"opacity")?C(this,"opacity"):null},set:function(a){this.a.opacity=a}},Zc:{configurable:!0,enumerable:!0,get:function(){return E(this,"paletteColors")?C(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},Df:{configurable:!0,enumerable:!0,get:function(){return E(this,
|
|
"ranges")?C(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,A);Cg.prototype.f=function(){return{keys:["max","min"]}};
|
|
l.Object.defineProperties(Cg.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return E(this,"max")?C(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return E(this,"min")?C(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 G(this.h,{body:null,u:"GET",C:"earthengine.projects.algorithms.list",path:"/"+this.j+"/"+a+"/algorithms",o:F(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 G(this.h,{body:null,u:"GET",C:"earthengine.projects.getCapabilities",path:"/"+this.j+"/"+a+"/capabilities",o:F(b),F:hf})};
|
|
Hg.prototype.Uc=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:F(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 G(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.create",path:"/"+this.j+"/"+a+"/assets",o:F(c),F:vf})};
|
|
k.delete=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:null,u:"DELETE",C:"earthengine.projects.assets.delete",path:"/"+this.j+"/"+a,o:F(b),F:Df})};k.get=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.assets.get",path:"/"+this.j+"/"+a,o:F(b),F:vf})};
|
|
k.link=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.link",path:"/"+this.j+"/"+a+":link",o:F(c),F:vf})};k.Uc=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.assets.listAssets",path:"/"+this.j+"/"+a+":listAssets",o:F(b),F:og})};
|
|
var Jg=function(a,b,c){c=void 0===c?{}:c;a.h.A(b,/^projects\/[^/]+\/assets\/.*$/);return G(a.h,{body:null,u:"GET",C:"earthengine.projects.assets.listImages",path:"/"+a.j+"/"+b+":listImages",o:F(c),F:pg})};Ig.prototype.move=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/assets\/.*$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.assets.move",path:"/"+this.j+"/"+a+":move",o:F(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 G(this.h,{body:b,u:"POST",C:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.j+"/"+a+"/filmstripThumbnails",o:F(c),F:Rf})};var Lg=function(a){this.j="v1alpha";this.h=new se(a,null)};Lg.prototype.jb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.image.export",path:"/"+this.j+"/"+a+"/image:export",o:F(c),F:rg})};
|
|
Lg.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.image.import",path:"/"+this.j+"/"+a+"/image:import",o:F(c),F:rg})};var Mg=function(a){this.j="v1alpha";this.h=new se(a,null)};Mg.prototype.jb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.map.export",path:"/"+this.j+"/"+a+"/map:export",o:F(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 G(this.h,{body:b,u:"POST",C:"earthengine.projects.maps.create",path:"/"+this.j+"/"+a+"/maps",o:F(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 G(this.h,{body:b,u:"POST",C:"earthengine.projects.operations.cancel",path:"/"+this.j+"/"+a+":cancel",o:F(c),F:Df})};k.delete=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return G(this.h,{body:null,u:"DELETE",C:"earthengine.projects.operations.delete",path:"/"+this.j+"/"+a,o:F(b),F:Df})};
|
|
k.get=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.operations.get",path:"/"+this.j+"/"+a,o:F(b),F:rg})};k.list=function(a,b){b=void 0===b?{}:b;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",C:"earthengine.projects.operations.list",path:"/"+this.j+"/"+a+"/operations",o:F(b),F:qg})};
|
|
k.wait=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+\/operations\/.*$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.operations.wait",path:"/"+this.j+"/"+a+":wait",o:F(c),F:rg})};var Pg=function(a){this.j="v1alpha";this.h=new se(a,null)};Pg.prototype.jb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.table.export",path:"/"+this.j+"/"+a+"/table:export",o:F(c),F:rg})};
|
|
Pg.prototype.import=function(a,b,c){c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.table.import",path:"/"+this.j+"/"+a+"/table:import",o:F(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 G(this.h,{body:b,u:"POST",C:"earthengine.projects.tables.create",path:"/"+this.j+"/"+a+"/tables",o:F(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 G(this.h,{body:b,u:"POST",C:"earthengine.projects.thumbnails.create",path:"/"+this.j+"/"+a+"/thumbnails",o:F(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 G(a.h,{body:c,u:"POST",C:"earthengine.projects.value.compute",path:"/"+a.j+"/"+b+"/value:compute",o:F(d),F:mf})},Ug=function(a){this.j="v1alpha";this.h=new se(a,null)};
|
|
Ug.prototype.jb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.video.export",path:"/"+this.j+"/"+a+"/video:export",o:F(c),F:rg})};var Vg=function(a){this.j="v1alpha";this.h=new se(a,null)};Vg.prototype.jb=function(a,b){var c=void 0===c?{}:c;this.h.A(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",C:"earthengine.projects.videoMap.export",path:"/"+this.j+"/"+a+"/videoMap:export",o:F(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 G(this.h,{body:b,u:"POST",C:"earthengine.projects.videoThumbnails.create",path:"/"+this.j+"/"+a+"/videoThumbnails",o:F(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.Kj=100;this.zj=a;this.Vj=b;this.Jd=0;this.ka=null};Yg.prototype.get=function(){if(0<this.Jd){this.Jd--;var a=this.ka;this.ka=a.next;a.next=null}else a=this.zj();return a};Yg.prototype.put=function(a){this.Vj(a);this.Jd<this.Kj&&(this.Jd++,a.next=this.ka,this.ka=a)};var Zg=!uc||9<=Number(Hc),$g=!wc&&!uc||uc&&9<=Number(Hc)||wc&&Ec("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){Eb(b,function(c,d){c&&"object"==typeof c&&c.gf&&(c=c.bf());"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="',oc(d.name),'"');if(d.type){c.push(' type="',oc(d.type),'"');var e={};Tb(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(Aa(f)){g="function"==typeof f.item;break a}}g=!1}Ya(g?lb(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){y(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.yj=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){y(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.Ug=function(){return $g&&void 0!=(void 0).children?(void 0).children:Za((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&&!Db("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=v(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&&!Db("Trident")&&!Db("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.sg;c.sg=null;e()}};return function(e){d.next={sg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};var ph=function(){this.ce=this.dc=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.ce?this.ce.next=c:(y(!this.dc),this.dc=c);this.ce=c};ph.prototype.remove=function(){var a=null;this.dc&&(a=this.dc,this.dc=this.dc.next,this.dc||(this.ce=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;!Aa(r.setImmediate)||r.Window&&r.Window.prototype&&!Db("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.W=0;this.sa=void 0;this.ic=this.gb=this.O=null;this.Ad=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.pc=this.Vb=this.Lb=null;this.md=!1};Ch.prototype.reset=function(){this.context=this.pc=this.Vb=this.Lb=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.Vb=a;d.pc=b;d.context=c;return d};Bh.prototype.then=function(a,b,c){null!=a&&Ua(a,"opt_onFulfilled should be a function.");null!=b&&Ua(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Fh(this,Aa(a)?a:null,Aa(b)?b:null,c)};Bh.prototype.$goog_Thenable=!0;
|
|
Bh.prototype.cancel=function(a){if(0==this.W){var b=new Ah(a);wh(function(){Gh(this,b)},this)}};
|
|
var Gh=function(a,b){if(0==a.W)if(a.O){var c=a.O;if(c.gb){for(var d=0,e=null,f=null,g=c.gb;g&&(g.md||(d++,g.Lb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.W&&1==d?Gh(c,b):(f?(d=f,y(c.gb),y(null!=d),d.next==c.ic&&(c.ic=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.gb||2!=a.W&&3!=a.W||Jh(a);y(null!=b.Vb);a.ic?a.ic.next=b:a.gb=b;a.ic=b},Fh=function(a,b,c,d){var e=Eh(null,null,null);e.Lb=new Bh(function(f,g){e.Vb=b?function(h){try{var n=b.call(d,h);f(n)}catch(p){g(p)}}:
|
|
f;e.pc=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.Lb.O=a;Kh(a,e);return e.Lb};Bh.prototype.ck=function(a){y(1==this.W);this.W=0;zh(this,2,a)};Bh.prototype.dk=function(a){y(1==this.W);this.W=0;zh(this,3,a)};
|
|
var zh=function(a,b,c){if(0==a.W){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.W=1;a:{var d=c,e=a.ck,f=a.dk;if(d instanceof Bh){null!=e&&Ua(e,"opt_onFulfilled should be a function.");null!=f&&Ua(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(Aa(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.W=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.Cj,a))},Hh=function(a){var b=null;a.gb&&(b=a.gb,a.gb=b.next,b.next=null);a.gb||(a.ic=null);null!=b&&y(null!=b.Vb);return b};Bh.prototype.Cj=function(){for(var a;a=Hh(this);)Ih(this,a,this.W,this.sa);this.Ue=!1};
|
|
var Ih=function(a,b,c,d){if(3==c&&b.pc&&!b.md)for(;a&&a.Ad;a=a.O)a.Ad=!1;if(b.Lb)b.Lb.O=null,Nh(b,c,d);else try{b.md?b.Vb.call(b.context):Nh(b,c,d)}catch(e){Oh.call(null,e)}Dh.put(b)},Nh=function(a,b,c){2==b?a.Vb.call(a.context,c):a.pc&&a.pc.call(a.context,c)},Mh=function(a,b){a.Ad=!0;wh(function(){a.Ad&&Oh.call(null,b)})},Oh=mh,Ah=function(a){Na.call(this,a)};x(Ah,Na);Ah.prototype.name="cancel";var Ph=function(a,b,c){if(Aa(a))c&&(a=v(a,c));else if(a&&"function"==typeof a.handleEvent)a=v(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){Ka.call(this);this.Lj=null!=c?a.bind(c):a;this.Ij=b;this.nd=null;this.wc=!1;this.$c=0;this.ac=null};q(Qh,Ka);k=Qh.prototype;k.Xe=function(a){this.nd=arguments;this.ac||this.$c?this.wc=!0:Rh(this)};k.stop=function(){this.ac&&(r.clearTimeout(this.ac),this.ac=null,this.wc=!1,this.nd=null)};k.pause=function(){this.$c++};k.resume=function(){this.$c--;this.$c||!this.wc||this.ac||(this.wc=!1,Rh(this))};k.G=function(){Ka.prototype.G.call(this);this.stop()};
|
|
var Rh=function(a){a.ac=Ph(function(){a.ac=null;a.wc&&!a.$c&&(a.wc=!1,Rh(a))},a.Ij);var b=a.nd;a.nd=null;a.Lj.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.Pd=[];this.th=b;this.Fg=a||null;this.Pc=this.mc=!1;this.sa=void 0;this.Pf=this.mg=this.Be=!1;this.Yd=0;this.O=null;this.Ce=0};Th.prototype.cancel=function(a){if(this.mc)this.sa instanceof Th&&this.sa.cancel();else{if(this.O){var b=this.O;delete this.O;a?b.cancel(a):(b.Ce--,0>=b.Ce&&b.cancel())}this.th?this.th.call(this.Fg,this):this.Pf=!0;this.mc||Uh(this,new Vh(this))}};Th.prototype.vg=function(a,b){this.Be=!1;Wh(this,a,b)};
|
|
var Wh=function(a,b,c){a.mc=!0;a.sa=c;a.Pc=!b;Xh(a)},Zh=function(a){if(a.mc){if(!a.Pf)throw new Yh(a);a.Pf=!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){y(!(a instanceof Th),"An execution sequence may not be initiated with a blocking Deferred.")},ai=function(a,b,c){y(!a.mg,"Blocking Deferreds can not be re-used");a.Pd.push([b,c,void 0]);a.mc&&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 ab(a.Pd,function(b){return Aa(b[1])})},Xh=function(a){if(a.Yd&&a.mc&&bi(a)){var b=a.Yd,c=ci[b];c&&(r.clearTimeout(c.da),delete ci[b]);a.Yd=0}a.O&&(a.O.Ce--,delete a.O);b=a.sa;for(var d=c=!1;a.Pd.length&&!a.Be;){var e=a.Pd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Pc?g:f)try{var h=f.call(e||a.Fg,b);void 0!==h&&(a.Pc=a.Pc&&(h==b||h instanceof Error),a.sa=b=h);if(yh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Be=!0}catch(n){b=n,a.Pc=!0,bi(a)||(c=!0)}}a.sa=b;d&&
|
|
(h=v(a.vg,a,!0),d=v(a.vg,a,!1),b instanceof Th?(ai(b,h,d),b.mg=!0):b.then(h,d));c&&(b=new di(b),ci[b.da]=b,a.Yd=b.da)},Yh=function(){Na.call(this)};x(Yh,Na);Yh.prototype.message="Deferred has already fired";Yh.prototype.name="AlreadyCalledError";var Vh=function(){Na.call(this)};x(Vh,Na);Vh.prototype.message="Deferred was canceled";Vh.prototype.name="CanceledError";var di=function(a){this.da=r.setTimeout(v(this.bk,this),0);this.wd=a};
|
|
di.prototype.bk=function(){y(ci[this.da],"Cannot throw an error that is not scheduled.");delete ci[this.da];throw this.wd;};var ci={};var hi=function(a){var b={},c=b.document||document,d=bc(a).toString(),e=gh(document,"SCRIPT"),f={Kh: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.jk||!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||{};Tb(f,{type:"text/javascript",charset:"UTF-8"});dh(e,f);mc(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.Kh){var a=this.Kh;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);Na.call(this,c);this.code=a};x(fi,Na);var ji=function(a){return(new ii(void 0)).V(a)},ii=function(a){this.Nd=a};ii.prototype.V=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.Nd?a.Nd.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.Nd?a.Nd.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.Jg=null;var pi=0;oi.prototype.reset=function(a,b,c,d,e){"number"==typeof e||pi++;d||Ia();this.Tc=a;delete this.Jg};oi.prototype.Mh=function(a){this.Tc=a};var qi=function(a){this.Qj=a;this.Xg=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.Ug=function(){this.Fe||(this.Fe={});return this.Fe};qi.prototype.Mh=function(a){this.Tc=a};
|
|
var wi=function(a){if(a.Tc)return a.Tc;if(a.O)return wi(a.O);Ra("Root logger has no level set.");return null};qi.prototype.log=function(a,b,c){if(a.value>=wi(this).value)for(Aa(b)&&(b=b()),a=new oi(a,String(b),this.Qj),c&&(a.Jg=c),c=this;c;){var d=c,e=a;if(d.Xg)for(var f=0;b=d.Xg[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.Mh(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.Ug()[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.qg=null;var Ei=function(a){var b;(b=a.qg)||(b={},Di(a)&&(b[0]=!0,b[1]=!0),b=a.qg=b);return b};var Fi,Gi=function(){};x(Gi,Ci);var Hi=function(a){return(a=Di(a))?new ActiveXObject(a):new XMLHttpRequest},Di=function(a){if(!a.bh&&"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.bh=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.bh};Fi=new Gi;var Ii=function(a){z.call(this);this.headers=new rd;this.fe=a||null;this.Da=!1;this.de=this.m=null;this.Sc=this.kh=this.Gd="";this.Qb=this.hf=this.Ed=this.Se=!1;this.yc=0;this.Vd=null;this.uc="";this.$d=this.Tj=this.Yh=!1};x(Ii,z);var Ji=Ii.prototype,Ki=zi("goog.net.XhrIo");Ji.oa=Ki;var Li=/^https?$/i,Mi=["POST","PUT"],Ni=[];Ii.prototype.xj=function(){this.Qa();jb(Ni,this)};
|
|
Ii.prototype.send=function(a,b,c,d){if(this.m)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Gd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Gd=a;this.Sc="";this.kh=b;this.Se=!1;this.Da=!0;this.m=this.fe?Hi(this.fe):Hi(Fi);this.de=this.fe?Ei(this.fe):Ei(Fi);this.m.onreadystatechange=v(this.wh,this);this.Tj&&"onprogress"in this.m&&(this.m.onprogress=v(function(f){this.vh(f,!0)},this),this.m.upload&&(this.m.upload.onprogress=v(this.vh,this)));try{Ai(this.oa,Oi(this,"Opening Xhr")),
|
|
this.hf=!0,this.m.open(b,String(a),!0),this.hf=!1}catch(f){Ai(this.oa,Oi(this,"Error opening Xhr: "+f.message));this.wd(5,f);return}a=c||"";var e=this.headers.clone();d&&yd(d,function(f,g){e.set(g,f)});d=fb(e.Ja());c=r.FormData&&a instanceof r.FormData;!gb(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.uc&&(this.m.responseType=this.uc);"withCredentials"in this.m&&this.m.withCredentials!==this.Yh&&
|
|
(this.m.withCredentials=this.Yh);try{Pi(this),0<this.yc&&(this.$d=Qi(this.m),Ai(this.oa,Oi(this,"Will abort after "+this.yc+"ms if incomplete, xhr2 "+this.$d)),this.$d?(this.m.timeout=this.yc,this.m.ontimeout=v(this.ed,this)):this.Vd=Ph(this.ed,this.yc,this)),Ai(this.oa,Oi(this,"Sending request")),this.Ed=!0,this.m.send(a),this.Ed=!1}catch(f){Ai(this.oa,Oi(this,"Send error: "+f.message)),this.wd(5,f)}};
|
|
var Qi=function(a){return uc&&Ec(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},db=function(a){return"content-type"==a.toLowerCase()};Ii.prototype.ed=function(){"undefined"!=typeof sa&&this.m&&(this.Sc="Timed out after "+this.yc+"ms, aborting",Ai(this.oa,Oi(this,this.Sc)),this.dispatchEvent("timeout"),this.abort(8))};Ii.prototype.wd=function(a,b){this.Da=!1;this.m&&(this.Qb=!0,this.m.abort(),this.Qb=!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.Da&&(Ai(this.oa,Oi(this,"Aborting")),this.Da=!1,this.Qb=!0,this.m.abort(),this.Qb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ti(this))};Ii.prototype.G=function(){this.m&&(this.Da&&(this.Da=!1,this.Qb=!0,this.m.abort(),this.Qb=!1),Ti(this,!0));Ii.L.G.call(this)};Ii.prototype.wh=function(){this.Ra||(this.hf||this.Ed||this.Qb?Ui(this):this.Sj())};
|
|
Ii.prototype.Sj=function(){Ui(this)};
|
|
var Ui=function(a){if(a.Da&&"undefined"!=typeof sa)if(a.de[1]&&4==a.tb()&&2==a.getStatus())Ai(a.oa,Oi(a,"Local request error detected and ignored"));else if(a.Ed&&4==a.tb())Ph(a.wh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.tb()){Ai(a.oa,Oi(a,"Request complete"));a.Da=!1;try{var b=a.getStatus(),c;if(!(c=Bi(b))){var d;if(d=0===b){var e=String(a.Gd).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.tb()?a.m.statusText:""}catch(h){Ai(a.oa,"Can not get status: "+h.message),g=""}a.Sc=g+" ["+a.getStatus()+"]";Si(a)}}finally{Ti(a)}}};Ii.prototype.vh=function(a,b){y("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){Pi(a);var c=a.m,d=a.de[0]?wa:null;a.m=null;a.de=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.oa)&&a.log(si,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Pi=function(a){a.m&&a.$d&&(a.m.ontimeout=null);a.Vd&&(r.clearTimeout(a.Vd),a.Vd=null)};Ii.prototype.hh=function(){return!!this.m};
|
|
Ii.prototype.tb=function(){return this.m?this.m.readyState:0};Ii.prototype.getStatus=function(){try{return 2<this.tb()?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.uc){case "":case "text":return a.m.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.m)return a.m.mozResponseArrayBuffer}var b=a.oa;b&&b.log(si,"Response type "+a.uc+" is not supported on this browser",void 0);return null}catch(c){return Ai(a.oa,"Can not get response: "+c.message),null}};
|
|
Ii.prototype.getResponseHeader=function(a){if(this.m&&4==this.tb())return a=this.m.getResponseHeader(a),null===a?void 0:a};Ii.prototype.getAllResponseHeaders=function(){return this.m&&4==this.tb()?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=pc(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 Gb(b,function(g){return g.join(", ")})},Oi=function(a,b){return b+" ["+a.kh+" "+a.Gd+" "+a.getStatus()+"]"};var Yi,Zi=/^\/(table).*/,H=function(a,b){$i();this.callback=a;this.P=new aj(!a,b)},I=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=H.prototype;k.Cc=function(){return new Gg(this.P)};k.assets=function(){return new Ig(this.P)};k.Ka=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.Hh=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=J(a.o||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=K(e,f,void 0,a.u,g,this.Hh);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){K(e,f,function(t,B){B?p(B):n(t)},a.u,g,c.Hh)})).then(function(n){return b?Md(b,n):n})};var ej=function(a){H.call(this,a);this.P=new dj};q(ej,H);
|
|
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?(K(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(K(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(L&&"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<=Ia()-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);L&&(Yi=
|
|
Yi||"earthengine-legacy");sj=!0},K=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(L&&!n){var p="0.1.232";"0.1.232"===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(){K(a,b,c,d)})}),null;b=b?b.clone():new be;null!=xj&&b.add("key",xj);L?(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(D,ba){this.setRequestHeader&&this.setRequestHeader(ba,D)};var t=0;for(f=null!=f?f:5;;){var B=Hi(Fi);B.open(d,
|
|
e,!1);Eb(h,p,B);B.send(n);if(429!=B.status||t>f)break;t++}return Dj(B.status,function(D){try{return B.getResponseHeader(D)}catch(ba){return null}},B.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 B=Dj,D=t.getStatus(),ba=v(t.getResponseHeader,t);try{var Ca=t.m?t.m.responseText:
|
|
""}catch(T){Ai(t.oa,"Can not get responseText: "+T.message),Ca=""}return B(D,ba,Ca,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 L?T:T.data},p=function(T){try{var eb=JSON.parse(T);return u(eb)&&"error"in eb&&"message"in eb.error?eb.error.message:{parsed:eb}}catch(Jb){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},B;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=p(c),b.parsed){var D=n(b.parsed);void 0===D&&(B="Malformed response: "+c)}else B=b;else if("multipart/mixed"===d){D={};var ba=[];gj(b,c,function(T,eb,Jb){Jb=p(Jb);Jb.parsed&&(D[T]=n(Jb.parsed));(eb=(Jb.parsed?"":Jb)||t(eb))&&ba.push(T+": "+eb)});ba.length&&(B=ba.join("\n"))}else var Ca="Response was unexpectedly not JSON, but "+
|
|
d;B=B||t(a)||Ca;if(e)return e(D,B),null;if(!B)return D;throw Error(B);},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)&&"function"===typeof r.gapi.auth.authorize)b();else{for(var c=Ia().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};hi(gc({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=Ia()+c}qj=b;a&&a()}else b&&b(c.error||"Unknown error.")},J=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;Ni.push(g);c&&g.Ua("complete",c);g.Wc("ready",g.xj);f&&(g.yc=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=Ub,qj=null,oj=null,jj=null,kj=[],ij=null,cc=new Yb(Wb,"https://apis.google.com/js/client.js?onload=%{onload}"),xj=null,L=!0,sj=!1,Ej=0,vj=null;w("ee.api.ListAssetsResponse",og);w("ee.api.EarthEngineAsset",vf);w("ee.api.ListImagesResponse",pg);w("ee.api.Image",$f);w("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({ta:a})},Ij=function(a){return new af({Ea:new $e({values:a})})},Jj=function(a){return new af({Fa:new sf({values:a})})},Kj=function(a,b){return new af({wa:new Tf({functionName:a,arguments:b})})},Lj=function(a,b){return new af({wa:new Tf({xa:a,arguments:b})})},Mj=function(a,b){return new af({Ta:new Sf({hc: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.Df=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.Hf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&(h.deprecated=g.Pe);g.sourceCodeUri&&(h.sourceCodeUri=g.sourceCodeUri);return h},d={};a=m(a.Cc||[]);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.Ca&&(c["system:asset_size"]=Number(a.Ca));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.Na&&(b.version=1E3*Date.parse(a.Na));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.J.Oe,dimensions:void 0,crs_transform:void 0};if(d.J){if(null!=d.J.Jb){var f=d.J.Jb;e.crs_transform=[f.If||0,f.Nf||0,f.$f||0,f.Of||0,f.Jf||0,f.ag||0]}null!=d.J.dimensions&&
|
|
(e.dimensions=[d.J.dimensions.width,d.J.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.Ca=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.vc]=f.Ub});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=[{vc:"roles/owner",Ub:b("owners")},{vc:"roles/viewer",Ub:b("readers").concat(c)},{vc:"roles/editor",Ub:b("writers")}].map(function(d){return new ef(d)});return new wg({pd:b.filter(function(d){return d.Ub.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.Ne);c("update_timestamp_ms",e.Na);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.Qe;b.source_url=e.Kf;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.Ya=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=qb((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({xc: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.Ya=pk(e);e.maxError&&(f.Sb=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.pb=-1};var vk=function(){this.pb=64;this.Y=Array(4);this.uj=Array(this.pb);this.Xd=this.Ec=0;this.reset()};x(vk,uk);vk.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Xd=this.Ec=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.pb,d=this.uj,e=this.Ec,f=0;f<b;){if(0==e)for(;f<=c;)wk(this,a,f),f+=this.pb;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.pb){wk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.pb){wk(this,d);e=0;break}}this.Ec=e;this.Xd+=b};
|
|
vk.prototype.digest=function(){var a=Array((56>this.Ec?this.pb:2*this.pb)-this.Ec);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Xd;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.Fd=!1!==a;this.Wa=[];this.ua={};this.bg=[];this.Cd=new WeakMap};w("ee.Serializer",xk);var yk=new ii,zk=new vk,Bk=function(a,b){return Ak(new xk(void 0!==b?b:!0),a)};w("ee.Serializer.encode",Bk);var Ck=function(a){return yk.V(Bk(a))};w("ee.Serializer.toJSON",Ck);var Ek=function(a){return Dk(Bk(a,!1))};w("ee.Serializer.toReadableJSON",Ek);
|
|
var Dk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):yk.V(a)},Ak=function(a,b){b=a.vd(b);a.Fd&&(b=u(b)&&"ValueRef"==b.type&&1==a.Wa.length?a.Wa[0][1]:{type:"CompoundValue",scope:a.Wa,value:b},a.Wa=[],Ya(a.bg,v(function(c){delete c[this.kd]},a)),a.bg=[],a.ua={});return b};
|
|
xk.prototype.vd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=u(a)?a[this.kd]:null;if(this.Fd&&null!=b&&this.ua[b])return{type:"ValueRef",value:this.ua[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(v(this.vd,this));if(!(Array.isArray(c)||u(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
$a(a,function(e){return this.vd(e)},this);else if(u(a)&&"function"!==typeof a)c=Gb(a,function(e){if("function"!==typeof e)return this.vd(e)},this),Pb(c,this.kd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Fd){b=Fk(c);if(this.ua[b])var d=this.ua[b];else d=String(this.Wa.length),this.Wa.push([d,c]),this.ua[b]=d;a[this.kd]=b;this.bg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var Fk=function(a){zk.reset();zk.update(yk.V(a));return zk.digest().toString()},Hk=function(a){return Nd(Gk(a),Jd,Kd,Ld)};w("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.hc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.xa?{arguments:Gb(h.arguments,c),functionReference:c(b[h.xa])}:
|
|
"constantValue"===g?h===Hd?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",Jk);var Kk=function(a){return yk.V(Hk(a))};w("ee.Serializer.toCloudApiJSON",Kk);var Lk=function(a){return Dk(Jk(a))};w("ee.Serializer.toReadableCloudApiJSON",Lk);
|
|
var Ik=function(a,b){try{var c=Mk(a,b),d=new Nk(c,a.Wa,a.Fd),e=Ok(d,d.Jh);return new lf({result:e,values:d.yh})}finally{a.Cd=new WeakMap,a.ua={},a.Wa=[]}},Mk=function(a,b){var c=function(e){var f=Fk(e);u(b)&&a.Cd.set(b,f);if(a.ua[f])return a.ua[f];var g=String(a.Wa.length);a.Wa.push([g,e]);return a.ua[f]=g};if(u(b)&&a.ua[a.Cd.get(b)])return a.ua[a.Cd.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.ha(function(e){return Mk(a,e)}));if(Array.isArray(b))return c(Ij(b.map(function(e){return Hj(Mk(a,e))})));if(u(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Hj(Mk(a,b[e]))});return c(Jj(d))}throw Error("Can't encode object: "+b);},Nk=function(a,b,c){var d=this;this.Jh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Dh=c?Pk(this):null;this.yh={};this.Ef={};this.Rj=0},Ok=function(a,b){if(b in a.Ef)return a.Ef[b];
|
|
var c=String(a.Rj++);a.Ef[b]=c;a.yh[c]=Qk(a,a.values[b],0);return c},Qk=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.Rb||null!=b.qb||null!=b.Kb)return b;if(null!=b.ta)return d=a.values[b.ta],null===a.Dh||50>c&&1===a.Dh[b.ta]?Qk(a,d,c):Rk(d)?d:Hj(Ok(a,b.ta));if(null!=b.Ea){var f=b.Ea.values.map(function(p){return Qk(a,p,c+3)});return f.every(d)?Gj(f.map(function(p){return e(p.hb)})):Ij(f)}if(null!=b.Fa){f={};var g={};b=m(Object.entries(b.Fa.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]=Qk(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.Ta)return d=b.Ta,Mj(d.hc||[],Ok(a,d.body||""));if(null!=b.wa){d=b.wa;f={};g=m(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Qk(a,d.arguments[b],c+3);return d.functionName?Kj(d.functionName,f):Lj(Ok(a,d.xa||""),f)}throw Error("Can't optimize value: "+b);},Rk=function(a){var b=
|
|
a.hb;return null!==b?b===Hd||"number"===typeof b||"boolean"===typeof b:null!=a.Kb},Pk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Ea?e.Ea.values.forEach(d):null!=e.Fa?Object.values(e.Fa.values).forEach(d):null!=e.Ta?c(e.Ta.body):null!=e.wa?(e=e.wa,null!=e.xa&&c(e.xa),Object.values(e.arguments).forEach(d)):null!=e.ta&&c(e.ta)};c(a.Jh);return b};var Xk=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:Sk(a.description),ia:null,fb:null,selectors:b,Sb:Tk(a.maxErrorMeters),requestId:Sk(a.id),U:Tk(a.maxWorkers)});var c=Uk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Mf({ja:null,ga:null,B:Oj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ja=Vk(a):d.ga=Wk(a);b.ia=d;break;case "ASSET":b.fb=new Lf({Nb:new Af({name:Zj(a.assetId)})});
|
|
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Sk(a){return null!=a?String(a):null}function Tk(a){return null!=a?Number(a):null}
|
|
var Uk=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},Zk=function(a){var b=new dg({Je:!!a.tfrecordCompressed,Tb:Sk(a.tfrecordMaxFileSize),Lf:!!a.tfrecordSequenceData,He:!!a.tfrecordCollapseBands,tf:Tk(a.tfrecordMaskedThreshold),defaultValue:Tk(a.tfrecordDefaultValue),Ma:Yk(a.tfrecordPatchDimensions),qf:Yk(a.tfrecordKernelSize),Td:null});a=a.tfrecordTensorDepths;if(null!=a)if(u(a)){var c={};Eb(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.Td=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},$k=function(a,b){var c=new Gf({ja:null,ga:null,xd:null,Ud: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,
|
|
Qf:!!a.tiffSkipEmptyFiles,Ma:Yk(a.fileDimensions||a.tiffFileDimensions)});c.xd=d}else"TF_RECORD_IMAGE"===c.B&&(c.Ud=Zk(a));"GOOGLE_CLOUD_STORAGE"===b?c.ja=Vk(a):c.ga=Wk(a);return c},al=function(a,b){var c=new Of({ja:null,ga:null,B:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ja=Vk(a):c.ga=Wk(a);return c},bl=function(a){var b=Tk(a.maxZoom),c=Tk(a.scale),d=Tk(a.minZoom),e=!!a.skipEmptyTiles,f=Sk(a.mapsApiKey),g=Yk(a.tileDimensions),h=Tk(a.stride);var n=Tk(a.minTimeMachineZoomSubset);a=Tk(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,Rf:e,pf:f,Ma:g,Sf:h,cg:n})},Yk=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},Vk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Uf({De:Sk(a.outputBucket),va:Sk(a.outputPrefix),Ee:a.bucketCorsUris||null,permissions:b})},Wk=function(a){return new uf({Ze:Sk(a.driveFolder),va:Sk(a.driveFileNamePrefix)})};var dl=function(a,b){this.eb=a;this.ae=b;this.l={};this.Dc=!0;if(0<this.eb.length){for(a=0;a<this.eb.length;a++){b=this.eb[a];var c=b[0];this.l[c.toString()]=new cl(c,b[1])}this.Dc=!0}},el=function(a){if(a.Dc){if(a.ae){var b=a.l,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].Ac;d&&el(d)}}}else{a.eb.length=0;b=fl(a);b.sort();for(c=0;c<b.length;c++){var e=a.l[b[c]];(d=e.Ac)&&el(d);a.eb.push([e.key,e.value])}a.Dc=!0}return a.eb};k=dl.prototype;k.getLength=function(){return fl(this).length};
|
|
k.clear=function(){this.l={};this.Dc=!1};k.entries=function(){var a=[],b=fl(this);b.sort();for(var c=0;c<b.length;c++){var d=this.l[b[c]];a.push([d.key,gl(this,d)])}return new hl(a)};k.keys=function(){var a=[],b=fl(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.l[b[c]].key);return new hl(a)};k.values=function(){var a=[],b=fl(this);b.sort();for(var c=0;c<b.length;c++)a.push(gl(this,this.l[b[c]]));return new hl(a)};
|
|
k.forEach=function(a,b){var c=fl(this);c.sort();for(var d=0;d<c.length;d++){var e=this.l[c[d]];a.call(b,gl(this,e),e.key,this)}};k.set=function(a,b){var c=new cl(a);this.ae?(c.Ac=b,c.value=el(b)):c.value=b;this.l[a.toString()]=c;this.Dc=!1;return this};var gl=function(a,b){return a.ae?(b.Ac||(b.Ac=new a.ae(b.value)),b.Ac):b.value};dl.prototype.get=function(a){if(a=this.l[a.toString()])return gl(this,a)};dl.prototype.has=function(a){return a.toString()in this.l};
|
|
var fl=function(a){a=a.l;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},cl=function(a,b){this.key=a;this.value=b;this.Ac=void 0},hl=function(a){this.ah=0;this.eb=a};hl.prototype.next=function(){return this.ah<this.eb.length?{done:!1,value:this.eb[this.ah++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&"undefined"!=typeof Symbol.iterator&&(hl.prototype[Symbol.iterator]=function(){return this});Object.freeze&&Object.freeze([]);var jl=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];L&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(mb(f,d),ob(f));rj(a,f);null===a?pj():lj(function(){nj(b,c,e||Ha(il,b,c))})};w("ee.data.authenticateViaOauth",jl);var kl=function(a,b,c,d,e){jl(a,b,c,d,e)};w("ee.data.authenticate",kl);var il=function(a,b){r.gapi.auth.authorize({client_id:jj,immediate:!1,scope:kj.join(" ")},Ha(mj,a,b))};w("ee.data.authenticateViaPopup",il);
|
|
var ll=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"];L&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(mb(e,d),ob(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)};w("ee.data.authenticateViaPrivateKey",ll);var ml=[];ml.push("setApiKey");ml.push("setProject");ml.push("getProject");ml.push("setCloudApiEnabled");ml.push("getCloudApiEnabled");w("ee.data.setExpressionAugmenter",function(a){nl=a||Ub});var nl=Ub;
|
|
w("ee.data.setAuthToken",function(a,b,c,d,e,f,g){var h=["https://www.googleapis.com/auth/earthengine"];L&&h.push("https://www.googleapis.com/auth/cloud-platform");e&&(mb(h,e),ob(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()})});w("ee.data.refreshAuthToken",nj);w("ee.data.setAuthTokenRefresher",function(a){ij=a});w("ee.data.getAuthToken",fj);w("ee.data.clearAuthToken",pj);
|
|
w("ee.data.getAuthClientId",function(){return jj});w("ee.data.getAuthScopes",function(){return kj});w("ee.data.setDeadline",function(a){Ej=a});w("ee.data.setParamAugmenter",function(a){yj=a||Ub});
|
|
var ol=function(a){if(L)return a=new H(a),I(a,a.Cc().list(bj(),{prettyPrint:!1}).then(Uj));var b=K("/algorithms",null,a,"GET");return a?null:b},ql=function(a,b){if(L){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:nl(Gk(a.image)),B:Nj(a.format),ba:Qj(a.bands),cc:Tj(a)});var c=new H(b);return I(c,c.maps().create(bj(),a,{fields:["name"]}).then(function(e){return pl(e.name,
|
|
"")}))}a=Qb(a);"string"!==typeof a.image&&(a.image=a.image.V(!0));var d=function(e){return pl(e.mapid,e.token)};return b?(K("/mapid",J(a),function(e,f){return b(e&&d(e),f)}),null):d(K("/mapid",J(a)))};w("ee.data.getMapId",ql);var rl=function(a,b,c,d){if(!a.formatTileUrl){var e=pl(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",rl);
|
|
var pl=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}},sl=function(a,b){if(L)return a=nl(Gk(a)),b=new H(b),I(b,Tg(b.value(),bj(),new kf({i:a})).then(function(c){return c.result}));a={json:Ck(a)};return K("/value",J(a),b)};
|
|
w("ee.data.computeValue",sl);
|
|
var tl=function(a,b){if(L){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:nl(Gk(a.image)),B:Nj(a.format),va:a.name,ba:Qj(a.bands),
|
|
cc:Tj(a),J:null});b=new H(b);return I(b,(new Rg(b.P)).create(bj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=Qb(a);Array.isArray(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));var c=a.image||a.imageCollection;"string"!==typeof c&&(c=c.V(!0));a.image=c;delete a.imageCollection;a=J(a).add("getid","1");return K("/thumb",a,b)};w("ee.data.getThumbId",tl);
|
|
var ul=function(a,b){if(!L)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:nl(Gk(a.imageCollection)),B:Nj(a.format),Oa:c,J:null});b=new H(b);return I(b,(new Wg(b.P)).create(bj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};w("ee.data.getVideoThumbId",ul);ml.push("getVideoThumbId");
|
|
var vl=function(a,b){if(!L)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new Rf({name:null,i:nl(Gk(a.imageCollection)),B:Nj(a.format),orientation:Pj(a.orientation),J:null});b=new H(b);return I(b,(new Kg(b.P)).create(bj(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getFilmstripThumbId",vl);ml.push("getFilmstripThumbId");
|
|
var wl=function(a){return L?tj+"/v1alpha/"+a.thumbid+":getPixels":tj+"/api/thumb?thumbid="+a.thumbid+("&token="+a.token)};w("ee.data.makeThumbUrl",wl);
|
|
var yl=function(a,b){if(L){a=Object.assign({},a);a.id&&(a.image=new M(a.id));if("string"===typeof a.image)throw Error("Image as serialized JSON string not supported.");if(!a.image)throw Error("Missing ID or image parameter.");a.filePerBand=!1!==a.filePerBand;a.format=a.format||(a.filePerBand?"ZIPPED_GEO_TIFF_PER_BAND":"ZIPPED_GEO_TIFF");if(null!=a.region&&(null!=a.scale||null!=a.crs_transform)&&null!=a.dimensions)throw Error("Cannot specify (bounding region, crs_transform/scale, dimensions) simultaneously.");
|
|
if("string"===typeof a.bands)try{a.bands=JSON.parse(a.bands)}catch(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=xl(a.image,a);a=new Bg({name:null,i:nl(Gk(c)),B:Nj(a.format),va:a.name,ba:a.bands&&Qj(a.bands.map(function(d){return d.id})),J:null});b=new H(b);return I(b,(new Rg(b.P)).create(bj(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))}a=Qb(a);return K("/download",J(a),b)};w("ee.data.getDownloadId",yl);var zl=function(a){$i();var b=tj;return L?b+"/v1alpha/"+a.docid+":getPixels":b+"/api/download?docid="+a.docid+"&token="+a.token};
|
|
w("ee.data.makeDownloadUrl",zl);
|
|
var Al=function(a,b){if(L){b=new H(b);var c=Oj(a.format),d=nl(Gk(a.table)),e=null;if(null!=a.selectors)if("string"===typeof a.selectors)e=a.selectors.split(",");else if(Array.isArray(a.selectors)&&a.selectors.every(function(f){return"string"===typeof f}))e=a.selectors;else throw Error("'selectors' parameter must be an array of strings.");a=new zg({name:null,i:d,B:c,selectors:e,filename:a.filename||null});return I(b,(new Qg(b.P)).create(bj(),a,{fields:["name"]}).then(function(f){return{docid:f.name||"",
|
|
token:""}}))}a=Qb(a);return K("/table",J(a),b)};w("ee.data.getTableDownloadId",Al);var Bl=function(a){return L?tj+"/v1alpha/"+a.docid+":getFeatures":tj+"/api/table?docid="+a.docid+"&token="+a.token};w("ee.data.makeTableDownloadUrl",Bl);
|
|
var Cl=function(a,b){if(L){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=pb(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 K("/newtaskid",J(d),b)};w("ee.data.newTaskId",Cl);
|
|
var El=function(a,b){if(L){var c=Dl(a).map(lk);if(1===c.length)return b=new H(b),I(b,b.Ka().get(c[0]).then(function(e){return[nk(e)]}));b=new ej(b);var d=b.Ka();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="+Dl(a).join();return K(a,null,b,"GET")};w("ee.data.getTaskStatus",El);
|
|
var Dl=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.");},Gl=function(a){return Fl(void 0,a)};w("ee.data.getTaskList",Gl);
|
|
var Fl=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);K("/tasklist",J(n),function(p,t){t?h(e,t):(mb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(L)return b?(Hl(a,function(h,n){return b(h?{tasks:h.map(nk)}:null,n)}),null):{tasks:Hl(a).map(nk)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=K("/tasklist",J(f),void 0,"GET");
|
|
mb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};w("ee.data.getTaskListWithLimit",Fl);var Hl=function(a,b){var c=[],d={pageSize:500},e=function(h){mb(c,h.Ka||[]);!h.Va||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.Va,I(f,g.list(bj(),d).then(e)));return null},f=new H(b?function(h,n){return n&&b(h,n)}:void 0),g=f.Ka();I(f,g.list(bj(),d).then(e));return b?null:a?c.slice(0,a):c};w("ee.data.listOperations",Hl);ml.push("listOperations");
|
|
var Il=function(a,b){a=Dl(a);var c=new gf;if(1===a.length)b=new H(b),I(b,b.Ka().cancel(a[0],c));else{b=new ej(b);var d=b.Ka();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",Il);ml.push("cancelOperation");var Jl=function(a,b){var c=Dl(a).map(lk);if(!Array.isArray(a))return a=new H(b),I(a,a.Ka().get(c[0]));a=new ej(b);var d=a.Ka();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",Jl);ml.push("getOperation");
|
|
var Ll=function(a,b){return Kl(a,"CANCEL",b)};w("ee.data.cancelTask",Ll);var Kl=function(a,b,c){if(!Lb(Ml,b))throw Error("Invalid action: "+b);a=Dl(a);return L?(a=a.map(lk),Il(a,c),null):K("/updatetask",J({id:a,action:b}),c,"POST")};w("ee.data.updateTask",Kl);
|
|
var Rl=function(a,b,c){if(L){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new H(c);c=function(f){return I(e,f.then(ok))};switch(d){case "EXPORT_IMAGE":return b=Nl(b,a),c(e.image().jb(bj(),b));case "EXPORT_FEATURES":return b=Xk(b),b.i=nl(b.i,a),c(e.table().jb(bj(),b));case "EXPORT_VIDEO":return b=Ol(b,a),c(e.video().jb(bj(),b));case "EXPORT_TILES":return b=Pl(b,a),c(e.map().jb(bj(),b));case "EXPORT_VIDEO_MAP":return b=Ql(b),c((new Vg(e.P)).jb(bj(),b));default:throw Error("Unable to start processing for task of type "+
|
|
d);}}b=Qb(b);null!=b.element&&(b.json=b.element.V(!0),delete b.element);Array.isArray(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return K("/processingrequest",J(b),c)};w("ee.data.startProcessing",Rl);
|
|
var Nl=function(a,b){var c=Sl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new Ef({i:Gk(c.element),description:Sk(c.description),ia:null,fb:null,J:null,uf:Sk(c.maxPixels),requestId:Sk(c.id),U:Tk(c.maxWorkers)});var d=Uk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ia=$k(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({Nb:new Af({name:Zj(c.assetId)}),pyramidingPolicy:e,Cf:Ob(d)?null:d});a.fb=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.i=nl(a.i,b);return a},Ol=function(a,b){a=Tl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Qf({i:Gk(a.element),description:Sk(a.description),Oa:new Pf({framesPerSecond:Tk(a.framesPerSecond),maxFrames:Tk(a.maxFrames),maxPixelsPerFrame:Sk(a.maxPixels)}),ia:null,requestId:Sk(a.id),U:Tk(a.maxWorkers)});c.ia=al(a,Uk(a));
|
|
c.i=nl(c.i,b);return c},Pl=function(a,b){var c=a.scale;delete a.scale;a=Sl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new If({i:Gk(a.element),description:Sk(a.description),$b:bl(a),Zb:$k(a,"GOOGLE_CLOUD_STORAGE"),requestId:Sk(a.id),U:Tk(a.maxWorkers)});c.i=nl(c.i,b);return c},Ql=function(a){var b=a.scale;delete a.scale;a=Tl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Nf({i:Gk(a.element),description:Sk(a.description),
|
|
Oa:new Pf({framesPerSecond:Tk(a.framesPerSecond),maxFrames:Tk(a.maxFrames),maxPixelsPerFrame:null}),$b:bl(a),Zb:al(a,"GOOGLE_CLOUD_STORAGE"),requestId:Sk(a.id),version:Sk(a.version),U:Tk(a.maxWorkers)});b.i=nl(b.i);return b},Vl=function(a,b,c){if(L){b=sk(b);var d=function(e){return e?ok(e):null};return d(Ul(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:ji(b)};return K("/ingestionrequest",J(a),c)};w("ee.data.startIngestion",Vl);
|
|
var Ul=function(a,b,c){b=new kg({ff:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.image().import(bj(),b))},Wl=function(a,b,c){b=new lg({Vf:b,requestId:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.table().import(bj(),b))},Xl=function(a,b,c){if(L){b=tk(b);var d=function(e){return e?ok(e):null};return d(Wl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:ji(b)};return K("/ingestionrequest",J(a),c)};
|
|
w("ee.data.startTableIngestion",Xl);var Yl=function(a,b){return L?(b=new H(b),a=Zj(a),I(b,b.assets().get(a,{prettyPrint:!1}).then(ak))):K("/info",(new be).add("id",a),b)};w("ee.data.getAsset",Yl);ml.push("getAsset");w("ee.data.getInfo",Yl);
|
|
var Zl=function(a,b){if(L){b=new H(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 I(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 I(b,Jg(c,d,a).then(dk))}a=J(a);return K("/list",a,b)};w("ee.data.getList",Zl);
|
|
var $l=function(a,b,c){b=void 0===b?{}:b;var d=Xj.test(a);c=new H(c);var e=d?new Hg(c.P):c.assets();a=d?"projects/"+Yj(a):Zj(a);return I(c,e.Uc(a,b))};w("ee.data.listAssets",$l);ml.push("listAssets");var am=function(a,b,c){b=void 0===b?{}:b;c=new H(c);return I(c,Jg(c.assets(),a,b))};w("ee.data.listImages",am);ml.push("listImages");var bm=function(a,b){b=new H(b);return I(b,(new Hg(b.P)).Uc(a||bj()))};w("ee.data.listBuckets",bm);ml.push("listBuckets");
|
|
var cm=function(a){return L?(a=new H(a),I(a,(new Hg(a.P)).Uc(bj()).then(bk))):K("/buckets",null,a,"GET")};w("ee.data.getAssetRoots",cm);var dm=function(a,b){if(L){var c="projects/"+Yj(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new vf({type:"Folder"});b=new H(b);I(b,b.assets().create(c,d,{assetId:a}).then(ak))}else c=J({id:a}),K("/createbucket",c,b)};w("ee.data.createAssetHome",dm);
|
|
var em=function(a,b,c,d,e){if(L){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 H(e);return I(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 K("/create",J(a),e)};w("ee.data.createAsset",em);var fm=function(a,b,c){return L?em({type:"Folder"},a,b,void 0,c):K("/createfolder",J({id:a,force:b||!1}),c)};w("ee.data.createFolder",fm);
|
|
var gm=function(a,b,c){L?(a=Zj(a),b=Zj(b),b=new tg({Mb:b}),c=new H(c),I(c,c.assets().move(a,b).then(ak))):K("/rename",J({sourceId:a,destinationId:b}),c)};w("ee.data.renameAsset",gm);
|
|
var hm=function(a,b,c,d){if(L){a=Zj(a);b=Zj(b);c=new of({Mb:b,overwrite:null!=c?c:null});d=new H(d);b=ak;var e=d.assets();var f=void 0===f?{}:f;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=G(e.h,{body:c,u:"POST",C:"earthengine.projects.assets.copy",path:"/"+e.j+"/"+a+":copy",o:F(f),F:vf});I(d,f.then(b))}else f={sourceId:a,destinationId:b},c&&(f.allowOverwrite=c),K("/copy",J(f),d)};w("ee.data.copyAsset",hm);var im=function(a,b){L?(b=new H(b),I(b,b.assets().delete(Zj(a)))):K("/delete",J({id:a}),b)};
|
|
w("ee.data.deleteAsset",im);var jm=function(a,b){if(L){a=Zj(a);var c=new Xf;b=new H(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);a=G(d.h,{body:c,u:"POST",C:"earthengine.projects.assets.getIamPolicy",path:"/"+d.j+"/"+a+":getIamPolicy",o:F(e),F:wg});return I(b,a.then(jk))}return K("/getacl",J({id:a}),b,"GET")};w("ee.data.getAssetAcl",jm);
|
|
var km=function(a,b,c,d){b=new Eg({ze:b,zc:(c||[]).join(",")});d=new H(d);c=ak;var e=d.assets();a=Zj(a);var f=void 0===f?{}:f;e.h.A(a,/^projects\/[^/]+\/assets\/.*$/);f=G(e.h,{body:b,u:"PATCH",C:"earthengine.projects.assets.patch",path:"/"+e.j+"/"+a,o:F(f),F:vf});return I(d,f.then(c))};w("ee.data.updateAsset",km);
|
|
var lm=function(a,b,c){if(L){a=Zj(a);b=kk(b);b=new yg({zf:b});c=new H(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;d.h.A(a,/^projects\/[^/]+\/assets\/.*$/);a=G(d.h,{body:b,u:"POST",C:"earthengine.projects.assets.setIamPolicy",path:"/"+d.j+"/"+a+":setIamPolicy",o:F(e),F:wg});I(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)},K("/setacl",J(a),c)};w("ee.data.setAssetAcl",lm);
|
|
var mm=function(a,b,c){if(L){var d=gk(b);b=Id(d.f()).keys.filter(function(e){return"properties"!==e&&E(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+'"'}));km(a,d,b,c)}else a={id:a,properties:ji(b)},K("/setproperties",J(a),c)};w("ee.data.setAssetProperties",mm);
|
|
var nm=function(a,b){if(L){var c=Zj(a);b=new H(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 I(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.Ae||0),limit:Number(f.sf||0)},asset_size:{usage:Number(f.Ca||0),limit:Number(f.Tb||0)}}}))}return K("/quota",J({id:a}),b,"GET")};
|
|
w("ee.data.getAssetRootQuota",nm);var Ml={fk:"CANCEL",ik:"UPDATE"};var N=function(a,b,c){if(!(this instanceof N))return om(N,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.D=a;this.args=b;this.T=c||null};x(N,Fj);w("ee.ComputedObject",N);N.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");sl(this,a)};N.prototype.evaluate=N.prototype.evaluate;
|
|
N.prototype.X=function(a){return sl(this,a)};N.prototype.getInfo=N.prototype.X;N.prototype.encode=function(a){if(null===this.D&&null===this.args)return{type:"ArgumentRef",value:this.T};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.D);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
N.prototype.ha=function(a){if(null===this.D&&null===this.args)return new af({Kb:this.T||""});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.ud(a,b)};N.prototype.V=function(a){return(void 0===a?0:a)?Ck(this):Kk(this)};N.prototype.serialize=N.prototype.V;N.prototype.toString=function(){return"ee."+this.name()+"("+Ek(this)+")"};w("ee.ComputedObject.prototype.toString",N.prototype.toString);N.prototype.name=function(){return"ComputedObject"};
|
|
N.prototype.dg=function(a,b){var c=lb(arguments);c[0]=this;a.apply(r,c);return this};N.prototype.aside=N.prototype.dg;var pm=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.T=b.T;return a},om=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var qm={},rm=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}},sm=function(a){return"number"===typeof a||a instanceof N&&"Number"==a.name()},tm=function(a){return"string"===typeof a||a instanceof N&&"String"==a.name()},um=function(a){return u(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},vm=function(a,b,c){return 1===a.length&&um(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 O=function(){if(!(this instanceof O))return new O};x(O,Fj);w("ee.Function",O);var wm=Ub;O.prototype.call=function(a){return this.apply(xm(this,Array.prototype.slice.call(arguments,0)))};O.prototype.call=O.prototype.call;O.prototype.apply=function(a){a=new N(this,ym(this,a));return wm(a,this.Z().returns)};O.prototype.apply=O.prototype.apply;
|
|
var zm=function(a,b,c){var d=void 0!==b,e=a.Z();if(vm(c,e,d)){if(c=Qb(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};
|
|
O.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push($a(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("")};O.prototype.V=function(a){return(void 0===a?0:a)?Ck(this):Kk(this)};var P=function(a,b){if(void 0===b)return Am(a);if(!(this instanceof P))return om(P,arguments);this.Xa=Rb(b);this.Xa.name=a};x(P,O);w("ee.ApiFunction",P);var Q=function(a,b){return O.prototype.call.apply(Am(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",Q);var Bm=function(a,b){return Am(a).apply(b)};w("ee.ApiFunction._apply",Bm);P.prototype.encode=function(){return this.Xa.name};P.prototype.ud=function(a,b){return Kj(this.Xa.name,b)};P.prototype.Z=function(){return this.Xa};
|
|
var Cm=null,Dm={},Fm=function(){Em();return Gb(Cm,function(a){return a.Z()})},Gm=function(){Em();return Fb(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};w("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=Gb(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?ol(c):c(ol())}},Im=function(a,b,c,d){Em();var e=d||"";Eb(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&&rm(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=v(f.toString,f,h,p),g[h].signature=n)}})},Jm=function(a){var b=function(c){for(var d in c)"function"===typeof c[d]&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var R=function(a,b){var c=Km(a),d=$a(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)&&"function"!==typeof 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(Kb(f));
|
|
var h=new Ad(d);if(h.gh(g).isEmpty())e[d[0]]=b[0];else{b=g.Re(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.S().join(", "));e=Qb(f)}}b=new Ad(Kb(e));c=(new Ad(Za(c,function(n){return 0!=n.lastIndexOf("opt_",0)}))).Re(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.S().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){N.call(this,a,b,c);Pm()};x(S,N);w("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=um(c))a:{b=Kb(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(um(c)){b=this;for(var g in c)d=c[g],b=Q("Element.set",b,g,d)}else if(c instanceof N&&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 pm(this,b)};S.prototype.set=S.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return om(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 N&&!(a instanceof U&&a.nb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");N.call(this,a.D,a.args,a.T)}else{a instanceof U&&(a=a.encode());if(!Sm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));N.call(this,
|
|
null,null);this.nb=a.type;this.wg=null!=a.coordinates?Rb(a.coordinates):null;this.Tg=a.geometries||null;if(null!=b)this.Wb=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.Wb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new ii).V(a.crs));this.nc=c;void 0===this.nc&&"geodesic"in a&&(this.nc=!!a.geodesic);this.lc=d;void 0===this.lc&&"evenOdd"in a&&(this.lc=!!a.evenOdd)}};x(U,N);w("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 N)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};x(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))};x(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 N)){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)};x(Ym,U);U.Rectangle=Ym;
|
|
var Zm=function(a,b,c,d){if(!(this instanceof Zm))return Vm(Zm,arguments);var e=[a,b,c,d];if($m(e))return(new P("GeometryConstructors.BBox")).apply(e);if(!(Infinity>a))throw Error("Geometry.BBox: west must not be "+a);if(!(-Infinity<c))throw Error("Geometry.BBox: east must not be "+c);if(!(90>=b))throw Error("Geometry.BBox: south must be at most +90\u00b0, but was "+b+"\u00b0");if(!(-90<=d))throw Error("Geometry.BBox: north must be at least -90\u00b0, but was "+d+"\u00b0");b=Math.max(b,-90);d=Math.min(d,
|
|
90);360<=c-a?(a=-180,c=180):(a=an(a),c=an(c),c<a&&(c+=360));U.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Zm,Ym);U.BBox=Zm;var an=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},bn=function(a,b,c,d){if(!(this instanceof bn))return Vm(bn,arguments);U.call(this,Wm(bn,"LineString",2,arguments))};x(bn,U);U.LineString=bn;var cn=function(a,b,c,d){if(!(this instanceof cn))return Vm(cn,arguments);U.call(this,Wm(cn,"LinearRing",2,arguments))};x(cn,U);
|
|
U.LinearRing=cn;var dn=function(a,b,c,d){if(!(this instanceof dn))return Vm(dn,arguments);U.call(this,Wm(dn,"MultiLineString",3,arguments))};x(dn,U);U.MultiLineString=dn;var en=function(a,b,c,d,e){if(!(this instanceof en))return Vm(en,arguments);U.call(this,Wm(en,"Polygon",3,arguments))};x(en,U);U.Polygon=en;var fn=function(a,b,c,d,e){if(!(this instanceof fn))return Vm(fn,arguments);U.call(this,Wm(fn,"MultiPolygon",4,arguments))};x(fn,U);U.MultiPolygon=fn;
|
|
U.prototype.encode=function(a){if(!this.nb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.encode.call(this,a)}a={type:this.nb};"GeometryCollection"==this.nb?a.geometries=this.Tg:a.coordinates=this.wg;null!=this.Wb&&(a.crs={type:"name",properties:{name:this.Wb}});null!=this.nc&&(a.geodesic=this.nc);null!=this.lc&&(a.evenOdd=this.lc);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.Zf=function(){if(this.D)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new ii).V(this.fd())};U.prototype.toGeoJSONString=U.prototype.Zf;U.prototype.V=function(a){return(void 0===a?0:a)?Ck(this):Kk(this)};U.prototype.serialize=U.prototype.V;
|
|
U.prototype.toString=function(){return"ee.Geometry("+this.Zf()+")"};
|
|
U.prototype.ha=function(a){if(!this.nb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.ha.call(this,a)}var b={},c="";"GeometryCollection"===this.nb?(b.geometries=this.Tg.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.wg,c="GeometryConstructors."+this.nb);null!=this.Wb&&(b.crs="string"===typeof this.Wb?(new P("Projection")).call(this.Wb):this.Wb);var d="Point"!==this.nb&&"MultiPoint"!==this.nb;
|
|
null!=this.nc&&d&&(b.geodesic=this.nc);null!=this.lc&&(b.evenOdd=this.lc);return(new P(c)).apply(b).ha(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=gn(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)},gn=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=gn(a[0]),c=1;c<a.length;c++)if(gn(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},hn=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=jn(a,d);if($m(a.coordinates)||null!=a.crs||null!=a.maxError)return(new P("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=kn(c,a.coordinates);(b=gb(["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},jn=function(a,b){if(bb(b,sm))return{coordinates:lb(b)};a=R(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return Fb(a,function(c){return null!=c})},$m=function(a){return Array.isArray(a)?ab(a,$m):a instanceof N},kn=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");bb(b,function(e){return"number"===
|
|
typeof e})&&(b=hn(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(gn(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 om(V,arguments);if(a instanceof V)return a;ln();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new V(a[0]);N.call(this,new P("Filter.and"),{filters:a})}else if(a instanceof N)N.call(this,a.D,a.args,a.T);else if(void 0===a)N.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(V,N);w("ee.Filter",V);
|
|
var mn=!1,ln=function(){mn||(Im(V,"Filter","Filter"),mn=!0)},nn={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.oc=function(){return Q("Filter.not",this)};V.prototype.not=V.prototype.oc;var on=function(a,b){var c=R(on,arguments);return Q("Filter.equals",c.name,c.value)};V.eq=on;var pn=function(a,b){var c=R(pn,arguments);return on(c.name,c.value).oc()};V.neq=pn;
|
|
var qn=function(a,b){var c=R(qn,arguments);return Q("Filter.lessThan",c.name,c.value)};V.lt=qn;var rn=function(a,b){var c=R(rn,arguments);return qn(c.name,c.value).oc()};V.gte=rn;var sn=function(a,b){var c=R(sn,arguments);return Q("Filter.greaterThan",c.name,c.value)};V.gt=sn;var tn=function(a,b){var c=R(tn,arguments);return sn(c.name,c.value).oc()};V.lte=tn;var un=function(a){return Q("Filter.and",Array.prototype.slice.call(arguments))};V.and=un;var vn=function(a){return Q("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=vn;var wn=function(a,b){var c=R(wn,arguments);c=Q("DateRange",c.start,c.end);return Bm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=wn;var xn=function(a,b,c,d){var e=R(xn,arguments);return Bm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=xn;var yn=function(a,b){return Bm("Filter.intersects",{leftField:".all",rightValue:Q("Feature",a),maxError:b})};V.bounds=yn;
|
|
V.prototype.name=function(){return"Filter"};var zn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in nn))throw Error("Unknown filtering operator: "+b);a=Q("Filter."+nn[b],a,c);return d?a.oc():a};V.metadata=zn;var W=function(a,b,c){S.call(this,a,b,c);An()};x(W,S);w("ee.Collection",W);var Bn=!1,An=function(){Bn||(Im(W,"Collection","Collection"),Im(W,"AggregateFeatureCollection","Collection","aggregate_"),Bn=!0)};W.prototype.filter=function(a){a=R(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return pm(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(zn(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.We;W.prototype.Mg=function(a){return this.filter(yn(a))};W.prototype.filterBounds=W.prototype.Mg;W.prototype.Ve=function(a,b){var c=R(W.prototype.Ve,arguments);return this.filter(wn(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 pm(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 pm(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 pm(this,Q("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.prototype.ih=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.ih;var X=function(a,b){if(!(this instanceof X))return om(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)");Cn();if(a instanceof U||null===a)S.call(this,new P("Feature"),{geometry:a,metadata:b||null});else if(a instanceof N)S.call(this,a.D,a.args,a.T);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=Qb(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})};x(X,S);w("ee.Feature",X);var Dn=!1,Cn=function(){Dn||(Im(X,"Feature","Feature"),Dn=!0)};X.prototype.X=function(a){return X.L.X.call(this,a)};X.prototype.getInfo=X.prototype.X;
|
|
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 Sl=function(a){var b={},c=En(a.element,a);c=Fn(c,a,b);b.element=c;return b},Tl=function(a){var b={},c=a.element.map(function(d){d=En(d,a);return Fn(d,a,b)});b.element=c;return b},Fn=function(a,b,c){var d={},e=["maxDimension","width","height","scale"];Eb(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 en(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}});Ob(d)||(d.input=a,a=e.some(function(f){return f in d})?Bm("Image.clipToBoundsAndScale",d):Bm("Image.clip",d));return a},En=function(a,b){var c=
|
|
b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=Gn(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},Gn=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&bb(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.");},In=function(a,b){var c={};b=Hn(b,c);Ob(b)||(b.image=a,a=Bm("Image.visualize",b));c.image=a;return c},Hn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),
|
|
d={};Eb(a,function(e,f){gb(c,f)?d[f]=e:b[f]=e});return d},xl=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=En(f,e);return f=Fn(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=En(a,d),a=Fn(a,d,{}));return a};var M=function(a){if(!(this instanceof M))return om(M,arguments);if(a instanceof M)return a;Jn();var b=arguments.length;if(0==b||1==b&&void 0===a)S.call(this,new P("Image.mask"),{image:new M(0),mask:new M(0)});else if(1==b)if(sm(a))S.call(this,new P("Image.constant"),{value:a});else if(tm(a))S.call(this,new P("Image.load"),{id:a});else{if(Array.isArray(a))return Kn($a(a,function(d){return new M(d)}));if(a instanceof N)"Array"==a.name()?S.call(this,new P("Image.constant"),{value:a}):S.call(this,a.D,
|
|
a.args,a.T);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(tm(b)&&sm(c))S.call(this,new P("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};x(M,S);w("ee.Image",M);var Ln=!1,Jn=function(){Ln||(Im(M,"Image","Image"),Im(M,"Window","Image","focal_"),Ln=!0)};
|
|
M.prototype.X=function(a){return M.L.X.call(this,a)};M.prototype.getInfo=M.prototype.X;M.prototype.getMap=function(a,b){var c=this,d=R(M.prototype.getMap,arguments),e=In(this,d.visParams);if(d.callback){var f=d.callback;ql(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=ql(e),d.image=this,d};M.prototype.getMap=M.prototype.getMap;
|
|
M.prototype.sb=function(a,b){var c=R(M.prototype.sb,arguments),d=c.params?Qb(c.params):{};d.image=L?this:this.V(!0);if(c.callback){var e=c.callback;yl(d,function(f,g){f?e(zl(f)):e(null,g)})}else return zl(yl(d))};M.prototype.getDownloadURL=M.prototype.sb;
|
|
M.prototype.yd=function(a,b){var c=R(M.prototype.sb,arguments),d=c.params?Qb(c.params):{};if(L){var e={},f=En(this,d);f=Fn(f,d,e);d=In(f,e)}else if(d=In(this,d),d.region)if(d.region instanceof U&&(d.region=d.region.fd()),Array.isArray(d.region)||um(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?(tl(d,c.callback),null):tl(d)};M.prototype.getThumbId=M.prototype.yd;
|
|
M.prototype.af=function(a,b){var c=R(M.prototype.af,arguments);if(c.callback)this.yd(c.params,function(d,e){var f="";if(void 0===e)try{f=wl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return wl(this.yd(c.params))};M.prototype.getThumbURL=M.prototype.af;var Mn=function(a,b,c){var d=R(Mn,arguments);return Kn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};M.rgb=Mn;var Nn=function(a){return Kn(Array.prototype.slice.call(arguments),null)};M.cat=Nn;
|
|
var Kn=function(a,b){if(0==a.length)return Q("Image.constant",[]);for(var c=new M(a[0]),d=1;d<a.length;d++)c=Q("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
M.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||tm(b[0])||sm(b[0])){for(var d=0;d<b.length;d++)if(!(tm(b[d])||sm(b[d])||b[d]instanceof N))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Bm("Image.select",c)};M.prototype.select=M.prototype.select;
|
|
M.prototype.i=function(a,b){var c=R(M.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 M(f[g])}var h=Q("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new O;c.encode=function(n){return h.encode(n)};c.ud=function(n,p){return Lj(n(h),p)};c.Z=function(){return{name:"",args:$a(d,function(n){return{name:n,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
M.prototype.expression=M.prototype.i;M.prototype.clip=function(a){try{a=new U(a)}catch(b){}return Q("Image.clip",this,a)};M.prototype.clip=M.prototype.clip;M.prototype.Fh=function(a){var b=1!=arguments.length||tm(arguments[0])?lb(arguments):arguments[0];return Q("Image.rename",this,b)};M.prototype.rename=M.prototype.Fh;M.prototype.name=function(){return"Image"};var On=function(a){if(this instanceof On){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof On)return a}else return om(On,arguments);Pn();if(Array.isArray(a))N.call(this,null,null),this.Vc=a;else if(a instanceof N)N.call(this,a.D,a.args,a.T),this.Vc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(On,N);w("ee.List",On);var Qn=!1,Pn=function(){Qn||(Im(On,"List","List"),Qn=!0)};
|
|
On.prototype.encode=function(a){return Array.isArray(this.Vc)?$a(this.Vc,function(b){return a(b)}):On.L.encode.call(this,a)};On.prototype.ha=function(a){return Array.isArray(this.Vc)?Hj(a(this.Vc)):On.L.ha.call(this,a)};On.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return om(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)");Rn();a instanceof U&&(a=new X(a));a instanceof X&&(a=[a]);if(tm(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:$a(a,function(d){return new X(d)})});else if(a instanceof On)W.call(this,
|
|
new P("Collection"),{features:a});else if(a instanceof Object&&"FeatureCollection"===a.type)W.call(this,new P("Collection"),{features:a.features.map(function(d){return new X(d)})});else if(a instanceof N)W.call(this,a.D,a.args,a.T);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(Y,W);w("ee.FeatureCollection",Y);var Sn=!1,Rn=function(){Sn||(Im(Y,"FeatureCollection","FeatureCollection"),Sn=!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.X=function(a){return Y.L.X.call(this,a)};Y.prototype.getInfo=Y.prototype.X;
|
|
Y.prototype.sb=function(a,b,c,d){var e=R(Y.prototype.sb,arguments),f={};f.table=L?this:this.V();e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);e.selectors&&(f.selectors=e.selectors);if(e.callback)Al(f,function(g,h){g?e.callback(Bl(g)):e.callback(null,h)});else return Bl(Al(f))};Y.prototype.getDownloadURL=Y.prototype.sb;
|
|
Y.prototype.select=function(a,b,c){if(tm(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 om(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Tn();a instanceof M&&(a=[a]);if(tm(a))W.call(this,new P("ImageCollection.load"),{id:a});else if(Array.isArray(a))W.call(this,new P("ImageCollection.fromImages"),{images:$a(a,function(b){return new M(b)})});else if(a instanceof On)W.call(this,new P("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof N)W.call(this,a.D,a.args,a.T);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,W);w("ee.ImageCollection",Z);var Un=!1,Tn=function(){Un||(Im(Z,"ImageCollection","ImageCollection"),Im(Z,"reduce","ImageCollection"),Un=!0)};Z.prototype.$e=function(a,b){var c=R(Z.prototype.$e,arguments);return Vn(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.$e;
|
|
Z.prototype.cf=function(a,b){var c=R(Z.prototype.cf,arguments);return Vn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.cf;
|
|
var Vn=function(a,b,c,d){var e={};a=a.map(function(h){h=En(h,b.params);return Fn(h,b.params,e)});var f={},g=Hn(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(!ab(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=tl;if(L)switch(d){case "video":c=ul;break;case "filmstrip":c=vl}if(b.callback)c(f,function(h,n){var p=
|
|
"";if(void 0===n)try{p=wl(h)}catch(t){n=String(t.message)}b.callback(p,n)});else return wl(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.X=function(a){return Z.L.X.call(this,a)};Z.prototype.getInfo=Z.prototype.X;
|
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new M(Q("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return M};var Wn=function(a){this.Ke=a;this.id=null},Yn=function(a){var b={element:Xn(a)};Object.assign(b,a);b=Fb(b,function(c){return null!=c});return new Wn(b)};
|
|
Wn.prototype.start=function(a,b){var c=this;y(this.Ke,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ta(c.id);Rl(c.id,c.Ke,function(e,f){f?b(f):a()})};this.id?d():Cl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Cl(1)[0],Ta(this.id,"Failed to obtain task ID."),Rl(this.id,this.Ke)};Wn.prototype.start=Wn.prototype.start;var Zn=function(a,b,c,d,e,f,g,h,n,p){var t=R(Zn,arguments);t=$n(t,"ASSET","EXPORT_IMAGE");return Yn(t)};
|
|
w("ee.batch.Export.image.toAsset",Zn);var ao=function(a,b,c,d,e,f,g,h,n,p,t,B,D,ba,Ca){var T=R(ao,arguments);T=$n(T,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Yn(T)};w("ee.batch.Export.image.toCloudStorage",ao);var bo=function(a,b,c,d,e,f,g,h,n,p,t,B,D,ba,Ca){var T=R(bo,arguments);T=$n(T,"DRIVE","EXPORT_IMAGE");return Yn(T)};w("ee.batch.Export.image.toDrive",bo);var co=function(a,b,c,d,e,f,g,h,n,p,t,B){var D=R(co,arguments);D=$n(D,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Yn(D)};
|
|
w("ee.batch.Export.map.toCloudStorage",co);var eo=function(a,b,c,d,e,f){var g=R(eo,arguments);g=$n(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Yn(g)};w("ee.batch.Export.table.toCloudStorage",eo);var fo=function(a,b,c,d,e,f){var g=R(fo,arguments);g.type="EXPORT_FEATURES";g=$n(g,"DRIVE","EXPORT_FEATURES");return Yn(g)};w("ee.batch.Export.table.toDrive",fo);var go=function(a,b,c){var d=R(go,arguments);d=$n(d,"ASSET","EXPORT_FEATURES");return Yn(d)};w("ee.batch.Export.table.toAsset",go);
|
|
var ho=function(a,b,c,d,e,f,g,h,n,p,t,B){var D=R(ho,arguments);D=$n(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Yn(D)};w("ee.batch.Export.video.toCloudStorage",ho);var io=function(a,b,c,d,e,f,g,h,n,p,t,B){var D=R(io,arguments);D=$n(D,"DRIVE","EXPORT_VIDEO");return Yn(D)};w("ee.batch.Export.video.toDrive",io);var jo=function(a,b,c,d,e,f,g,h,n,p,t,B,D,ba,Ca,T,eb,Jb,iq,jq){var Ri=R(jo,arguments);Ri=$n(Ri,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Yn(Ri)};
|
|
w("ee.batch.Export.videoMap.toCloudStorage",jo);
|
|
var Xn=function(a){var b=function(d){return d in a},c=ko.find(b);y(1===cb(ko,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof M||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},$n=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=lo(e,a),delete e.formatOptions,Object.assign(e,a));e=mo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
|
|
b=mo(e,b);break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());e=mo(e,b);break;case "EXPORT_VIDEO":e=no(e);e=mo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=no(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=mo(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=Va(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 bn(b)}catch(f){try{new en(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},mo=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(!gb(["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},
|
|
oo={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},po={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},no=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},lo=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=po[b];for(var d=oo[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(!gb(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},ko=["image","collection"];var qo=function(a){if(!(this instanceof qo))return om(qo,arguments);if(a instanceof qo)return a;ro();if("number"===typeof a)N.call(this,null,null),this.Xc=a;else if(a instanceof N)N.call(this,a.D,a.args,a.T),this.Xc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(qo,N);w("ee.Number",qo);var so=!1,ro=function(){so||(Im(qo,"Number","Number"),so=!0)};qo.prototype.encode=function(a){return"number"===typeof this.Xc?this.Xc:qo.L.encode.call(this,a)};
|
|
qo.prototype.ha=function(a){return"number"===typeof this.Xc?Hj(a(this.Xc)):qo.L.ha.call(this,a)};qo.prototype.name=function(){return"Number"};var to=function(a){if(!(this instanceof to))return om(to,arguments);if(a instanceof to)return a;uo();if("string"===typeof a)N.call(this,null,null),this.dd=a;else if(a instanceof N)this.dd=null,a.D&&"String"==a.D.Z().returns?N.call(this,a.D,a.args,a.T):N.call(this,new P("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(to,N);w("ee.String",to);var vo=!1,uo=function(){vo||(Im(to,"String","String"),vo=!0)};
|
|
to.prototype.encode=function(a){return"string"===typeof this.dd?this.dd:to.L.encode.call(this,a)};to.prototype.ha=function(a){return"string"===typeof this.dd?Hj(a(this.dd)):to.L.ha.call(this,a)};to.prototype.name=function(){return"String"};var wo=function(a,b){if(!(this instanceof wo))return om(wo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(xo(g in qm?qm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Xa=yo(a,c,b);this.ng=b.apply(null,c)};x(wo,O);w("ee.CustomFunction",wo);wo.prototype.encode=function(a){return{type:"Function",argumentNames:$a(this.Xa.args,function(b){return b.name}),body:a(this.ng)}};
|
|
wo.prototype.ha=function(a){return Mj(this.Xa.args.map(function(b){return b.name}),a(this.ng))};wo.prototype.ud=function(a,b){return Lj(a(this),b)};wo.prototype.Z=function(){return this.Xa};
|
|
var xo=function(a,b){a=a||Object;if(!(a.prototype instanceof N))if(a&&a!=Object)if(a==String)a=to;else if(a==Number)a=qo;else if(a==Array)a=r.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=N;var c=function(d){this.args=this.D=null;this.T=d};c.prototype=a.prototype;return new c(b)},zo=function(a,b){b={name:"",returns:"Object",args:$a(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof N?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new wo(b,a)},yo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].T&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(h){var n=function(t){return t.map(p).reduce(function(B,D){return B+D},0)},p=function(t){if(t.Ta)return 1;if(t.Ea)return n(t.Ea.values);if(t.Fa)return n(Object.values(t.Fa.values));if(null!=t.ta)return p(h.values[t.ta]);if(t.wa){t=t.wa;var B=n(Object.values(t.arguments));null!=t.xa&&
|
|
(B+=p(h.values[t.xa]));return B}return 0};return p(h.values[h.result])}(Hk(c.apply(null,b)))+"_";for(e=0;e<d.length;e++){var f=d[e],g=c+e;b[f].T=g;a.args[f].name=g}return a};var Ao=function(a,b){if(!(this instanceof Ao))return om(Ao,arguments);if(a instanceof Ao)return a;Bo();var c=R(Ao,arguments);a=c.date;c=c.tz;var d=new P("Date"),e={},f=null;if(tm(a)){if(e.value=a,c)if(tm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(sm(a))e.value=a;else if(za(a))e.value=Math.floor(a.getTime());else if(a instanceof N)a.D&&"Date"==a.D.Z().returns?(d=a.D,e=a.args,f=a.T):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);N.call(this,d,e,f)};x(Ao,N);w("ee.Date",Ao);var Co=!1,Bo=function(){Co||(Im(Ao,"Date","Date"),Co=!0)};Ao.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var Eo=function(a){return Do(JSON.parse(a))};w("ee.Deserializer.fromJSON",Eo);var Do=function(a){if("result"in a&&"values"in a)return Fo(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]=Go(f,b)}a=a.value}return Go(a,b)};w("ee.Deserializer.decode",Do);
|
|
var Go=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return $a(a,function(e){return Go(e,b)});if(!u(a)||"function"===typeof a)throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if("string"!==typeof a)throw Error("Invalid variable name: "+a);return xo(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new Ao(a/1E3);case "Bytes":return Ho(new af({qb:a}),a);case "Invocation":return c="functionName"in a?Am(a.functionName):Go(a["function"],b),a=Gb(a.arguments,function(e){return Go(e,b)}),Io(c,a);case "Dictionary":return Gb(a.value,function(e){return Go(e,b)});case "Function":var d=Go(a.body,b);a={name:"",args:$a(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new wo(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new U(a);
|
|
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},Ho=function(a,b){var c=function(){};q(c,Fj);c.prototype.encode=function(){return b};c.prototype.ha=function(){return a};return new c},Io=function(a,b){if(a instanceof O)return a.apply(b);if(a instanceof N){var c=function(){return O.apply(this,arguments)||this};q(c,O);c.prototype.encode=function(d){return a.encode(d)};c.prototype.ud=function(d,e){return Lj(d(a),e)};return new N(new c,
|
|
b)}throw Error("Invalid function value");},Jo=function(a){return Fo(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",Jo);
|
|
var Fo=function(a){var b=Md(lf,a),c={},d=function(g,h){if(!(g in c)){if(!(g in b.values))throw Error("Cannot find "+h+" "+g);c[g]=e(b.values[g])}return c[g]},e=function(g){if(null!==g.hb)g=g.hb;else if(null!==g.Ea)g=g.Ea.values.map(e);else if(null!==g.Fa)g=Gb(g.Fa.values,e);else if(null!==g.Kb)g=xo(Object,g.Kb);else if(null!==g.Ta)g=f(g.Ta);else if(null!==g.wa){var h=g.wa;g=h.xa?d(h.xa,"function"):Am(h.functionName);h=Gb(h.arguments,e);g=Io(g,h)}else g=null!==g.qb?Ho(new af({qb:g.qb}),g.qb):null!==
|
|
g.Rb?Ho(new af({Rb:g.Rb}),g.Rb):null!==g.ta?d(g.ta,"reference"):null;return g},f=function(g){var h=d(g.body,"function body");g={args:g.hc.map(function(n){return{name:n,type:"Object",optional:!1}}),name:"",returns:"Object"};return new wo(g,function(){return h})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",Fo);var Ko=function(a){if(!(this instanceof Ko))return om(Ko,arguments);if(a instanceof Ko)return a;Lo();um(a)?(N.call(this,null,null),this.Jc=a):(a instanceof N&&a.D&&"Dictionary"==a.D.Z().returns?N.call(this,a.D,a.args,a.T):N.call(this,new P("Dictionary"),{input:a},null),this.Jc=null)};x(Ko,N);w("ee.Dictionary",Ko);var Mo=!1,Lo=function(){Mo||(Im(Ko,"Dictionary","Dictionary"),Mo=!0)};Ko.prototype.encode=function(a){return null!==this.Jc?a(this.Jc):Ko.L.encode.call(this,a)};
|
|
Ko.prototype.ha=function(a){return null!==this.Jc?Hj(a(this.Jc)):Ko.L.ha.call(this,a)};Ko.prototype.name=function(){return"Dictionary"};var No={};w("ee.Terrain",No);No.jf=!1;No.Hj=function(){No.jf||(Im(No,"Terrain","Terrain"),No.jf=!0)};No.reset=function(){Jm(No);No.jf=!1};var To=function(a,b,c,d,e){if("ready"!=Oo||a||b){var f=null!=c;if(d)if(f)Po.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Oo&&f)Qo.push(c);else if(Oo="loading",$i(a,b,e),f)Qo.push(c),Em(Ro,So);else try{Em(),Ro()}catch(g){throw So(g),g;}}else c&&c()};w("ee.initialize",To);
|
|
var Wo=function(){Oo="not_ready";uj=tj=hj=null;sj=!1;Cm=null;Dm={};Jm(Ao);Co=!1;Jm(Ko);Mo=!1;Jm(S);Qm=!1;Jm(M);Ln=!1;Jm(X);Dn=!1;Jm(W);Bn=!1;Jm(Z);Un=!1;Jm(Y);Sn=!1;Jm(V);mn=!1;Jm(U);Tm=!1;Jm(On);Qn=!1;Jm(qo);so=!1;Jm(to);vo=!1;No.reset();for(var a=r.ee,b=0;b<Uo.length;b++){var c=Uo[b];Jm(a[c]);delete a[c]}Uo=[];qm=a;a=Vo;for(var d in a)delete a[d]};w("ee.reset",Wo);var Xo={gk:"not_ready",LOADING:"loading",hk:"ready"};w("ee.InitState",Xo);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Oo="not_ready",Qo=[],Po=[];w("ee.TILE_SIZE",256);var Uo=[],Vo={};w("ee.Algorithms",Vo);var Yo=function(a,b){"string"===typeof a&&(a=new P(a));return O.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",Yo);var Zo=function(a,b){"string"===typeof a&&(a=new P(a));return a.apply(b)};w("ee.apply",Zo);
|
|
var Ro=function(){if("loading"==Oo){try{Bo();Lo();Pm();Jn();Cn();An();Tn();Rn();ln();Rm();Pn();ro();uo();No.Hj();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]=$o(g),Uo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Dm[g]=!0):f[g].signature={});qm=f;ap()}catch(h){So(h);return}Oo="ready";for(Po=[];0<Qo.length;)Qo.shift()()}},So=function(a){if("loading"==
|
|
Oo)for(Oo="not_ready",Qo=[];0<Po.length;)Po.shift()(a)},ap=function(){var a=Gm();Kb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Vo;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=nb(b,1)}f=function(g){return zm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=v(c.toString,c);e[b[0]]=f}})},$o=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 om(d,e);d=Hm(a);var g=!(e[0]instanceof N),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=vm(e,d.Z())?e[0]:xm(d,e),N.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];N.call(this,e.D,e.args,e.T)}};x(b,N);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 M(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 N)return new S(a.D,a.args,a.T);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?Q("Collection.geometry",a):new U(a);case "FeatureCollection":case "Collection":return a instanceof W?
|
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new V(a);case "Algorithm":if("string"===typeof a)return new P(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return zo(a,c)}if(a instanceof Fj)return a;throw Error("Argument is not a function: "+a);case "String":return tm(a)||a instanceof to||a instanceof N?new to(a):a;case "Dictionary":return um(a)?a:new Ko(a);case "List":return new On(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new qo(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 bp=function(a,b,c){Dd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Pg=new rd;this.Og=new rd};q(bp,Dd);bp.prototype.getTile=function(a,b){var c=Ed(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.wb,this.token].join("/");this.yb.push(c);this.wb+=1;var d=fh("DIV");cp(this,b,a,c,d);dp(this);return d};
|
|
var cp=function(a,b,c,d,e){var f=Hi(Fi);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=v(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.Pg.set(c,g),this.Og.set(c,e),jb(this.yb,d),dp(this);else throw this.Xf.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},dp=function(a){a.dispatchEvent(new Fd(a.yb.length))};bp.prototype.G=function(){this.Og=this.Pg=null;Dd.prototype.G.call(this)};
|
|
w("ee.FloatTileOverlay",bp);var ep=function(){this.Rd=new Map};ep.prototype.clear=function(){this.Rd.clear()};var fp=function(a,b){a.Rd.has(b)||a.Rd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.Rd.get(b)};var gp=function(a){Ka.call(this);this.Pb=a;this.H={}};x(gp,Ka);var hp=[];gp.prototype.Ua=function(a,b,c,d){Array.isArray(b)||(b&&(hp[0]=b.toString()),b=hp);for(var e=0;e<b.length;e++){var f=$c(a,b[e],c||this.handleEvent,d||!1,this.Pb||this);if(!f)break;this.H[f.key]=f}return this};gp.prototype.Wc=function(a,b,c,d){return ip(this,a,b,c,d)};
|
|
var ip=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)ip(a,b,c[g],d,e,f);else{b=Zc(b,c,d||a.handleEvent,e,f||a.Pb||a);if(!b)return a;a.H[b.key]=b}return a};gp.prototype.Zd=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Zd(a,b[f],c,d,e);else c=c||this.handleEvent,d=u(d)?!!d.capture:!!d,e=e||this.Pb||this,c=ad(c),d=!!d,b=Pc(a)?a.Mc(b,c,d,e):a?(a=cd(a))?a.Mc(b,c,d,e):null:null,b&&(hd(b),delete this.H[b.key])};
|
|
gp.prototype.bd=function(){Eb(this.H,function(a,b){this.H.hasOwnProperty(b)&&hd(a)},this);this.H={}};gp.prototype.G=function(){gp.L.G.call(this);this.bd()};gp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var kp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Mb[a.name]):(this.code=a=Sa(a.code),this.name=jp(a));Na.call(this,nc("%s %s",this.name,b))};x(kp,Na);var jp=function(a){var b=Nb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Mb={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 lp=function(a,b){Ma.call(this,a.type,b);this.Ha=a};x(lp,Ma);var mp=function(){z.call(this);this.aa=new FileReader;this.aa.onloadstart=v(this.kc,this);this.aa.onprogress=v(this.kc,this);this.aa.onload=v(this.kc,this);this.aa.onabort=v(this.kc,this);this.aa.onerror=v(this.kc,this);this.aa.onloadend=v(this.kc,this)};x(mp,z);k=mp.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new kp(a,"aborting read");}};k.tb=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new kp(this.aa.error,"reading file")};
|
|
k.kc=function(a){this.dispatchEvent(new lp(a,this))};k.G=function(){mp.L.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 np=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=np.prototype;k.clone=function(){return new np(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 np?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):(Sa(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 op=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=op.prototype;k.clone=function(){return new op(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
|
|
k.gh=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.Re=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 op(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 op(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new op(this.left,
|
|
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new op(this.left,c,a.left-this.left,d));g<e&&b.push(new op(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+=Sa(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 pp=function(a,b){y(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 qp=function(a,b){z.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.Qd=new ep;this.xb=new rd;this.wb=0;this.Wf=a;this.kb=new gp(this);this.projection=null;this.radius=0;this.alt=null};q(qp,z);k=qp.prototype;k.ye=function(a){return $c(this,"tile-load",a)};k.Gf=function(a){hd(a)};
|
|
k.Nc=function(){return rp(this,"throttled")+rp(this,"loading")+rp(this,"new")};k.setOpacity=function(a){this.opacity=a;this.xb.forEach(function(b){pp(b.pa,this.opacity)},this)};k.getStats=function(){return this.Qd};
|
|
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.wb++].join("-"),this.Wf.Wg()].join("-");b=this.yg(d,b,c,a);b.tileSize=this.tileSize;pp(b.pa,this.opacity);this.xb.set(a,b);sp(this,b);this.dispatchEvent(new tp(this.Nc()));this.Wf.lh(b,(new Date).getTime()/1E3);return b.pa};k.releaseTile=function(a){var b=this.xb.get(a.id);this.xb.remove(a.id);b&&(b.abort(),La(b))};
|
|
var sp=function(a,b){a.kb.Ua(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Mj,d=(new Date).getTime();fp(this.Qd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new up(this.Nc()));break;case "throttled":fp(this.Qd,b.zoom).throttleCount++;this.dispatchEvent(new vp(b.La));break;case "failed":fp(this.Qd,b.zoom).errorCount++;this.dispatchEvent(new wp(b.La,b.Aj));break;case "aborted":this.dispatchEvent(new xp(this.Nc()))}})};
|
|
qp.prototype.G=function(){z.prototype.G.call(this);this.xb.forEach(La);this.xb.clear();this.xb=null;La(this.kb);this.Wf=this.kb=null};var rp=function(a,b){return cb(a.xb.S(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",qp);qp.prototype.removeTileCallback=qp.prototype.Gf;qp.prototype.addTileCallback=qp.prototype.ye;var up=function(){Ma.call(this,"tile-load")};q(up,Ma);var tp=function(){Ma.call(this,"tile-start")};q(tp,Ma);var vp=function(){Ma.call(this,"tile-throttle")};
|
|
q(vp,Ma);var wp=function(a,b){Ma.call(this,"tile-fail");this.errorMessage=b};q(wp,Ma);var xp=function(){Ma.call(this,"tile-abort")};q(xp,Ma);var yp=function(a,b,c,d){z.call(this);this.jc=a;this.zoom=b;this.pa=c.createElement("div");this.pa.id=d;this.Oj=5;this.Md=function(){};this.Sd="new";this.Ih=0;this.lf=!1};q(yp,z);
|
|
var Ap=function(a){if(!a.lf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");zp(a,"loading");a.Mj=(new Date).getTime();a.Za=new Ii;a.Za.uc="blob";a.Za.Ua("complete",function(){var b=Wi(this.Za),c=this.Za.getStatus();429==c&&zp(this,"throttled");if(Bi(c)){var d={};Eb(Xi(this.Za),function(f,g){d[g.toLowerCase()]=f});this.$j=d;this.Oh=b;this.Lc()}else if(b){var e=new mp;e.Ua("loadend",function(){this.cd(e.aa.result)},void 0,this);
|
|
e.readAsText(b)}else this.cd("Failed to load tile.")},!1,a);a.Za.Wc("ready",Ha(La,a.Za));a.La&&a.La.endsWith("&profiling=1")&&L&&(a.La=a.La.replace("&profiling=1",""),a.Za.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Za.send(a.La,"GET")};k=yp.prototype;k.Lc=function(){this.Md(this);zp(this,"loaded")};k.Fc=function(){La(this.Za)};
|
|
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.Ih>=this.Oj?(this.Aj=b(a),zp(this,"failed")):(this.Fc(),setTimeout(v(function(){this.Ra||(this.lf=!0,Ap(this),this.lf=!1)},this),1E3*Math.pow(2,this.Ih++)))};k.abort=function(){this.Fc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&zp(this,this.Sd in Bp?"removed":"aborted")};k.getStatus=function(){return this.Sd};var zp=function(a,b){a.Sd=b;a.dispatchEvent("status-changed")};
|
|
yp.prototype.G=function(){z.prototype.G.call(this);this.Fc();this.pa.remove();this.Md=null};var Bp={aborted:!0,failed:!0,loaded:!0,removed:!0};var Cp=function(){Ka.call(this)};q(Cp,Ka);var Dp=function(a,b){qp.call(this,a,b);this.pg=new rd;this.Ig=new rd};q(Dp,qp);Dp.prototype.yg=function(a,b,c,d){var e=new Ep(a,b,c,d);this.kb.Ua(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.pg.set(a,new Float32Array(e.vj)),this.Ig.set(a,e.pa))});return e};Dp.prototype.G=function(){qp.prototype.G.call(this);this.Ig=this.pg=null};w("ee.layers.BinaryOverlay",Dp);var Ep=function(a,b,c,d){yp.call(this,a,b,c,d)};q(Ep,yp);
|
|
Ep.prototype.Lc=function(){var a=new mp;a.Ua("loadend",function(){this.vj=a.aa.result;yp.prototype.Lc.call(this)},void 0,this);a.readAsArrayBuffer(this.Oh)};var Fp=function(a){z.call(this);this.Rc={};this.Qc={};this.Pb=new gp(this);this.O=a;this.Ie=!1};x(Fp,z);var Gp=[uc&&!Ec("11")?"readystatechange":"load","abort","error"],Hp=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Ie=!1,a.Rc[b]={src:c,xg:null}},Ip=function(a,b){delete a.Rc[b];var c=a.Qc[b];c&&(delete a.Qc[b],a.Pb.Zd(c,Gp,a.uh))};
|
|
Fp.prototype.start=function(){var a=this.Rc;Ya(Kb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Ra)){if(this.O){var d=this.O;d=(d?new lh(kh(d)):Oa||(Oa=new lh)).yj("IMG")}else d=new Image;c.xg&&(d.crossOrigin=c.xg);this.Pb.Ua(d,Gp,this.uh);this.Qc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
Fp.prototype.uh=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));Ip(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Ra&&Ob(this.Qc)&&Ob(this.Rc)&&!this.Ie&&(this.Ie=!0,this.dispatchEvent("complete"))}};Fp.prototype.G=function(){delete this.Rc;delete this.Qc;La(this.Pb);Fp.L.G.call(this)};var Jp=function(a,b){qp.call(this,a,b)};q(Jp,qp);Jp.prototype.yg=function(a,b,c,d){return new Kp(a,b,c,d)};w("ee.layers.ImageOverlay",Jp);var Kp=function(a,b,c,d){yp.call(this,a,b,c,d);this.Md=Lp;this.eh=this.ea=this.Dd=null;this.Yc=""};q(Kp,yp);
|
|
Kp.prototype.Lc=function(){try{var a=lc(this.Oh);this.Yc=jc(a);var b="about:invalid#zClosurez"!==this.Yc?this.Yc:this.La}catch(c){b=this.La}this.ea=new Fp;Hp(this.ea,this.pa.id+"-image",b);this.eh=Zc(this.ea,Mp,function(c){"load"==c.type?(this.Dd=c.target,yp.prototype.Lc.call(this)):this.cd()},void 0,this);this.ea.start()};Kp.prototype.Fc=function(){yp.prototype.Fc.call(this);this.ea&&(hd(this.eh),La(this.ea))};Kp.prototype.G=function(){yp.prototype.G.call(this);this.Yc&&URL.revokeObjectURL(this.Yc)};
|
|
var Lp=function(a){a.pa.appendChild(a.Dd)},Mp=["load","abort","error"];var Np=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 Op=function(a,b,c,d){Ka.call(this);this.og=a;this.lb=b;this.Uf=d||"";this.Id=c};q(Op,Cp);Op.prototype.lh=function(a){if(a.zoom<=this.Id)a.La=this.zd(a.jc,a.zoom);else{var b=a.zoom-this.Id,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.jc.x/c),Math.floor(a.jc.y/c));a.La=this.zd(c,a.zoom-b);a.Md=Ha(Pp,this.Id)}var d=v(a.cd,a);a.cd=v(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?zp(a,"loaded"):d(e)},a);Ap(a)};
|
|
Op.prototype.Wg=function(){return[this.og,this.lb,this.Id,this.Uf].join("-")};Op.prototype.zd=function(a,b){a=Np("https://storage.googleapis.com",this.og,this.lb,String(b),String(a.x),String(a.y));this.Uf&&(a+=this.Uf);return a};
|
|
var Pp=function(a,b){if(!b.Dd)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.pa.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.pa.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Dd,c/a*(b.jc.x%a),c/a*(b.jc.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Op);var Qp=function(){this.Ia=[];this.Pa=[]};k=Qp.prototype;k.enqueue=function(a){this.Pa.push(a)};k.Ic=function(){0==this.Ia.length&&(this.Ia=this.Pa,this.Ia.reverse(),this.Pa=[]);return this.Ia.pop()};k.M=function(){return this.Ia.length+this.Pa.length};k.isEmpty=function(){return 0==this.Ia.length&&0==this.Pa.length};k.clear=function(){this.Ia=[];this.Pa=[]};k.contains=function(a){return gb(this.Ia,a)||gb(this.Pa,a)};
|
|
k.remove=function(a){var b=this.Ia;var c=Xa(b,a);0<=c?(ib(b,c),b=!0):b=!1;return b||jb(this.Pa,a)};k.S=function(){for(var a=[],b=this.Ia.length-1;0<=b;--b)a.push(this.Ia[b]);var c=this.Pa.length;for(b=0;b<c;++b)a.push(this.Pa[b]);return a};var Rp=function(a,b){Ka.call(this);this.rh=a||0;this.Hd=b||10;if(this.rh>this.Hd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Sa=new Qp;this.ub=new Ad;this.delay=0;this.mf=null;this.ld()};x(Rp,Ka);Rp.prototype.Oc=function(){var a=Ia();if(!(null!=this.mf&&a-this.mf<this.delay)){for(var b;0<this.Sa.M()&&(b=this.Sa.Ic(),!this.wf(b));)this.ld();!b&&this.M()<this.Hd&&(b=this.Le());b&&(this.mf=a,this.ub.add(b));return b}};
|
|
var Sp=function(a,b){return a.ub.remove(b)?(a.xe(b),!0):!1};k=Rp.prototype;k.xe=function(a){this.ub.remove(a);this.wf(a)&&this.M()<this.Hd?this.Sa.enqueue(a):this.sd(a)};k.ld=function(){for(var a=this.Sa;this.M()<this.rh;)a.enqueue(this.Le());for(;this.M()>this.Hd&&0<this.Sa.M();)this.sd(a.Ic())};k.Le=function(){return{}};k.sd=function(a){if("function"==typeof a.Qa)a.Qa();else for(var b in a)a[b]=null};k.wf=function(a){return"function"==typeof a.wj?a.wj():!0};
|
|
k.contains=function(a){return this.Sa.contains(a)||this.ub.contains(a)};k.M=function(){return this.Sa.M()+this.ub.M()};k.isEmpty=function(){return this.Sa.isEmpty()&&this.ub.isEmpty()};k.G=function(){Rp.L.G.call(this);if(0<this.ub.M())throw Error("[goog.structs.Pool] Objects not released");delete this.ub;for(var a=this.Sa;!a.isEmpty();)this.sd(a.Ic());delete this.Sa};var Tp=function(a,b){this.jh=a;this.be=b};Tp.prototype.getKey=function(){return this.jh};Tp.prototype.clone=function(){return new Tp(this.jh,this.be)};var Up=function(a){this.za=[];if(a)a:{if(a instanceof Up){var b=a.Ja();a=a.S();if(0>=this.M()){for(var c=this.za,d=0;d<b.length;d++)c.push(new Tp(b[d],a[d]));break a}}else b=Kb(a),a=Ib(a);for(d=0;d<b.length;d++)Vp(this,b[d],a[d])}},Vp=function(a,b,c){var d=a.za;d.push(new Tp(b,c));b=d.length-1;a=a.za;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};k=Up.prototype;
|
|
k.remove=function(){var a=this.za,b=a.length,c=a[0];if(!(0>=b)){if(1==b)hb(a);else{a[0]=a.pop();a=0;b=this.za;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.be}};k.S=function(){for(var a=this.za,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].be);return b};k.Ja=function(){for(var a=this.za,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.Gc=function(a){return ab(this.za,function(b){return b.be==a})};k.rb=function(a){return ab(this.za,function(b){return b.getKey()==a})};k.clone=function(){return new Up(this)};k.M=function(){return this.za.length};k.isEmpty=function(){return 0==this.za.length};k.clear=function(){hb(this.za)};var Wp=function(){Up.call(this)};x(Wp,Up);Wp.prototype.enqueue=function(a,b){Vp(this,a,b)};Wp.prototype.Ic=function(){return this.remove()};var Xp=function(a,b){this.Gg=void 0;this.Od=new Wp;Rp.call(this,a,b)};x(Xp,Rp);k=Xp.prototype;k.Oc=function(a,b){if(!a)return(a=Xp.L.Oc.call(this))&&this.delay&&(this.Gg=r.setTimeout(v(this.Bd,this),this.delay)),a;this.Od.enqueue(void 0!==b?b:100,a);this.Bd()};k.Bd=function(){for(var a=this.Od;0<a.M();){var b=this.Oc();if(b)a.Ic().apply(this,[b]);else break}};k.xe=function(a){Xp.L.xe.call(this,a);this.Bd()};k.ld=function(){Xp.L.ld.call(this);this.Bd()};
|
|
k.G=function(){Xp.L.G.call(this);r.clearTimeout(this.Gg);this.Od.clear();this.Od=null};var Yp=function(a,b){Ka.call(this);this.nf=a;this.ra=b||null};q(Yp,Cp);Yp.prototype.lh=function(a,b){var c=$c(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.$j["x-earth-engine-computation-profile"];this.ra&&e&&this.ra.sj(a.pa.id,e);break;case "failed":case "aborted":this.ra&&""!==a.pa.id&&this.ra.Uj(a.pa.id),hd(c)}},void 0,this);a.La=this.zd(a.jc,a.zoom);var d=v(this.df,this,a);Zp().Oc(d,b)};Yp.prototype.Wg=function(){return this.nf.mapid+"-"+this.nf.token};
|
|
Yp.prototype.df=function(a,b){var c=Zp();if(a.Ra||"aborted"==a.getStatus())Sp(c,b);else{var d=$c(a,"status-changed",function(){a.Sd in Bp&&(hd(d),Sp(c,b))});Ap(a)}};Yp.prototype.zd=function(a,b){a=rl(this.nf,a.x,a.y,b);return this.ra&&this.ra.isEnabled()?a+"&profiling=1":a};var Zp=function(){$p||($p=new Xp(0,4));return $p};w("ee.layers.EarthEngineTileSource",Yp);var $p=null;var bq=function(){z.call(this);this.Wd=new aq(0,60);this.tc=new rd};q(bq,z);bq.prototype.send=function(a,b,c,d,e){if(this.tc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new cq(a,b,d,v(this.Eh,this),void 0!==e?e:1);this.tc.set(a,b);a=v(this.df,this,b);this.Wd.Oc(a,c);return b};bq.prototype.abort=function(a){if(a=this.tc.get(a))a.fc||(a.fc=!0,a.Ha=new Ma("abort")),this.Eh(a)};
|
|
bq.prototype.df=function(a,b){if(a.ea||a.fc)dq(this,b);else if(a.Xh=b,b.setActive(!0),b=new Fp,a.ea=b,!a.retry())throw Error("Cannot dispatch first request!");};bq.prototype.Eh=function(a){this.tc.remove(a.getId());a.ea&&(dq(this,a.Xh),a.ea.Qa());a.ef&&a.ef(a.Ha,a.Ch)};var dq=function(a,b){b.setActive(!1);if(!Sp(a.Wd,b))throw Error("Object not released");};bq.prototype.G=function(){z.prototype.G.call(this);this.Wd.Qa();this.Wd=null;var a=this.tc;Ya(a.S(),function(b){b.Qa()});a.clear();this.tc=null};
|
|
w("ee.MapTileManager",bq);bq.kf=void 0;bq.Vg=function(){return bq.kf?bq.kf:bq.kf=new bq};var cq=function(a,b,c,d,e){Ka.call(this);this.da=a;this.ek=b;this.Pj=void 0!==e?e:1;this.ef=c;this.Yb=d};q(cq,Ka);k=cq.prototype;k.getId=function(){return this.da};k.getUrl=function(){return this.ek};k.Fj=function(a){if(this.fc)this.Yb&&this.Yb(this);else switch(a.type){case "load":this.Ha=a;this.Yb&&this.Yb(this);break;case "error":case "abort":this.retry()||(this.Ha=a,this.Yb&&this.Yb(this))}};
|
|
k.G=function(){Ka.prototype.G.call(this);delete this.ef;delete this.Yb};k.retry=function(){if(this.hg>this.Pj)return!1;this.hg++;Ip(this.ea,this.da);setTimeout(v(this.ak,this),0);return!0};
|
|
k.ak=function(){if(!this.fc){var a=v(function(d){this.fc||(Hp(this.ea,this.da,d),Zc(this.ea,eq,v(this.Fj,this)),this.ea.start())},this),b=this.getUrl();if(je(b).Ba.rb("profiling")){var c=new Ii;c.uc="blob";c.Ua("complete",v(function(){this.Ch=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=jc(lc(Wi(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Wc("ready",v(c.Qa,c));c.send(b,"GET")}else a(b)}};k.hg=0;k.fc=!1;
|
|
k.ea=null;k.Xh=null;k.Ha=null;k.Ch=null;var eq=["load","abort","error"],fq=function(){Ka.call(this);this.Da=!1};q(fq,Ka);fq.prototype.setActive=function(a){this.Da=a};fq.prototype.hh=function(){return this.Da};var aq=function(a,b){Xp.call(this,a,b)};q(aq,Xp);aq.prototype.Le=function(){return new fq};aq.prototype.sd=function(a){a.Qa()};aq.prototype.wf=function(a){return!a.Ra&&!a.hh()};var gq=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.Yf=new Ad;this.xf=1;this.ra=e||null};q(gq,Dd);k=gq.prototype;k.ye=function(a){return $c(this,"tileevent",a)};k.Gf=function(a){hd(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.wb,this.token].join("/");this.wb+=1;c=fh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.yb.push(b);bq.Vg().send(b,a,d,v(this.Ej,this,c,b));dp(this);return c};k.Nc=function(){return this.yb.length};
|
|
k.releaseTile=function(a){bq.Vg().abort(a.id);this.Yf.remove(void 0!==a.firstElementChild?a.firstElementChild:jh(a.firstChild));""!==a.id&&(this.Xf.remove(a.id),this.ra&&this.ra.Uj(a.id))};k.setOpacity=function(a){this.xf=a;var b=this.Yf.ec();qd(b,function(c){pp(c,a)})};
|
|
k.Ej=function(a,b,c,d){"error"==c.type?(jb(this.yb,b),this.Xf.add(b),this.dispatchEvent(c)):(jb(this.yb,b),c.target&&"load"==c.type&&(c=c.target,this.Yf.add(c),1!=this.xf&&pp(c,this.xf),a.appendChild(c)),dp(this));this.ra&&null!==d&&this.ra.sj(b,d)};w("ee.MapLayerOverlay",gq);gq.prototype.removeTileCallback=gq.prototype.Gf;gq.prototype.addTileCallback=gq.prototype.ye;gq.prototype.getTile=gq.prototype.getTile;gq.prototype.setOpacity=gq.prototype.setOpacity;gq.prototype.releaseTile=gq.prototype.releaseTile;var hq=function(a,b){if(!(this instanceof hq))return new hq(a,b);this.lb=a;this.Xa=b};x(hq,O);w("ee.SavedFunction",hq);hq.prototype.encode=function(a){return Q("LoadAlgorithmById",this.lb).encode(a)};hq.prototype.Z=function(){return this.Xa};(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.image.toDrive ee.batch.Export.video.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toDrive ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.limit ee.Collection.prototype.filter ee.Collection.prototype.filterMetadata ee.Collection.prototype.iterate ee.Collection.prototype.sort ee.Collection.prototype.map ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.data.authenticateViaOauth ee.data.setAssetProperties ee.data.getTaskList ee.data.startProcessing ee.data.listOperations ee.data.listBuckets ee.data.getAssetRootQuota ee.data.startTableIngestion ee.data.getTaskListWithLimit ee.data.getAssetRoots ee.data.getAsset ee.data.createAssetHome ee.data.makeThumbUrl ee.data.cancelOperation ee.data.getInfo ee.data.createAsset ee.data.getOperation ee.data.getList ee.data.listAssets ee.data.listImages ee.data.createFolder ee.data.renameAsset ee.data.cancelTask ee.data.startIngestion ee.data.updateTask ee.data.copyAsset ee.data.getDownloadId ee.data.deleteAsset ee.data.makeDownloadUrl ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getTableDownloadId ee.data.computeValue ee.data.authenticateViaPrivateKey ee.data.makeTableDownloadUrl ee.data.getVideoThumbId ee.data.getThumbId ee.data.setAssetAcl ee.data.newTaskId ee.data.updateAsset ee.data.getMapId ee.data.getTaskStatus ee.data.getTileUrl ee.data.getFilmstripThumbId ee.data.authenticate ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.InitState ee.call ee.TILE_SIZE ee.Algorithms ee.apply ee.reset ee.initialize ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getInfo ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.Filter.eq ee.Filter.lt ee.Filter.bounds ee.Filter.neq ee.Filter ee.Filter.gte ee.Filter.inList ee.Filter.or ee.Filter.lte ee.Filter.date ee.Filter.metadata ee.Filter.prototype.not ee.Filter.and ee.Filter.gt ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPoint ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSONString ee.Geometry.LineString ee.Geometry.Rectangle ee.Geometry.BBox ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getThumbId ee.Image ee.Image.prototype.getMap ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.getThumbURL ee.Image.cat ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image.prototype.clip ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection ee.List ee.Number ee.Serializer.toCloudApiJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.encode ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name","namedArgs"],["name"],["name","var_args"],"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_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),
|
|
"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_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),["collection","opt_description","opt_assetId"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),
|
|
"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),["geometry"],["start","opt_end"],["max","opt_property","opt_ascending"],["filter"],["name","operator","value"],["algorithm","opt_first"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["func","var_args"],["callback"],["legacy"],["opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","properties","opt_callback"],["opt_callback"],["taskId","params",
|
|
"opt_callback"],["opt_limit","opt_callback"],["project","opt_callback"],["rootId","opt_callback"],["taskId","request","opt_callback"],["opt_limit","opt_callback"],["opt_callback"],["id","opt_callback"],["requestedId","opt_callback"],["id"],["operationName","opt_callback"],["id","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["operationName","opt_callback"],["params","opt_callback"],["parent","params","opt_callback"],["parent","params","opt_callback"],["path","opt_force",
|
|
"opt_callback"],["sourceId","destinationId","opt_callback"],["taskId","opt_callback"],["taskId","request","opt_callback"],["taskId","action","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["params","opt_callback"],["assetId","opt_callback"],["id"],["opt_success","opt_error"],["assetId","opt_callback"],["params","opt_callback"],["obj","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["id"],["params","opt_callback"],["params","opt_callback"],["assetId",
|
|
"aclUpdate","opt_callback"],["opt_count","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["id","x","y","z"],["params","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],["func","var_args"],[],[],["func","namedArgs"],[],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["var_args"],
|
|
["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_callback"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["name","value"],["name","value"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["var_args"],["name","value"],["start","opt_end"],
|
|
["name","operator","value"],[],["var_args"],["name","value"],["var_args"],["namedArgs"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["west","south","east","north"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords",
|
|
"opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["legacy"],["params","opt_callback"],["r","g","b"],["params","opt_callback"],["opt_args"],["opt_visParams","opt_callback"],["var_args"],["expression","opt_map"],["params","opt_callback"],["var_args"],["var_args"],["opt_callback"],["geometry"],["selectors","opt_names"],["opt_visParams","opt_callback"],[],["opt_callback"],["params","opt_callback"],["params","opt_callback"],["args"],["list"],["number"],["obj"],["obj"],["obj"],["obj"],["obj"],["obj",
|
|
"opt_isCompound"],["obj"],["string"],[]];[Bm,Am,Q,co,jo,ho,Zn,bo,io,ao,go,eo,fo,W.prototype.Mg,W.prototype.Ve,W.prototype.limit,W.prototype.filter,W.prototype.We,W.prototype.ih,W.prototype.sort,W.prototype.map,N.prototype.dg,N.prototype.evaluate,N.prototype.V,N.prototype.X,jl,mm,Gl,Rl,Hl,bm,nm,Xl,Fl,cm,Yl,dm,wl,Il,Yl,em,Jl,Zl,$l,am,fm,gm,Ll,Vl,Kl,hm,yl,im,zl,il,jm,Al,sl,ll,Bl,ul,tl,lm,Cl,km,ql,El,rl,vl,kl,Ao,Do,Eo,Jo,Fo,Ko,Xo,Yo,256,Vo,Zo,Wo,To,S.prototype.set,X,X.prototype.getMap,X.prototype.X,Y.prototype.select,
|
|
Y.prototype.X,Y,Y.prototype.getMap,Y.prototype.sb,on,qn,yn,pn,V,rn,xn,vn,tn,wn,zn,V.prototype.oc,un,sn,O.prototype.call,O.prototype.apply,Um,cn,U,Xm,U.prototype.fd,dn,U.prototype.Zf,bn,Ym,Zm,fn,en,U.prototype.V,M.prototype.sb,Mn,M.prototype.yd,M,M.prototype.getMap,M.prototype.select,M.prototype.i,M.prototype.af,Nn,M.prototype.Fh,M.prototype.X,M.prototype.clip,Z.prototype.select,Z.prototype.getMap,Z.prototype.first,Z.prototype.X,Z.prototype.$e,Z.prototype.cf,Z,On,qo,Kk,Lk,Jk,Ek,Hk,Bk,Ck,to,No].forEach(function(d,
|
|
e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|