mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
664 lines
304 KiB
JavaScript
664 lines
304 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}}},ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ca=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");
|
|
},l=ca(this),da=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&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
da("Symbol",function(a){if(a)return a;var b=function(f,g){this.wi=f;ba(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.wi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e});
|
|
da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=l[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
|
|
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},fa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ha;
|
|
if("function"==typeof Object.setPrototypeOf)ha=Object.setPrototypeOf;else{var ia;a:{var ja={a:!0},ka={};try{ka.__proto__=ja;ia=ka.a;break a}catch(a){}ia=!1}ha=ia?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var la=ha,q=function(a,b){a.prototype=fa(b.prototype);a.prototype.constructor=a;if(la)la(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.M=b.prototype},ma=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
|
|
da("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!ma(m,f)){var p=new b;ba(m,f,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(v){if(v instanceof b)return v;Object.isExtensible(v)&&d(v);return p(v)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),v=new a([[m,2],[p,3]]);if(2!=v.get(m)||3!=v.get(p))return!1;v.delete(m);v.set(p,4);return!v.has(m)&&4==v.get(p)}catch(B){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(m){this.ga=(g+=Math.random()+1).toString();if(m){m=n(m);for(var p;!(p=m.next()).done;)p=p.value,this.set(p[0],p[1])}};h.prototype.set=function(m,p){if(!c(m))throw Error("Invalid WeakMap key");d(m);if(!ma(m,f))throw Error("WeakMap key fail: "+m);m[f][this.ga]=p;return this};h.prototype.get=function(m){return c(m)&&ma(m,f)?m[f][this.ga]:void 0};h.prototype.has=function(m){return c(m)&&ma(m,f)&&ma(m[f],
|
|
this.ga)};h.prototype.delete=function(m){return c(m)&&ma(m,f)&&ma(m[f],this.ga)?delete m[f][this.ga]:!1};return h});
|
|
da("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}),m=new a(n([[h,"s"]]));if("s"!=m.get(h)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var p=m.entries(),v=p.next();if(v.done||v.value[0]!=h||"s"!=v.value[1])return!1;v=p.next();return v.done||4!=v.value[0].x||"t"!=v.value[1]||!p.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(h){this.Nc={};this.sa=
|
|
f();this.size=0;if(h){h=n(h);for(var m;!(m=h.next()).done;)m=m.value,this.set(m[0],m[1])}};c.prototype.set=function(h,m){h=0===h?0:h;var p=d(this,h);p.list||(p.list=this.Nc[p.id]=[]);p.ea?p.ea.value=m:(p.ea={next:this.sa,sb:this.sa.sb,head:this.sa,key:h,value:m},p.list.push(p.ea),this.sa.sb.next=p.ea,this.sa.sb=p.ea,this.size++);return this};c.prototype.delete=function(h){h=d(this,h);return h.ea&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.Nc[h.id],h.ea.sb.next=h.ea.next,h.ea.next.sb=
|
|
h.ea.sb,h.ea.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.Nc={};this.sa=this.sa.sb=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).ea};c.prototype.get=function(h){return(h=d(this,h).ea)&&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,m){for(var p=this.entries(),
|
|
v;!(v=p.next()).done;)v=v.value,h.call(m,v[1],v[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,m){var p=m&&typeof m;"object"==p||"function"==p?b.has(m)?p=b.get(m):(p=""+ ++g,b.set(m,p)):p="p_"+m;var v=h.Nc[p];if(v&&ma(h.Nc,p))for(h=0;h<v.length;h++){var B=v[h];if(m!==m&&B.key!==B.key||m===B.key)return{id:p,list:v,index:h,ea:B}}return{id:p,list:v,index:-1,ea:void 0}},e=function(h,m){var p=h.sa;return ea(function(){if(p){for(;p.head!=h.sa;)p=p.sb;for(;p.next!=p.head;)return p=
|
|
p.next,{done:!1,value:m(p)};p=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.sb=h.next=h.head=h},g=0;return c});da("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,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 na=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};da("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=na(this,b,"endsWith");b+="";void 0===c&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;0<e&&0<c;)if(d[--c]!=b[--e])return!1;return 0>=e}});
|
|
da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=na(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}});da("String.prototype.repeat",function(a){return a?a:function(b){var c=na(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 oa=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};da("Array.prototype.keys",function(a){return a?a:function(){return oa(this,function(b){return b})}});
|
|
da("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(h){return h};var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});da("Array.prototype.values",function(a){return a?a:function(){return oa(this,function(b,c){return c})}});
|
|
var pa="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)ma(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||pa});
|
|
da("Promise",function(a){function b(){this.vb=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.qg=function(g){if(null==this.vb){this.vb=[];var h=this;this.rg(function(){h.Xj()})}this.vb.push(g)};var d=l.setTimeout;b.prototype.rg=function(g){d(g,0)};b.prototype.Xj=function(){for(;this.vb&&this.vb.length;){var g=this.vb;this.vb=[];for(var h=0;h<g.length;++h){var m=g[h];g[h]=null;try{m()}catch(p){this.Pj(p)}}}this.vb=null};b.prototype.Pj=function(g){this.rg(function(){throw g;
|
|
})};var e=function(g){this.T=0;this.na=void 0;this.yc=[];this.vh=!1;var h=this.Te();try{g(h.resolve,h.reject)}catch(m){h.reject(m)}};e.prototype.Te=function(){function g(p){return function(v){m||(m=!0,p.call(h,v))}}var h=this,m=!1;return{resolve:g(this.xk),reject:g(this.Of)}};e.prototype.xk=function(g){if(g===this)this.Of(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.zk(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.wk(g):this.ih(g)}};e.prototype.wk=function(g){var h=void 0;try{h=g.then}catch(m){this.Of(m);return}"function"==typeof h?this.Ak(h,g):this.ih(g)};e.prototype.Of=function(g){this.bi(2,g)};e.prototype.ih=function(g){this.bi(1,g)};e.prototype.bi=function(g,h){if(0!=this.T)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.T);this.T=g;this.na=h;2===this.T&&this.yk();this.Zj()};e.prototype.yk=function(){var g=this;d(function(){if(g.rk()){var h=l.console;"undefined"!==
|
|
typeof h&&h.error(g.na)}},1)};e.prototype.rk=function(){if(this.vh)return!1;var g=l.CustomEvent,h=l.Event,m=l.dispatchEvent;if("undefined"===typeof m)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):"function"===typeof h?g=new h("unhandledrejection",{cancelable:!0}):(g=l.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.na;return m(g)};e.prototype.Zj=function(){if(null!=this.yc){for(var g=0;g<this.yc.length;++g)f.qg(this.yc[g]);
|
|
this.yc=null}};var f=new b;e.prototype.zk=function(g){var h=this.Te();g.zd(h.resolve,h.reject)};e.prototype.Ak=function(g,h){var m=this.Te();try{g.call(h,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(g,h){function m(D,R){return"function"==typeof D?function(X){try{p(D(X))}catch(U){v(U)}}:R}var p,v,B=new e(function(D,R){p=D;v=R});this.zd(m(g,p),m(h,v));return B};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.zd=function(g,h){function m(){switch(p.T){case 1:g(p.na);
|
|
break;case 2:h(p.na);break;default:throw Error("Unexpected state: "+p.T);}}var p=this;null==this.yc?f.qg(m):this.yc.push(m);this.vh=!0};e.resolve=c;e.reject=function(g){return new e(function(h,m){m(g)})};e.race=function(g){return new e(function(h,m){for(var p=n(g),v=p.next();!v.done;v=p.next())c(v.value).zd(h,m)})};e.all=function(g){var h=n(g),m=h.next();return m.done?c([]):new e(function(p,v){function B(X){return function(U){D[X]=U;R--;0==R&&p(D)}}var D=[],R=0;do D.push(void 0),R++,c(m.value).zd(B(D.length-
|
|
1),v),m=h.next();while(!m.done)})};return e});da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ma(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});
|
|
da("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==na(this,b,"includes").indexOf(b,c||0)}});da("Array.prototype.entries",function(a){return a?a:function(){return oa(this,function(b,c){return[b,c]})}});
|
|
da("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(n([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),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.A=new Map;if(c){c=
|
|
n(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.A.size};b.prototype.add=function(c){c=0===c?0:c;this.A.set(c,c);this.size=this.A.size;return this};b.prototype.delete=function(c){c=this.A.delete(c);this.size=this.A.size;return c};b.prototype.clear=function(){this.A.clear();this.size=0};b.prototype.has=function(c){return this.A.has(c)};b.prototype.entries=function(){return this.A.entries()};b.prototype.values=function(){return this.A.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.A.forEach(function(f){return c.call(d,f,f,e)})};return b});da("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ma(b,d)&&c.push(b[d]);return c}});da("String.prototype.padStart",function(a){return a?a:function(b,c){var d=na(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 qa=qa||{},r=this||self,ra=function(){},sa=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},ta=function(a){var b=sa(a);return"array"==b||"object"==b&&"number"==typeof a.length},ua=function(a){return t(a)&&"function"==typeof a.getFullYear},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},xa=function(a){return Object.prototype.hasOwnProperty.call(a,va)&&a[va]||(a[va]=++wa)},va="closure_uid_"+(1E9*Math.random()>>>0),wa=0,ya=function(a,b,c){return a.call.apply(a.bind,
|
|
arguments)},za=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},u=function(a,b,c){u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ya:za;return u.apply(null,arguments)},Aa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=
|
|
c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},w=function(a,b){a=a.split(".");var c=r;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},x=function(a,b){function c(){}c.prototype=b.prototype;a.M=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Lk=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,
|
|
g)}},Ba=function(a){return a};function Ca(a){a&&"function"==typeof a.Ya&&a.Ya()};var Da=function(){this.Za=this.Za;this.Ud=this.Ud};Da.prototype.Za=!1;Da.prototype.Ya=function(){this.Za||(this.Za=!0,this.I())};Da.prototype.I=function(){if(this.Ud)for(;this.Ud.length;)this.Ud.shift()()};var y=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.gd=!1};y.prototype.stopPropagation=function(){this.gd=!0};y.prototype.preventDefault=function(){this.defaultPrevented=!0};function Ea(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ea);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}x(Ea,Error);Ea.prototype.name="CustomError";var Fa;var Ga=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");Ea.call(this,c+a[d])};x(Ga,Ea);Ga.prototype.name="AssertionError";
|
|
var Ha=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ga(""+e,f||[]);},z=function(a,b,c){a||Ha("",null,b,Array.prototype.slice.call(arguments,2))},Ia=function(a,b){throw new Ga("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ja=function(a,b,c){"number"!==typeof a&&Ha("Expected number but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ka=function(a,b,c){"string"!==typeof a&&Ha("Expected string but got %s: %s.",
|
|
[sa(a),a],b,Array.prototype.slice.call(arguments,2))},La=function(a,b,c){"function"!==typeof a&&Ha("Expected function but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2))},Ma=function(a,b,c){t(a)||Ha("Expected object but got %s: %s.",[sa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Na=Array.prototype.indexOf?function(a,b){z(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},Oa=Array.prototype.lastIndexOf?function(a,b){z(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},Pa=Array.prototype.forEach?function(a,b,c){z(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)},Qa=Array.prototype.filter?function(a,b){z(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},Ra=Array.prototype.map?function(a,b,c){z(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},Sa=Array.prototype.some?function(a,b){z(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},Ta=Array.prototype.every?function(a,b){z(null!=a.length);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function Ua(a,b){var c=0;Pa(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c}function Va(a,b){return 0<=Na(a,b)}function Wa(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0}
|
|
function Xa(a,b){b=Na(a,b);var c;(c=0<=b)&&Ya(a,b);return c}function Ya(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)}function Za(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function $a(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ta(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)}}
|
|
function ab(a,b,c){z(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function bb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function cb(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=ab(d,e,e+8192);f=cb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var db=Object.freeze||function(a){return a};var eb=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",ra,b),r.removeEventListener("test",ra,b)}catch(c){}return a}();var fb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},gb=function(a,b){return a<b?-1:a>b?1:0};var hb;a:{var ib=r.navigator;if(ib){var jb=ib.userAgent;if(jb){hb=jb;break a}}hb=""}var kb=function(a){return-1!=hb.indexOf(a)};function lb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function mb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function nb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function ob(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function pb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function qb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function rb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
function sb(a){var b=tb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function ub(a){for(var b in a)return!1;return!0}function vb(a,b){b in a&&delete a[b]}function wb(a){var b={},c;for(c in a)b[c]=a[c];return b}
|
|
function xb(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=xb(a[c]);return b}var yb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
|
|
function zb(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<yb.length;f++)c=yb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Ab=function(a){return a};var Bb;var Eb=function(a,b){this.bg=a===Cb&&b||"";this.Bj=Db};Eb.prototype.rf=!0;Eb.prototype.lf=function(){return this.bg};Eb.prototype.toString=function(){return"Const{"+this.bg+"}"};var Fb=function(a){if(a instanceof Eb&&a.constructor===Eb&&a.Bj===Db)return a.bg;Ia("expected object of type Const, got '"+a+"'");return"type_error:Const"},Db={},Cb={};var Hb=function(a,b){this.Kf=b===Gb?a:""};Hb.prototype.rf=!0;Hb.prototype.lf=function(){return this.Kf.toString()};Hb.prototype.toString=function(){return this.Kf+""};
|
|
var Jb=function(a){if(a instanceof Hb&&a.constructor===Hb)return a.Kf;Ia("expected object of type TrustedResourceUrl, got '"+a+"' of type "+sa(a));return"type_error:TrustedResourceUrl"},Ob=function(a){var b=Fb(Kb);if(!Lb.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(Mb,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
|
|
Eb?Fb(d):encodeURIComponent(String(d))});return Nb(c)},Mb=/%{(\w+)}/g,Lb=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),Gb={},Nb=function(a){if(void 0===Bb){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ba,createScript:Ba,createScriptURL:Ba})}catch(d){r.console&&r.console.error(d.message)}Bb=b}a=(b=Bb)?b.createScriptURL(a):a;return new Hb(a,Gb)};var Qb=function(a,b){this.Jf=b===Pb?a:""};Qb.prototype.rf=!0;Qb.prototype.lf=function(){return this.Jf.toString()};Qb.prototype.toString=function(){return this.Jf.toString()};
|
|
var Rb=function(a){if(a instanceof Qb&&a.constructor===Qb)return a.Jf;Ia("expected object of type SafeUrl, got '"+a+"' of type "+sa(a));return"type_error:SafeUrl"},Sb=RegExp('^(?: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)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),Tb=function(a){if(Sb.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?
|
|
r.URL: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 Qb(a,Pb)},Pb={};var Vb=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(t(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;Ia("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
"HTMLScriptElement",f)}a.src=Jb(b);a:{b=(a.ownerDocument&&a.ownerDocument.defaultView||r).document;if(b.querySelector&&(b=b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&Ub.test(b))break a;b=""}b&&a.setAttribute("nonce",b)},Ub=/^[\w+/_-]+[=]{0,2}$/;var Wb=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")},Xb=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 Yb=function(a){Yb[" "](a);return a};Yb[" "]=ra;var $b=function(a,b){var c=Zb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var ac=kb("Opera"),bc=kb("Trident")||kb("MSIE"),cc=kb("Edge"),dc=kb("Gecko")&&!(-1!=hb.toLowerCase().indexOf("webkit")&&!kb("Edge"))&&!(kb("Trident")||kb("MSIE"))&&!kb("Edge"),ec=-1!=hb.toLowerCase().indexOf("webkit")&&!kb("Edge"),fc;
|
|
a:{var gc="",hc=function(){var a=hb;if(dc)return/rv:([^\);]+)(\)|;)/.exec(a);if(cc)return/Edge\/([\d\.]+)/.exec(a);if(bc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ec)return/WebKit\/(\S+)/.exec(a);if(ac)return/(?:Version)[ \/]?(\S+)/.exec(a)}();hc&&(gc=hc?hc[1]:"");if(bc){var ic,jc=r.document;ic=jc?jc.documentMode:void 0;if(null!=ic&&ic>parseFloat(gc)){fc=String(ic);break a}}fc=gc}
|
|
var kc=fc,Zb={},lc=function(a){return $b(a,function(){for(var b=0,c=fb(String(kc)).split("."),d=fb(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=gb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||gb(0==g[2].length,0==h[2].length)||gb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})};var nc=function(a,b){y.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.Ma=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(dc){a:{try{Yb(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=ec||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=ec||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.Ma=a;a.defaultPrevented&&nc.M.preventDefault.call(this)}};
|
|
x(nc,y);var mc=db({2:"touch",3:"pen",4:"mouse"});nc.prototype.stopPropagation=function(){nc.M.stopPropagation.call(this);this.Ma.stopPropagation?this.Ma.stopPropagation():this.Ma.cancelBubble=!0};nc.prototype.preventDefault=function(){nc.M.preventDefault.call(this);var a=this.Ma;a.preventDefault?a.preventDefault():a.returnValue=!1};var oc="closure_listenable_"+(1E6*Math.random()|0),pc=function(a){return!(!a||!a[oc])};var qc=0;var rc=function(a,b,c,d,e){this.listener=a;this.Vd=null;this.src=b;this.type=c;this.capture=!!d;this.qb=e;this.key=++qc;this.kd=this.yd=!1},sc=function(a){a.kd=!0;a.listener=null;a.Vd=null;a.src=null;a.qb=null};var tc=function(a){this.src=a;this.la={};this.od=0};tc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.la[f];a||(a=this.la[f]=[],this.od++);var g=uc(a,b,d,e);-1<g?(b=a[g],c||(b.yd=!1)):(b=new rc(b,this.src,f,!!d,e),b.yd=c,a.push(b));return b};tc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.la))return!1;var e=this.la[a];b=uc(e,b,c,d);return-1<b?(sc(e[b]),Ya(e,b),0==e.length&&(delete this.la[a],this.od--),!0):!1};
|
|
var vc=function(a,b){var c=b.type;c in a.la&&Xa(a.la[c],b)&&(sc(b),0==a.la[c].length&&(delete a.la[c],a.od--))};tc.prototype.jd=function(a){a=a&&a.toString();var b=0,c;for(c in this.la)if(!a||c==a){for(var d=this.la[c],e=0;e<d.length;e++)++b,sc(d[e]);delete this.la[c];this.od--}};tc.prototype.Sc=function(a,b,c,d){a=this.la[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 ob(this.la,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.kd&&f.listener==b&&f.capture==!!c&&f.qb==d)return e}return-1};var wc="closure_lm_"+(1E6*Math.random()|0),xc={},yc=0,Ac=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++)Ac(a,b[f],c,d,e);return null}c=Bc(c);return pc(a)?a.cb(b,c,t(d)?!!d.capture:!!d,e):Cc(a,b,c,!1,d,e)},Cc=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=t(e)?!!e.capture:!!e,h=Dc(a);h||(a[wc]=h=new tc(a));c=h.add(b,c,d,g,f);if(c.Vd)return c;d=Ec();c.Vd=d;d.src=a;d.listener=c;if(a.addEventListener)eb||(e=g),void 0===e&&(e=
|
|
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Fc(b.toString()),d);else if(a.addListener&&a.removeListener)z("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");yc++;return c},Ec=function(){var a=Gc,b=function(c){return a.call(b.src,b.listener,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=Bc(c);return pc(a)?a.bd(b,
|
|
c,t(d)?!!d.capture:!!d,e):Cc(a,b,c,!0,d,e)},Hc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Hc(a,b[f],c,d,e);else d=t(d)?!!d.capture:!!d,c=Bc(c),pc(a)?a.ke(b,c,d,e):a&&(a=Dc(a))&&(b=a.Sc(b,c,d,e))&&Ic(b)},Ic=function(a){if("number"!==typeof a&&a&&!a.kd){var b=a.src;if(pc(b))vc(b.La,a);else{var c=a.type,d=a.Vd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Fc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);yc--;(c=Dc(b))?(vc(c,
|
|
a),0==c.od&&(c.src=null,b[wc]=null)):sc(a)}}},Fc=function(a){return a in xc?xc[a]:xc[a]="on"+a},Gc=function(a,b){if(a.kd)a=!0;else{b=new nc(b,this);var c=a.listener,d=a.qb||a.src;a.yd&&Ic(a);a=c.call(d,b)}return a},Dc=function(a){a=a[wc];return a instanceof tc?a:null},Jc="__closure_events_fn_"+(1E9*Math.random()>>>0),Bc=function(a){z(a,"Listener can not be null.");if("function"===typeof a)return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[Jc]||(a[Jc]=function(b){return a.handleEvent(b)});
|
|
return a[Jc]};var A=function(){Da.call(this);this.La=new tc(this);this.Nj=this;this.Hf=null};x(A,Da);A.prototype[oc]=!0;k=A.prototype;k.addEventListener=function(a,b,c,d){Ac(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){Hc(this,a,b,c,d)};
|
|
k.dispatchEvent=function(a){Kc(this);var b=this.Hf;if(b){var c=[];for(var d=1;b;b=b.Hf)c.push(b),z(1E3>++d,"infinite loop")}b=this.Nj;d=a.type||a;if("string"===typeof a)a=new y(a,b);else if(a instanceof y)a.target=a.target||b;else{var e=a;a=new y(d,b);zb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.gd&&0<=f;f--){var g=a.currentTarget=c[f];e=Lc(g,d,!0,a)&&e}a.gd||(g=a.currentTarget=b,e=Lc(g,d,!0,a)&&e,a.gd||(e=Lc(g,d,!1,a)&&e));if(c)for(f=0;!a.gd&&f<c.length;f++)g=a.currentTarget=c[f],e=Lc(g,d,!1,a)&&e;
|
|
return e};k.I=function(){A.M.I.call(this);this.La&&this.La.jd(void 0);this.Hf=null};k.cb=function(a,b,c,d){Kc(this);return this.La.add(String(a),b,!1,c,d)};k.bd=function(a,b,c,d){return this.La.add(String(a),b,!0,c,d)};k.ke=function(a,b,c,d){this.La.remove(String(a),b,c,d)};
|
|
var Lc=function(a,b,c,d){b=a.La.la[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.kd&&g.capture==c){var h=g.listener,m=g.qb||g.src;g.yd&&vc(a.La,g);e=!1!==h.call(m,d)&&e}}return e&&!d.defaultPrevented};A.prototype.Sc=function(a,b,c,d){return this.La.Sc(String(a),b,c,d)};A.prototype.hasListener=function(a,b){return this.La.hasListener(void 0!==a?String(a):void 0,b)};var Kc=function(a){z(a.La,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Mc=function(a,b){this.Sj=a[r.Symbol.iterator]();this.kk=b;this.pk=0};Mc.prototype[Symbol.iterator]=function(){return this};Mc.prototype.next=function(){var a=this.Sj.next();return{value:a.done?void 0:this.kk.call(void 0,a.value,this.pk++),done:a.done}};var Nc=function(a,b){return new Mc(a,b)};var Oc="StopIteration"in r?r.StopIteration:{message:"StopIteration",stack:""},Pc=function(){};Pc.prototype.next=function(){return Pc.prototype.rb.call(this)};Pc.prototype.rb=function(){throw Oc;};Pc.prototype.Ga=function(){return this};
|
|
var Qc=function(a){if(a instanceof Pc)return a;if("function"==typeof a.Ga)return a.Ga(!1);if(ta(a)){var b=0,c=new Pc;c.rb=function(){for(;;){if(b>=a.length)throw Oc;if(b in a)return a[b++];b++}};c.next=c.rb.bind(c);return c}throw Error("Not implemented");},Rc=function(a,b){if(ta(a))try{Pa(a,b,void 0)}catch(c){if(c!==Oc)throw c;}else{a=Qc(a);try{for(;;)b.call(void 0,a.rb(),void 0,a)}catch(c){if(c!==Oc)throw c;}}};var Wc=function(a){if(a instanceof Sc||a instanceof Tc||a instanceof Uc)return a;if("function"==typeof a.next)return new Sc(function(){return Vc(a)});if("function"==typeof a[Symbol.iterator])return new Sc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Ga)return new Sc(function(){return Vc(a.Ga())});throw Error("Not an iterator or iterable.");},Vc=function(a){if(!(a instanceof Pc))return a;var b=!1;return{next:function(){for(var c;!b;)try{c=a.rb();break}catch(d){if(d!==Oc)throw d;
|
|
b=!0}return{value:c,done:b}}}},Sc=function(a){this.gf=a};Sc.prototype.Ga=function(){return new Tc(this.gf())};Sc.prototype[Symbol.iterator]=function(){return new Uc(this.gf())};Sc.prototype.hg=function(){return new Uc(this.gf())};var Tc=function(a){this.Yc=a};q(Tc,Pc);Tc.prototype.rb=function(){var a=this.Yc.next();if(a.done)throw Oc;return a.value};Tc.prototype.next=function(){return Tc.prototype.rb.call(this)};Tc.prototype[Symbol.iterator]=function(){return new Uc(this.Yc)};Tc.prototype.hg=function(){return new Uc(this.Yc)};
|
|
var Uc=function(a){Sc.call(this,function(){return a});this.Yc=a};q(Uc,Sc);Uc.prototype.next=function(){return this.Yc.next()};var Xc=function(a,b){this.A={};this.J=[];this.qd=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};k=Xc.prototype;k.S=function(){return this.size};k.W=function(){Yc(this);for(var a=[],b=0;b<this.J.length;b++)a.push(this.A[this.J[b]]);return a};k.Pa=function(){Yc(this);return this.J.concat()};k.ob=function(a){return this.has(a)};k.has=function(a){return Zc(this.A,a)};
|
|
k.Mc=function(a){for(var b=0;b<this.J.length;b++){var c=this.J[b];if(Zc(this.A,c)&&this.A[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.size!=a.S())return!1;b=b||$c;Yc(this);for(var c,d=0;c=this.J[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var $c=function(a,b){return a===b};Xc.prototype.isEmpty=function(){return 0==this.size};Xc.prototype.clear=function(){this.A={};this.J.length=0;this.tb(0);this.qd=0};Xc.prototype.remove=function(a){return this.delete(a)};
|
|
Xc.prototype.delete=function(a){return Zc(this.A,a)?(delete this.A[a],this.tb(this.size-1),this.qd++,this.J.length>2*this.size&&Yc(this),!0):!1};var Yc=function(a){if(a.size!=a.J.length){for(var b=0,c=0;b<a.J.length;){var d=a.J[b];Zc(a.A,d)&&(a.J[c++]=d);b++}a.J.length=c}if(a.size!=a.J.length){var e={};for(c=b=0;b<a.J.length;)d=a.J[b],Zc(e,d)||(a.J[c++]=d,e[d]=1),b++;a.J.length=c}};k=Xc.prototype;k.get=function(a,b){return Zc(this.A,a)?this.A[a]:b};
|
|
k.set=function(a,b){Zc(this.A,a)||(this.tb(this.size+1),this.J.push(a),this.qd++);this.A[a]=b};k.addAll=function(a){if(a instanceof Xc)for(var b=a.Pa(),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.Pa(),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 Xc(this)};k.keys=function(){return Wc(this.Ga(!0)).hg()};k.values=function(){return Wc(this.Ga(!1)).hg()};
|
|
k.entries=function(){var a=this;return Nc(this.keys(),function(b){return[b,a.get(b)]})};k.Ga=function(a){Yc(this);var b=0,c=this.qd,d=this,e=new Pc;e.rb=function(){if(c!=d.qd)throw Error("The map has changed since the iterator was created");if(b>=d.J.length)throw Oc;var f=d.J[b++];return a?f:d.A[f]};e.next=e.rb.bind(e);return e};k.tb=function(a){this.size=a};var Zc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ad=function(a){if(a.S&&"function"==typeof a.S)a=a.S();else if(ta(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},bd=function(a){if(a.W&&"function"==typeof a.W)return a.W();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ta(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return pb(a)},cd=function(a){if(a.Pa&&"function"==typeof a.Pa)return a.Pa();
|
|
if(!a.W||"function"!=typeof a.W){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(ta(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return qb(a)}}},dd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ta(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=cd(a),e=bd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},ed=function(a,
|
|
b){if("function"==typeof a.every)return a.every(b,void 0);if(ta(a)||"string"===typeof a)return Array.prototype.every.call(a,b,void 0);for(var c=cd(a),d=bd(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 fd=function(a){this.A=new Xc;this.size=0;a&&this.addAll(a)},gd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+xa(a):b.substr(0,1)+a};k=fd.prototype;k.S=function(){return this.A.size};k.add=function(a){this.A.set(gd(a),a);this.tb(this.A.size)};k.addAll=function(a){a=bd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.tb(this.A.size)};k.jd=function(a){a=bd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.tb(this.A.size)};
|
|
k.delete=function(a){a=this.A.remove(gd(a));this.tb(this.A.size);return a};k.remove=function(a){return this.delete(a)};k.clear=function(){this.A.clear();this.tb(0)};k.isEmpty=function(){return 0===this.A.size};k.has=function(a){return this.A.ob(gd(a))};k.contains=function(a){return this.A.ob(gd(a))};var hd=function(a,b){var c=new fd;b=bd(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},id=function(a,b){a=a.clone();a.jd(b);return a};fd.prototype.W=function(){return this.A.W()};
|
|
fd.prototype.values=function(){return this.A.values()};fd.prototype.clone=function(){return new fd(this)};fd.prototype.equals=function(a){return this.S()==ad(a)&&jd(this,a)};var jd=function(a,b){var c=ad(b);if(a.S()>c)return!1;!(b instanceof fd)&&5<c&&(b=new fd(b));return ed(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.Mc&&"function"==typeof e.Mc?e.Mc(d):ta(e)||"string"===typeof e?Va(e,d):rb(e,d)})};fd.prototype.Ga=function(){return this.A.Ga(!1)};
|
|
fd.prototype[Symbol.iterator]=function(){return this.values()};fd.prototype.tb=function(a){this.size=a};var kd=function(a,b,c){A.call(this);this.lk=b;this.token=c;this.Fb=[];this.fg=new fd;this.Db=0;this.url=a};x(kd,A);w("ee.AbstractOverlay",kd);var ld=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.lk,c,e,b.y].join("/")};kd.prototype.Tc=function(){return this.Fb.length};var md=function(a){y.call(this,"tileevent");this.count=a};x(md,y);var nd=function(){},od=new nd;function pd(a){return Object.assign({R:{},Nk:{},keys:[],wa:{},u:{},K:{},Zg:!1},a)}var C=function(){this.h={}},E=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},F=function(a,b){return null!=a.h[b]};function qd(a,b){return E(b,a)}function rd(a,b,c){b[a]=c}function sd(){return{}}function td(a,b){var c=new a;return null==b?c:ud(b,vd,wd,xd,a)}function vd(a,b){return b[a]}function wd(a,b,c){b.h[a]=c}
|
|
function xd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function ud(a,b,c,d,e){e=d(e);for(var f=yd(a,e),g=f.R||{},h=f.u||{},m=f.wa||{},p={},v=n(f.keys||[]),B=v.next();!B.done;p={Hc:p.Hc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(g.hasOwnProperty(B)){if(f.Zg&&0===D.length)continue;R=zd(D,b,c,d,!0,!0,g[B])}else if(h.hasOwnProperty(B))R=zd(D,b,c,d,!1,!0,h[B]);else if(m.hasOwnProperty(B))p.Hc=m[B],R=p.Hc.ia?D.map(function(X){return function(U){return Ad(U,X.Hc,b,c,d)}}(p)):Ad(D,p.Hc,b,c,d);else if(Array.isArray(D)){if(f.Zg&&0===D.length)continue;
|
|
R=zd(D,b,c,d,!0,!1)}else R=D instanceof nd?null:D;c(B,e,R)}}return e}function Ad(a,b,c,d,e){for(var f={},g=n(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var m=a[h];null!=m&&(f[h]=zd(m,c,d,e,b.ka,b.ja,b.da))}return f}
|
|
function zd(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 ud(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?ud(a,b,c,d,g):a instanceof nd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function yd(a,b){if(b instanceof C)a=pd(b.i());else if(a instanceof C)a=pd(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Bd=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Cd=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 Dd=function(a,b){this.pb=this.kc=this.Bb="";this.zc=null;this.Wb=this.dc="";this.Ca=this.fk=!1;if(a instanceof Dd){this.Ca=void 0!==b?b:a.Ca;Ed(this,a.Bb);var c=a.kc;Fd(this);this.kc=c;c=a.pb;Fd(this);this.pb=c;Gd(this,a.zc);this.setPath(a.getPath());Hd(this,a.Ea.clone());a=a.Wb;Fd(this);this.Wb=a}else a&&(c=String(a).match(Bd))?(this.Ca=!!b,Ed(this,c[1]||"",!0),a=c[2]||"",Fd(this),this.kc=Id(a),a=c[3]||"",Fd(this),this.pb=Id(a,!0),Gd(this,c[4]),this.setPath(c[5]||"",!0),Hd(this,c[6]||"",!0),
|
|
a=c[7]||"",Fd(this),this.Wb=Id(a)):(this.Ca=!!b,this.Ea=new Jd(null,this.Ca))};
|
|
Dd.prototype.toString=function(){var a=[],b=this.Bb;b&&a.push(Kd(b,Ld,!0),":");var c=this.pb;if(c||"file"==b)a.push("//"),(b=this.kc)&&a.push(Kd(b,Ld,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.zc,null!=c&&a.push(":",String(c));if(c=this.getPath())this.pb&&"/"!=c.charAt(0)&&a.push("/"),a.push(Kd(c,"/"==c.charAt(0)?Md:Nd,!0));(c=this.Ea.toString())&&a.push("?",c);(c=this.Wb)&&a.push("#",Kd(c,Od));return a.join("")};
|
|
Dd.prototype.resolve=function(a){var b=this.clone(),c=!!a.Bb;c?Ed(b,a.Bb):c=!!a.kc;if(c){var d=a.kc;Fd(b);b.kc=d}else c=!!a.pb;c?(d=a.pb,Fd(b),b.pb=d):c=null!=a.zc;d=a.getPath();if(c)Gd(b,a.zc);else if(c=!!a.dc){if("/"!=d.charAt(0))if(this.pb&&!this.dc)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.Ea.toString();c?Hd(b,a.Ea.clone()):c=!!a.Wb;c&&(a=a.Wb,Fd(b),b.Wb=a);return b};Dd.prototype.clone=function(){return new Dd(this)};
|
|
var Ed=function(a,b,c){Fd(a);a.Bb=c?Id(b,!0):b;a.Bb&&(a.Bb=a.Bb.replace(/:$/,""))},Gd=function(a,b){Fd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.zc=b}else a.zc=null};Dd.prototype.getPath=function(){return this.dc};Dd.prototype.setPath=function(a,b){Fd(this);this.dc=b?Id(a,!0):a;return this};var Hd=function(a,b,c){Fd(a);b instanceof Jd?(a.Ea=b,a.Ea.Vf(a.Ca)):(c||(b=Kd(b,Pd)),a.Ea=new Jd(b,a.Ca))};Dd.prototype.getQuery=function(){return this.Ea.toString()};
|
|
Dd.prototype.removeParameter=function(a){Fd(this);this.Ea.remove(a);return this};var Fd=function(a){if(a.fk)throw Error("Tried to modify a read-only Uri");};Dd.prototype.Vf=function(a){this.Ca=a;this.Ea&&this.Ea.Vf(a)};
|
|
var Qd=function(a){return a instanceof Dd?a.clone():new Dd(a,void 0)},Id=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Kd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Rd),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},Rd=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ld=/[#\/\?@]/g,Nd=/[#\?:]/g,Md=/[#\?]/g,Pd=/[#\?@]/g,Od=/#/g,Jd=function(a,b){this.$=this.O=null;this.va=a||null;this.Ca=!!b},
|
|
Sd=function(a){a.O||(a.O=new Xc,a.$=0,a.va&&Cd(a.va,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Jd.prototype;k.S=function(){Sd(this);return this.$};k.add=function(a,b){Sd(this);this.va=null;a=Td(this,a);var c=this.O.get(a);c||this.O.set(a,c=[]);c.push(b);this.$=Ja(this.$)+1;return this};k.remove=function(a){Sd(this);a=Td(this,a);return this.O.ob(a)?(this.va=null,this.$=Ja(this.$)-this.O.get(a).length,this.O.remove(a)):!1};k.clear=function(){this.O=this.va=null;this.$=0};
|
|
k.isEmpty=function(){Sd(this);return 0==this.$};k.ob=function(a){Sd(this);a=Td(this,a);return this.O.ob(a)};k.Mc=function(a){var b=this.W();return Va(b,a)};k.forEach=function(a,b){Sd(this);this.O.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};k.Pa=function(){Sd(this);for(var a=this.O.W(),b=this.O.Pa(),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.W=function(a){Sd(this);var b=[];if("string"===typeof a)this.ob(a)&&(b=b.concat(this.O.get(Td(this,a))));else{a=this.O.W();for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};k.set=function(a,b){Sd(this);this.va=null;a=Td(this,a);this.ob(a)&&(this.$=Ja(this.$)-this.O.get(a).length);this.O.set(a,[b]);this.$=Ja(this.$)+1;return this};k.get=function(a,b){if(!a)return b;a=this.W(a);return 0<a.length?String(a[0]):b};
|
|
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.va=null,this.O.set(Td(this,a),Za(b)),this.$=Ja(this.$)+b.length)};k.toString=function(){if(this.va)return this.va;if(!this.O)return"";for(var a=[],b=this.O.Pa(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.W(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.va=a.join("&")};
|
|
k.clone=function(){var a=new Jd;a.va=this.va;this.O&&(a.O=this.O.clone(),a.$=this.$);return a};var Td=function(a,b){b=String(b);a.Ca&&(b=b.toLowerCase());return b};Jd.prototype.Vf=function(a){a&&!this.Ca&&(Sd(this),this.va=null,this.O.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.Ca=a};Jd.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)dd(arguments[b],function(c,d){this.add(d,c)},this)};function Ud(a){if(null!=a.s){var b={},c;for(c in a.s)void 0!==a.s[c]&&(b[c]=a.s[c]);a.s=b}}function G(a,b){var c=Vd;b=void 0===b?{}:b;c=n(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=n(d.value);d=e.next().value;e=e.next().value;d in a&&(b[e]=a[d])}return b};var Wd=function(){};Wd.prototype.C=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function Xd(a,b){if(null==a)return null;a=a.Ok(b);return null==a?null:a};var Yd=function(a,b){this.N=a;this.ck=void 0===b?null:b};q(Yd,Wd);var Zd=function(a,b,c){var d=Xd(a.ck,b);if(null==d)return c;d.Pk();return c.then(function(e){d.Rk(e);return e},function(e){d.Qk(e);throw e;})},H=function(a,b){var c=b.G||void 0,d=a.N,e=d.send,f=b.body instanceof C?ud(b.body,qd,rd,sd):b.body;return Zd(a,b,e.call(d,{path:b.path,B:b.B,D:b.D,body:f,s:b.s,gi:b.gi&&b.gi},c))};var $d={qe:"ADMIN_READ",se:"DATA_READ",te:"DATA_WRITE",kj:"LOG_TYPE_UNSPECIFIED",values:function(){return[$d.kj,$d.qe,$d.te,$d.se]}},ae={qe:"ADMIN_READ",yi:"ADMIN_WRITE",se:"DATA_READ",te:"DATA_WRITE",sj:"PERMISSION_TYPE_UNSPECIFIED",values:function(){return[ae.sj,ae.qe,ae.yi,ae.se,ae.te]}},be={Gi:"CAPABILITY_GROUP_UNSPECIFIED",Ii:"CLOUD_ALPHA",Ui:"EXTERNAL",dj:"INTERNAL",gj:"LIMITED",tj:"PREAUTHORIZED",vj:"PREVIEW",Ic:"PUBLIC",values:function(){return[be.Gi,be.Ic,be.dj,be.Ui,be.gj,be.tj,be.vj,be.Ii]}},
|
|
ce={xi:"ADMIN_ACTIVITY",Ni:"DATA_ACCESS",Ij:"UNSPECIFIED_LOG_NAME",values:function(){return[ce.Ij,ce.xi,ce.Ni]}},de={ue:"DEFAULT_OBJECT_ACL",Ic:"PUBLIC",Fe:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[de.Fe,de.Ic,de.ue]}},fe={Bi:"APPROVER",Ci:"ATTRIBUTION",Di:"AUTHORITY",Ji:"CREDENTIALS_TYPE",Ki:"CREDS_ASSERTION",fj:"JUSTIFICATION_TYPE",Be:"NO_ATTR",yj:"SECURITY_REALM",values:function(){return[fe.Be,fe.Di,fe.Ci,fe.yj,fe.Bi,fe.fj,fe.Ji,fe.Ki]}},ge={Si:"DISCHARGED",Ti:"EQUALS",$i:"IN",mj:"NOT_EQUALS",
|
|
nj:"NOT_IN",pj:"NO_OP",values:function(){return[ge.pj,ge.Ti,ge.mj,ge.$i,ge.nj,ge.Si]}},he={ej:"IP",lj:"NAME",Be:"NO_ATTR",wj:"REGION",zj:"SERVICE",values:function(){return[he.Be,he.wj,he.zj,he.lj,he.ej]}},ie={ij:"LOG_FAIL_CLOSED",jj:"LOG_MODE_UNSPECIFIED",values:function(){return[ie.jj,ie.ij]}},je={Hi:"CLASSIFIER",Oi:"DATA_MAPPING_SERVICE",Wi:"FOLDER",Yi:"IMAGE",Zi:"IMAGE_COLLECTION",Dj:"TABLE",Ej:"TYPE_UNSPECIFIED",values:function(){return[je.Ej,je.Yi,je.Zi,je.Dj,je.Wi,je.Hi,je.Oi]}},ke={Gb:"AUTO_JPEG_PNG",
|
|
Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",Mb:"PNG",Nb:"TF_RECORD_IMAGE",Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[ke.Ib,ke.Jb,ke.Mb,ke.Gb,ke.Lb,ke.Hb,ke.Nb,ke.Kb,ke.Ob,ke.Pb]}},le={Jj:"V1",Kj:"V2",Lj:"VERSION_UNSPECIFIED",values:function(){return[le.Lj,le.Jj,le.Kj]}},me={Gb:"AUTO_JPEG_PNG",Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",Mb:"PNG",Nb:"TF_RECORD_IMAGE",
|
|
Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[me.Ib,me.Jb,me.Mb,me.Gb,me.Lb,me.Hb,me.Nb,me.Kb,me.Ob,me.Pb]}},ne={Xi:"HORIZONTAL",qj:"ORIENTATION_UNSPECIFIED",Mj:"VERTICAL",values:function(){return[ne.qj,ne.Xi,ne.Mj]}},oe={ue:"DEFAULT_OBJECT_ACL",Ic:"PUBLIC",Fe:"TILE_PERMISSIONS_UNSPECIFIED",values:function(){return[oe.Fe,oe.Ic,oe.ue]}},pe={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[pe.kb,
|
|
pe.hb,pe.lb,pe.MIN,pe.MAX,pe.jb,pe.ib]}},qe={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[qe.kb,qe.hb,qe.lb,qe.MIN,qe.MAX,qe.jb,qe.ib]}},re={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[re.kb,re.hb,re.lb,re.MIN,re.MAX,re.jb,re.ib]}},se={Gb:"AUTO_JPEG_PNG",Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",
|
|
Mb:"PNG",Nb:"TF_RECORD_IMAGE",Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[se.Ib,se.Jb,se.Mb,se.Gb,se.Lb,se.Hb,se.Nb,se.Kb,se.Ob,se.Pb]}},te={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[te.kb,te.hb,te.lb,te.MIN,te.MAX,te.jb,te.ib]}},ue={Ei:"CANCELLED",Fi:"CANCELLING",Vi:"FAILED",rj:"PENDING",xj:"RUNNING",Aj:"STATE_UNSPECIFIED",Cj:"SUCCEEDED",values:function(){return[ue.Aj,ue.rj,ue.xj,ue.Fi,
|
|
ue.Cj,ue.Ei,ue.Vi]}},ve={ve:"DOUBLE",FLOAT:"FLOAT",INT:"INT",uj:"PRECISION_UNSPECIFIED",values:function(){return[ve.uj,ve.INT,ve.FLOAT,ve.ve]}},we={zi:"ALLOW",Ai:"ALLOW_WITH_LOG",Qi:"DENY",Ri:"DENY_WITH_LOG",hj:"LOG",oj:"NO_ACTION",values:function(){return[we.oj,we.zi,we.Ai,we.Qi,we.Ri,we.hj]}},xe={re:"CSV",we:"GEO_JSON",ye:"KML",ze:"KMZ",Ce:"SHP",De:"TABLE_FILE_FORMAT_UNSPECIFIED",Ee:"TF_RECORD_TABLE",values:function(){return[xe.De,xe.re,xe.we,xe.ye,xe.ze,xe.Ce,xe.Ee]}},ye={re:"CSV",we:"GEO_JSON",
|
|
ye:"KML",ze:"KMZ",Ce:"SHP",De:"TABLE_FILE_FORMAT_UNSPECIFIED",Ee:"TF_RECORD_TABLE",values:function(){return[ye.De,ye.re,ye.we,ye.ye,ye.ze,ye.Ce,ye.Ee]}},ze={Li:"CSV_COLUMN_DATA_TYPE_STRING",Mi:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED",values:function(){return[ze.Mi,ze.Li]}},Ae={Gb:"AUTO_JPEG_PNG",Hb:"GEO_TIFF",Ib:"IMAGE_FILE_FORMAT_UNSPECIFIED",Jb:"JPEG",Kb:"MULTI_BAND_IMAGE_TILE",Lb:"NPY",Mb:"PNG",Nb:"TF_RECORD_IMAGE",Ob:"ZIPPED_GEO_TIFF",Pb:"ZIPPED_GEO_TIFF_PER_BAND",values:function(){return[Ae.Ib,Ae.Jb,
|
|
Ae.Mb,Ae.Gb,Ae.Lb,Ae.Hb,Ae.Nb,Ae.Kb,Ae.Ob,Ae.Pb]}},Be={MAX:"MAX",hb:"MEAN",ib:"MEDIAN",MIN:"MIN",jb:"MODE",kb:"PYRAMIDING_POLICY_UNSPECIFIED",lb:"SAMPLE",values:function(){return[Be.kb,Be.hb,Be.lb,Be.MIN,Be.MAX,Be.jb,Be.ib]}},Ce={Pi:"DATA_TYPE_UNSPECIFIED",ve:"DOUBLE",FLOAT:"FLOAT",aj:"INT16",bj:"INT32",cj:"INT8",Fj:"UINT16",Gj:"UINT32",Hj:"UINT8",values:function(){return[Ce.Pi,Ce.cj,Ce.Hj,Ce.aj,Ce.Fj,Ce.bj,Ce.Gj,Ce.FLOAT,Ce.ve]}},De={xe:"GIF",Ae:"MP4",Ge:"VIDEO_FILE_FORMAT_UNSPECIFIED",He:"VP9",
|
|
values:function(){return[De.Ge,De.Ae,De.xe,De.He]}},Ee={xe:"GIF",Ae:"MP4",Ge:"VIDEO_FILE_FORMAT_UNSPECIFIED",He:"VP9",values:function(){return[Ee.Ge,Ee.Ae,Ee.xe,Ee.He]}},Fe=function(a){a=void 0===a?{}:a;this.h={};this.h.scaleX=null==a.Rf?null:a.Rf;this.h.shearX=null==a.Wf?null:a.Wf;this.h.translateX=null==a.jg?null:a.jg;this.h.shearY=null==a.Xf?null:a.Xf;this.h.scaleY=null==a.Sf?null:a.Sf;this.h.translateY=null==a.kg?null:a.kg};q(Fe,C);Fe.prototype.i=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
l.Object.defineProperties(Fe.prototype,{Rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?E(this,"scaleX"):null},set:function(a){this.h.scaleX=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?E(this,"scaleY"):null},set:function(a){this.h.scaleY=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?E(this,"shearX"):null},set:function(a){this.h.shearX=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
|
|
E(this,"shearY"):null},set:function(a){this.h.shearY=a}},jg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?E(this,"translateX"):null},set:function(a){this.h.translateX=a}},kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?E(this,"translateY"):null},set:function(a){this.h.translateY=a}}});
|
|
var Ge=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.description=null==a.description?null:a.description;this.h.returnType=null==a.Qf?null:a.Qf;this.h.arguments=null==a.arguments?null:a.arguments;this.h.deprecated=null==a.deprecated?null:a.deprecated;this.h.deprecationReason=null==a.We?null:a.We;this.h.hidden=null==a.hidden?null:a.hidden;this.h.preview=null==a.preview?null:a.preview;this.h.sourceCodeUri=null==a.sourceCodeUri?null:a.sourceCodeUri};q(Ge,C);
|
|
Ge.prototype.i=function(){return{R:{arguments:He},keys:"arguments deprecated deprecationReason description hidden name preview returnType sourceCodeUri".split(" ")}};
|
|
l.Object.defineProperties(Ge.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?E(this,"arguments"):null},set:function(a){this.h.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecated")?E(this,"deprecated"):null},set:function(a){this.h.deprecated=a}},We:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecationReason")?E(this,"deprecationReason"):null},set:function(a){this.h.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return F(this,"hidden")?E(this,"hidden"):null},set:function(a){this.h.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return F(this,"preview")?E(this,"preview"):null},set:function(a){this.h.preview=
|
|
a}},Qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnType")?E(this,"returnType"):null},set:function(a){this.h.returnType=a}},sourceCodeUri:{configurable:!0,enumerable:!0,get:function(){return F(this,"sourceCodeUri")?E(this,"sourceCodeUri"):null},set:function(a){this.h.sourceCodeUri=a}}});
|
|
var He=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentName=null==a.vd?null:a.vd;this.h.type=null==a.type?null:a.type;this.h.description=null==a.description?null:a.description;this.h.optional=null==a.optional?null:a.optional;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue};q(He,C);He.prototype.i=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
l.Object.defineProperties(He.prototype,{vd:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentName")?E(this,"argumentName"):null},set:function(a){this.h.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"optional")?E(this,"optional"):null},set:function(a){this.h.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}}});var Ie=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Ie,C);Ie.prototype.i=function(){return{R:{values:Je},keys:["values"]}};
|
|
l.Object.defineProperties(Ie.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var Ke=function(a){a=void 0===a?{}:a;this.h={};this.h.service=null==a.ai?null:a.ai;this.h.exemptedMembers=null==a.Qc?null:a.Qc;this.h.auditLogConfigs=null==a.ug?null:a.ug};q(Ke,C);Ke.prototype.i=function(){return{R:{auditLogConfigs:Le},keys:["auditLogConfigs","exemptedMembers","service"]}};
|
|
l.Object.defineProperties(Ke.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?E(this,"auditLogConfigs"):null},set:function(a){this.h.auditLogConfigs=a}},Qc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},ai:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?E(this,"service"):null},set:function(a){this.h.service=a}}});
|
|
var Le=function(a){a=void 0===a?{}:a;this.h={};this.h.logType=null==a.Dh?null:a.Dh;this.h.exemptedMembers=null==a.Qc?null:a.Qc;this.h.ignoreChildExemptions=null==a.qh?null:a.qh};q(Le,C);Le.prototype.i=function(){return{K:{logType:$d},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
l.Object.defineProperties(Le.prototype,{Qc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?E(this,"exemptedMembers"):null},set:function(a){this.h.exemptedMembers=a}},qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?E(this,"ignoreChildExemptions"):null},set:function(a){this.h.ignoreChildExemptions=a}},Dh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?E(this,"logType"):null},set:function(a){this.h.logType=
|
|
a}}});var Me=function(a){a=void 0===a?{}:a;this.h={};this.h.permissionType=null==a.Ph?null:a.Ph};q(Me,C);Me.prototype.i=function(){return{K:{permissionType:ae},keys:["permissionType"]}};l.Object.defineProperties(Me.prototype,{Ph:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?E(this,"permissionType"):null},set:function(a){this.h.permissionType=a}}});
|
|
var Ne=function(a){a=void 0===a?{}:a;this.h={};this.h.role=null==a.Cc?null:a.Cc;this.h.members=null==a.bc?null:a.bc;this.h.condition=null==a.Ig?null:a.Ig;this.h.bindingId=null==a.xg?null:a.xg};q(Ne,C);Ne.prototype.i=function(){return{keys:["bindingId","condition","members","role"],u:{condition:Oe}}};
|
|
l.Object.defineProperties(Ne.prototype,{xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindingId")?E(this,"bindingId"):null},set:function(a){this.h.bindingId=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?E(this,"condition"):null},set:function(a){this.h.condition=a}},bc:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?E(this,"members"):null},set:function(a){this.h.members=a}},Cc:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"role")?E(this,"role"):null},set:function(a){this.h.role=a}}});var Pe=function(){this.h={}};q(Pe,C);Pe.prototype.i=function(){return{keys:[]}};var Qe=function(a){a=void 0===a?{}:a;this.h={};this.h.capabilities=null==a.Dg?null:a.Dg};q(Qe,C);Qe.prototype.i=function(){return{K:{capabilities:be},keys:["capabilities"]}};
|
|
l.Object.defineProperties(Qe.prototype,{Dg:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?E(this,"capabilities"):null},set:function(a){this.h.capabilities=a}}});var Re=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka};q(Re,C);Re.prototype.i=function(){return{keys:["earthEngineDestination"],u:{earthEngineDestination:Se}}};
|
|
l.Object.defineProperties(Re.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Te=function(a){a=void 0===a?{}:a;this.h={};this.h.logName=null==a.Ch?null:a.Ch;this.h.authorizationLoggingOptions=null==a.vg?null:a.vg};q(Te,C);Te.prototype.i=function(){return{K:{logName:ce},keys:["authorizationLoggingOptions","logName"],u:{authorizationLoggingOptions:Me}}};
|
|
l.Object.defineProperties(Te.prototype,{vg:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?E(this,"authorizationLoggingOptions"):null},set:function(a){this.h.authorizationLoggingOptions=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?E(this,"logName"):null},set:function(a){this.h.logName=a}}});
|
|
var Ue=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.oc?null:a.oc;this.h.filenamePrefix=null==a.fa?null:a.fa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.pc?null:a.pc};q(Ue,C);Ue.prototype.i=function(){return{K:{permissions:de},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(Ue.prototype,{oc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?E(this,"bucket"):null},set:function(a){this.h.bucket=a}},pc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?E(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=a}}});l.Object.defineProperties(Ue,{Permissions:{configurable:!0,enumerable:!0,get:function(){return de}}});var Ve=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za};q(Ve,C);Ve.prototype.i=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(Ve.prototype,{za:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});var We=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l};q(We,C);We.prototype.i=function(){return{keys:["expression"],u:{expression:Xe}}};
|
|
l.Object.defineProperties(We.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}}});var Ye=function(a){a=void 0===a?{}:a;this.h={};this.h.result=null==a.result?null:a.result};q(Ye,C);Ye.prototype.i=function(){return{keys:["result"]}};
|
|
l.Object.defineProperties(Ye.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?E(this,"result"):null},set:function(a){this.h.result=a}}});var Ze=function(a){a=void 0===a?{}:a;this.h={};this.h.iam=null==a.nh?null:a.nh;this.h.sys=null==a.ki?null:a.ki;this.h.svc=null==a.ji?null:a.ji;this.h.op=null==a.Nh?null:a.Nh;this.h.values=null==a.values?null:a.values};q(Ze,C);Ze.prototype.i=function(){return{K:{iam:fe,op:ge,sys:he},keys:["iam","op","svc","sys","values"]}};
|
|
l.Object.defineProperties(Ze.prototype,{nh:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?E(this,"iam"):null},set:function(a){this.h.iam=a}},Nh:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?E(this,"op"):null},set:function(a){this.h.op=a}},ji:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?E(this,"svc"):null},set:function(a){this.h.svc=a}},ki:{configurable:!0,enumerable:!0,get:function(){return F(this,"sys")?E(this,"sys"):null},set:function(a){this.h.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var $e=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ub?null:a.Ub;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.bandIds=null==a.ca?null:a.ca};q($e,C);$e.prototype.i=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
l.Object.defineProperties($e.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.h.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}}});
|
|
var af=function(a){a=void 0===a?{}:a;this.h={};this.h.metric=null==a.Fh?null:a.Fh;this.h.field=null==a.ah?null:a.ah;this.h.customFields=null==a.Sg?null:a.Sg};q(af,C);af.prototype.i=function(){return{R:{customFields:bf},keys:["customFields","field","metric"]}};
|
|
l.Object.defineProperties(af.prototype,{Sg:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?E(this,"customFields"):null},set:function(a){this.h.customFields=a}},ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?E(this,"field"):null},set:function(a){this.h.field=a}},Fh:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?E(this,"metric"):null},set:function(a){this.h.metric=a}}});
|
|
var bf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.value=null==a.value?null:a.value};q(bf,C);bf.prototype.i=function(){return{keys:["name","value"]}};l.Object.defineProperties(bf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return F(this,"value")?E(this,"value"):null},set:function(a){this.h.value=a}}});
|
|
var cf=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Sb?null:a.Sb;this.h.dmsName=null==a.Vb?null:a.Vb;this.h.name=null==a.name?null:a.name;this.h.visualizationOptions=null==a.Wa?null:a.Wa};q(cf,C);cf.prototype.i=function(){return{keys:["asset","dmsName","name","visualizationOptions"]}};
|
|
l.Object.defineProperties(cf.prototype,{Sb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsName")?E(this,"dmsName"):null},set:function(a){this.h.dmsName=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?
|
|
E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var df=function(a){a=void 0===a?{}:a;this.h={};this.h.logMode=null==a.Bh?null:a.Bh};q(df,C);df.prototype.i=function(){return{K:{logMode:ie},keys:["logMode"]}};l.Object.defineProperties(df.prototype,{Bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?E(this,"logMode"):null},set:function(a){this.h.logMode=a}}});
|
|
var ef=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(ef,C);ef.prototype.i=function(){return{keys:["values"],wa:{values:{da:Je,ia:!1,ja:!0,ka:!1}}}};l.Object.defineProperties(ef.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var ff=function(a){a=void 0===a?{}:a;this.h={};this.h.dmsDestination=null==a.Ye?null:a.Ye};q(ff,C);
|
|
ff.prototype.i=function(){return{keys:["dmsDestination"],u:{dmsDestination:gf}}};l.Object.defineProperties(ff.prototype,{Ye:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsDestination")?E(this,"dmsDestination"):null},set:function(a){this.h.dmsDestination=a}}});var gf=function(a){a=void 0===a?{}:a;this.h={};this.h.dmsName=null==a.Vb?null:a.Vb;this.h.assetVersion=null==a.pg?null:a.pg};q(gf,C);gf.prototype.i=function(){return{keys:["assetVersion","dmsName"]}};
|
|
l.Object.defineProperties(gf.prototype,{pg:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetVersion")?E(this,"assetVersion"):null},set:function(a){this.h.assetVersion=a}},Vb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsName")?E(this,"dmsName"):null},set:function(a){this.h.dmsName=a}}});var hf=function(a){a=void 0===a?{}:a;this.h={};this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(hf,C);hf.prototype.i=function(){return{keys:["max","min"]}};
|
|
l.Object.defineProperties(hf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?E(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?E(this,"min"):null},set:function(a){this.h.min=a}}});var jf=function(a){a=void 0===a?{}:a;this.h={};this.h.folder=null==a.ff?null:a.ff;this.h.filenamePrefix=null==a.fa?null:a.fa};q(jf,C);jf.prototype.i=function(){return{keys:["filenamePrefix","folder"]}};
|
|
l.Object.defineProperties(jf.prototype,{fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},ff:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?E(this,"folder"):null},set:function(a){this.h.folder=a}}});
|
|
var kf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilestoreLocation=null==a.oi?null:a.oi;this.h.cloudStorageLocation=null==a.Gg?null:a.Gg;this.h.tilestoreEntry=null==a.ni?null:a.ni;this.h.gcsLocation=null==a.jh?null:a.jh;this.h.type=null==a.type?null:a.type;this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Ta?null:a.Ta;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.properties=null==a.properties?
|
|
null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.quota=null==a.quota?null:a.quota;this.h.expression=null==a.l?null:a.l};q(kf,C);
|
|
kf.prototype.i=function(){return{R:{bands:lf},K:{type:je},keys:"bands cloudStorageLocation description endTime expression gcsLocation geometry id name properties quota sizeBytes startTime tilestoreEntry tilestoreLocation title type updateTime".split(" "),wa:{geometry:{da:null,ia:!1,ja:!1,ka:!1},properties:{da:null,ia:!1,ja:!1,ka:!1}},u:{cloudStorageLocation:Ve,expression:Xe,gcsLocation:mf,quota:nf,tilestoreEntry:of,tilestoreLocation:pf}}};
|
|
l.Object.defineProperties(kf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},Gg:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageLocation")?E(this,"cloudStorageLocation"):null},set:function(a){this.h.cloudStorageLocation=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},jh:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsLocation")?E(this,"gcsLocation"):null},set:function(a){this.h.gcsLocation=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return F(this,"geometry")?E(this,"geometry"):null},
|
|
set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return F(this,"quota")?
|
|
E(this,"quota"):null},set:function(a){this.h.quota=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},ni:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilestoreEntry")?E(this,"tilestoreEntry"):null},set:function(a){this.h.tilestoreEntry=a}},oi:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilestoreLocation")?E(this,"tilestoreLocation"):null},set:function(a){this.h.tilestoreLocation=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?E(this,"title"):null},set:function(a){this.h.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},
|
|
set:function(a){this.h.updateTime=a}}});var Se=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name};q(Se,C);Se.prototype.i=function(){return{keys:["name"]}};l.Object.defineProperties(Se.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}}});
|
|
var qf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.ca?null:a.ca;this.h.visualizationOptions=null==a.Wa?null:a.Wa};q(qf,C);qf.prototype.i=function(){return{K:{fileFormat:ke},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],u:{expression:Xe,visualizationOptions:rf}}};
|
|
l.Object.defineProperties(qf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=a}}});var sf=function(){this.h={}};q(sf,C);sf.prototype.i=function(){return{keys:[]}};
|
|
var tf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.requestId=null==a.requestId?null:a.requestId;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(tf,C);tf.prototype.i=function(){return{keys:"assetExportOptions description expression maxWorkerCount maxWorkers requestId".split(" "),u:{assetExportOptions:Re,expression:Xe}}};
|
|
l.Object.defineProperties(tf.prototype,{ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}}});
|
|
var uf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.qa?null:a.qa;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.maxPixels=null==a.Df?null:a.Df;this.h.grid=null==a.L?null:a.L;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(uf,C);
|
|
uf.prototype.i=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount maxWorkers requestId".split(" "),u:{assetExportOptions:vf,expression:Xe,fileExportOptions:wf,grid:xf}}};
|
|
l.Object.defineProperties(uf.prototype,{ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},
|
|
qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},L:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},Df:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?E(this,"maxPixels"):null},set:function(a){this.h.maxPixels=a}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?
|
|
E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}}});
|
|
var yf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.tileOptions=null==a.ic?null:a.ic;this.h.tileExportOptions=null==a.hc?null:a.hc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(yf,C);
|
|
yf.prototype.i=function(){return{keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions".split(" "),u:{expression:Xe,tileExportOptions:wf,tileOptions:zf}}};
|
|
l.Object.defineProperties(yf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},hc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?
|
|
E(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}}});
|
|
var Af=function(a){a=void 0===a?{}:a;this.h={};this.h.fileExportOptions=null==a.qa?null:a.qa;this.h.assetExportOptions=null==a.ta?null:a.ta;this.h.dmsExportOptions=null==a.Cd?null:a.Cd;this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.selectors=null==a.selectors?null:a.selectors;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxErrorMeters=null==a.$b?null:a.$b;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:
|
|
a.P;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices};q(Af,C);Af.prototype.i=function(){return{keys:"assetExportOptions description dmsExportOptions expression fileExportOptions maxErrorMeters maxVertices maxWorkerCount maxWorkers requestId selectors".split(" "),u:{assetExportOptions:Bf,dmsExportOptions:ff,expression:Xe,fileExportOptions:Cf}}};
|
|
l.Object.defineProperties(Af.prototype,{ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?E(this,"assetExportOptions"):null},set:function(a){this.h.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},Cd:{configurable:!0,enumerable:!0,get:function(){return F(this,"dmsExportOptions")?E(this,"dmsExportOptions"):null},set:function(a){this.h.dmsExportOptions=
|
|
a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},$b:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"maxVertices")?E(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):
|
|
null},set:function(a){this.h.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?E(this,"selectors"):null},set:function(a){this.h.selectors=a}}});
|
|
var Df=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Va?null:a.Va;this.h.tileOptions=null==a.ic?null:a.ic;this.h.tileExportOptions=null==a.hc?null:a.hc;this.h.requestId=null==a.requestId?null:a.requestId;this.h.version=null==a.version?null:a.version;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(Df,C);
|
|
Df.prototype.i=function(){return{K:{version:le},keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions version videoOptions".split(" "),u:{expression:Xe,tileExportOptions:Ef,tileOptions:zf,videoOptions:Ff}}};
|
|
l.Object.defineProperties(Df.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},P:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},hc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileExportOptions")?E(this,"tileExportOptions"):null},set:function(a){this.h.tileExportOptions=a}},ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?
|
|
E(this,"tileOptions"):null},set:function(a){this.h.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?E(this,"version"):null},set:function(a){this.h.version=a}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});
|
|
var Gf=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.description=null==a.description?null:a.description;this.h.videoOptions=null==a.Va?null:a.Va;this.h.fileExportOptions=null==a.qa?null:a.qa;this.h.requestId=null==a.requestId?null:a.requestId;this.h.maxWorkers=null==a.Y?null:a.Y;this.h.maxWorkerCount=null==a.P?null:a.P};q(Gf,C);
|
|
Gf.prototype.i=function(){return{keys:"description expression fileExportOptions maxWorkerCount maxWorkers requestId videoOptions".split(" "),u:{expression:Xe,fileExportOptions:Ef,videoOptions:Ff}}};
|
|
l.Object.defineProperties(Gf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?E(this,"fileExportOptions"):null},set:function(a){this.h.fileExportOptions=a}},P:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"maxWorkerCount")?E(this,"maxWorkerCount"):null},set:function(a){this.h.maxWorkerCount=a}},Y:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxWorkers")?E(this,"maxWorkers"):null},set:function(a){this.h.maxWorkers=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,
|
|
"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var Oe=function(a){a=void 0===a?{}:a;this.h={};this.h.expression=null==a.l?null:a.l;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.location=null==a.location?null:a.location};q(Oe,C);Oe.prototype.i=function(){return{keys:["description","expression","location","title"]}};
|
|
l.Object.defineProperties(Oe.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?E(this,"location"):null},set:function(a){this.h.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"title")?E(this,"title"):null},set:function(a){this.h.title=a}}});var Xe=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values;this.h.result=null==a.result?null:a.result};q(Xe,C);Xe.prototype.i=function(){return{keys:["result","values"],wa:{values:{da:Je,ia:!1,ja:!0,ka:!1}}}};
|
|
l.Object.defineProperties(Xe.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?E(this,"result"):null},set:function(a){this.h.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});
|
|
var Hf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.orientation=null==a.orientation?null:a.orientation;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.L?null:a.L};q(Hf,C);Hf.prototype.i=function(){return{K:{fileFormat:me,orientation:ne},keys:["expression","fileFormat","grid","name","orientation"],u:{expression:Xe,grid:xf}}};
|
|
l.Object.defineProperties(Hf.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},L:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return F(this,"orientation")?E(this,"orientation"):null},set:function(a){this.h.orientation=a}}});var nf=function(a){a=void 0===a?{}:a;this.h={};this.h.sizeBytes=null==a.Fa?null:a.Fa;this.h.maxSizeBytes=null==a.ac?null:a.ac;this.h.assetCount=null==a.Ke?null:a.Ke;this.h.maxAssets=null==a.Eh?null:a.Eh;this.h.maxAssetCount=null==a.Bf?null:a.Bf};q(nf,C);
|
|
nf.prototype.i=function(){return{keys:["assetCount","maxAssetCount","maxAssets","maxSizeBytes","sizeBytes"]}};
|
|
l.Object.defineProperties(nf.prototype,{Ke:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?E(this,"assetCount"):null},set:function(a){this.h.assetCount=a}},Bf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssetCount")?E(this,"maxAssetCount"):null},set:function(a){this.h.maxAssetCount=a}},Eh:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssets")?E(this,"maxAssets"):null},set:function(a){this.h.maxAssets=a}},ac:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}}});var If=function(a){a=void 0===a?{}:a;this.h={};this.h.argumentNames=null==a.nc?null:a.nc;this.h.body=null==a.body?null:a.body};q(If,C);If.prototype.i=function(){return{keys:["argumentNames","body"]}};
|
|
l.Object.defineProperties(If.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentNames")?E(this,"argumentNames"):null},set:function(a){this.h.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return F(this,"body")?E(this,"body"):null},set:function(a){this.h.body=a}}});
|
|
var Jf=function(a){a=void 0===a?{}:a;this.h={};this.h.functionName=null==a.functionName?null:a.functionName;this.h.functionReference=null==a.bb?null:a.bb;this.h.arguments=null==a.arguments?null:a.arguments};q(Jf,C);Jf.prototype.i=function(){return{keys:["arguments","functionName","functionReference"],wa:{arguments:{da:Je,ia:!1,ja:!0,ka:!1}}}};
|
|
l.Object.defineProperties(Jf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?E(this,"arguments"):null},set:function(a){this.h.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionName")?E(this,"functionName"):null},set:function(a){this.h.functionName=a}},bb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?E(this,"functionReference"):null},set:function(a){this.h.functionReference=
|
|
a}}});var Kf=function(a){a=void 0===a?{}:a;this.h={};this.h.bucket=null==a.oc?null:a.oc;this.h.filenamePrefix=null==a.fa?null:a.fa;this.h.permissions=null==a.permissions?null:a.permissions;this.h.bucketCorsUris=null==a.pc?null:a.pc};q(Kf,C);Kf.prototype.i=function(){return{K:{permissions:oe},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
l.Object.defineProperties(Kf.prototype,{oc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?E(this,"bucket"):null},set:function(a){this.h.bucket=a}},pc:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?E(this,"bucketCorsUris"):null},set:function(a){this.h.bucketCorsUris=a}},fa:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=a}}});l.Object.defineProperties(Kf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return oe}}});var mf=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za};q(mf,C);mf.prototype.i=function(){return{keys:["uris"]}};
|
|
l.Object.defineProperties(mf.prototype,{za:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});var Lf=function(a){a=void 0===a?{}:a;this.h={};this.h.cloudOptimized=null==a.Ne?null:a.Ne;this.h.tileDimensions=null==a.Sa?null:a.Sa;this.h.skipEmptyFiles=null==a.Zf?null:a.Zf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(Lf,C);
|
|
Lf.prototype.i=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions","tileSize"],u:{tileDimensions:Mf}}};
|
|
l.Object.defineProperties(Lf.prototype,{Ne:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?E(this,"cloudOptimized"):null},set:function(a){this.h.cloudOptimized=a}},Zf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyFiles")?E(this,"skipEmptyFiles"):null},set:function(a){this.h.skipEmptyFiles=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},
|
|
tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?E(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});var Nf=function(a){a=void 0===a?{}:a;this.h={};this.h.options=null==a.options?null:a.options};q(Nf,C);Nf.prototype.i=function(){return{keys:["options"],u:{options:Of}}};l.Object.defineProperties(Nf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?E(this,"options"):null},set:function(a){this.h.options=a}}});
|
|
var Of=function(a){a=void 0===a?{}:a;this.h={};this.h.requestedPolicyVersion=null==a.Wh?null:a.Wh};q(Of,C);Of.prototype.i=function(){return{keys:["requestedPolicyVersion"]}};l.Object.defineProperties(Of.prototype,{Wh:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?E(this,"requestedPolicyVersion"):null},set:function(a){this.h.requestedPolicyVersion=a}}});
|
|
var Mf=function(a){a=void 0===a?{}:a;this.h={};this.h.width=null==a.width?null:a.width;this.h.height=null==a.height?null:a.height};q(Mf,C);Mf.prototype.i=function(){return{keys:["height","width"]}};l.Object.defineProperties(Mf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return F(this,"height")?E(this,"height"):null},set:function(a){this.h.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return F(this,"width")?E(this,"width"):null},set:function(a){this.h.width=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.h={};this.h.x=null==a.x?null:a.x;this.h.y=null==a.y?null:a.y};q(Pf,C);Pf.prototype.i=function(){return{keys:["x","y"]}};l.Object.defineProperties(Pf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return F(this,"x")?E(this,"x"):null},set:function(a){this.h.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return F(this,"y")?E(this,"y"):null},set:function(a){this.h.y=a}}});
|
|
var Qf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.id=null==a.id?null:a.id;this.h.updateTime=null==a.Ta?null:a.Ta;this.h.title=null==a.title?null:a.title;this.h.description=null==a.description?null:a.description;this.h.properties=null==a.properties?null:a.properties;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.geometry=null==a.geometry?null:a.geometry;this.h.bands=null==a.bands?null:a.bands;this.h.sizeBytes=
|
|
null==a.Fa?null:a.Fa};q(Qf,C);Qf.prototype.i=function(){return{R:{bands:lf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),wa:{geometry:{da:null,ia:!1,ja:!1,ka:!1},properties:{da:null,ia:!1,ja:!1,ka:!1}}}};
|
|
l.Object.defineProperties(Qf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"geometry")?E(this,"geometry"):null},set:function(a){this.h.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},Fa:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"sizeBytes")?E(this,"sizeBytes"):null},set:function(a){this.h.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?E(this,"title"):null},set:function(a){this.h.title=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.h.updateTime=
|
|
a}}});var vf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.pyramidingPolicyOverrides=null==a.Lf?null:a.Lf;this.h.tileSize=null==a.tileSize?null:a.tileSize};q(vf,C);
|
|
vf.prototype.i=function(){return{K:{pyramidingPolicy:pe,pyramidingPolicyOverrides:qe},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides","tileSize"],wa:{pyramidingPolicyOverrides:{da:null,ia:!1,ja:!1,ka:!1}},u:{earthEngineDestination:Se}}};
|
|
l.Object.defineProperties(vf.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},Lf:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicyOverrides")?E(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.h.pyramidingPolicyOverrides=a}},tileSize:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileSize")?E(this,"tileSize"):null},set:function(a){this.h.tileSize=a}}});
|
|
var lf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.dataType=null==a.dataType?null:a.dataType;this.h.grid=null==a.L?null:a.L;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.missingData=null==a.missingData?null:a.missingData};q(lf,C);
|
|
lf.prototype.i=function(){return{R:{tilesets:Rf},K:{pyramidingPolicy:re},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),u:{dataType:Sf,grid:xf,missingData:Tf}}};
|
|
l.Object.defineProperties(lf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?E(this,"dataType"):null},set:function(a){this.h.dataType=a}},L:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?
|
|
E(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?E(this,"tilesets"):null},set:function(a){this.h.tilesets=a}}});
|
|
var wf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.oa?null:a.oa;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.ra?null:a.ra;this.h.geoTiffOptions=null==a.Hd?null:a.Hd;this.h.tfRecordOptions=null==a.de?null:a.de;this.h.fileFormat=null==a.F?null:a.F};q(wf,C);
|
|
wf.prototype.i=function(){return{K:{fileFormat:se},keys:"cloudStorageDestination driveDestination fileFormat gcsDestination geoTiffOptions tfRecordOptions".split(" "),u:{cloudStorageDestination:Ue,driveDestination:jf,gcsDestination:Kf,geoTiffOptions:Lf,tfRecordOptions:Uf}}};
|
|
l.Object.defineProperties(wf.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}},Hd:{configurable:!0,enumerable:!0,get:function(){return F(this,"geoTiffOptions")?E(this,"geoTiffOptions"):null},set:function(a){this.h.geoTiffOptions=a}},de:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?E(this,"tfRecordOptions"):null},set:function(a){this.h.tfRecordOptions=a}}});
|
|
var Vf=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.pd?null:a.pd;this.h.tilesets=null==a.tilesets?null:a.tilesets;this.h.bands=null==a.bands?null:a.bands;this.h.maskBands=null==a.Af?null:a.Af;this.h.footprint=null==a.hh?null:a.hh;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.h.startTime=null==a.startTime?
|
|
null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.minTileAreaRatio=null==a.Hh?null:a.Hh};q(Vf,C);Vf.prototype.i=function(){return{R:{bands:Wf,maskBands:Xf,tilesets:Yf},K:{pyramidingPolicy:te},keys:"bands endTime footprint maskBands minTileAreaRatio missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),wa:{properties:{da:null,ia:!1,ja:!1,ka:!1}},u:{footprint:Zf,missingData:Tf}}};
|
|
l.Object.defineProperties(Vf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?E(this,"bands"):null},set:function(a){this.h.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},hh:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?E(this,"footprint"):null},set:function(a){this.h.footprint=a}},Af:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"maskBands")?E(this,"maskBands"):null},set:function(a){this.h.maskBands=a}},Hh:{configurable:!0,enumerable:!0,get:function(){return F(this,"minTileAreaRatio")?E(this,"minTileAreaRatio"):null},set:function(a){this.h.minTileAreaRatio=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=
|
|
a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},tilesets:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"tilesets")?E(this,"tilesets"):null},set:function(a){this.h.tilesets=a}},pd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});var $f=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za;this.h.affineTransform=null==a.Qb?null:a.Qb};q($f,C);$f.prototype.i=function(){return{keys:["affineTransform","uris"],u:{affineTransform:Fe}}};
|
|
l.Object.defineProperties($f.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},za:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}}});
|
|
var ag=function(a){a=void 0===a?{}:a;this.h={};this.h.imageManifest=null==a.qf?null:a.qf;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q(ag,C);ag.prototype.i=function(){return{keys:["description","imageManifest","overwrite","requestId"],u:{imageManifest:Vf}}};
|
|
l.Object.defineProperties(ag.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"imageManifest")?E(this,"imageManifest"):null},set:function(a){this.h.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}}});var bg=function(a){a=void 0===a?{}:a;this.h={};this.h.tableManifest=null==a.dg?null:a.dg;this.h.description=null==a.description?null:a.description;this.h.overwrite=null==a.overwrite?null:a.overwrite;this.h.requestId=null==a.requestId?null:a.requestId};q(bg,C);bg.prototype.i=function(){return{keys:["description","overwrite","requestId","tableManifest"],u:{tableManifest:cg}}};
|
|
l.Object.defineProperties(bg.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?E(this,"overwrite"):null},set:function(a){this.h.overwrite=a}},requestId:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?E(this,"requestId"):null},set:function(a){this.h.requestId=a}},dg:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tableManifest")?E(this,"tableManifest"):null},set:function(a){this.h.tableManifest=a}}});var dg=function(a){a=void 0===a?{}:a;this.h={};this.h.algorithms=null==a.Jc?null:a.Jc};q(dg,C);dg.prototype.i=function(){return{R:{algorithms:Ge},keys:["algorithms"]}};l.Object.defineProperties(dg.prototype,{Jc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?E(this,"algorithms"):null},set:function(a){this.h.algorithms=a}}});
|
|
var eg=function(a){a=void 0===a?{}:a;this.h={};this.h.assets=null==a.assets?null:a.assets;this.h.nextPageToken=null==a.eb?null:a.eb};q(eg,C);eg.prototype.i=function(){return{R:{assets:kf},keys:["assets","nextPageToken"]}};
|
|
l.Object.defineProperties(eg.prototype,{assets:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?E(this,"assets"):null},set:function(a){this.h.assets=a}},eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});var fg=function(a){a=void 0===a?{}:a;this.h={};this.h.images=null==a.images?null:a.images;this.h.nextPageToken=null==a.eb?null:a.eb};q(fg,C);
|
|
fg.prototype.i=function(){return{R:{images:Qf},keys:["images","nextPageToken"]}};l.Object.defineProperties(fg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return F(this,"images")?E(this,"images"):null},set:function(a){this.h.images=a}},eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}}});
|
|
var gg=function(a){a=void 0===a?{}:a;this.h={};this.h.operations=null==a.Qa?null:a.Qa;this.h.nextPageToken=null==a.eb?null:a.eb};q(gg,C);gg.prototype.i=function(){return{R:{operations:hg},keys:["nextPageToken","operations"]}};
|
|
l.Object.defineProperties(gg.prototype,{eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?E(this,"nextPageToken"):null},set:function(a){this.h.nextPageToken=a}},Qa:{configurable:!0,enumerable:!0,get:function(){return F(this,"operations")?E(this,"operations"):null},set:function(a){this.h.operations=a}}});
|
|
var ig=function(a){a=void 0===a?{}:a;this.h={};this.h.counter=null==a.counter?null:a.counter;this.h.dataAccess=null==a.Tg?null:a.Tg;this.h.cloudAudit=null==a.Fg?null:a.Fg};q(ig,C);ig.prototype.i=function(){return{keys:["cloudAudit","counter","dataAccess"],u:{cloudAudit:Te,counter:af,dataAccess:df}}};
|
|
l.Object.defineProperties(ig.prototype,{Fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudAudit")?E(this,"cloudAudit"):null},set:function(a){this.h.cloudAudit=a}},counter:{configurable:!0,enumerable:!0,get:function(){return F(this,"counter")?E(this,"counter"):null},set:function(a){this.h.counter=a}},Tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?E(this,"dataAccess"):null},set:function(a){this.h.dataAccess=a}}});
|
|
var Tf=function(a){a=void 0===a?{}:a;this.h={};this.h.values=null==a.values?null:a.values};q(Tf,C);Tf.prototype.i=function(){return{keys:["values"]}};l.Object.defineProperties(Tf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?E(this,"values"):null},set:function(a){this.h.values=a}}});var jg=function(a){a=void 0===a?{}:a;this.h={};this.h.destinationName=null==a.Ub?null:a.Ub};q(jg,C);jg.prototype.i=function(){return{keys:["destinationName"]}};
|
|
l.Object.defineProperties(jg.prototype,{Ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?E(this,"destinationName"):null},set:function(a){this.h.destinationName=a}}});var hg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.metadata=null==a.Ef?null:a.Ef;this.h.done=null==a.done?null:a.done;this.h.error=null==a.error?null:a.error;this.h.response=null==a.response?null:a.response};q(hg,C);
|
|
hg.prototype.i=function(){return{keys:["done","error","metadata","name","response"],wa:{metadata:{da:null,ia:!1,ja:!1,ka:!1},response:{da:null,ia:!1,ja:!1,ka:!1}},u:{error:kg}}};
|
|
l.Object.defineProperties(hg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return F(this,"done")?E(this,"done"):null},set:function(a){this.h.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return F(this,"error")?E(this,"error"):null},set:function(a){this.h.error=a}},Ef:{configurable:!0,enumerable:!0,get:function(){return F(this,"metadata")?E(this,"metadata"):null},set:function(a){this.h.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?
|
|
E(this,"name"):null},set:function(a){this.h.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return F(this,"response")?E(this,"response"):null},set:function(a){this.h.response=a}}});
|
|
var lg=function(a){a=void 0===a?{}:a;this.h={};this.h.state=null==a.state?null:a.state;this.h.description=null==a.description?null:a.description;this.h.type=null==a.type?null:a.type;this.h.priority=null==a.priority?null:a.priority;this.h.createTime=null==a.Ue?null:a.Ue;this.h.updateTime=null==a.Ta?null:a.Ta;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime;this.h.progress=null==a.progress?null:a.progress;this.h.stages=null==a.ei?null:a.ei;this.h.attempt=
|
|
null==a.attempt?null:a.attempt;this.h.scriptUri=null==a.Tf?null:a.Tf;this.h.destinationUris=null==a.Xe?null:a.Xe};q(lg,C);lg.prototype.i=function(){return{R:{stages:mg},K:{state:ue},keys:"attempt createTime description destinationUris endTime priority progress scriptUri stages startTime state type updateTime".split(" ")}};
|
|
l.Object.defineProperties(lg.prototype,{attempt:{configurable:!0,enumerable:!0,get:function(){return F(this,"attempt")?E(this,"attempt"):null},set:function(a){this.h.attempt=a}},Ue:{configurable:!0,enumerable:!0,get:function(){return F(this,"createTime")?E(this,"createTime"):null},set:function(a){this.h.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},Xe:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"destinationUris")?E(this,"destinationUris"):null},set:function(a){this.h.destinationUris=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return F(this,"priority")?E(this,"priority"):null},set:function(a){this.h.priority=a}},progress:{configurable:!0,enumerable:!0,get:function(){return F(this,"progress")?E(this,"progress"):
|
|
null},set:function(a){this.h.progress=a}},Tf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scriptUri")?E(this,"scriptUri"):null},set:function(a){this.h.scriptUri=a}},ei:{configurable:!0,enumerable:!0,get:function(){return F(this,"stages")?E(this,"stages"):null},set:function(a){this.h.stages=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"state")?E(this,"state"):null},set:function(a){this.h.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?E(this,"type"):null},set:function(a){this.h.type=a}},Ta:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?E(this,"updateTime"):null},set:function(a){this.h.updateTime=a}}});
|
|
var mg=function(a){a=void 0===a?{}:a;this.h={};this.h.displayName=null==a.displayName?null:a.displayName;this.h.completeWorkUnits=null==a.Hg?null:a.Hg;this.h.totalWorkUnits=null==a.ri?null:a.ri;this.h.description=null==a.description?null:a.description};q(mg,C);mg.prototype.i=function(){return{keys:["completeWorkUnits","description","displayName","totalWorkUnits"]}};
|
|
l.Object.defineProperties(mg.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return F(this,"completeWorkUnits")?E(this,"completeWorkUnits"):null},set:function(a){this.h.completeWorkUnits=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},displayName:{configurable:!0,enumerable:!0,get:function(){return F(this,"displayName")?E(this,"displayName"):null},set:function(a){this.h.displayName=
|
|
a}},ri:{configurable:!0,enumerable:!0,get:function(){return F(this,"totalWorkUnits")?E(this,"totalWorkUnits"):null},set:function(a){this.h.totalWorkUnits=a}}});var Sf=function(a){a=void 0===a?{}:a;this.h={};this.h.precision=null==a.precision?null:a.precision;this.h.range=null==a.hd?null:a.hd;this.h.dimensionsCount=null==a.Xg?null:a.Xg};q(Sf,C);Sf.prototype.i=function(){return{K:{precision:ve},keys:["dimensionsCount","precision","range"],u:{range:hf}}};
|
|
l.Object.defineProperties(Sf.prototype,{Xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensionsCount")?E(this,"dimensionsCount"):null},set:function(a){this.h.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return F(this,"precision")?E(this,"precision"):null},set:function(a){this.h.precision=a}},hd:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?E(this,"range"):null},set:function(a){this.h.range=a}}});
|
|
var Zf=function(a){a=void 0===a?{}:a;this.h={};this.h.points=null==a.Qh?null:a.Qh;this.h.bandId=null==a.wg?null:a.wg};q(Zf,C);Zf.prototype.i=function(){return{R:{points:Pf},keys:["bandId","points"]}};l.Object.defineProperties(Zf.prototype,{wg:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?E(this,"bandId"):null},set:function(a){this.h.bandId=a}},Qh:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?E(this,"points"):null},set:function(a){this.h.points=a}}});
|
|
var xf=function(a){a=void 0===a?{}:a;this.h={};this.h.crsCode=null==a.Ve?null:a.Ve;this.h.crsWkt=null==a.Ng?null:a.Ng;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.affineTransform=null==a.Qb?null:a.Qb};q(xf,C);xf.prototype.i=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],u:{affineTransform:Fe,dimensions:Mf}}};
|
|
l.Object.defineProperties(xf.prototype,{Qb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?E(this,"affineTransform"):null},set:function(a){this.h.affineTransform=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?E(this,"crsCode"):null},set:function(a){this.h.crsCode=a}},Ng:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsWkt")?E(this,"crsWkt"):null},set:function(a){this.h.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}}});var ng=function(a){a=void 0===a?{}:a;this.h={};this.h.version=null==a.version?null:a.version;this.h.bindings=null==a.wd?null:a.wd;this.h.auditConfigs=null==a.tg?null:a.tg;this.h.rules=null==a.rules?null:a.rules;this.h.etag=null==a.$e?null:a.$e;this.h.iamOwned=null==a.oh?null:a.oh};q(ng,C);ng.prototype.i=function(){return{R:{auditConfigs:Ke,bindings:Ne,rules:og},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
|
|
l.Object.defineProperties(ng.prototype,{tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?E(this,"auditConfigs"):null},set:function(a){this.h.auditConfigs=a}},wd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?E(this,"bindings"):null},set:function(a){this.h.bindings=a}},$e:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?E(this,"etag"):null},set:function(a){this.h.etag=a}},oh:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"iamOwned")?E(this,"iamOwned"):null},set:function(a){this.h.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return F(this,"rules")?E(this,"rules"):null},set:function(a){this.h.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?E(this,"version"):null},set:function(a){this.h.version=a}}});
|
|
var og=function(a){a=void 0===a?{}:a;this.h={};this.h.description=null==a.description?null:a.description;this.h.permissions=null==a.permissions?null:a.permissions;this.h.action=null==a.action?null:a.action;this.h["in"]=null==a.sh?null:a.sh;this.h.notIn=null==a.Ih?null:a.Ih;this.h.conditions=null==a.conditions?null:a.conditions;this.h.logConfig=null==a.Ah?null:a.Ah};q(og,C);og.prototype.i=function(){return{R:{conditions:Ze,logConfig:ig},K:{action:we},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
l.Object.defineProperties(og.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return F(this,"action")?E(this,"action"):null},set:function(a){this.h.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return F(this,"conditions")?E(this,"conditions"):null},set:function(a){this.h.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?E(this,"description"):null},set:function(a){this.h.description=a}},sh:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"in")?E(this,"in"):null},set:function(a){this.h["in"]=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?E(this,"logConfig"):null},set:function(a){this.h.logConfig=a}},Ih:{configurable:!0,enumerable:!0,get:function(){return F(this,"notIn")?E(this,"notIn"):null},set:function(a){this.h.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?E(this,"permissions"):null},set:function(a){this.h.permissions=
|
|
a}}});var pg=function(a){a=void 0===a?{}:a;this.h={};this.h.policy=null==a.If?null:a.If;this.h.updateMask=null==a.Gc?null:a.Gc};q(pg,C);pg.prototype.i=function(){return{keys:["policy","updateMask"],u:{policy:ng}}};
|
|
l.Object.defineProperties(pg.prototype,{If:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?E(this,"policy"):null},set:function(a){this.h.policy=a}},Gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});var kg=function(a){a=void 0===a?{}:a;this.h={};this.h.code=null==a.code?null:a.code;this.h.message=null==a.message?null:a.message;this.h.details=null==a.details?null:a.details};q(kg,C);
|
|
kg.prototype.i=function(){return{keys:["code","details","message"],wa:{details:{da:null,ia:!0,ja:!1,ka:!1}}}};
|
|
l.Object.defineProperties(kg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return F(this,"code")?E(this,"code"):null},set:function(a){this.h.code=a}},details:{configurable:!0,enumerable:!0,get:function(){return F(this,"details")?E(this,"details"):null},set:function(a){this.h.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return F(this,"message")?E(this,"message"):null},set:function(a){this.h.message=a}}});
|
|
var qg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.selectors=null==a.selectors?null:a.selectors;this.h.filename=null==a.filename?null:a.filename};q(qg,C);qg.prototype.i=function(){return{K:{fileFormat:ye},keys:["expression","fileFormat","filename","name","selectors"],u:{expression:Xe}}};
|
|
l.Object.defineProperties(qg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},filename:{configurable:!0,enumerable:!0,get:function(){return F(this,"filename")?E(this,"filename"):null},set:function(a){this.h.filename=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,"selectors")?E(this,"selectors"):null},set:function(a){this.h.selectors=a}}});var Bf=function(a){a=void 0===a?{}:a;this.h={};this.h.earthEngineDestination=null==a.Ka?null:a.Ka};q(Bf,C);Bf.prototype.i=function(){return{keys:["earthEngineDestination"],u:{earthEngineDestination:Se}}};
|
|
l.Object.defineProperties(Bf.prototype,{Ka:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?E(this,"earthEngineDestination"):null},set:function(a){this.h.earthEngineDestination=a}}});var Cf=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.oa?null:a.oa;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.ra?null:a.ra;this.h.fileFormat=null==a.F?null:a.F};q(Cf,C);
|
|
Cf.prototype.i=function(){return{K:{fileFormat:xe},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],u:{cloudStorageDestination:Ue,driveDestination:jf,gcsDestination:Kf}}};
|
|
l.Object.defineProperties(Cf.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var cg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.properties=null==a.properties?null:a.properties;this.h.uriPrefix=null==a.pd?null:a.pd;this.h.sources=null==a.sources?null:a.sources;this.h.startTime=null==a.startTime?null:a.startTime;this.h.endTime=null==a.endTime?null:a.endTime};q(cg,C);
|
|
cg.prototype.i=function(){return{R:{sources:rg},keys:"endTime name properties sources startTime uriPrefix".split(" "),wa:{properties:{da:null,ia:!1,ja:!1,ka:!1}}}};
|
|
l.Object.defineProperties(cg.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?E(this,"endTime"):null},set:function(a){this.h.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?E(this,"properties"):null},set:function(a){this.h.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?E(this,"startTime"):null},set:function(a){this.h.startTime=a}},pd:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?E(this,"uriPrefix"):null},set:function(a){this.h.uriPrefix=a}}});
|
|
var rg=function(a){a=void 0===a?{}:a;this.h={};this.h.uris=null==a.za?null:a.za;this.h.charset=null==a.charset?null:a.charset;this.h.maxErrorMeters=null==a.$b?null:a.$b;this.h.maxVertices=null==a.maxVertices?null:a.maxVertices;this.h.crs=null==a.crs?null:a.crs;this.h.geodesic=null==a.geodesic?null:a.geodesic;this.h.primaryGeometryColumn=null==a.Rh?null:a.Rh;this.h.xColumn=null==a.ui?null:a.ui;this.h.yColumn=null==a.vi?null:a.vi;this.h.dateFormat=null==a.Ug?null:a.Ug;this.h.csvDelimiter=null==a.Pg?
|
|
null:a.Pg;this.h.csvQualifier=null==a.Qg?null:a.Qg;this.h.csvColumnDataTypeOverrides=null==a.Og?null:a.Og};q(rg,C);rg.prototype.i=function(){return{K:{csvColumnDataTypeOverrides:ze},keys:"charset crs csvColumnDataTypeOverrides csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" "),wa:{csvColumnDataTypeOverrides:{da:null,ia:!1,ja:!1,ka:!1}}}};
|
|
l.Object.defineProperties(rg.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return F(this,"charset")?E(this,"charset"):null},set:function(a){this.h.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?E(this,"crs"):null},set:function(a){this.h.crs=a}},Og:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvColumnDataTypeOverrides")?E(this,"csvColumnDataTypeOverrides"):null},set:function(a){this.h.csvColumnDataTypeOverrides=a}},Pg:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"csvDelimiter")?E(this,"csvDelimiter"):null},set:function(a){this.h.csvDelimiter=a}},Qg:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvQualifier")?E(this,"csvQualifier"):null},set:function(a){this.h.csvQualifier=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"dateFormat")?E(this,"dateFormat"):null},set:function(a){this.h.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return F(this,"geodesic")?E(this,
|
|
"geodesic"):null},set:function(a){this.h.geodesic=a}},$b:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?E(this,"maxErrorMeters"):null},set:function(a){this.h.maxErrorMeters=a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?E(this,"maxVertices"):null},set:function(a){this.h.maxVertices=a}},Rh:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?E(this,"primaryGeometryColumn"):null},set:function(a){this.h.primaryGeometryColumn=
|
|
a}},za:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?E(this,"uris"):null},set:function(a){this.h.uris=a}},ui:{configurable:!0,enumerable:!0,get:function(){return F(this,"xColumn")?E(this,"xColumn"):null},set:function(a){this.h.xColumn=a}},vi:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?E(this,"yColumn"):null},set:function(a){this.h.yColumn=a}}});
|
|
var Uf=function(a){a=void 0===a?{}:a;this.h={};this.h.tileDimensions=null==a.Sa?null:a.Sa;this.h.marginDimensions=null==a.zf?null:a.zf;this.h.compress=null==a.Qe?null:a.Qe;this.h.maxSizeBytes=null==a.ac?null:a.ac;this.h.defaultValue=null==a.defaultValue?null:a.defaultValue;this.h.tensorDepths=null==a.ce?null:a.ce;this.h.sequenceData=null==a.Uf?null:a.Uf;this.h.collapseBands=null==a.Oe?null:a.Oe;this.h.maxMaskedRatio=null==a.Cf?null:a.Cf};q(Uf,C);
|
|
Uf.prototype.i=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),wa:{tensorDepths:{da:null,ia:!1,ja:!1,ka:!1}},u:{marginDimensions:Mf,tileDimensions:Mf}}};
|
|
l.Object.defineProperties(Uf.prototype,{Oe:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?E(this,"collapseBands"):null},set:function(a){this.h.collapseBands=a}},Qe:{configurable:!0,enumerable:!0,get:function(){return F(this,"compress")?E(this,"compress"):null},set:function(a){this.h.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?E(this,"defaultValue"):null},set:function(a){this.h.defaultValue=a}},zf:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"marginDimensions")?E(this,"marginDimensions"):null},set:function(a){this.h.marginDimensions=a}},Cf:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?E(this,"maxMaskedRatio"):null},set:function(a){this.h.maxMaskedRatio=a}},ac:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?E(this,"maxSizeBytes"):null},set:function(a){this.h.maxSizeBytes=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sequenceData")?E(this,"sequenceData"):null},set:function(a){this.h.sequenceData=a}},ce:{configurable:!0,enumerable:!0,get:function(){return F(this,"tensorDepths")?E(this,"tensorDepths"):null},set:function(a){this.h.tensorDepths=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}}});
|
|
var sg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.fileFormat=null==a.F?null:a.F;this.h.bandIds=null==a.ca?null:a.ca;this.h.visualizationOptions=null==a.Wa?null:a.Wa;this.h.grid=null==a.L?null:a.L;this.h.filenamePrefix=null==a.fa?null:a.fa};q(sg,C);sg.prototype.i=function(){return{K:{fileFormat:Ae},keys:"bandIds expression fileFormat filenamePrefix grid name visualizationOptions".split(" "),u:{expression:Xe,grid:xf,visualizationOptions:rf}}};
|
|
l.Object.defineProperties(sg.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},fa:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"filenamePrefix")?E(this,"filenamePrefix"):null},set:function(a){this.h.filenamePrefix=a}},L:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Wa:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?E(this,"visualizationOptions"):null},set:function(a){this.h.visualizationOptions=
|
|
a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.h={};this.h.endZoom=null==a.$g?null:a.$g;this.h.maxZoom=null==a.maxZoom?null:a.maxZoom;this.h.scale=null==a.scale?null:a.scale;this.h.startZoom=null==a.fi?null:a.fi;this.h.minZoom=null==a.minZoom?null:a.minZoom;this.h.skipEmpty=null==a.ci?null:a.ci;this.h.skipEmptyTiles=null==a.$f?null:a.$f;this.h.mapsApiKey=null==a.yf?null:a.yf;this.h.dimensions=null==a.dimensions?null:a.dimensions;this.h.tileDimensions=null==a.Sa?null:a.Sa;this.h.stride=null==a.ag?null:
|
|
a.ag;this.h.zoomSubset=null==a.ng?null:a.ng};q(zf,C);zf.prototype.i=function(){return{keys:"dimensions endZoom mapsApiKey maxZoom minZoom scale skipEmpty skipEmptyTiles startZoom stride tileDimensions zoomSubset".split(" "),u:{dimensions:Mf,tileDimensions:Mf,zoomSubset:tg}}};
|
|
l.Object.defineProperties(zf.prototype,{dimensions:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensions")?E(this,"dimensions"):null},set:function(a){this.h.dimensions=a}},$g:{configurable:!0,enumerable:!0,get:function(){return F(this,"endZoom")?E(this,"endZoom"):null},set:function(a){this.h.endZoom=a}},yf:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapsApiKey")?E(this,"mapsApiKey"):null},set:function(a){this.h.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"maxZoom")?E(this,"maxZoom"):null},set:function(a){this.h.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"minZoom")?E(this,"minZoom"):null},set:function(a){this.h.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return F(this,"scale")?E(this,"scale"):null},set:function(a){this.h.scale=a}},ci:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmpty")?E(this,"skipEmpty"):null},set:function(a){this.h.skipEmpty=
|
|
a}},$f:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyTiles")?E(this,"skipEmptyTiles"):null},set:function(a){this.h.skipEmptyTiles=a}},fi:{configurable:!0,enumerable:!0,get:function(){return F(this,"startZoom")?E(this,"startZoom"):null},set:function(a){this.h.startZoom=a}},ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"stride")?E(this,"stride"):null},set:function(a){this.h.stride=a}},Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?
|
|
E(this,"tileDimensions"):null},set:function(a){this.h.tileDimensions=a}},ng:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?E(this,"zoomSubset"):null},set:function(a){this.h.zoomSubset=a}}});
|
|
var Yf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.sources=null==a.sources?null:a.sources;this.h.dataType=null==a.dataType?null:a.dataType;this.h.crs=null==a.crs?null:a.crs;this.h.subdatasetPrefix=null==a.hi?null:a.hi;this.h.subdatasetSuffix=null==a.ii?null:a.ii};q(Yf,C);Yf.prototype.i=function(){return{R:{sources:$f},K:{dataType:Ce},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
l.Object.defineProperties(Yf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?E(this,"crs"):null},set:function(a){this.h.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?E(this,"dataType"):null},set:function(a){this.h.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?
|
|
E(this,"sources"):null},set:function(a){this.h.sources=a}},hi:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?E(this,"subdatasetPrefix"):null},set:function(a){this.h.subdatasetPrefix=a}},ii:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?E(this,"subdatasetSuffix"):null},set:function(a){this.h.subdatasetSuffix=a}}});
|
|
var Wf=function(a){a=void 0===a?{}:a;this.h={};this.h.id=null==a.id?null:a.id;this.h.tilesetId=null==a.Ec?null:a.Ec;this.h.tilesetBandIndex=null==a.mi?null:a.mi;this.h.missingData=null==a.missingData?null:a.missingData;this.h.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};q(Wf,C);Wf.prototype.i=function(){return{K:{pyramidingPolicy:Be},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],u:{missingData:Tf}}};
|
|
l.Object.defineProperties(Wf.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?E(this,"id"):null},set:function(a){this.h.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?E(this,"missingData"):null},set:function(a){this.h.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?E(this,"pyramidingPolicy"):null},set:function(a){this.h.pyramidingPolicy=a}},mi:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?E(this,"tilesetBandIndex"):null},set:function(a){this.h.tilesetBandIndex=a}},Ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var Xf=function(a){a=void 0===a?{}:a;this.h={};this.h.tilesetId=null==a.Ec?null:a.Ec;this.h.bandIds=null==a.ca?null:a.ca};q(Xf,C);Xf.prototype.i=function(){return{keys:["bandIds","tilesetId"]}};
|
|
l.Object.defineProperties(Xf.prototype,{ca:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?E(this,"bandIds"):null},set:function(a){this.h.bandIds=a}},Ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?E(this,"tilesetId"):null},set:function(a){this.h.tilesetId=a}}});var of=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(of,C);
|
|
of.prototype.i=function(){return{R:{sources:ug},keys:["pathPrefix","sources"]}};l.Object.defineProperties(of.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?E(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}}});
|
|
var pf=function(a){a=void 0===a?{}:a;this.h={};this.h.sources=null==a.sources?null:a.sources;this.h.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};q(pf,C);pf.prototype.i=function(){return{R:{sources:ug},keys:["pathPrefix","sources"]}};
|
|
l.Object.defineProperties(pf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?E(this,"pathPrefix"):null},set:function(a){this.h.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?E(this,"sources"):null},set:function(a){this.h.sources=a}}});var ug=function(a){a=void 0===a?{}:a;this.h={};this.h.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.h.headerSizeBytes=null==a.mh?null:a.mh};q(ug,C);
|
|
ug.prototype.i=function(){return{keys:["headerSizeBytes","pathSuffix"]}};l.Object.defineProperties(ug.prototype,{mh:{configurable:!0,enumerable:!0,get:function(){return F(this,"headerSizeBytes")?E(this,"headerSizeBytes"):null},set:function(a){this.h.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathSuffix")?E(this,"pathSuffix"):null},set:function(a){this.h.pathSuffix=a}}});
|
|
var Rf=function(a){a=void 0===a?{}:a;this.h={};this.h.fileIndexes=null==a.bh?null:a.bh;this.h.firstTileIndex=null==a.eh?null:a.eh;this.h.tilesPerFile=null==a.li?null:a.li};q(Rf,C);Rf.prototype.i=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
l.Object.defineProperties(Rf.prototype,{bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?E(this,"fileIndexes"):null},set:function(a){this.h.fileIndexes=a}},eh:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?E(this,"firstTileIndex"):null},set:function(a){this.h.firstTileIndex=a}},li:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?E(this,"tilesPerFile"):null},set:function(a){this.h.tilesPerFile=a}}});
|
|
var vg=function(a){a=void 0===a?{}:a;this.h={};this.h.asset=null==a.Sb?null:a.Sb;this.h.updateMask=null==a.Gc?null:a.Gc};q(vg,C);vg.prototype.i=function(){return{keys:["asset","updateMask"],u:{asset:kf}}};
|
|
l.Object.defineProperties(vg.prototype,{Sb:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?E(this,"asset"):null},set:function(a){this.h.asset=a}},Gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?E(this,"updateMask"):null},set:function(a){this.h.updateMask=a}}});
|
|
var Je=function(a){a=void 0===a?{}:a;this.h={};this.h.constantValue=null==a.nb?null:a.nb;this.h.integerValue=null==a.Zb?null:a.Zb;this.h.bytesValue=null==a.wb?null:a.wb;this.h.arrayValue=null==a.Ia?null:a.Ia;this.h.dictionaryValue=null==a.Ja?null:a.Ja;this.h.functionDefinitionValue=null==a.ab?null:a.ab;this.h.functionInvocationValue=null==a.Ba?null:a.Ba;this.h.argumentReference=null==a.Rb?null:a.Rb;this.h.valueReference=null==a.Ua?null:a.Ua};q(Je,C);
|
|
Je.prototype.i=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),u:{arrayValue:Ie,dictionaryValue:ef,functionDefinitionValue:If,functionInvocationValue:Jf}}};
|
|
l.Object.defineProperties(Je.prototype,{Rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?E(this,"argumentReference"):null},set:function(a){this.h.argumentReference=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?E(this,"arrayValue"):null},set:function(a){this.h.arrayValue=a}},wb:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?E(this,"bytesValue"):null},set:function(a){this.h.bytesValue=a}},nb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"constantValue")?E(this,"constantValue"):null},set:function(a){this.h.constantValue=a}},Ja:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?E(this,"dictionaryValue"):null},set:function(a){this.h.dictionaryValue=a}},ab:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionDefinitionValue")?E(this,"functionDefinitionValue"):null},set:function(a){this.h.functionDefinitionValue=a}},Ba:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"functionInvocationValue")?E(this,"functionInvocationValue"):null},set:function(a){this.h.functionInvocationValue=a}},Zb:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?E(this,"integerValue"):null},set:function(a){this.h.integerValue=a}},Ua:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?E(this,"valueReference"):null},set:function(a){this.h.valueReference=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.h={};this.h.driveDestination=null==a.oa?null:a.oa;this.h.cloudStorageDestination=null==a.xb?null:a.xb;this.h.gcsDestination=null==a.ra?null:a.ra;this.h.fileFormat=null==a.F?null:a.F};q(Ef,C);Ef.prototype.i=function(){return{K:{fileFormat:De},keys:["cloudStorageDestination","driveDestination","fileFormat","gcsDestination"],u:{cloudStorageDestination:Ue,driveDestination:jf,gcsDestination:Kf}}};
|
|
l.Object.defineProperties(Ef.prototype,{xb:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudStorageDestination")?E(this,"cloudStorageDestination"):null},set:function(a){this.h.cloudStorageDestination=a}},oa:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?E(this,"driveDestination"):null},set:function(a){this.h.driveDestination=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=
|
|
a}},ra:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?E(this,"gcsDestination"):null},set:function(a){this.h.gcsDestination=a}}});var Ff=function(a){a=void 0===a?{}:a;this.h={};this.h.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.h.maxFrames=null==a.maxFrames?null:a.maxFrames;this.h.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};q(Ff,C);Ff.prototype.i=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
l.Object.defineProperties(Ff.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return F(this,"framesPerSecond")?E(this,"framesPerSecond"):null},set:function(a){this.h.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFrames")?E(this,"maxFrames"):null},set:function(a){this.h.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixelsPerFrame")?E(this,"maxPixelsPerFrame"):null},set:function(a){this.h.maxPixelsPerFrame=
|
|
a}}});var wg=function(a){a=void 0===a?{}:a;this.h={};this.h.name=null==a.name?null:a.name;this.h.expression=null==a.l?null:a.l;this.h.videoOptions=null==a.Va?null:a.Va;this.h.fileFormat=null==a.F?null:a.F;this.h.grid=null==a.L?null:a.L};q(wg,C);wg.prototype.i=function(){return{K:{fileFormat:Ee},keys:["expression","fileFormat","grid","name","videoOptions"],u:{expression:Xe,grid:xf,videoOptions:Ff}}};
|
|
l.Object.defineProperties(wg.prototype,{l:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?E(this,"expression"):null},set:function(a){this.h.expression=a}},F:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?E(this,"fileFormat"):null},set:function(a){this.h.fileFormat=a}},L:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?E(this,"grid"):null},set:function(a){this.h.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?E(this,"name"):null},set:function(a){this.h.name=a}},Va:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?E(this,"videoOptions"):null},set:function(a){this.h.videoOptions=a}}});var rf=function(a){a=void 0===a?{}:a;this.h={};this.h.ranges=null==a.Mf?null:a.Mf;this.h.paletteColors=null==a.ed?null:a.ed;this.h.gamma=null==a.gamma?null:a.gamma;this.h.opacity=null==a.opacity?null:a.opacity};q(rf,C);
|
|
rf.prototype.i=function(){return{R:{ranges:hf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
l.Object.defineProperties(rf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return F(this,"gamma")?E(this,"gamma"):null},set:function(a){this.h.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return F(this,"opacity")?E(this,"opacity"):null},set:function(a){this.h.opacity=a}},ed:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?E(this,"paletteColors"):null},set:function(a){this.h.paletteColors=a}},Mf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"ranges")?E(this,"ranges"):null},set:function(a){this.h.ranges=a}}});var tg=function(a){a=void 0===a?{}:a;this.h={};this.h.start=null==a.start?null:a.start;this.h.end=null==a.end?null:a.end;this.h.min=null==a.min?null:a.min;this.h.max=null==a.max?null:a.max};q(tg,C);tg.prototype.i=function(){return{keys:["end","max","min","start"]}};
|
|
l.Object.defineProperties(tg.prototype,{end:{configurable:!0,enumerable:!0,get:function(){return F(this,"end")?E(this,"end"):null},set:function(a){this.h.end=a}},max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?E(this,"max"):null},set:function(a){this.h.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?E(this,"min"):null},set:function(a){this.h.min=a}},start:{configurable:!0,enumerable:!0,get:function(){return F(this,"start")?E(this,"start"):null},
|
|
set:function(a){this.h.start=a}}});var Vd={$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"},xg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
xg.prototype.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",s:G(b,c),G:dg})};var yg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
yg.prototype.getCapabilities=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",s:G(b,c),G:Qe})};yg.prototype.$c=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",s:G(b,c),G:eg})};
|
|
var zg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};k=zg.prototype;k.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",s:G(c,d),G:kf})};
|
|
k.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,s:G(b,c),G:sf})};k.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,s:G(b,c),G:kf})};
|
|
k.link=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.link",path:"/"+this.m+"/"+a+":link",s:G(c,d),G:kf})};k.$c=function(a,b){b=void 0===b?{}:b;var c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",s:G(b,c),G:eg})};
|
|
var Ag=function(a,b,c){c=void 0===c?{}:c;var d=void 0===d?{}:d;a.j.C(b,RegExp("^projects/[^/]+/assets/.*$"));return H(a.j,{body:null,B:"GET",D:"earthengine.projects.assets.listImages",path:"/"+a.m+"/"+b+":listImages",s:G(c,d),G:fg})};zg.prototype.move=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",s:G(c,d),G:kf})};
|
|
var Bg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};Bg.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.classifier.export",path:"/"+this.m+"/"+a+"/classifier:export",s:G(c,d),G:hg})};var Cg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Cg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.dmsMaps.create",path:"/"+this.m+"/"+a+"/dmsMaps",s:G(c,d),G:cf})};var Dg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Dg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",s:G(c,d),G:Hf})};var Eg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Eg.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",s:G(c,d),G:hg})};Eg.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",s:G(c,d),G:hg})};
|
|
var Fg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};Fg.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",s:G(c,d),G:hg})};var Gg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Gg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",s:G(c,d),G:qf})};var Hg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};k=Hg.prototype;
|
|
k.cancel=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",s:G(c,d),G:sf})};k.delete=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,s:G(b,c),G:sf})};
|
|
k.get=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,s:G(b,c),G:hg})};k.list=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?{}:c;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",s:G(b,c),G:gg})};
|
|
k.wait=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+/operations/.*$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",s:G(c,d),G:hg})};var Ig=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Ig.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",s:G(c,d),G:hg})};Ig.prototype.import=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",s:G(c,d),G:hg})};
|
|
var Jg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};Jg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.tables.create",path:"/"+this.m+"/"+a+"/tables",s:G(c,d),G:qg})};var Kg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Kg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",s:G(c,d),G:sg})};
|
|
var Lg=function(a){this.m="v1alpha";this.j=new Yd(a,null)},Mg=function(a,b,c){var d=void 0===d?{}:d;var e=void 0===e?{}:e;a.j.C(b,RegExp("^projects/[^/]+$"));return H(a.j,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",s:G(d,e),G:Ye})},Ng=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Ng.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",s:G(c,d),G:hg})};var Og=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Og.prototype.Na=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",s:G(c,d),G:hg})};var Pg=function(a){this.m="v1alpha";this.j=new Yd(a,null)};
|
|
Pg.prototype.create=function(a,b,c,d){c=void 0===c?{}:c;d=void 0===d?{}:d;this.j.C(a,RegExp("^projects/[^/]+$"));return H(this.j,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",s:G(c,d),G:wg})};var Qg=function(){};Qg.prototype.send=function(a,b){Ud(a);return(void 0).then(function(c){return b?td(b,c):c})};var Rg=function(a,b){this.gk=100;this.Vj=a;this.vk=b;this.Td=0;this.sa=null};Rg.prototype.get=function(){if(0<this.Td){this.Td--;var a=this.sa;this.sa=a.next;a.next=null}else a=this.Vj();return a};Rg.prototype.put=function(a){this.vk(a);this.Td<this.gk&&(this.Td++,a.next=this.sa,this.sa=a)};var Tg=function(a,b){lb(b,function(c,d){c&&"object"==typeof c&&c.rf&&(c=c.lf());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Sg.hasOwnProperty(d)?a.setAttribute(Sg[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Sg={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"},Vg=function(a,b,c){return Ug(document,arguments)},Ug=function(a,b){var c=b[1],d=Wg(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):Tg(d,c));2<b.length&&Xg(a,d,b,2);return d},Xg=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(!ta(f)||t(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(t(f)){var g="function"==typeof f.item||"string"==typeof f.item;
|
|
break a}if("function"===typeof f){g="function"==typeof f.item;break a}}g=!1}Pa(g?Za(f):f,e)}}},Wg=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Yg=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Zg=function(a){z(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},$g=function(a){this.Dd=a||r.document||document};k=$g.prototype;
|
|
k.getElementsByTagName=function(a,b){return(b||this.Dd).getElementsByTagName(String(a))};k.Uj=function(a,b,c){return Ug(this.Dd,arguments)};k.createElement=function(a){return Wg(this.Dd,a)};k.createTextNode=function(a){return this.Dd.createTextNode(String(a))};k.appendChild=function(a,b){z(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){Xg(Zg(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=Yg;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 ah,bh=function(){var a=r.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!kb("Presto")&&(a=function(){var e=Wg(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=u(function(m){if(("*"==h||m.origin==h)&&m.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&&!kb("Trident")&&!kb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Eg;c.Eg=null;e()}};return function(e){d.next={Eg:e};d=d.next;b.port2.postMessage(0)}}return function(e){r.setTimeout(e,0)}};function ch(a){r.setTimeout(function(){throw a;},0)};var dh=function(){this.ne=this.lc=null};dh.prototype.add=function(a,b){var c=eh.get();c.set(a,b);this.ne?this.ne.next=c:(z(!this.lc),this.lc=c);this.ne=c};dh.prototype.remove=function(){var a=null;this.lc&&(a=this.lc,this.lc=this.lc.next,this.lc||(this.ne=null),a.next=null);return a};var eh=new Rg(function(){return new fh},function(a){return a.reset()}),fh=function(){this.next=this.scope=this.ef=null};fh.prototype.set=function(a,b){this.ef=a;this.scope=b;this.next=null};
|
|
fh.prototype.reset=function(){this.next=this.scope=this.ef=null};var kh=function(a,b){gh||hh();ih||(gh(),ih=!0);jh.add(a,b)},gh,hh=function(){if(r.Promise&&r.Promise.resolve){var a=r.Promise.resolve(void 0);gh=function(){a.then(lh)}}else gh=function(){var b=lh;"function"!==typeof r.setImmediate||r.Window&&r.Window.prototype&&!kb("Edge")&&r.Window.prototype.setImmediate==r.setImmediate?(ah||(ah=bh()),ah(b)):r.setImmediate(b)}},ih=!1,jh=new dh,lh=function(){for(var a;a=jh.remove();){try{a.ef.call(a.scope)}catch(b){ch(b)}eh.put(a)}ih=!1};var mh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var ph=function(a){this.T=0;this.na=void 0;this.qc=this.mb=this.Z=null;this.Kd=this.af=!1;if(a!=ra)try{var b=this;a.call(void 0,function(c){nh(b,2,c)},function(c){if(!(c instanceof oh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}nh(b,3,c)})}catch(c){nh(this,3,c)}},qh=function(){this.next=this.context=this.xc=this.cc=this.Tb=null;this.td=!1};qh.prototype.reset=function(){this.context=this.xc=this.cc=this.Tb=null;this.td=!1};
|
|
var rh=new Rg(function(){return new qh},function(a){a.reset()}),sh=function(a,b,c){var d=rh.get();d.cc=a;d.xc=b;d.context=c;return d};ph.prototype.then=function(a,b,c){null!=a&&La(a,"opt_onFulfilled should be a function.");null!=b&&La(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return th(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};ph.prototype.$goog_Thenable=!0;
|
|
ph.prototype.cancel=function(a){if(0==this.T){var b=new oh(a);kh(function(){uh(this,b)},this)}};
|
|
var uh=function(a,b){if(0==a.T)if(a.Z){var c=a.Z;if(c.mb){for(var d=0,e=null,f=null,g=c.mb;g&&(g.td||(d++,g.Tb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.T&&1==d?uh(c,b):(f?(d=f,z(c.mb),z(null!=d),d.next==c.qc&&(c.qc=d),d.next=d.next.next):vh(c),wh(c,e,3,b)))}a.Z=null}else nh(a,3,b)},yh=function(a,b){a.mb||2!=a.T&&3!=a.T||xh(a);z(null!=b.cc);a.qc?a.qc.next=b:a.mb=b;a.qc=b},th=function(a,b,c,d){var e=sh(null,null,null);e.Tb=new ph(function(f,g){e.cc=b?function(h){try{var m=b.call(d,h);f(m)}catch(p){g(p)}}:
|
|
f;e.xc=c?function(h){try{var m=c.call(d,h);void 0===m&&h instanceof oh?g(h):f(m)}catch(p){g(p)}}:g});e.Tb.Z=a;yh(a,e);return e.Tb};ph.prototype.Ek=function(a){z(1==this.T);this.T=0;nh(this,2,a)};ph.prototype.Fk=function(a){z(1==this.T);this.T=0;nh(this,3,a)};
|
|
var nh=function(a,b,c){if(0==a.T){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.T=1;a:{var d=c,e=a.Ek,f=a.Fk;if(d instanceof ph){null!=e&&La(e,"opt_onFulfilled should be a function.");null!=f&&La(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");yh(d,sh(e||ra,f||null,a));var g=!0}else if(mh(d))d.then(e,f,a),g=!0;else{if(t(d))try{var h=d.then;if("function"===typeof h){zh(d,h,e,f,a);g=!0;break a}}catch(m){f.call(a,m);
|
|
g=!0;break a}g=!1}}g||(a.na=c,a.T=b,a.Z=null,xh(a),3!=b||c instanceof oh||Ah(a,c))}},zh=function(a,b,c,d,e){var f=!1,g=function(m){f||(f=!0,c.call(e,m))},h=function(m){f||(f=!0,d.call(e,m))};try{b.call(a,g,h)}catch(m){h(m)}},xh=function(a){a.af||(a.af=!0,kh(a.Yj,a))},vh=function(a){var b=null;a.mb&&(b=a.mb,a.mb=b.next,b.next=null);a.mb||(a.qc=null);null!=b&&z(null!=b.cc);return b};ph.prototype.Yj=function(){for(var a;a=vh(this);)wh(this,a,this.T,this.na);this.af=!1};
|
|
var wh=function(a,b,c,d){if(3==c&&b.xc&&!b.td)for(;a&&a.Kd;a=a.Z)a.Kd=!1;if(b.Tb)b.Tb.Z=null,Bh(b,c,d);else try{b.td?b.cc.call(b.context):Bh(b,c,d)}catch(e){Ch.call(null,e)}rh.put(b)},Bh=function(a,b,c){2==b?a.cc.call(a.context,c):a.xc&&a.xc.call(a.context,c)},Ah=function(a,b){a.Kd=!0;kh(function(){a.Kd&&Ch.call(null,b)})},Ch=ch,oh=function(a){Ea.call(this,a)};x(oh,Ea);oh.prototype.name="cancel";var Dh=function(a,b,c){if("function"===typeof a)c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:r.setTimeout(a,b||0)};var Eh=function(a,b,c){Da.call(this);this.hk=null!=c?a.bind(c):a;this.ek=b;this.ud=null;this.Dc=!1;this.fd=0;this.jc=null};q(Eh,Da);k=Eh.prototype;k.df=function(a){this.ud=arguments;this.jc||this.fd?this.Dc=!0:Fh(this)};k.stop=function(){this.jc&&(r.clearTimeout(this.jc),this.jc=null,this.Dc=!1,this.ud=null)};k.pause=function(){this.fd++};k.resume=function(){this.fd--;this.fd||!this.Dc||this.jc||(this.Dc=!1,Fh(this))};k.I=function(){Da.prototype.I.call(this);this.stop()};
|
|
var Fh=function(a){a.jc=Dh(function(){a.jc=null;a.Dc&&!a.fd&&(a.Dc=!1,Fh(a))},a.ek);var b=a.ud;a.ud=null;a.hk.apply(null,b)};/*
|
|
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
|
Copyright The Closure Library Authors.
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var Hh=function(a){var b=Gh;this.Zd=[];this.Jh=b;this.Vg=a||null;this.Vc=this.uc=!1;this.na=void 0;this.Yf=this.yg=this.Le=!1;this.je=0;this.Z=null;this.Me=0};Hh.prototype.cancel=function(a){if(this.uc)this.na instanceof Hh&&this.na.cancel();else{if(this.Z){var b=this.Z;delete this.Z;a?b.cancel(a):(b.Me--,0>=b.Me&&b.cancel())}this.Jh?this.Jh.call(this.Vg,this):this.Yf=!0;this.uc||Ih(this,new Jh(this))}};Hh.prototype.Jg=function(a,b){this.Le=!1;Kh(this,a,b)};
|
|
var Kh=function(a,b,c){a.uc=!0;a.na=c;a.Vc=!b;Lh(a)},Nh=function(a){if(a.uc){if(!a.Yf)throw new Mh(a);a.Yf=!1}};Hh.prototype.callback=function(a){Nh(this);Oh(a);Kh(this,!0,a)};var Ih=function(a,b){Nh(a);Oh(b);Kh(a,!1,b)},Oh=function(a){z(!(a instanceof Hh),"An execution sequence may not be initiated with a blocking Deferred.")},Ph=function(a,b,c){z(!a.yg,"Blocking Deferreds can not be re-used");a.Zd.push([b,c,void 0]);a.uc&&Lh(a)};
|
|
Hh.prototype.then=function(a,b,c){var d,e,f=new ph(function(g,h){e=g;d=h});Ph(this,e,function(g){g instanceof Jh?f.cancel():d(g)});return f.then(a,b,c)};Hh.prototype.$goog_Thenable=!0;
|
|
var Qh=function(a){return Sa(a.Zd,function(b){return"function"===typeof b[1]})},Lh=function(a){if(a.je&&a.uc&&Qh(a)){var b=a.je,c=Rh[b];c&&(r.clearTimeout(c.ga),delete Rh[b]);a.je=0}a.Z&&(a.Z.Me--,delete a.Z);b=a.na;for(var d=c=!1;a.Zd.length&&!a.Le;){var e=a.Zd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.Vc?g:f)try{var h=f.call(e||a.Vg,b);void 0!==h&&(a.Vc=a.Vc&&(h==b||h instanceof Error),a.na=b=h);if(mh(b)||"function"===typeof r.Promise&&b instanceof r.Promise)d=!0,a.Le=!0}catch(m){b=m,a.Vc=!0,Qh(a)||(c=
|
|
!0)}}a.na=b;d&&(h=u(a.Jg,a,!0),d=u(a.Jg,a,!1),b instanceof Hh?(Ph(b,h,d),b.yg=!0):b.then(h,d));c&&(b=new Sh(b),Rh[b.ga]=b,a.je=b.ga)},Mh=function(){Ea.call(this)};x(Mh,Ea);Mh.prototype.message="Deferred has already fired";Mh.prototype.name="AlreadyCalledError";var Jh=function(){Ea.call(this)};x(Jh,Ea);Jh.prototype.message="Deferred was canceled";Jh.prototype.name="CanceledError";var Sh=function(a){this.ga=r.setTimeout(u(this.Dk,this),0);this.Gd=a};
|
|
Sh.prototype.Dk=function(){z(Rh[this.ga],"Cannot throw an error that is not scheduled.");delete Rh[this.ga];throw this.Gd;};var Rh={};var Wh=function(a){var b={},c=b.document||document,d=Jb(a).toString(),e=(new $g(c)).createElement("SCRIPT"),f={$h:e,nd:void 0},g=new Hh(f),h=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(h=window.setTimeout(function(){Th(e,!0);Ih(g,new Uh(1,"Timeout reached for loading script "+d))},m),f.nd=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Th(e,b.Mk||!1,h),g.callback(null))};e.onerror=function(){Th(e,!0,h);Ih(g,new Uh(0,"Error while loading script "+
|
|
d))};f=b.attributes||{};zb(f,{type:"text/javascript",charset:"UTF-8"});Tg(e,f);Vb(e,a);Vh(c).appendChild(e)},Vh=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!==b.length?b[0]:a.documentElement},Gh=function(){if(this&&this.$h){var a=this.$h;a&&"SCRIPT"==a.tagName&&Th(a,!0,this.nd)}},Th=function(a,b,c){null!=c&&r.clearTimeout(c);a.onload=ra;a.onerror=ra;a.onreadystatechange=ra;b&&window.setTimeout(function(){Yg(a)},0)},Uh=function(a,b){var c="Jsloader error (code #"+a+")";
|
|
b&&(c+=": "+b);Ea.call(this,c);this.code=a};x(Uh,Ea);var Xh=function(){this.Xd=void 0};Xh.prototype.ya=function(a){var b=[];Yh(this,a,b);return b.join("")};
|
|
var Yh=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],Yh(a,a.Xd?a.Xd.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),Zh(d,c),c.push(":"),Yh(a,a.Xd?a.Xd.call(b,d,e):e,c),f=","));c.push("}");
|
|
return}}switch(typeof b){case "string":Zh(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);}}},$h={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},ai=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Zh=function(a,b){b.push('"',a.replace(ai,function(c){var d=$h[c];
|
|
d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),$h[c]=d);return d}),'"')};var bi=function(a,b){this.name=a;this.value=b};bi.prototype.toString=function(){return this.name};var ci=new bi("OFF",Infinity),di=new bi("SEVERE",1E3),ei=new bi("CONFIG",700),fi=new bi("FINE",500),gi=function(){this.Ad=0;this.clear()},hi;gi.prototype.clear=function(){this.xd=Array(this.Ad);this.Rg=-1;this.uh=!1};var ii=function(a,b,c){this.reset(a||ci,b,c,void 0,void 0)};ii.prototype.reset=function(){};
|
|
var ji=function(a,b){this.level=null;this.bk=[];this.parent=(void 0===b?null:b)||null;this.children=[];this.jk={jf:function(){return a}}},ki=function(a){if(a.level)return a.level;if(a.parent)return ki(a.parent);Ia("Root logger has no level set.");return ci},li=function(a,b){for(;a;)a.bk.forEach(function(c){c(b)}),a=a.parent},mi=function(){this.entries={};var a=new ji("");a.level=ei;this.entries[""]=a},ni,oi=function(a,b,c){var d=a.entries[b];if(d)return void 0!==c&&(d.level=c),d;d=oi(a,b.substr(0,
|
|
b.lastIndexOf(".")));var e=new ji(b,d);a.entries[b]=e;d.children.push(e);void 0!==c&&(e.level=c);return e},pi=function(){ni||(ni=new mi);return ni},qi=function(a,b,c){var d;if(d=a)if(d=a&&b){d=b.value;var e=a?ki(oi(pi(),a.jf())):ci;d=d>=e.value}if(d){b=b||ci;d=oi(pi(),a.jf());"function"===typeof c&&(c=c());hi||(hi=new gi);e=hi;a=a.jf();if(0<e.Ad){var f=(e.Rg+1)%e.Ad;e.Rg=f;e.uh?(e=e.xd[f],e.reset(b,c,a),a=e):(e.uh=f==e.Ad-1,a=e.xd[f]=new ii(b,c,a))}else a=new ii(b,c,a);li(d,a)}},ri=function(a,b){a&&
|
|
qi(a,fi,b)};var si=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var ti=function(){};ti.prototype.Cg=null;var vi=function(a){var b;(b=a.Cg)||(b={},ui(a)&&(b[0]=!0,b[1]=!0),b=a.Cg=b);return b};var wi,xi=function(){};x(xi,ti);var yi=function(a){return(a=ui(a))?new ActiveXObject(a):new XMLHttpRequest},ui=function(a){if(!a.ph&&"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.ph=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.ph};wi=new xi;var zi=function(a){A.call(this);this.headers=new Xc;this.pe=a||null;this.Ha=!1;this.oe=this.o=null;this.Zc=this.yh=this.Qd="";this.Yb=this.sf=this.Od=this.Ze=!1;this.Fc=0;this.fe=null;this.Bc="";this.le=this.tk=this.ti=!1;this.lg=null};x(zi,A);zi.prototype.ma=oi(pi(),"goog.net.XhrIo",void 0).jk;var Ai=/^https?$/i,Bi=["POST","PUT"],Ci=[];zi.prototype.Tj=function(){this.Ya();Xa(Ci,this)};zi.prototype.setTrustToken=function(a){this.lg=a};
|
|
zi.prototype.send=function(a,b,c,d){if(this.o)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Qd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Qd=a;this.Zc="";this.yh=b;this.Ze=!1;this.Ha=!0;this.o=this.pe?yi(this.pe):yi(wi);this.oe=this.pe?vi(this.pe):vi(wi);this.o.onreadystatechange=u(this.Mh,this);this.tk&&"onprogress"in this.o&&(this.o.onprogress=u(function(f){this.Lh(f,!0)},this),this.o.upload&&(this.o.upload.onprogress=u(this.Lh,this)));try{ri(this.ma,Di(this,"Opening Xhr")),
|
|
this.sf=!0,this.o.open(b,String(a),!0),this.sf=!1}catch(f){ri(this.ma,Di(this,"Error opening Xhr: "+f.message));this.Gd(5,f);return}a=c||"";var e=this.headers.clone();d&&dd(d,function(f,g){e.set(g,f)});d=e.Pa().find(function(f){return"content-type"==f.toLowerCase()});c=r.FormData&&a instanceof r.FormData;!Va(Bi,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.o.setRequestHeader(g,f)},this);this.Bc&&(this.o.responseType=this.Bc);"withCredentials"in
|
|
this.o&&this.o.withCredentials!==this.ti&&(this.o.withCredentials=this.ti);if("setTrustToken"in this.o&&this.lg)try{this.o.setTrustToken(this.lg)}catch(f){ri(this.ma,Di(this,"Error SetTrustToken: "+f.message))}try{Ei(this),0<this.Fc&&(this.le=Fi(this.o),ri(this.ma,Di(this,"Will abort after "+this.Fc+"ms if incomplete, xhr2 "+this.le)),this.le?(this.o.timeout=this.Fc,this.o.ontimeout=u(this.nd,this)):this.fe=Dh(this.nd,this.Fc,this)),ri(this.ma,Di(this,"Sending request")),this.Od=!0,this.o.send(a),
|
|
this.Od=!1}catch(f){ri(this.ma,Di(this,"Send error: "+f.message)),this.Gd(5,f)}};var Fi=function(a){return bc&&lc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout};zi.prototype.nd=function(){"undefined"!=typeof qa&&this.o&&(this.Zc="Timed out after "+this.Fc+"ms, aborting",ri(this.ma,Di(this,this.Zc)),this.dispatchEvent("timeout"),this.abort(8))};zi.prototype.Gd=function(a,b){this.Ha=!1;this.o&&(this.Yb=!0,this.o.abort(),this.Yb=!1);this.Zc=b;Gi(this);Hi(this)};
|
|
var Gi=function(a){a.Ze||(a.Ze=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};zi.prototype.abort=function(){this.o&&this.Ha&&(ri(this.ma,Di(this,"Aborting")),this.Ha=!1,this.Yb=!0,this.o.abort(),this.Yb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Hi(this))};zi.prototype.I=function(){this.o&&(this.Ha&&(this.Ha=!1,this.Yb=!0,this.o.abort(),this.Yb=!1),Hi(this,!0));zi.M.I.call(this)};zi.prototype.Mh=function(){this.Za||(this.sf||this.Od||this.Yb?Ii(this):this.sk())};
|
|
zi.prototype.sk=function(){Ii(this)};
|
|
var Ii=function(a){if(a.Ha&&"undefined"!=typeof qa)if(a.oe[1]&&4==a.zb()&&2==a.getStatus())ri(a.ma,Di(a,"Local request error detected and ignored"));else if(a.Od&&4==a.zb())Dh(a.Mh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.zb()){ri(a.ma,Di(a,"Request complete"));a.Ha=!1;try{var b=a.getStatus(),c;if(!(c=si(b))){var d;if(d=0===b){var e=String(a.Qd).match(Bd)[1]||null;if(!e&&r.self&&r.self.location){var f=r.self.location.protocol;e=f.substr(0,f.length-1)}d=!Ai.test(e?e.toLowerCase():"")}c=
|
|
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.zb()?a.o.statusText:""}catch(h){ri(a.ma,"Can not get status: "+h.message),g=""}a.Zc=g+" ["+a.getStatus()+"]";Gi(a)}}finally{Hi(a)}}};zi.prototype.Lh=function(a,b){z("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Ji(a,"progress"));this.dispatchEvent(Ji(a,b?"downloadprogress":"uploadprogress"))};
|
|
var Ji=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Hi=function(a,b){if(a.o){Ei(a);var c=a.o,d=a.oe[0]?ra:null;a.o=null;a.oe=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.ma)&&qi(a,di,"Problem encountered resetting onreadystatechange: "+e.message)}}},Ei=function(a){a.o&&a.le&&(a.o.ontimeout=null);a.fe&&(r.clearTimeout(a.fe),a.fe=null)};zi.prototype.th=function(){return!!this.o};
|
|
zi.prototype.zb=function(){return this.o?this.o.readyState:0};zi.prototype.getStatus=function(){try{return 2<this.zb()?this.o.status:-1}catch(a){return-1}};
|
|
var Ki=function(a){try{if(!a.o)return null;if("response"in a.o)return a.o.response;switch(a.Bc){case "":case "text":return a.o.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.o)return a.o.mozResponseArrayBuffer}var b=a.ma;b&&qi(b,di,"Response type "+a.Bc+" is not supported on this browser");return null}catch(c){return ri(a.ma,"Can not get response: "+c.message),null}};
|
|
zi.prototype.getResponseHeader=function(a){if(this.o&&4==this.zb())return a=this.o.getResponseHeader(a),null===a?void 0:a};zi.prototype.getAllResponseHeaders=function(){return this.o&&4==this.zb()?this.o.getAllResponseHeaders()||"":""};
|
|
var Li=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=Xb(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 nb(b,function(g){return g.join(", ")})},Di=function(a,b){return b+" ["+a.yh+" "+a.Qd+" "+a.getStatus()+"]"};var Mi,I=function(a,b){Ni();this.callback=a;this.N=new Oi(!a,b)},J=function(a,b){if(b instanceof Promise){if(a.callback){var c=function(d,e){try{return a.callback(d,e)}catch(f){setTimeout(function(){throw f;},0)}};b.then(c,function(d){return c(void 0,d)})}}else b.then(function(d){b=d});return b},Pi=function(){return"projects/"+Mi};k=I.prototype;k.Jc=function(){return new xg(this.N)};k.assets=function(){return new zg(this.N)};k.Qa=function(){return new Hg(this.N)};k.value=function(){return new Lg(this.N)};
|
|
k.maps=function(){return new Gg(this.N)};k.map=function(){return new Fg(this.N)};k.image=function(){return new Eg(this.N)};k.table=function(){return new Ig(this.N)};k.video=function(){return new Ng(this.N)};var Oi=function(a,b){this.sync=a=void 0===a?!1:a;this.Xh=null!=b?b:a?5:10};q(Oi,Qg);
|
|
Oi.prototype.send=function(a,b){var c=this;Ud(a);var d=a.path||"",e=Ri()+d,f=Si(a.s||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=Ti(e,f,void 0,a.B,g,this.Xh);d=b?td(b,d):d;var h=function(m){return{then:function(p){return h(p(m))}}};return h(d)}return(new Promise(function(m,p){Ti(e,f,function(v,B){B?p(B):m(v)},a.B,g,c.Xh)})).then(function(m){return b?td(b,m):m})};var Vi=function(a){I.call(this,a);this.N=new Ui};q(Vi,I);
|
|
Vi.prototype.send=function(a,b){var c=this,d=Ri()+"/batch",e=a.map(function(g){var h=n(g);g=h.next().value;h=n(h.next().value);var m=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"+m+"\r\n"}).join("")+"--batch_EARTHENGINE_batch--\r\n",f=function(g){var h={};a.forEach(function(m){var p=n(m);m=p.next().value;p=n(p.next().value);p.next();p=p.next().value;null!=g[m]&&(h[m]=
|
|
td(p,g[m]))});return b?b(h):h};return this.callback?(Ti(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(Ti(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var Ui=function(){};q(Ui,Qg);
|
|
Ui.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=Wi();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 Xi=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},Ri=function(){var a=Yi.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},$i=function(a,b,c){var d=[];a&&(d=d.concat(Zi));
|
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var f=a[c++],g=t(f)?"o"+xa(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,g)||(e[g]=!0,a[b++]=f)}a.length=b;return d},fj=function(a,b,c){aj&&bj&&aj({client_id:String(bj),immediate:!0,scope:cj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{dj(function(){try{r.gapi.auth.setToken(d),ej(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else ej(a,
|
|
b,d)})},Wi=function(){gj&&0<=Date.now()-gj&&hj();return ij},hj=function(){gj=ij=null},Ni=function(a,b,c,d){null!=a?Yi=a:jj||(Yi="https://earthengine.googleapis.com/api");null!=b?kj=b:jj||(kj="https://earthengine.googleapis.com");void 0!==c&&(lj=c);Mi=null!=d?d:Mi||"earthengine-legacy";jj=!0},Ti=function(a,b,c,d,e,f){Ni();var g=mj,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 m="0.1.282";"0.1.282"===
|
|
m&&(m="latest");h["x-goog-api-client"]="ee-js/"+m;m=Wi();if(null!=m)h.Authorization=m;else if(c&&aj&&bj)return fj(function(){nj(g,function(){Ti(a,b,c,d)})}),null;b=b?b.clone():new Jd;null!=oj&&b.add("key",oj);g&&(h["X-Earth-Engine-Computation-Profiling"]="1");Mi&&"earthengine-legacy"!==Mi&&(h["X-Goog-User-Project"]=Mi);b=pj(b,a);null!=lj&&(h["X-XSRF-Token"]=lj);null!=qj&&(h["X-Earth-Engine-App-ID-Token"]=qj);m=e||null;var p=b?b.toString():"";"POST"===d&&void 0===e?m=p:/^[\s\xa0]*$/.test(p)||(a+=-1!=
|
|
a.indexOf("?")?"&":"?",a+=p);e=a.startsWith("/")?Yi+a:a;if(c)return rj.push(sj(e,c,d,m,h,f)),tj.df(),null;p=function(D,R){this.setRequestHeader&&this.setRequestHeader(R,D)};var v=0;for(f=null!=f?f:5;;){var B=yi(wi);B.open(d,e,!1);lb(h,p,B);B.send(m);if(429!=B.status||v>f)break;v++}return uj(B.status,function(D){try{return B.getResponseHeader(D)}catch(R){return null}},B.responseText,g,void 0,e,d)},sj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},m=mj,p=null!=f?f:10;h.callback=
|
|
function(v){v=v.target;if(429==v.getStatus()&&g<p)return g++,setTimeout(function(){rj.push(h);tj.df()},Math.min(12E4,1E3*Math.pow(2,g))),null;var B=uj,D=v.getStatus(),R=u(v.getResponseHeader,v);try{var X=v.o?v.o.responseText:""}catch(U){ri(v.ma,"Can not get responseText: "+U.message),X=""}return B(D,R,X,m,b,a,c)};return h},nj=function(a,b){var c=mj;try{mj=a,b.call(void 0)}finally{mj=c}},uj=function(a,b,c,d,e,f,g){var h=d?b("X-Earth-Engine-Computation-Profile"):"";h&&d&&d(h);var m=function(X){try{var U=
|
|
JSON.parse(X);return t(U)&&"error"in U&&"message"in U.error?U.error.message:{parsed:U}}catch(Ib){return"Invalid JSON: "+X}},p=function(X){if(0===X)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>X||300<=X)return"Server returned HTTP code: "+X+" for "+g+" "+f},v;b=b("Content-Type")||"application/json";d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=m(c),b.parsed){var B=b.parsed;void 0===B&&(v="Malformed response: "+
|
|
c)}else v=b;else if("multipart/mixed"===d){B={};var D=[];Xi(b,c,function(X,U,Ib){Ib=m(Ib);Ib.parsed&&(B[X]=Ib.parsed);(U=(Ib.parsed?"":Ib)||p(U))&&D.push(X+": "+U)});D.length&&(v=D.join("\n"))}else var R="Response was unexpectedly not JSON, but "+d;v=v||p(a)||R;if(e)return e(B,v),null;if(!v)return B;throw Error(v);},dj=function(a){var b=function(){r.gapi.config.update("client/cors",!0);aj||(aj=r.gapi.auth.authorize);a()};if(t(r.gapi)&&t(r.gapi.auth)&&"function"===typeof r.gapi.auth.authorize)b();
|
|
else{for(var c=Date.now().toString(36);c in r;)c+="_";r[c]=function(){delete r[c];b()};Wh(Ob({onload:c}))}},ej=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(fj,.9*c);void 0!==d.unref&&d.unref();gj=Date.now()+c}ij=b;a&&a()}else b&&b(c.error||"Unknown error.")},Si=function(a){var b=new Jd;a=n(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=n(c.value);c=d.next().value;d=d.next().value;b.set(c,
|
|
d)}return b},rj=[],tj=new Eh(function(){var a=rj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=vj,g=new zi;Ci.push(g);c&&g.cb("complete",c);g.bd("ready",g.Tj);f&&(g.Fc=Math.max(0,f));g.send(b,d,e,a)}0==rj.length||tj.df()},350),Yi=null,kj=null,lj=null,qj=null,pj=Ab,ij=null,gj=null,bj=null,cj=[],aj=null,Zi=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/cloud-platform"],Kb=new Eb(Cb,"https://apis.google.com/js/client.js?onload=%{onload}"),
|
|
oj=null,jj=!1,vj=0,mj=null;w("ee.api.ListAssetsResponse",eg);w("ee.api.EarthEngineAsset",kf);w("ee.api.ListImagesResponse",fg);w("ee.api.Image",Qf);w("ee.api.Operation",hg);var wj=function(){},xj=function(a){if(void 0===a||null===a)a=od;return new Je({nb:a})},yj=function(a){return new Je({Ua:a})},zj=function(a){return new Je({Ia:new Ie({values:a})})},Aj=function(a){return new Je({Ja:new ef({values:a})})},Bj=function(a,b){return new Je({Ba:new Jf({functionName:a,arguments:b})})},Cj=function(a,b){return new Je({Ba:new Jf({bb:a,arguments:b})})},Dj=function(a,b){return new Je({ab:new If({nc:a,body:b})})},Ej=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}},Fj=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}},Gj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');return a},Hj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(Array.isArray(a))return a;throw Error("Invalid band list "+a);},Kj=function(a){var b=new rf,c=!1;"palette"in a&&(c=a.palette,b.ed="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.ed?b.ed.length-1:255;d=Ij(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=Ij(a,"min","max");0!==d.length&&(b.Mf=d.map(function(f){return new hf(f)}),c=!0);a=Jj(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},Jj=function(a){return a?a.split(",").map(Number):[]},Ij=function(a,b,c){var d=Jj(a[b]),e=Jj(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})},Lj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.vd&&
|
|
(h.name=g.vd);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.Qf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&(h.deprecated=g.We);g.sourceCodeUri&&(h.sourceCodeUri=g.sourceCodeUri);return h},d={};a=n(a.Jc||[]);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},Mj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,Nj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,Oj=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,Pj=function(a){return(a=Mj.exec(a))?a[1]:"earthengine-legacy"},Qj=function(a){return Nj.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+
|
|
a},Sj=function(a){return(a.assets||[]).map(Rj)},Uj=function(a){return(a.images||[]).map(Tj)},Vj=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";case "CLASSIFIER":return"Classifier";default:return"Unknown"}},Rj=function(a){var b=Wj(Vj(a.type),a.name),c=Object.assign({},a.properties||{});a.Fa&&(c["system:asset_size"]=Number(a.Fa));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.Ta&&(b.version=1E3*Date.parse(a.Ta));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.L.Ve,dimensions:void 0,crs_transform:void 0};if(d.L){if(null!=d.L.Qb){var f=d.L.Qb;e.crs_transform=[f.Rf||0,f.Wf||0,f.jg||0,f.Xf||
|
|
0,f.Sf||0,f.kg||0]}null!=d.L.dimensions&&(e.dimensions=[d.L.dimensions.width,d.L.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.hd&&(f.min=d.dataType.hd.min||0,f.max=d.dataType.hd.max),e.data_type=f);return e}));return b},Xj=function(a){var b=new kf,c=function(f){return null===f?od:void 0},d=Object.assign({},a),e;a=function(f){e=d[f];delete d[f];return e};void 0!==a("system:asset_size")&&(b.Fa=c(e)||String(e));void 0!==a("system:time_start")&&
|
|
(b.startTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:time_end")&&(b.endTime=c(e)||(new Date(Number(e))).toISOString());void 0!==a("system:footprint")&&(b.geometry=c(e)||e);a("system:title");"string"!==typeof e&&null!==e||null!=d.title||(d.title=c(e)||e);a("system:description");"string"!==typeof e&&null!==e||null!=d.description||(d.description=c(e)||e);Object.entries(d).forEach(function(f){var g=n(f);f=g.next().value;g=g.next().value;d[f]=c(g)||g});b.properties=d;return b},Tj=
|
|
function(a){return Wj("Image",a.name)},Wj=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},Zj=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=Yj(a.bbox));a.region&&(b.region=a.region);a.bbox&&a.region&&console.warn("Multiple request parameters converted to region");
|
|
var c="id num starttime endtime bbox region".split(" ");a=n(Object.keys(a).filter(function(e){return!c.includes(e)}));for(var d=a.next();!d.done;d=a.next())console.warn("Unrecognized key "+d.value+" ignored");b.fields="assets(type,path)";return b},Yj=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("],[")+"]]]}"},ak=function(a){var b={};(a.wd||[]).forEach(function(f){b[f.Cc]=f.bc});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},bk=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=[{Cc:"roles/owner",bc:b("owners")},{Cc:"roles/viewer",bc:b("readers").concat(c)},{Cc:"roles/editor",bc:b("writers")}].map(function(d){return new Ne(d)});return new ng({wd:b.filter(function(d){return d.bc.length}),$e:null})},dk=function(a){var b=/^projects\/(.+)\/operations\/.+$/.exec(a);return"projects/"+(b?b[1]:"earthengine-legacy")+"/operations/"+ck(a)},ck=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},
|
|
ek=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=td(lg,a.Ef||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.Ue);c("update_timestamp_ms",e.Ta);c("start_timestamp_ms",
|
|
e.startTime);b.attempt=e.attempt;a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=ck(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.Xe;b.source_url=e.Tf;return b},fk=function(a){var b={started:"OK"};a.name&&(b.taskId=ck(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},gk=function(a){if(a.primaryPath){var b=[a.primaryPath];var c=b.concat;a=a.additionalPaths||[];if(!(a instanceof Array)){a=n(a);for(var d,e=[];!(d=a.next()).done;)e.push(d.value);
|
|
a=e}b=c.call(b,a)}else b=null;return b},jk=function(a){var b=function(f){var g=td($f,f);g.za=gk(f);return g},c=td(Vf,a);c.name=Qj(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=td(Yf,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=td(Wf,f);g.missingData=hk(f.missingData);return g});c.missingData=hk(a.missingData);c.Af=cb((a.tilesets||[]).map(ik));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},ik=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 Xf({Ec:a.id||"",ca:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&
|
|
b.push(c(d.maskForBands))});return b},kk=function(a){var b=td(cg,a);b.name=Qj(a.id);b.sources=(a.sources||[]).map(function(e){var f=td(rg,e);f.za=gk(e);e.maxError&&(f.$b=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},hk=function(a){if(null==a)return null;var b=
|
|
new Tf({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 lk=function(){this.blockSize=-1};var mk=function(){this.blockSize=-1;this.blockSize=64;this.X=Array(4);this.Qj=Array(this.blockSize);this.ie=this.Kc=0;this.reset()};x(mk,lk);mk.prototype.reset=function(){this.X[0]=1732584193;this.X[1]=4023233417;this.X[2]=2562383102;this.X[3]=271733878;this.ie=this.Kc=0};
|
|
var nk=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.X[0];c=a.X[1];e=a.X[2];var f=a.X[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.X[0]=a.X[0]+b&4294967295;a.X[1]=a.X[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.X[2]=a.X[2]+e&4294967295;a.X[3]=a.X[3]+f&4294967295};
|
|
mk.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.Qj,e=this.Kc,f=0;f<b;){if(0==e)for(;f<=c;)nk(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){nk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){nk(this,d);e=0;break}}this.Kc=e;this.ie+=b};
|
|
mk.prototype.digest=function(){var a=Array((56>this.Kc?this.blockSize:2*this.blockSize)-this.Kc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.ie;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.X[b]>>>d&255;return a};var ok=function(a){this.rd="__ee_hash__";this.Pd=!1!==a;this.fb=[];this.Aa={};this.mg=[];this.Md=new WeakMap;this.si=void 0};w("ee.Serializer",ok);var pk=new Xh,qk=new mk,sk=function(a,b){return rk(new ok(void 0!==b?b:!0),a)};w("ee.Serializer.encode",sk);var tk=function(a){return pk.ya(sk(a))};w("ee.Serializer.toJSON",tk);var vk=function(a){return uk(sk(a,!1))};w("ee.Serializer.toReadableJSON",vk);
|
|
var uk=function(a){return"JSON"in r?r.JSON.stringify(a,null," "):pk.ya(a)},rk=function(a,b){b=a.Fd(b);a.Pd&&(b=t(b)&&"ValueRef"==b.type&&1==a.fb.length?a.fb[0][1]:{type:"CompoundValue",scope:a.fb,value:b},a.fb=[],Pa(a.mg,u(function(c){delete c[this.rd]},a)),a.mg=[],a.Aa={});return b};
|
|
ok.prototype.Fd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=t(a)?a[this.rd]:null;if(this.Pd&&null!=b&&this.Aa[b])return{type:"ValueRef",value:this.Aa[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(ua(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof wj){var c=a.encode(u(this.Fd,this));if(!(Array.isArray(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(Array.isArray(a))c=
|
|
Ra(a,function(e){return this.Fd(e)},this);else if(t(a)&&"function"!==typeof a)c=nb(a,function(e){if("function"!==typeof e)return this.Fd(e)},this),vb(c,this.rd),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Pd){b=wk(c);if(this.Aa[b])var d=this.Aa[b];else d=String(this.fb.length),this.fb.push([d,c]),this.Aa[b]=d;a[this.rd]=b;this.mg.push(a);return{type:"ValueRef",value:d}}return c};
|
|
var wk=function(a){qk.reset();qk.update(pk.ya(a));return qk.digest().toString()},yk=function(a){return ud(xk(a),qd,rd,sd)};w("ee.Serializer.encodeCloudApi",yk);
|
|
var xk=function(a,b){var c=new ok(!0);c.si=b;return zk(c,a)},Ak=function(a){a=zk(new ok(!1),a);var b=a.values,c=function(d){if(!t(d))return d;var e=Array.isArray(d)?[]:{},f=d instanceof Object.getPrototypeOf(Je);d=n(Object.entries(f?d.h:d));for(var g=d.next();!g.done;g=d.next()){var h=n(g.value);g=h.next().value;h=h.next().value;f?null!==h&&(e[g]="functionDefinitionValue"===g&&null!=h.body?{argumentNames:h.nc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.bb?{arguments:nb(h.arguments,c),
|
|
functionReference:c(b[h.bb])}:"constantValue"===g?h===od?null:h:c(h)):e[g]=c(h)}return e};return a.result&&c(b[a.result])};w("ee.Serializer.encodeCloudApiPretty",Ak);var Bk=function(a){return pk.ya(yk(a))};w("ee.Serializer.toCloudApiJSON",Bk);var Ck=function(a){return uk(Ak(a))};w("ee.Serializer.toReadableCloudApiJSON",Ck);
|
|
var zk=function(a,b){try{var c=Dk(a,b),d=new Ek(c,a.fb,a.Pd),e=Fk(d,d.Zh);return new Xe({result:e,values:d.Oh})}finally{a.Md=new WeakMap,a.Aa={},a.fb=[]}},Dk=function(a,b){var c=function(e){var f=wk(e);t(b)&&a.Md.set(b,f);if(a.Aa[f])return a.Aa[f];var g=String(a.fb.length);a.fb.push([g,e]);return a.Aa[f]=g};if(t(b)&&a.Aa[a.Md.get(b)])return a.Aa[a.Md.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(xj(b));if(ua(b))return c(Bj("Date",{value:xj(Math.floor(b.getTime()))}));
|
|
if(b instanceof wj)return c(b.pa(a));if(Array.isArray(b))return c(zj(b.map(function(e){return yj(Dk(a,e))})));if(t(b)&&"function"!==typeof b){var d={};Object.keys(b).sort().forEach(function(e){d[e]=yj(Dk(a,b[e]))});return c(Aj(d))}throw Error("Can't encode object: "+b);},Ek=function(a,b,c){var d=this;this.Zh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Th=c?Gk(this):null;this.Oh={};this.Nf={};this.qk=0},Fk=function(a,b){if(b in a.Nf)return a.Nf[b];var c=String(a.qk++);
|
|
a.Nf[b]=c;a.Oh[c]=Hk(a,a.values[b],0);return c},Hk=function(a,b,c){var d=function(p){return null!==p.nb},e=function(p){return p===od?null:p};if(d(b)||null!=b.Zb||null!=b.wb||null!=b.Rb)return b;if(null!=b.Ua)return d=a.values[b.Ua],null===a.Th||50>c&&1===a.Th[b.Ua]?Hk(a,d,c):Ik(d)?d:yj(Fk(a,b.Ua));if(null!=b.Ia){var f=b.Ia.values.map(function(p){return Hk(a,p,c+3)});return f.every(d)?xj(f.map(function(p){return e(p.nb)})):zj(f)}if(null!=b.Ja){f={};var g={};b=n(Object.entries(b.Ja.values||{}));for(var h=
|
|
b.next();!h.done;h=b.next()){var m=n(h.value);h=m.next().value;m=m.next().value;f[h]=Hk(a,m,c+3);null!==g&&d(f[h])?g[h]=e(f[h].nb):g=null}return null!==g?xj(g):Aj(f)}if(null!=b.ab)return d=b.ab,Dj(d.nc||[],Fk(a,d.body||""));if(null!=b.Ba){d=b.Ba;f={};g=n(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Hk(a,d.arguments[b],c+3);return d.functionName?Bj(d.functionName,f):Cj(Fk(a,d.bb||""),f)}throw Error("Can't optimize value: "+b);},Ik=function(a){var b=a.nb;return null!==
|
|
b?b===od||"number"===typeof b||"boolean"===typeof b:null!=a.Rb},Gk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.Ia?e.Ia.values.forEach(d):null!=e.Ja?Object.values(e.Ja.values).forEach(d):null!=e.ab?c(e.ab.body):null!=e.Ba?(e=e.Ba,null!=e.bb&&c(e.bb),Object.values(e.arguments).forEach(d)):null!=e.Ua&&c(e.Ua)};c(a.Zh);return b};var Ok=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 Af({l:xk(a.element),description:K(a.description),qa:null,ta:null,Cd:null,selectors:b,$b:Jk(a.maxErrorMeters),requestId:K(a.id),maxVertices:Jk(a.maxVertices),P:Jk(a.maxWorkers)});var c=Kk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Cf({ra:null,oa:null,F:Fj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ra=Lk(a):d.oa=Mk(a);
|
|
b.qa=d;break;case "ASSET":b.ta=new Bf({Ka:Nk(a)});break;case "DMS":b.Cd=new ff({Ye:new gf({Vb:K(a.dmsName)})});break;default:throw Error('Export destination "'+c+'" unknown');}return b};function K(a){return null!=a?String(a):null}function Jk(a){return null!=a?Number(a):null}
|
|
var Kk=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId?b="ASSET":null!=a.dmsName&&(b="DMS");return b},Qk=function(a){var b=new Uf({Qe:!!a.tfrecordCompressed,ac:K(a.tfrecordMaxFileSize),Uf:!!a.tfrecordSequenceData,Oe:!!a.tfrecordCollapseBands,Cf:Jk(a.tfrecordMaskedThreshold),defaultValue:Jk(a.tfrecordDefaultValue),Sa:Pk(a.tfrecordPatchDimensions),zf:Pk(a.tfrecordKernelSize),ce:null});a=a.tfrecordTensorDepths;if(null!=
|
|
a)if(t(a)){var c={};lb(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.ce=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},Rk=function(a,b){var c=new wf({ra:null,oa:null,Hd:null,de:null,F:Ej(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
var d=a.tiffShardSize||a.shardSize;d=new Lf({Ne:!!a.tiffCloudOptimized,Zf:!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),Sa:Pk(a.fileDimensions||a.tiffFileDimensions),tileSize:Jk(d)});c.Hd=d}else"TF_RECORD_IMAGE"===c.F&&(c.de=Qk(a));"GOOGLE_CLOUD_STORAGE"===b?c.ra=Lk(a):c.oa=Mk(a);return c},Sk=function(a,b){var c=new Ef({ra:null,oa:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ra=Lk(a):c.oa=Mk(a);return c},Tk=function(a){var b=Jk(a.maxZoom),c=Jk(a.scale),d=Jk(a.minZoom),e=!!a.skipEmptyTiles,f=K(a.mapsApiKey),
|
|
g=Pk(a.tileDimensions),h=Jk(a.stride);var m=Jk(a.minTimeMachineZoomSubset);a=Jk(a.maxTimeMachineZoomSubset);if(null==m&&null==a)m=null;else{var p=new tg({min:0,max:null});null!=m&&(p.min=m);p.max=a;m=p}return new zf({maxZoom:b,scale:c,minZoom:d,$f:e,yf:f,Sa:g,ag:h,ng:m})},Pk=function(a){if(null==a)return null;var b=new Mf({height:0,width:0});"string"===typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=
|
|
a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+a);else if("number"!==typeof a||isNaN(a))if(t(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},Lk=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Kf({oc:K(a.outputBucket),fa:K(a.outputPrefix),
|
|
pc:a.bucketCorsUris||null,permissions:b})},Mk=function(a){return new jf({ff:K(a.driveFolder),fa:K(a.driveFileNamePrefix)})},Nk=function(a){return new Se({name:Qj(a.assetId)})};var Vk=function(a,b,c,d,e,f){d=$i(!f,!1,d||[]);bj=a;cj=d;null===a?hj():dj(function(){fj(b,c,e||Aa(Uk,b,c))})};w("ee.data.authenticateViaOauth",Vk);var Wk=function(a,b,c,d,e){Vk(a,b,c,d,e)};w("ee.data.authenticate",Wk);var Uk=function(a,b){r.gapi.auth.authorize({client_id:bj,immediate:!1,scope:cj.join(" ")},Aa(ej,a,b))};w("ee.data.authenticateViaPopup",Uk);
|
|
var Xk=function(a,b,c,d,e){if("window"in r)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");d=$i(!e,!e,d||[]);bj=a.client_email;cj=d;var f=new google.auth.JWT(a.client_email,null,a.private_key,d,null);aj=function(g,h){f.authorize(function(m,p){m?h({error:m}):h({access_token:p.access_token,token_type:p.token_type,expires_in:(p.expiry_date-Date.now())/1E3})})};fj(b,c)};w("ee.data.authenticateViaPrivateKey",Xk);
|
|
w("ee.data.setExpressionAugmenter",function(a){Yk=a||Ab});var Yk=Ab;w("ee.data.setAuthToken",function(a,b,c,d,e,f,g,h){e=$i(!h,!1,e||[]);bj=a;cj=e;var m={token_type:b,access_token:c,state:e.join(" "),expires_in:d};ej(void 0,void 0,m);!1===g?f&&f():dj(function(){r.gapi.auth.setToken(m);f&&f()})});w("ee.data.refreshAuthToken",fj);w("ee.data.setAuthTokenRefresher",function(a){aj=a});w("ee.data.getAuthToken",Wi);w("ee.data.clearAuthToken",hj);w("ee.data.getAuthClientId",function(){return bj});
|
|
w("ee.data.getAuthScopes",function(){return cj});w("ee.data.setDeadline",function(a){vj=a});w("ee.data.setParamAugmenter",function(a){pj=a||Ab});
|
|
var Zk=function(a){a=new I(a);return J(a,a.Jc().list(Pi(),{prettyPrint:!1}).then(Lj))},al=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new qf({name:null,l:Yk(xk(a.image)),F:Ej(a.format),ca:Hj(a.bands),Wa:Kj(a)});b=new I(b);return J(b,b.maps().create(Pi(),a,{fields:["name"]}).then(function(c){return $k(c.name,"")}))};w("ee.data.getMapId",al);
|
|
var bl=function(a,b,c,d){if(!a.formatTileUrl){var e=$k(a.mapid,a.token,a.urlFormat);a.urlFormat=e.urlFormat;a.formatTileUrl=e.formatTileUrl}return a.formatTileUrl(b,c,d)};w("ee.data.getTileUrl",bl);
|
|
var $k=function(a,b,c){var d=void 0===c?"":c;d||(Ni(),c=kj,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}},cl=function(a,b){var c=a.visParams?JSON.stringify(a.visParams):null;a=new cf({name:null,Sb:a.assetName,Vb:a.mapName,Wa:c});b=new I(b);return J(b,(new Cg(b.N)).create(Pi(),a,{fields:["name"]}).then(function(d){return{token:d.name}}))};
|
|
w("ee.data.getDmsTilesKey",cl);var dl=function(a,b){a=Yk(xk(a));b=new I(b);return J(b,Mg(b.value(),Pi(),new We({l:a})).then(function(c){return c.result}))};w("ee.data.computeValue",dl);
|
|
var el=function(a,b){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');if(void 0!==a.dimensions)throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new sg({name:null,l:Yk(xk(a.image)),F:Ej(a.format),fa:a.name,ca:Hj(a.bands),
|
|
Wa:Kj(a),L:null});b=new I(b);return J(b,(new Kg(b.N)).create(Pi(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getThumbId",el);
|
|
var fl=function(a,b){var c=new Ff({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new wg({name:null,l:Yk(xk(a.imageCollection)),F:Ej(a.format),Va:c,L:null});b=new I(b);return J(b,(new Pg(b.N)).create(Pi(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};w("ee.data.getVideoThumbId",fl);
|
|
var gl=function(a,b){a=new Hf({name:null,l:Yk(xk(a.imageCollection)),F:Ej(a.format),orientation:Gj(a.orientation),L:null});b=new I(b);return J(b,(new Dg(b.N)).create(Pi(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};w("ee.data.getFilmstripThumbId",gl);var hl=function(a){return kj+"/v1alpha/"+a.thumbid+":getPixels"};w("ee.data.makeThumbUrl",hl);
|
|
var jl=function(a,b){a=Object.assign({},a);a.id&&(a.image=new L(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=Hj(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=il(a.image,a);a=new sg({name:null,l:Yk(xk(c)),F:Ej(a.format),fa:a.name,ca:a.bands&&Hj(a.bands.map(function(d){return d.id})),L:null});b=new I(b);return J(b,(new Kg(b.N)).create(Pi(),a,{fields:["name"]}).then(function(d){return{docid:d.name,token:""}}))};w("ee.data.getDownloadId",jl);var kl=function(a){Ni();return kj+"/v1alpha/"+a.docid+":getPixels"};w("ee.data.makeDownloadUrl",kl);
|
|
var ll=function(a,b){b=new I(b);var c=Fj(a.format),d=Yk(xk(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 qg({name:null,l:d,F:c,selectors:e,filename:a.filename||null});return J(b,(new Jg(b.N)).create(Pi(),a,{fields:["name"]}).then(function(f){return{docid:f.name||"",
|
|
token:""}}))};w("ee.data.getTableDownloadId",ll);var ml=function(a){return kj+"/v1alpha/"+a.docid+":getFeatures"};w("ee.data.makeTableDownloadUrl",ml);var nl=function(a,b){var c=function(d){return Math.floor(Math.random()*Math.pow(2,4*d)).toString(16).padStart(d,"0")};a=bb(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a};w("ee.data.newTaskId",nl);
|
|
var pl=function(a,b){var c=ol(a).map(dk);if(1===c.length)return a=new I(b),J(a,a.Qa().get(c[0]).then(function(e){return[ek(e)]}));a=new Vi(b);var d=a.Qa();return a.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return ek(e[f])})})};w("ee.data.getTaskStatus",pl);var ol=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.");},rl=function(a){return ql(void 0,a)};
|
|
w("ee.data.getTaskList",rl);var ql=function(a,b){return b?(sl(a,function(c,d){return b(c?{tasks:c.map(ek)}:null,d)}),null):{tasks:sl(a).map(ek)}};w("ee.data.getTaskListWithLimit",ql);var sl=function(a,b){var c=[],d={pageSize:500},e=function(h){$a(c,h.Qa||[]);!h.eb||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.eb,J(f,g.list(Pi(),d).then(e)));return null},f=new I(b?function(h,m){return m&&b(h,m)}:void 0),g=f.Qa();J(f,g.list(Pi(),d).then(e));return b?null:a?c.slice(0,a):c};
|
|
w("ee.data.listOperations",sl);var tl=function(a,b){a=ol(a);var c=new Pe;if(1===a.length)b=new I(b),J(b,b.Qa().cancel(a[0],c));else{b=new Vi(b);var d=b.Qa();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};w("ee.data.cancelOperation",tl);var ul=function(a,b){var c=ol(a).map(dk);if(!Array.isArray(a))return a=new I(b),J(a,a.Qa().get(c[0]));a=new Vi(b);var d=a.Qa();return a.send(c.map(function(e){return[e,d.get(e)]}))};w("ee.data.getOperation",ul);var wl=function(a,b){return vl(a,"CANCEL",b)};
|
|
w("ee.data.cancelTask",wl);var vl=function(a,b,c){if(!rb(xl,b))throw Error("Invalid action: "+b);a=ol(a);a=a.map(dk);tl(a,c);return null};w("ee.data.updateTask",vl);
|
|
var Dl=function(a,b,c){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new I(c);c=function(f){return J(e,f.then(fk))};switch(d){case "EXPORT_IMAGE":return b=yl(b,a),c(e.image().Na(Pi(),b));case "EXPORT_FEATURES":return b=Ok(b),b.l=Yk(b.l,a),c(e.table().Na(Pi(),b));case "EXPORT_VIDEO":return b=zl(b,a),c(e.video().Na(Pi(),b));case "EXPORT_TILES":return b=Al(b,a),c(e.map().Na(Pi(),b));case "EXPORT_VIDEO_MAP":return b=Bl(b),c((new Og(e.N)).Na(Pi(),b));case "EXPORT_CLASSIFIER":return b=
|
|
Cl(b),c((new Bg(e.N)).Na(Pi(),b));default:throw Error("Unable to start processing for task of type "+d);}};w("ee.data.startProcessing",Dl);
|
|
var yl=function(a,b){var c=El(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new uf({l:xk(c.element),description:K(c.description),qa:null,ta:null,L:null,Df:K(c.maxPixels),requestId:K(c.id),P:Jk(c.maxWorkers)});var d=Kk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.qa=Rk(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 vf({Ka:Nk(c),pyramidingPolicy:e,Lf:ub(d)?null:d,tileSize:Jk(c.shardSize)});a.ta=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.l=Yk(a.l,b);return a},zl=function(a,b){a=Fl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Gf({l:xk(a.element),description:K(a.description),Va:new Ff({framesPerSecond:Jk(a.framesPerSecond),maxFrames:Jk(a.maxFrames),maxPixelsPerFrame:K(a.maxPixels)}),qa:null,requestId:K(a.id),P:Jk(a.maxWorkers)});c.qa=Sk(a,Kk(a));
|
|
c.l=Yk(c.l,b);return c},Al=function(a,b){var c=a.scale;delete a.scale;a=El(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new yf({l:xk(a.element),description:K(a.description),ic:Tk(a),hc:Rk(a,"GOOGLE_CLOUD_STORAGE"),requestId:K(a.id),P:Jk(a.maxWorkers)});c.l=Yk(c.l,b);return c},Bl=function(a){var b=a.scale;delete a.scale;a=Fl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Df({l:xk(a.element),description:K(a.description),Va:new Ff({framesPerSecond:Jk(a.framesPerSecond),
|
|
maxFrames:Jk(a.maxFrames),maxPixelsPerFrame:null}),ic:Tk(a),hc:Sk(a,"GOOGLE_CLOUD_STORAGE"),requestId:K(a.id),version:K(a.version),P:Jk(a.maxWorkers)});b.l=Yk(b.l);return b},Cl=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=Kk(a);if("ASSET"!=b)throw Error('Export destination "'+b+'" unknown');a=new tf({l:xk(a.element),description:K(a.description),requestId:K(a.id),ta:new Re({Ka:Nk(a)}),P:Jk(a.maxWorkers)});a.l=Yk(a.l);return a},Hl=function(a,b,c){b=jk(b);var d=
|
|
function(e){return e?fk(e):null};return d(Gl(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startIngestion",Hl);
|
|
var Gl=function(a,b,c){b=new ag({qf:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.image().import(Pi(),b))},Il=function(a,b,c){b=new bg({dg:b,requestId:a,overwrite:null,description:null});a=new I(c,a?void 0:0);return J(a,a.table().import(Pi(),b))},Jl=function(a,b,c){b=kk(b);var d=function(e){return e?fk(e):null};return d(Il(a,b,c&&function(e,f){return c(d(e),f)}))};w("ee.data.startTableIngestion",Jl);
|
|
var Kl=function(a,b){b=new I(b);a=Qj(a);return J(b,b.assets().get(a,{prettyPrint:!1}).then(Rj))};w("ee.data.getAsset",Kl);w("ee.data.getInfo",Kl);
|
|
var Ll=function(a,b){b=new I(b);var c=b.assets(),d=Qj(a.id),e=Oj.test(a.id);e&&(c=new yg(b.N),d="projects/"+Pj(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return J(b,c.$c(d,{pageSize:a.num}).then(Sj));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=Zj(a);return J(b,Ag(c,d,a).then(Uj))};w("ee.data.getList",Ll);
|
|
var Ml=function(a,b,c){b=void 0===b?{}:b;var d=Oj.test(a);c=new I(c);var e=d?new yg(c.N):c.assets();a=d?"projects/"+Pj(a):Qj(a);return J(c,e.$c(a,b))};w("ee.data.listAssets",Ml);var Nl=function(a,b,c){b=void 0===b?{}:b;c=new I(c);return J(c,Ag(c.assets(),a,b))};w("ee.data.listImages",Nl);var Ol=function(a,b){b=new I(b);return J(b,(new yg(b.N)).$c(a||Pi()))};w("ee.data.listBuckets",Ol);var Pl=function(a){a=new I(a);return J(a,(new yg(a.N)).$c(Pi()).then(Sj))};w("ee.data.getAssetRoots",Pl);
|
|
var Ql=function(a,b){var c="projects/"+Pj(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new kf({type:"Folder"});b=new I(b);J(b,b.assets().create(c,d,{assetId:a}).then(Rj))};w("ee.data.createAssetHome",Ql);
|
|
var Rl=function(a,b,c,d,e){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&Qj(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 kf(a);b=c.slice(0,f);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
|
|
case "Folder":d="FOLDER"}a.type=d;e=new I(e);return J(e,e.assets().create(b,a,{assetId:c}).then(Rj))};w("ee.data.createAsset",Rl);var Sl=function(a,b,c){return Rl({type:"Folder"},a,b,void 0,c)};w("ee.data.createFolder",Sl);var Tl=function(a,b,c){a=Qj(a);b=Qj(b);b=new jg({Ub:b});c=new I(c);J(c,c.assets().move(a,b).then(Rj))};w("ee.data.renameAsset",Tl);
|
|
var Ul=function(a,b,c,d){a=Qj(a);b=Qj(b);c=new $e({Ub:b,overwrite:null!=c?c:null});d=new I(d);b=Rj;var e=d.assets();var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",s:G(f,g),G:kf});J(d,f.then(b))};w("ee.data.copyAsset",Ul);var Vl=function(a,b){b=new I(b);J(b,b.assets().delete(Qj(a)))};w("ee.data.deleteAsset",Vl);
|
|
var Wl=function(a,b){a=Qj(a);var c=new Nf;b=new I(b);var d=b.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(d.j,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+d.m+"/"+a+":getIamPolicy",s:G(e,f),G:ng});return J(b,f.then(ak))};w("ee.data.getAssetAcl",Wl);
|
|
var Xl=function(a,b,c,d){b=new vg({Sb:b,Gc:(c||[]).join(",")});d=new I(d);c=Rj;var e=d.assets();a=Qj(a);var f=void 0===f?{}:f;var g=void 0===g?{}:g;e.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(e.j,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,s:G(f,g),G:kf});return J(d,f.then(c))};w("ee.data.updateAsset",Xl);
|
|
var Yl=function(a,b,c){a=Qj(a);b=bk(b);b=new pg({If:b});c=new I(c);var d=c.assets(),e={prettyPrint:!1};e=void 0===e?{}:e;var f=void 0===f?{}:f;d.j.C(a,RegExp("^projects/[^/]+/assets/.*$"));f=H(d.j,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+d.m+"/"+a+":setIamPolicy",s:G(e,f),G:ng});J(c,f)};w("ee.data.setAssetAcl",Yl);
|
|
var Zl=function(a,b,c){var d=Xj(b);b=pd(d.i()).keys.filter(function(e){return"properties"!==e&&F(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));Xl(a,d,b,c)};w("ee.data.setAssetProperties",Zl);
|
|
var $l=function(a,b){var c=Qj(a);b=new I(b);var d=b.assets(),e=d.j.C;d.j.C=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=RegExp("^projects/[^/]+/assets/.*$"));return e(f,g)};c=d.get(c,{prettyPrint:!1});return J(b,c.then(function(f){if(!(f instanceof kf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.Ke||0),limit:Number(f.Bf||0)},asset_size:{usage:Number(f.Fa||0),limit:Number(f.ac||0)}}}))};w("ee.data.getAssetRootQuota",$l);
|
|
var xl={Hk:"CANCEL",Kk:"UPDATE"};var M=function(a,b,c){if(!(this instanceof M))return am(M,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.H=a;this.args=b;this.U=c||null};x(M,wj);w("ee.ComputedObject",M);M.prototype.evaluate=function(a){if(!a||"function"!==typeof a)throw Error("evaluate() requires a callback function.");dl(this,a)};M.prototype.evaluate=M.prototype.evaluate;
|
|
M.prototype.V=function(a){return dl(this,a)};M.prototype.getInfo=M.prototype.V;M.prototype.encode=function(a){if(null===this.H&&null===this.args)return{type:"ArgumentRef",value:this.U};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.H);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
M.prototype.pa=function(a){if(null===this.H&&null===this.args){a=this.U||a.si;if(!a)throw Error("A mapped function's arguments cannot be used in client-side operations");return new Je({Rb:a})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=yj(Dk(a,this.args[c])));return"string"===typeof this.H?Bj(String(this.H),b):this.H.Ed(a,b)};M.prototype.ya=function(a){return(void 0===a?0:a)?tk(this):Bk(this)};M.prototype.serialize=M.prototype.ya;
|
|
M.prototype.toString=function(){return"ee."+this.name()+"("+vk(this)+")"};w("ee.ComputedObject.prototype.toString",M.prototype.toString);M.prototype.name=function(){return"ComputedObject"};M.prototype.og=function(a,b){var c=Array.from(arguments);c[0]=this;a.apply(r,c);return this};M.prototype.aside=M.prototype.og;
|
|
var bm=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.H=b.H;a.args=b.args;a.U=b.U;return a},am=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var cm={},dm=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}},em=function(a){return"number"===typeof a||a instanceof M&&"Number"==a.name()},fm=function(a){return"string"===typeof a||a instanceof M&&"String"==a.name()},gm=function(a){return t(a)&&
|
|
"function"!==typeof a?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},hm=function(a,b,c){return 1===a.length&&gm(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 im=function(){if(!(this instanceof im))return new im};x(im,wj);w("ee.Function",im);var jm=Ab;im.prototype.call=function(a){return this.apply(km(this,Array.prototype.slice.call(arguments,0)))};im.prototype.call=im.prototype.call;im.prototype.apply=function(a){a=new M(this,lm(this,a));return jm(a,this.aa().returns)};im.prototype.apply=im.prototype.apply;
|
|
var mm=function(a,b,c){var d=void 0!==b,e=a.aa();if(hm(c,e,d)){if(c=wb(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=km(a,d?[b].concat(c):c);return a.apply(c)},lm=function(a,b){for(var c=a.aa().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=jm(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},km=function(a,b){var c=a.aa().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};
|
|
im.prototype.toString=function(a,b){var c=this.aa(),d=[];d.push(a||c.name);d.push("(");d.push(Ra(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("")};im.prototype.ya=function(a){return(void 0===a?0:a)?tk(this):Bk(this)};var N=function(a,b){if(void 0===b)return nm(a);if(!(this instanceof N))return am(N,arguments);this.Cb=xb(b);this.Cb.name=a};x(N,im);w("ee.ApiFunction",N);var O=function(a,b){return im.prototype.call.apply(nm(a),Array.prototype.slice.call(arguments,1))};w("ee.ApiFunction._call",O);var om=function(a,b){return nm(a).apply(b)};w("ee.ApiFunction._apply",om);N.prototype.encode=function(){return this.Cb.name};N.prototype.Ed=function(a,b){return Bj(this.Cb.name,b)};N.prototype.aa=function(){return this.Cb};
|
|
var pm=null,qm={},sm=function(){rm();return nb(pm,function(a){return a.aa()})},tm=function(){rm();return mb(pm,function(a,b){return!qm[b]})},nm=function(a){var b=um(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};w("ee.ApiFunction.lookup",nm);
|
|
var um=function(a){rm();return pm[a]||null},rm=function(a,b){if(pm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(pm=nb(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 N(g,f)}),a&&a())};a?Zk(c):c(Zk())}},vm=function(a,b,c,d){rm();var e=d||"";lb(pm,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var m=f.aa();qm[g]=!0;var p=!1;m.args.length&&(g=m.args[0].type,p="Object"!=g&&dm(g,
|
|
c));g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(v){return mm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=u(f.toString,f,h,p),g[h].signature=m)}})},wm=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 P=function(a,b){var c=xm(a),d=Ra(c,function(m){return m.replace(/^opt_/,"")});a=(a=r.EXPORTED_FN_INFO?r.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=t(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 fd(qb(f));
|
|
var h=new fd(d);if(hd(h,g).isEmpty())e[d[0]]=b[0];else{b=id(g,h);if(0!==b.size)throw Error("Unexpected arguments"+a+": "+Array.from(b.values()).join(", "));e=wb(f)}}b=new fd(qb(e));c=id(new fd(Qa(c,function(m){return 0!=m.lastIndexOf("opt_",0)})),b);if(0!==c.size)throw Error("Missing required arguments"+a+": "+Array.from(c.values()).join(", "));return e},xm=function(a){var b=ym,c=[];r.EXPORTED_FN_INFO?(a=r.EXPORTED_FN_INFO[a.toString()],t(a)||zm(),c=a.paramNames,Array.isArray(c)||zm()):(a=a.toString().replace(Am,
|
|
"").match(b),null===a&&zm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Bm,"")}));return c},zm=function(){throw Error("Failed to locate function parameters.");},Am=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,ym=/^function[^\(]*\(([^\)]*)\)/m,Bm=/=.*$/;var Q=function(a,b,c){M.call(this,a,b,c);Cm()};x(Q,M);w("ee.Element",Q);var Dm=!1,Cm=function(){Dm||(vm(Q,"Element","Element"),Dm=!0)};Q.prototype.name=function(){return"Element"};
|
|
Q.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=gm(c))a:{b=qb(c);var d=["properties"];if(ta(b)&&ta(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&&t(c.properties)&&(c=c.properties);if(gm(c)){b=this;for(var g in c)d=c[g],b=O("Element.set",b,g,d)}else if(c instanceof M&&um("Element.setMulti"))b=O("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=O("Element.set",b,g,d)}return bm(this,b)};Q.prototype.set=Q.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return am(S,arguments);if(!("type"in a)){var e=P(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Em();e=null!=b||null!=c||null!=d;if(a instanceof M&&!(a instanceof S&&a.ub)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");M.call(this,a.H,a.args,a.U)}else{a instanceof S&&(a=a.encode());if(!Fm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));M.call(this,
|
|
null,null);this.ub=a.type;this.Kg=null!=a.coordinates?xb(a.coordinates):null;this.kh=a.geometries||null;if(null!=b)this.ec=b;else if("crs"in a)if(t(a.crs)&&"name"==a.crs.type&&t(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.ec=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Xh).ya(a.crs));this.vc=c;void 0===this.vc&&"geodesic"in a&&(this.vc=!!a.geodesic);this.tc=d;void 0===this.tc&&"evenOdd"in a&&(this.tc=!!a.evenOdd)}};x(S,M);w("ee.Geometry",S);
|
|
var Gm=!1,Em=function(){Gm||(vm(S,"Geometry","Geometry"),Gm=!0)},Hm=function(a,b){if(!(this instanceof Hm))return Im(Hm,arguments);var c=Jm(Hm,"Point",1,arguments);if(!(c instanceof M)){var d=c.coordinates;if(!Array.isArray(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};x(Hm,S);S.Point=Hm;var Km=function(a,b){if(!(this instanceof Km))return Im(Km,arguments);S.call(this,Jm(Km,"MultiPoint",2,arguments))};x(Km,S);S.MultiPoint=Km;
|
|
var Lm=function(a,b,c,d){if(!(this instanceof Lm))return Im(Lm,arguments);var e=Jm(Lm,"Rectangle",2,arguments);if(!(e instanceof M)){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],m=f[1][0];f=f[1][1];e.coordinates=[[[g,f],[g,h],[m,h],[m,f]]];e.type="Polygon"}S.call(this,e)};x(Lm,S);S.Rectangle=Lm;
|
|
var Mm=function(a,b,c,d){if(!(this instanceof Mm))return Im(Mm,arguments);var e=[a,b,c,d];if(Nm(e))return(new N("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=Om(a),c=Om(c),c<a&&(c+=360));S.call(this,{type:"Polygon",coordinates:[[[a,d],[a,b],[c,b],[c,d]]]},void 0,!1,!0)};x(Mm,Lm);S.BBox=Mm;var Om=function(a){a%=360;180<a?a-=360:-180>a&&(a+=360);return a},Pm=function(a,b,c,d){if(!(this instanceof Pm))return Im(Pm,arguments);S.call(this,Jm(Pm,"LineString",2,arguments))};x(Pm,S);S.LineString=Pm;var Qm=function(a,b,c,d){if(!(this instanceof Qm))return Im(Qm,arguments);S.call(this,Jm(Qm,"LinearRing",2,arguments))};x(Qm,S);
|
|
S.LinearRing=Qm;var Rm=function(a,b,c,d){if(!(this instanceof Rm))return Im(Rm,arguments);S.call(this,Jm(Rm,"MultiLineString",3,arguments))};x(Rm,S);S.MultiLineString=Rm;var Sm=function(a,b,c,d,e){if(!(this instanceof Sm))return Im(Sm,arguments);S.call(this,Jm(Sm,"Polygon",3,arguments))};x(Sm,S);S.Polygon=Sm;var Tm=function(a,b,c,d,e){if(!(this instanceof Tm))return Im(Tm,arguments);S.call(this,Jm(Tm,"MultiPolygon",4,arguments))};x(Tm,S);S.MultiPolygon=Tm;
|
|
S.prototype.encode=function(a){if(!this.ub){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return M.prototype.encode.call(this,a)}a={type:this.ub};"GeometryCollection"==this.ub?a.geometries=this.kh:a.coordinates=this.Kg;null!=this.ec&&(a.crs={type:"name",properties:{name:this.ec}});null!=this.vc&&(a.geodesic=this.vc);null!=this.tc&&(a.evenOdd=this.tc);return a};
|
|
S.prototype.ge=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.ge;S.prototype.ig=function(){if(this.H)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new Xh).ya(this.ge())};S.prototype.toGeoJSONString=S.prototype.ig;S.prototype.ya=function(a){return(void 0===a?0:a)?tk(this):Bk(this)};S.prototype.serialize=S.prototype.ya;
|
|
S.prototype.toString=function(){return"ee.Geometry("+this.ig()+")"};
|
|
S.prototype.pa=function(a){if(!this.ub){if(!a)throw Error("Must specify a serializer when encoding a computed geometry.");return M.prototype.pa.call(this,a)}var b={},c="";"GeometryCollection"===this.ub?(b.geometries=this.kh.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Kg,c="GeometryConstructors."+this.ub);null!=this.ec&&(b.crs="string"===typeof this.ec?(new N("Projection")).call(this.ec):this.ec);var d="Point"!==this.ub&&"MultiPoint"!==this.ub;null!=
|
|
this.vc&&d&&(b.geodesic=this.vc);null!=this.tc&&(b.evenOdd=this.tc);return(new N(c)).apply(b).pa(a)};
|
|
var Fm=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(!Fm(b[a]))return!1;return!0}a=a.coordinates;var c=Um(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)},Um=function(a){if(!Array.isArray(a))return-1;if(Array.isArray(a[0])){for(var b=Um(a[0]),c=1;c<a.length;c++)if(Um(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},Vm=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},Jm=function(a,b,c,d){a=Wm(a,d);if(Nm(a.coordinates)||null!=a.crs||null!=a.maxError)return(new N("GeometryConstructors."+b)).apply(a);a.type=b;a.coordinates=Xm(c,a.coordinates);(b=Va(["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},Wm=function(a,b){if(Ta(b,em))return{coordinates:Za(b)};a=P(a,b);a.coordinates=a.coords;delete a.coords;a.crs=a.proj;delete a.proj;return mb(a,function(c){return null!=c})},Nm=function(a){return Array.isArray(a)?Sa(a,Nm):a instanceof M},Xm=function(a,b){if(1>a||4<a)throw Error("Unexpected nesting level.");Ta(b,function(e){return"number"===
|
|
typeof e})&&(b=Vm(b));for(var c=b,d=0;Array.isArray(c);)c=c[0],d++;for(;d<a;)b=[b],d++;if(Um(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},Im=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var T=function(a){if(!(this instanceof T))return am(T,arguments);if(a instanceof T)return a;Ym();if(Array.isArray(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);M.call(this,new N("Filter.and"),{filters:a})}else if(a instanceof M)M.call(this,a.H,a.args,a.U);else if(void 0===a)M.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};x(T,M);w("ee.Filter",T);
|
|
var Zm=!1,Ym=function(){Zm||(vm(T,"Filter","Filter"),Zm=!0)},$m={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.wc=function(){return O("Filter.not",this)};T.prototype.not=T.prototype.wc;var an=function(a,b){var c=P(an,arguments);return O("Filter.equals",c.name,c.value)};T.eq=an;var bn=function(a,b){var c=P(bn,arguments);return an(c.name,c.value).wc()};T.neq=bn;
|
|
var cn=function(a,b){var c=P(cn,arguments);return O("Filter.lessThan",c.name,c.value)};T.lt=cn;var dn=function(a,b){var c=P(dn,arguments);return cn(c.name,c.value).wc()};T.gte=dn;var en=function(a,b){var c=P(en,arguments);return O("Filter.greaterThan",c.name,c.value)};T.gt=en;var fn=function(a,b){var c=P(fn,arguments);return en(c.name,c.value).wc()};T.lte=fn;var gn=function(a){return O("Filter.and",Array.prototype.slice.call(arguments))};T.and=gn;var hn=function(a){return O("Filter.or",Array.prototype.slice.call(arguments))};
|
|
T.or=hn;var jn=function(a,b){var c=P(jn,arguments);c=O("DateRange",c.start,c.end);return om("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=jn;var kn=function(a,b,c,d){var e=P(kn,arguments);return om("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=kn;var ln=function(a,b){return om("Filter.intersects",{leftField:".all",rightValue:O("Feature",a),maxError:b})};T.bounds=ln;
|
|
T.prototype.name=function(){return"Filter"};var mn=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in $m))throw Error("Unknown filtering operator: "+b);a=O("Filter."+$m[b],a,c);return d?a.wc():a};T.metadata=mn;var V=function(a,b,c){Q.call(this,a,b,c);nn()};x(V,Q);w("ee.Collection",V);var on=!1,nn=function(){on||(vm(V,"Collection","Collection"),vm(V,"AggregateFeatureCollection","Collection","aggregate_"),on=!0)};V.prototype.filter=function(a){a=P(V.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return bm(this,O("Collection.filter",this,a))};V.prototype.filter=V.prototype.filter;
|
|
V.prototype.cf=function(a,b,c){var d=P(V.prototype.cf,arguments);return this.filter(mn(d.name,d.operator,d.value))};V.prototype.filterMetadata=V.prototype.cf;V.prototype.dh=function(a){return this.filter(ln(a))};V.prototype.filterBounds=V.prototype.dh;V.prototype.bf=function(a,b){var c=P(V.prototype.bf,arguments);return this.filter(jn(c.start,c.end))};V.prototype.filterDate=V.prototype.bf;
|
|
V.prototype.limit=function(a,b,c){var d=P(V.prototype.limit,arguments);return bm(this,O("Collection.limit",this,d.max,d.property,d.ascending))};V.prototype.limit=V.prototype.limit;V.prototype.sort=function(a,b){var c=P(V.prototype.sort,arguments);return bm(this,O("Collection.limit",this,void 0,c.property,c.ascending))};V.prototype.sort=V.prototype.sort;V.prototype.name=function(){return"Collection"};V.prototype.elementType=function(){return Q};
|
|
V.prototype.map=function(a,b){var c=this.elementType();return bm(this,O("Collection.map",this,function(d){return a(new c(d))},b))};V.prototype.map=V.prototype.map;V.prototype.wh=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return O("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};V.prototype.iterate=V.prototype.wh;var W=function(a,b){if(!(this instanceof W))return am(W,arguments);if(a instanceof W){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");pn();if(a instanceof S||null===a)Q.call(this,new N("Feature"),{geometry:a,metadata:b||null});else if(a instanceof M)Q.call(this,a.H,a.args,a.U);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=wb(c);c["system:index"]=a.id}Q.call(this,new N("Feature"),{geometry:new S(a.geometry),metadata:c})}else Q.call(this,new N("Feature"),{geometry:new S(a),metadata:b||null})};x(W,Q);w("ee.Feature",W);var qn=!1,pn=function(){qn||(vm(W,"Feature","Feature"),qn=!0)};W.prototype.V=function(a){return W.M.V.call(this,a)};W.prototype.getInfo=W.prototype.V;
|
|
W.prototype.getMap=function(a,b){var c=P(W.prototype.getMap,arguments);return O("Collection",[this]).getMap(c.visParams,c.callback)};W.prototype.getMap=W.prototype.getMap;W.prototype.name=function(){return"Feature"};var El=function(a){var b={},c=rn(a.element,a);c=sn(c,a,b);b.element=c;return b},Fl=function(a){var b={},c=a.element.map(function(d){d=rn(d,a);return sn(d,a,b)});b.element=c;return b},sn=function(a,b,c){var d={},e=!1,f=["maxDimension","width","height","scale"];lb(b,function(g,h){if(null!=g)switch(h){case "dimensions":h="string"===typeof g?g.split("x").map(Number):Array.isArray(g)?g:"number"===typeof g?[g]:[];if(1===h.length)d.maxDimension=h[0];else if(2===h.length)d.width=h[0],d.height=h[1];else throw Error("Invalid dimensions "+
|
|
g);break;case "dimensions_consumed":e=!0;break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof Lm)){h=g;if("string"===typeof g)try{h=JSON.parse(g)}catch(m){h=g.split(/\s*,\s*/).map(Number)}if(Array.isArray(h)){if(h.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");g=new Lm(h,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=g;break;case "region":null!=
|
|
d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(g instanceof S)){h=g;if("string"===typeof g)try{h=JSON.parse(g)}catch(m){throw Error('Region string "'+g+'" is not valid GeoJSON.');}if(Array.isArray(h))g=new Sm(h,null,!1);else if(t(h))g=new S(h,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=g;break;case "scale":d.scale=Number(g);break;default:c[h]=g}});ub(d)||(d.input=a,a=f.some(function(g){return g in d})||e?om("Image.clipToBoundsAndScale",
|
|
d):om("Image.clip",d));return a},rn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;null!=d&&(d=tn(d));if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');if(d){if(a=om("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region){var e=b.dimensions;"string"===typeof e&&(e=e.split("x").map(Number));2===e.length&&(delete b.dimensions,b.dimensions_consumed=!0,c=(new N("Projection")).call(c,d),b.region=new Lm([0,
|
|
0,e[0],e[1]],c,!1))}}else a=om("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,0,0,0,-1,0]});return a},tn=function(a){if("string"===typeof a)try{a=JSON.parse(a)}catch(b){}if(Array.isArray(a)){if(6===a.length&&Ta(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.");},vn=function(a,b){var c={};b=un(b,c);ub(b)||(b.image=a,a=om("Image.visualize",
|
|
b));c.image=a;return c},un=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};lb(a,function(e,f){Va(c,f)?d[f]=e:b[f]=e});return d},il=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=rn(f,e);return f=sn(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 O("Image.addBands",e,f,null,!0)},d.shift())):(d=c(b),a=rn(a,d),a=sn(a,d,{}));return a};var L=function(a){if(!(this instanceof L))return am(L,arguments);if(a instanceof L)return a;wn();var b=arguments.length;if(0==b||1==b&&void 0===a)Q.call(this,new N("Image.mask"),{image:new L(0),mask:new L(0)});else if(1==b)if(em(a))Q.call(this,new N("Image.constant"),{value:a});else if(fm(a))Q.call(this,new N("Image.load"),{id:a});else{if(Array.isArray(a))return xn(Ra(a,function(d){return new L(d)}));if(a instanceof M)"Array"==a.name()?Q.call(this,new N("Image.constant"),{value:a}):Q.call(this,a.H,
|
|
a.args,a.U);else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(fm(b)&&em(c))Q.call(this,new N("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(L,Q);w("ee.Image",L);var yn=!1,wn=function(){yn||(vm(L,"Image","Image"),yn=!0)};L.prototype.V=function(a){return L.M.V.call(this,a)};
|
|
L.prototype.getInfo=L.prototype.V;L.prototype.getMap=function(a,b){var c=this,d=P(L.prototype.getMap,arguments),e=vn(this,d.visParams);if(d.callback){var f=d.callback;al(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=al(e),d.image=this,d};L.prototype.getMap=L.prototype.getMap;L.prototype.yb=function(a,b){var c=P(L.prototype.yb,arguments),d=c.params?wb(c.params):{};d.image=this;if(c.callback){var e=c.callback;jl(d,function(f,g){f?e(kl(f)):e(null,g)})}else return kl(jl(d))};
|
|
L.prototype.getDownloadURL=L.prototype.yb;L.prototype.Id=function(a,b){var c=P(L.prototype.yb,arguments),d=c.params?wb(c.params):{},e={},f=rn(this,d);f=sn(f,d,e);d=vn(f,e);return c.callback?(el(d,c.callback),null):el(d)};L.prototype.getThumbId=L.prototype.Id;L.prototype.kf=function(a,b){var c=P(L.prototype.kf,arguments);if(c.callback)this.Id(c.params,function(d,e){var f="";if(void 0===e)try{f=hl(d)}catch(g){e=String(g.message)}c.callback(f,e)});else return hl(this.Id(c.params))};
|
|
L.prototype.getThumbURL=L.prototype.kf;var zn=function(a,b,c){var d=P(zn,arguments);return xn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};L.rgb=zn;var An=function(a){return xn(Array.prototype.slice.call(arguments),null)};L.cat=An;var xn=function(a,b){if(0==a.length)return O("Image.constant",[]);for(var c=new L(a[0]),d=1;d<a.length;d++)c=O("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
L.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||fm(b[0])||em(b[0])){for(var d=0;d<b.length;d++)if(!(fm(b[d])||em(b[d])||b[d]instanceof M))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return om("Image.select",c)};L.prototype.select=L.prototype.select;
|
|
L.prototype.l=function(a,b){var c=P(L.prototype.l,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 L(f[g])}var h=O("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new im;c.encode=function(m){return h.encode(m)};c.Ed=function(m,p){return Cj(Dk(m,h),p)};c.aa=function(){return{name:"",args:Ra(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
L.prototype.expression=L.prototype.l;L.prototype.clip=function(a){try{a=new S(a)}catch(b){}return O("Image.clip",this,a)};L.prototype.clip=L.prototype.clip;L.prototype.Vh=function(a){var b=1!=arguments.length||fm(arguments[0])?Array.from(arguments):arguments[0];return O("Image.rename",this,b)};L.prototype.rename=L.prototype.Vh;L.prototype.name=function(){return"Image"};var Bn=function(a){if(this instanceof Bn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Bn)return a}else return am(Bn,arguments);Cn();if(Array.isArray(a))M.call(this,null,null),this.ad=a;else if(a instanceof M)M.call(this,a.H,a.args,a.U),this.ad=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Bn,M);w("ee.List",Bn);var Dn=!1,Cn=function(){Dn||(vm(Bn,"List","List"),Dn=!0)};
|
|
Bn.prototype.encode=function(a){return Array.isArray(this.ad)?Ra(this.ad,function(b){return a(b)}):Bn.M.encode.call(this,a)};Bn.prototype.pa=function(a){return Array.isArray(this.ad)?yj(Dk(a,this.ad)):Bn.M.pa.call(this,a)};Bn.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return am(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)");En();a instanceof S&&(a=new W(a));a instanceof W&&(a=[a]);if(fm(a)){var c={tableId:a};b&&(c.geometryColumn=b);V.call(this,new N("Collection.loadTable"),c)}else if(Array.isArray(a))V.call(this,new N("Collection"),{features:Ra(a,function(d){return new W(d)})});else if(a instanceof Bn)V.call(this,
|
|
new N("Collection"),{features:a});else if(a&&"object"===typeof a&&"FeatureCollection"===a.type)V.call(this,new N("Collection"),{features:a.features.map(function(d){return new W(d)})});else if(a instanceof M)V.call(this,a.H,a.args,a.U);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(Y,V);w("ee.FeatureCollection",Y);var Fn=!1,En=function(){Fn||(vm(Y,"FeatureCollection","FeatureCollection"),Fn=!0)};
|
|
Y.prototype.getMap=function(a,b){var c=P(Y.prototype.getMap,arguments),d=om("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.V=function(a){return Y.M.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;
|
|
Y.prototype.yb=function(a,b,c,d){var e=P(Y.prototype.yb,arguments),f={table:this};e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);e.selectors&&(f.selectors=e.selectors);if(e.callback)ll(f,function(g,h){g?e.callback(ml(g)):e.callback(null,h)});else return ml(ll(f))};Y.prototype.getDownloadURL=Y.prototype.yb;
|
|
Y.prototype.select=function(a,b,c){if(fm(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=P(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 W};var Z=function(a){if(!(this instanceof Z))return am(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Gn();a instanceof L&&(a=[a]);if(fm(a))V.call(this,new N("ImageCollection.load"),{id:a});else if(Array.isArray(a))V.call(this,new N("ImageCollection.fromImages"),{images:Ra(a,function(b){return new L(b)})});else if(a instanceof Bn)V.call(this,new N("ImageCollection.fromImages"),{images:a});
|
|
else if(a instanceof M)V.call(this,a.H,a.args,a.U);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(Z,V);w("ee.ImageCollection",Z);var Hn=!1,Gn=function(){Hn||(vm(Z,"ImageCollection","ImageCollection"),vm(Z,"reduce","ImageCollection"),Hn=!0)};Z.prototype.hf=function(a,b){var c=P(Z.prototype.hf,arguments);return In(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.hf;
|
|
Z.prototype.mf=function(a,b){var c=P(Z.prototype.mf,arguments);return In(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.mf;
|
|
var In=function(a,b,c,d){var e={};a=a.map(function(h){h=rn(h,b.params);return sn(h,b.params,e)});var f={},g=un(e,f);f.imageCollection=a.map(function(h){g.image=h;return om("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!Sa(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=el;switch(d){case "video":c=fl;break;case "filmstrip":c=gl}if(b.callback)c(f,function(h,m){var p="";
|
|
if(void 0===m)try{p=hl(h)}catch(v){m=String(v.message)}b.callback(p,m)});else return hl(c(f))};Z.prototype.getMap=function(a,b){var c=P(Z.prototype.getMap,arguments),d=O("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.V=function(a){return Z.M.V.call(this,a)};Z.prototype.getInfo=Z.prototype.V;
|
|
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 L(O("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return L};var Jn=function(a){this.Re=a;this.id=null},Ln=function(a){var b={element:Kn(a)};Object.assign(b,a);b=mb(b,function(c){return null!=c});return new Jn(b)};
|
|
Jn.prototype.start=function(a,b){var c=this;z(this.Re,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ka(c.id);Dl(c.id,c.Re,function(e,f){f?b(f):a()})};this.id?d():nl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||nl(1)[0],Ka(this.id,"Failed to obtain task ID."),Dl(this.id,this.Re)};Jn.prototype.start=Jn.prototype.start;var Mn=function(a,b,c,d,e,f,g,h,m,p,v){var B=P(Mn,arguments);B=Nn(B,"ASSET","EXPORT_IMAGE");return Ln(B)};
|
|
w("module$contents$ee$batch_Export.image.toAsset",Mn);var On=function(a,b,c,d,e,f,g,h,m,p,v,B,D,R,X){var U=P(On,arguments);U=Nn(U,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Ln(U)};w("module$contents$ee$batch_Export.image.toCloudStorage",On);var Pn=function(a,b,c,d,e,f,g,h,m,p,v,B,D,R,X){var U=P(Pn,arguments);U=Nn(U,"DRIVE","EXPORT_IMAGE");return Ln(U)};w("module$contents$ee$batch_Export.image.toDrive",Pn);
|
|
var Qn=function(a,b,c,d,e,f,g,h,m,p,v,B,D){var R=P(Qn,arguments);R=Nn(R,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Ln(R)};w("module$contents$ee$batch_Export.map.toCloudStorage",Qn);var Rn=function(a,b,c,d,e,f,g){var h=P(Rn,arguments);h=Nn(h,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Ln(h)};w("module$contents$ee$batch_Export.table.toCloudStorage",Rn);var Sn=function(a,b,c,d,e,f,g){var h=P(Sn,arguments);h.type="EXPORT_FEATURES";h=Nn(h,"DRIVE","EXPORT_FEATURES");return Ln(h)};
|
|
w("module$contents$ee$batch_Export.table.toDrive",Sn);var Tn=function(a,b,c,d){var e=P(Tn,arguments);e=Nn(e,"ASSET","EXPORT_FEATURES");return Ln(e)};w("module$contents$ee$batch_Export.table.toAsset",Tn);var Un=function(a,b,c,d){var e=P(Un,arguments);e=Nn(e,"DMS","EXPORT_FEATURES");return Ln(e)};w("module$contents$ee$batch_Export.table.toDmsLayer",Un);var Vn=function(a,b,c,d,e,f,g,h,m,p,v,B){var D=P(Vn,arguments);D=Nn(D,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Ln(D)};
|
|
w("module$contents$ee$batch_Export.video.toCloudStorage",Vn);var Wn=function(a,b,c,d,e,f,g,h,m,p,v,B){var D=P(Wn,arguments);D=Nn(D,"DRIVE","EXPORT_VIDEO");return Ln(D)};w("module$contents$ee$batch_Export.video.toDrive",Wn);var Xn=function(a,b,c,d,e,f,g,h,m,p,v,B,D,R,X,U,Ib,Yp,Zp,$p){var Qi=P(Xn,arguments);Qi=Nn(Qi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Ln(Qi)};w("module$contents$ee$batch_Export.videoMap.toCloudStorage",Xn);
|
|
var Yn=function(a,b,c){var d=P(Yn,arguments);d=Nn(d,"ASSET","EXPORT_CLASSIFIER");return Ln(d)};w("module$contents$ee$batch_Export.classifier.toAsset",Yn);
|
|
var Kn=function(a){var b=function(d){return d in a},c=Zn.find(b);z(1===Ua(Zn,b),'Expected a single "image", "collection" or "classifier" key.');b=a[c];if(!(b instanceof L||b instanceof Y||b instanceof Z||b instanceof Q||b instanceof M))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection, ee.Element or ee.ComputedObject.");delete a[c];return b},Nn=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==
|
|
e.fileFormat&&(e.fileFormat="GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}e.fileFormat=a;null!=e.formatOptions&&(a=$n(e,a),delete e.formatOptions,Object.assign(e,a));e=ao(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,
|
|
delete e.crsTransform);break;case "EXPORT_TILES":b=ao(e,b);e=b.fileFormat;null==e&&(e="AUTO_JPEG_PNG");e=e.toUpperCase();switch(e){case "AUTO":case "AUTO_JPEG_PNG":case "AUTO_JPG_PNG":e="AUTO_JPEG_PNG";break;case "JPG":case "JPEG":e="JPEG";break;case "PNG":e="PNG";break;default:throw Error("Invalid file format "+e+". Supported formats are: 'AUTO', 'PNG', and 'JPEG'.");}b.fileFormat=e;e=b;break;case "EXPORT_FEATURES":Array.isArray(e.selectors)&&(e.selectors=e.selectors.join());a=e.fileFormat;null==
|
|
a&&(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=ao(e,b);break;case "EXPORT_VIDEO":e=bo(e);e=ao(e,b);null!=e.crsTransform&&
|
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=bo(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=ao(e,b);break;case "EXPORT_CLASSIFIER":e=b=ao(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.ge();else if("string"===typeof b)try{b=Ma(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(!(t(b)&&"type"in b))try{new Pm(b)}catch(f){try{new Sm(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=JSON.stringify(b);d.region=b}return e},ao=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=sa(a.folder);if(!Va(["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},co={GEO_TIFF:["cloudOptimized","fileDimensions","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},eo={GEO_TIFF:"tiff",
|
|
TF_RECORD_IMAGE:"tfrecord"},bo=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;null==b&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},$n=function(a,b){var c=a.formatOptions;if(null==c)return{};if(Object.keys(a).some(function(m){return null!==
|
|
c&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=eo[b];for(var d=co[b],e={},f=n(Object.entries(c)),g=f.next();!g.done;g=f.next()){var h=n(g.value);g=h.next().value;h=h.next().value;if(!Va(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},Zn=["image","collection","classifier"];var fo=function(a){if(!(this instanceof fo))return am(fo,arguments);if(a instanceof fo)return a;go();if("number"===typeof a)M.call(this,null,null),this.cd=a;else if(a instanceof M)M.call(this,a.H,a.args,a.U),this.cd=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(fo,M);w("ee.Number",fo);var ho=!1,go=function(){ho||(vm(fo,"Number","Number"),ho=!0)};fo.prototype.encode=function(a){return"number"===typeof this.cd?this.cd:fo.M.encode.call(this,a)};
|
|
fo.prototype.pa=function(a){return"number"===typeof this.cd?yj(Dk(a,this.cd)):fo.M.pa.call(this,a)};fo.prototype.name=function(){return"Number"};var io=function(a){if(!(this instanceof io))return am(io,arguments);if(a instanceof io)return a;jo();if("string"===typeof a)M.call(this,null,null),this.md=a;else if(a instanceof M)this.md=null,a.H&&"String"==a.H.aa().returns?M.call(this,a.H,a.args,a.U):M.call(this,new N("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(io,M);w("ee.String",io);var ko=!1,jo=function(){ko||(vm(io,"String","String"),ko=!0)};
|
|
io.prototype.encode=function(a){return"string"===typeof this.md?this.md:io.M.encode.call(this,a)};io.prototype.pa=function(a){return"string"===typeof this.md?yj(Dk(a,this.md)):io.M.pa.call(this,a)};io.prototype.name=function(){return"String"};var lo=function(a,b){if(!(this instanceof lo))return am(lo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(mo(g in cm?cm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Cb=no(a,c,b);this.zg=b.apply(null,c)};x(lo,im);w("ee.CustomFunction",lo);lo.prototype.encode=function(a){return{type:"Function",argumentNames:Ra(this.Cb.args,function(b){return b.name}),body:a(this.zg)}};
|
|
lo.prototype.pa=function(a){return Dj(this.Cb.args.map(function(b){return b.name}),Dk(a,this.zg))};lo.prototype.Ed=function(a,b){return Cj(Dk(a,this),b)};lo.prototype.aa=function(){return this.Cb};
|
|
var mo=function(a,b){a=a||Object;if(!(a.prototype instanceof M))if(a&&a!=Object)if(a==String)a=io;else if(a==Number)a=fo;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=M;var c=function(d){this.args=this.H=null;this.U=d};c.prototype=a.prototype;return new c(b)},oo=function(a,b){b={name:"",returns:"Object",args:Ra(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof M?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new lo(b,a)},no=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].U&&d.push(e);if(0===d.length)return a;c="_MAPPING_VAR_"+function(h){var m=function(v){return v.map(p).reduce(function(B,D){return B+D},0)},p=function(v){return v.ab?1:v.Ia?m(v.Ia.values):v.Ja?m(Object.values(v.Ja.values)):v.Ba?m(Object.values(v.Ba.arguments)):0};return m(Object.values(h.values))}(xk(c.apply(null,b),"<unbound>"))+"_";for(e=0;e<
|
|
d.length;e++){var f=d[e],g=c+e;b[f].U=g;a.args[f].name=g}return a};var po=function(a,b){if(!(this instanceof po))return am(po,arguments);if(a instanceof po)return a;qo();var c=P(po,arguments);a=c.date;c=c.tz;var d=new N("Date"),e={},f=null;if(fm(a)){if(e.value=a,c)if(fm(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(em(a))e.value=a;else if(ua(a))e.value=Math.floor(a.getTime());else if(a instanceof M)a.H&&"Date"==a.H.aa().returns?(d=a.H,e=a.args,f=a.U):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);M.call(this,d,e,f)};x(po,M);w("ee.Date",po);var ro=!1,qo=function(){ro||(vm(po,"Date","Date"),ro=!0)};po.prototype.name=function(){return"Date"};w("ee.Deserializer",function(){});var to=function(a){return so(JSON.parse(a))};w("ee.Deserializer.fromJSON",to);var so=function(a){if("result"in a&&"values"in a)return uo(a);var b={};if(t(a)&&"CompoundValue"===a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=vo(f,b)}a=a.value}return vo(a,b)};w("ee.Deserializer.decode",so);
|
|
var vo=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(Array.isArray(a))return Ra(a,function(e){return vo(e,b)});if(!t(a)||"function"===typeof a)throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":a=a.value;if("string"!==typeof a)throw Error("Invalid variable name: "+a);return mo(Object,a);case "Date":a=a.value;if("number"!==typeof a)throw Error("Invalid date value: "+
|
|
a);return new po(a/1E3);case "Bytes":return wo(new Je({wb:a}),a);case "Invocation":return c="functionName"in a?nm(a.functionName):vo(a["function"],b),a=nb(a.arguments,function(e){return vo(e,b)}),xo(c,a);case "Dictionary":return nb(a.value,function(e){return vo(e,b)});case "Function":var d=vo(a.body,b);a={name:"",args:Ra(a.argumentNames,function(e){return{name:e,type:"Object",optional:!1}}),returns:"Object"};return new lo(a,function(){return d});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new S(a);
|
|
case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}},wo=function(a,b){var c=function(){};q(c,wj);c.prototype.encode=function(){return b};c.prototype.pa=function(){return a};return new c},xo=function(a,b){if(a instanceof im)return a.apply(b);if(a instanceof M){var c=function(){return im.apply(this,arguments)||this};q(c,im);c.prototype.encode=function(d){return a.encode(d)};c.prototype.Ed=function(d,e){return Cj(Dk(d,a),
|
|
e)};return new M(new c,b)}throw Error("Invalid function value");},yo=function(a){return uo(JSON.parse(a))};w("ee.Deserializer.fromCloudApiJSON",yo);
|
|
var uo=function(a){var b=td(Xe,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.nb)g=g.nb;else if(null!==g.Ia)g=g.Ia.values.map(e);else if(null!==g.Ja)g=nb(g.Ja.values,e);else if(null!==g.Rb)g=mo(Object,g.Rb);else if(null!==g.ab)g=f(g.ab);else if(null!==g.Ba){var h=g.Ba;g=h.bb?d(h.bb,"function"):nm(h.functionName);h=nb(h.arguments,e);g=xo(g,h)}else g=null!==g.wb?wo(new Je({wb:g.wb}),g.wb):null!==
|
|
g.Zb?wo(new Je({Zb:g.Zb}),g.Zb):null!==g.Ua?d(g.Ua,"reference"):null;return g},f=function(g){var h=d(g.body,"function body");g={args:g.nc.map(function(m){return{name:m,type:"Object",optional:!1}}),name:"",returns:"Object"};return new lo(g,function(){return h})};return d(b.result,"result value")};w("ee.Deserializer.decodeCloudApi",uo);var zo=function(a){if(!(this instanceof zo))return am(zo,arguments);if(a instanceof zo)return a;Ao();gm(a)?(M.call(this,null,null),this.Pc=a):(a instanceof M&&a.H&&"Dictionary"==a.H.aa().returns?M.call(this,a.H,a.args,a.U):M.call(this,new N("Dictionary"),{input:a},null),this.Pc=null)};x(zo,M);w("ee.Dictionary",zo);var Bo=!1,Ao=function(){Bo||(vm(zo,"Dictionary","Dictionary"),Bo=!0)};zo.prototype.encode=function(a){return null!==this.Pc?a(this.Pc):zo.M.encode.call(this,a)};
|
|
zo.prototype.pa=function(a){return null!==this.Pc?yj(Dk(a,this.Pc)):zo.M.pa.call(this,a)};zo.prototype.name=function(){return"Dictionary"};var Co={};w("ee.Terrain",Co);Co.tf=!1;Co.dk=function(){Co.tf||(vm(Co,"Terrain","Terrain"),Co.tf=!0)};Co.reset=function(){wm(Co);Co.tf=!1};var Io=function(a,b,c,d,e,f){if("ready"!=Do||a||b){var g=null!=c;if(d)if(g)Eo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Do&&g)Fo.push(c);else if(Do="loading",Ni(a,b,e,f),g)Fo.push(c),rm(Go,Ho);else try{rm(),Go()}catch(h){throw Ho(h),h;}}else c&&c()};w("ee.initialize",Io);
|
|
var Lo=function(){Do="not_ready";lj=kj=Yi=null;jj=!1;pm=null;qm={};wm(po);ro=!1;wm(zo);Bo=!1;wm(Q);Dm=!1;wm(L);yn=!1;wm(W);qn=!1;wm(V);on=!1;wm(Z);Hn=!1;wm(Y);Fn=!1;wm(T);Zm=!1;wm(S);Gm=!1;wm(Bn);Dn=!1;wm(fo);ho=!1;wm(io);ko=!1;Co.reset();for(var a=r.ee,b=0;b<Jo.length;b++){var c=Jo[b];wm(a[c]);delete a[c]}Jo=[];cm=a;a=Ko;for(var d in a)delete a[d]};w("ee.reset",Lo);var Mo={Ik:"not_ready",LOADING:"loading",Jk:"ready"};w("ee.InitState",Mo);w("ee.InitState.NOT_READY","not_ready");
|
|
w("ee.InitState.LOADING","loading");w("ee.InitState.READY","ready");var Do="not_ready",Fo=[],Eo=[];w("ee.TILE_SIZE",256);var Jo=[],Ko={};w("ee.Algorithms",Ko);var No=function(a,b){"string"===typeof a&&(a=new N(a));return im.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};w("ee.call",No);var Oo=function(a,b){"string"===typeof a&&(a=new N(a));return a.apply(b)};w("ee.apply",Oo);
|
|
var Go=function(){if("loading"==Do){try{qo();Ao();Cm();wn();pn();nn();Gn();En();Ym();Em();Cn();go();jo();Co.dk();var a=sm(),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]=Po(g),Jo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,qm[g]=!0):f[g].signature={});cm=f;Qo()}catch(h){Ho(h);return}Do="ready";for(Eo=[];0<Fo.length;)Fo.shift()()}},Ho=function(a){if("loading"==
|
|
Do)for(Do="not_ready",Fo=[];0<Eo.length;)Eo.shift()(a)},Qo=function(){var a=tm();qb(a).sort().forEach(function(b){var c=a[b],d=c.aa();if(!d.hidden){b=b.split(".");var e=Ko;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=ab(b,1)}f=function(g){return mm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=u(c.toString,c);e[b[0]]=f}})},Po=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 am(d,e);d=um(a);var g=!(e[0]instanceof M),h=!1;d&&(f?g?h=!0:e[0].H&&e[0].H.aa().returns==d.aa().returns||(h=!0):h=!0);if(h)e=hm(e,d.aa())?e[0]:km(d,e),M.call(this,d,lm(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];M.call(this,e.H,e.args,e.U)}};x(b,M);b.prototype.name=function(){return a};vm(b,a,a);return b};
|
|
jm=function(a,b){if(null===a)return null;if(void 0!==a){var c=r.ee;switch(b){case "Image":return new L(a);case "Feature":return a instanceof V?O("Feature",O("Collection.geometry",a)):new W(a);case "Element":if(a instanceof Q)return a;if(a instanceof S)return new W(a);if(a instanceof M)return new Q(a.H,a.args,a.U);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?O("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof V?
|
|
a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new T(a);case "Algorithm":if("string"===typeof a)return new N(a);if("function"===typeof a){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return oo(a,c)}if(a instanceof wj)return a;throw Error("Argument is not a function: "+a);case "String":return fm(a)||a instanceof io||a instanceof M?new io(a):a;case "Dictionary":return gm(a)?a:new zo(a);case "List":return new Bn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new fo(a);
|
|
default:if(b in c){d=um(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 Ro=function(a,b,c){kd.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.gh=new Xc;this.fh=new Xc};q(Ro,kd);Ro.prototype.getTile=function(a,b){var c=ld(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.Db,this.token].join("/");this.Fb.push(c);this.Db+=1;var d=Vg("DIV");So(this,b,a,c,d);To(this);return d};
|
|
var So=function(a,b,c,d,e){var f=yi(wi);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=u(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.gh.set(c,g),this.fh.set(c,e),Xa(this.Fb,d),To(this);else throw this.fg.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},To=function(a){a.dispatchEvent(new md(a.Fb.length))};Ro.prototype.I=function(){this.fh=this.gh=null;kd.prototype.I.call(this)};
|
|
w("ee.FloatTileOverlay",Ro);var Uo=function(){this.ae=new Map};Uo.prototype.clear=function(){this.ae.clear()};var Vo=function(a,b){a.ae.has(b)||a.ae.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.ae.get(b)};var Wo=function(a){Da.call(this);this.Xb=a;this.J={}};x(Wo,Da);var Xo=[];Wo.prototype.cb=function(a,b,c,d){Array.isArray(b)||(b&&(Xo[0]=b.toString()),b=Xo);for(var e=0;e<b.length;e++){var f=Ac(a,b[e],c||this.handleEvent,d||!1,this.Xb||this);if(!f)break;this.J[f.key]=f}return this};Wo.prototype.bd=function(a,b,c,d){return Yo(this,a,b,c,d)};
|
|
var Yo=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)Yo(a,b,c[g],d,e,f);else{b=zc(b,c,d||a.handleEvent,e,f||a.Xb||a);if(!b)return a;a.J[b.key]=b}return a};Wo.prototype.ke=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.ke(a,b[f],c,d,e);else c=c||this.handleEvent,d=t(d)?!!d.capture:!!d,e=e||this.Xb||this,c=Bc(c),d=!!d,b=pc(a)?a.Sc(b,c,d,e):a?(a=Dc(a))?a.Sc(b,c,d,e):null:null,b&&(Ic(b),delete this.J[b.key])};
|
|
Wo.prototype.jd=function(){lb(this.J,function(a,b){this.J.hasOwnProperty(b)&&Ic(a)},this);this.J={}};Wo.prototype.I=function(){Wo.M.I.call(this);this.jd()};Wo.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var $o=function(a,b){void 0!==a.name?(this.name=a.name,this.code=tb[a.name]):(this.code=a=Ja(a.code),this.name=Zo(a));Ea.call(this,Wb("%s %s",this.name,b))};x($o,Ea);
|
|
var Zo=function(a){var b=sb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},ap={},tb=(ap.AbortError=3,ap.EncodingError=5,ap.InvalidModificationError=9,ap.InvalidStateError=7,ap.NotFoundError=1,ap.NotReadableError=4,ap.NoModificationAllowedError=6,ap.PathExistsError=12,ap.QuotaExceededError=10,ap.SecurityError=2,ap.SyntaxError=8,ap.TypeMismatchError=11,ap);var bp=function(a,b){y.call(this,a.type,b);this.Ma=a};x(bp,y);var cp=function(){A.call(this);this.ba=new FileReader;this.ba.onloadstart=u(this.sc,this);this.ba.onprogress=u(this.sc,this);this.ba.onload=u(this.sc,this);this.ba.onabort=u(this.sc,this);this.ba.onerror=u(this.sc,this);this.ba.onloadend=u(this.sc,this)};x(cp,A);k=cp.prototype;k.abort=function(){try{this.ba.abort()}catch(a){throw new $o(a,"aborting read");}};k.zb=function(){return this.ba.readyState};k.getError=function(){return this.ba.error&&new $o(this.ba.error,"reading file")};
|
|
k.sc=function(a){this.dispatchEvent(new bp(a,this))};k.I=function(){cp.M.I.call(this);delete this.ba};k.readAsBinaryString=function(a){this.ba.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.ba.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.ba.readAsText(a,b)};var dp=function(a,b){z(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 ep=function(a,b){A.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.$d=new Uo;this.Eb=new Xc;this.Db=0;this.eg=a;this.qb=new Wo(this);this.projection=null;this.radius=0;this.alt=null};q(ep,A);k=ep.prototype;k.Je=function(a){return Ac(this,"tile-load",a)};k.Pf=function(a){Ic(a)};
|
|
k.Tc=function(){return fp(this,"throttled")+fp(this,"loading")+fp(this,"new")};k.setOpacity=function(a){this.opacity=a;this.Eb.forEach(function(b){dp(b.ua,this.opacity)},this)};k.getStats=function(){return this.$d};
|
|
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.Db++].join("-"),this.eg.lh()].join("-");b=this.Mg(d,b,c,a);b.tileSize=this.tileSize;dp(b.ua,this.opacity);this.Eb.set(a,b);gp(this,b);this.dispatchEvent(new hp(this.Tc()));this.eg.zh(b,(new Date).getTime()/1E3);return b.ua};k.releaseTile=function(a){var b=this.Eb.get(a.id);this.Eb.remove(a.id);b&&(b.abort(),Ca(b))};
|
|
var gp=function(a,b){a.qb.cb(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.ik,d=(new Date).getTime();Vo(this.$d,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new ip(this.Tc()));break;case "throttled":Vo(this.$d,b.zoom).throttleCount++;this.dispatchEvent(new jp(b.Ra));break;case "failed":Vo(this.$d,b.zoom).errorCount++;this.dispatchEvent(new kp(b.Ra,b.Wj));break;case "aborted":this.dispatchEvent(new lp(this.Tc()))}})};
|
|
ep.prototype.I=function(){A.prototype.I.call(this);this.Eb.forEach(Ca);this.Eb.clear();this.Eb=null;Ca(this.qb);this.eg=this.qb=null};var fp=function(a,b){return Ua(a.Eb.W(),function(c){return c.getStatus()==b})};w("ee.layers.AbstractOverlay",ep);ep.prototype.removeTileCallback=ep.prototype.Pf;ep.prototype.addTileCallback=ep.prototype.Je;var ip=function(){y.call(this,"tile-load")};q(ip,y);var hp=function(){y.call(this,"tile-start")};q(hp,y);var jp=function(){y.call(this,"tile-throttle")};q(jp,y);
|
|
var kp=function(a,b){y.call(this,"tile-fail");this.errorMessage=b};q(kp,y);var lp=function(){y.call(this,"tile-abort")};q(lp,y);var mp=function(a,b,c,d){A.call(this);this.rc=a;this.zoom=b;this.ua=c.createElement("div");this.ua.id=d;this.mk=5;this.Wd=function(){};this.be="new";this.Yh=0;this.vf=!1};q(mp,A);
|
|
var op=function(a){if(!a.vf&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");np(a,"loading");a.ik=(new Date).getTime();a.gb=new zi;a.gb.Bc="blob";a.gb.cb("complete",function(){var b=Ki(a.gb),c=a.gb.getStatus();429==c&&np(a,"throttled");if(si(c)){var d={};lb(Li(a.gb),function(f,g){d[g.toLowerCase()]=f});a.Bk=d;a.di=b;a.Rc()}else if(b){var e=new cp;e.cb("loadend",function(){a.ld(e.ba.result)},void 0);e.readAsText(b)}else a.ld("Failed to load tile.")},
|
|
!1);a.gb.bd("ready",Aa(Ca,a.gb));a.Ra&&a.Ra.endsWith("&profiling=1")&&(a.Ra=a.Ra.replace("&profiling=1",""),a.gb.headers.set("X-Earth-Engine-Computation-Profiling","1"));a.gb.send(a.Ra,"GET")};k=mp.prototype;k.Rc=function(){this.Wd(this);np(this,"loaded")};k.Lc=function(){Ca(this.gb)};
|
|
k.ld=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.Yh>=this.mk?(this.Wj=b(a),np(this,"failed")):(this.Lc(),setTimeout(u(function(){this.Za||(this.vf=!0,op(this),this.vf=!1)},this),1E3*Math.pow(2,this.Yh++)))};k.abort=function(){this.Lc();"aborted"!=this.getStatus()&&"removed"!=this.getStatus()&&np(this,this.be in pp?"removed":"aborted")};k.getStatus=function(){return this.be};var np=function(a,b){a.be=b;a.dispatchEvent("status-changed")};
|
|
mp.prototype.I=function(){A.prototype.I.call(this);this.Lc();this.ua.remove();this.Wd=null};var pp={aborted:!0,failed:!0,loaded:!0,removed:!0};var qp=function(){Da.call(this)};q(qp,Da);var rp=function(a,b){ep.call(this,a,b);this.Bg=new Xc;this.Yg=new Xc};q(rp,ep);rp.prototype.Mg=function(a,b,c,d){var e=new sp(a,b,c,d);this.qb.cb(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Bg.set(a,new Float32Array(e.xd)),this.Yg.set(a,e.ua))});return e};rp.prototype.I=function(){ep.prototype.I.call(this);this.Yg=this.Bg=null};w("ee.layers.BinaryOverlay",rp);var sp=function(a,b,c,d){mp.call(this,a,b,c,d)};q(sp,mp);
|
|
sp.prototype.Rc=function(){var a=new cp;a.cb("loadend",function(){this.xd=a.ba.result;mp.prototype.Rc.call(this)},void 0,this);a.readAsArrayBuffer(this.di)};var tp=function(a){A.call(this);this.Xc={};this.Wc={};this.Xb=new Wo(this);this.Z=a;this.Pe=!1};x(tp,A);var up=[bc&&!lc("11")?"readystatechange":"load","abort","error"],vp=function(a,b,c){if(c="string"===typeof c?c:c.src)a.Pe=!1,a.Xc[b]={src:c,Lg:null}},wp=function(a,b){delete a.Xc[b];var c=a.Wc[b];c&&(delete a.Wc[b],a.Xb.ke(c,up,a.Kh))};
|
|
tp.prototype.start=function(){var a=this.Xc;qb(a).forEach(function(b){var c=a[b];if(c&&(delete a[b],!this.Za)){if(this.Z){var d=this.Z;d=(d?new $g(Zg(d)):Fa||(Fa=new $g)).Uj("IMG")}else d=new Image;c.Lg&&(d.crossOrigin=c.Lg);this.Xb.cb(d,up,this.Kh);this.Wc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
tp.prototype.Kh=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));wp(this,b.id);this.dispatchEvent({type:a.type,target:b});!this.Za&&ub(this.Wc)&&ub(this.Xc)&&!this.Pe&&(this.Pe=!0,this.dispatchEvent("complete"))}};tp.prototype.I=function(){delete this.Xc;delete this.Wc;Ca(this.Xb);tp.M.I.call(this)};var xp=function(a,b){ep.call(this,a,b)};q(xp,ep);xp.prototype.Mg=function(a,b,c,d){return new yp(a,b,c,d)};w("ee.layers.ImageOverlay",xp);var yp=function(a,b,c,d){mp.call(this,a,b,c,d);this.Wd=zp;this.rh=this.ha=this.Nd=null;this.dd=""};q(yp,mp);
|
|
yp.prototype.Rc=function(){try{var a=Tb(this.di);this.dd=Rb(a);var b="about:invalid#zClosurez"!==this.dd?this.dd:this.Ra}catch(c){b=this.Ra}this.ha=new tp;vp(this.ha,this.ua.id+"-image",b);this.rh=zc(this.ha,Ap,function(c){"load"==c.type?(this.Nd=c.target,mp.prototype.Rc.call(this)):this.ld()},void 0,this);this.ha.start()};yp.prototype.Lc=function(){mp.prototype.Lc.call(this);this.ha&&(Ic(this.rh),Ca(this.ha))};yp.prototype.I=function(){mp.prototype.I.call(this);this.dd&&URL.revokeObjectURL(this.dd)};
|
|
var zp=function(a){a.ua.appendChild(a.Nd)},Ap=["load","abort","error"];var Bp=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 Cp=function(a,b,c,d){Da.call(this);this.Ag=a;this.dc=b;this.cg=d||"";this.Sd=c};q(Cp,qp);Cp.prototype.zh=function(a){if(a.zoom<=this.Sd)a.Ra=this.Jd(a.rc,a.zoom);else{var b=a.zoom-this.Sd,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.rc.x/c),Math.floor(a.rc.y/c));a.Ra=this.Jd(c,a.zoom-b);a.Wd=Aa(Dp,this.Sd)}var d=u(a.ld,a);a.ld=u(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?np(a,"loaded"):d(e)},a);op(a)};
|
|
Cp.prototype.lh=function(){return[this.Ag,this.dc,this.Sd,this.cg].join("-")};Cp.prototype.Jd=function(a,b){a=Bp("https://storage.googleapis.com",this.Ag,this.dc,String(b),String(a.x),String(a.y));this.cg&&(a+=this.cg);return a};
|
|
var Dp=function(a,b){if(!b.Nd)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.ua.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.ua.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Nd,c/a*(b.rc.x%a),c/a*(b.rc.y%a),c/a,c/a,0,0,c,c)};w("ee.layers.CloudStorageTileSource",Cp);var Ep=function(){this.Oa=[];this.Xa=[]};k=Ep.prototype;k.enqueue=function(a){this.Xa.push(a)};k.Oc=function(){0===this.Oa.length&&(this.Oa=this.Xa,this.Oa.reverse(),this.Xa=[]);return this.Oa.pop()};k.S=function(){return this.Oa.length+this.Xa.length};k.isEmpty=function(){return 0===this.Oa.length&&0===this.Xa.length};k.clear=function(){this.Oa=[];this.Xa=[]};k.contains=function(a){return Va(this.Oa,a)||Va(this.Xa,a)};
|
|
k.remove=function(a){var b=this.Oa;var c=Oa(b,a);0<=c?(Ya(b,c),b=!0):b=!1;return b||Xa(this.Xa,a)};k.W=function(){for(var a=[],b=this.Oa.length-1;0<=b;--b)a.push(this.Oa[b]);var c=this.Xa.length;for(b=0;b<c;++b)a.push(this.Xa[b]);return a};var Fp=function(a,b){Da.call(this);this.Gh=a||0;this.Rd=b||10;if(this.Gh>this.Rd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.$a=new Ep;this.Ab=new fd;this.delay=0;this.wf=null;this.sd()};x(Fp,Da);Fp.prototype.Uc=function(){var a=Date.now();if(!(null!=this.wf&&a-this.wf<this.delay)){for(var b;0<this.$a.S()&&(b=this.$a.Oc(),!this.Ff(b));)this.sd();!b&&this.S()<this.Rd&&(b=this.Se());b&&(this.wf=a,this.Ab.add(b));return b}};
|
|
var Gp=function(a,b){return a.Ab.remove(b)?(a.Ie(b),!0):!1};k=Fp.prototype;k.Ie=function(a){this.Ab.remove(a);this.Ff(a)&&this.S()<this.Rd?this.$a.enqueue(a):this.Bd(a)};k.sd=function(){for(var a=this.$a;this.S()<this.Gh;)a.enqueue(this.Se());for(;this.S()>this.Rd&&0<this.$a.S();)this.Bd(a.Oc())};k.Se=function(){return{}};k.Bd=function(a){if("function"==typeof a.Ya)a.Ya();else for(var b in a)a[b]=null};k.Ff=function(a){return"function"==typeof a.Rj?a.Rj():!0};
|
|
k.contains=function(a){return this.$a.contains(a)||this.Ab.contains(a)};k.S=function(){return this.$a.S()+this.Ab.S()};k.isEmpty=function(){return this.$a.isEmpty()&&this.Ab.isEmpty()};k.I=function(){Fp.M.I.call(this);if(0<this.Ab.S())throw Error("[goog.structs.Pool] Objects not released");delete this.Ab;for(var a=this.$a;!a.isEmpty();)this.Bd(a.Oc());delete this.$a};var Hp=function(a,b){this.xh=a;this.me=b};Hp.prototype.getKey=function(){return this.xh};Hp.prototype.clone=function(){return new Hp(this.xh,this.me)};var Ip=function(a){this.Da=[];if(a)a:{if(a instanceof Ip){var b=a.Pa();a=a.W();if(0>=this.S()){for(var c=this.Da,d=0;d<b.length;d++)c.push(new Hp(b[d],a[d]));break a}}else b=qb(a),a=pb(a);for(d=0;d<b.length;d++)Jp(this,b[d],a[d])}},Jp=function(a,b,c){var d=a.Da;d.push(new Hp(b,c));b=d.length-1;a=a.Da;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=Ip.prototype;
|
|
k.remove=function(){var a=this.Da,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Wa(a);else{a[0]=a.pop();a=0;b=this.Da;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.me}};k.W=function(){for(var a=this.Da,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].me);return b};k.Pa=function(){for(var a=this.Da,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.Mc=function(a){return Sa(this.Da,function(b){return b.me==a})};k.ob=function(a){return Sa(this.Da,function(b){return b.getKey()==a})};k.clone=function(){return new Ip(this)};k.S=function(){return this.Da.length};k.isEmpty=function(){return 0===this.Da.length};k.clear=function(){Wa(this.Da)};var Kp=function(){Ip.call(this)};x(Kp,Ip);Kp.prototype.enqueue=function(a,b){Jp(this,a,b)};Kp.prototype.Oc=function(){return this.remove()};var Lp=function(a,b){this.Wg=void 0;this.Yd=new Kp;Fp.call(this,a,b)};x(Lp,Fp);k=Lp.prototype;k.Uc=function(a,b){if(!a)return(a=Lp.M.Uc.call(this))&&this.delay&&(this.Wg=r.setTimeout(u(this.Ld,this),this.delay)),a;this.Yd.enqueue(void 0!==b?b:100,a);this.Ld()};k.Ld=function(){for(var a=this.Yd;0<a.S();){var b=this.Uc();if(b)a.Oc().apply(this,[b]);else break}};k.Ie=function(a){Lp.M.Ie.call(this,a);this.Ld()};k.sd=function(){Lp.M.sd.call(this);this.Ld()};
|
|
k.I=function(){Lp.M.I.call(this);r.clearTimeout(this.Wg);this.Yd.clear();this.Yd=null};var Mp=function(a,b){Da.call(this);this.xf=a;this.xa=b||null};q(Mp,qp);Mp.prototype.zh=function(a,b){var c=Ac(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Bk["x-earth-engine-computation-profile"];this.xa&&e&&this.xa.Oj(a.ua.id,e);break;case "failed":case "aborted":this.xa&&""!==a.ua.id&&this.xa.uk(a.ua.id),Ic(c)}},void 0,this);a.Ra=this.Jd(a.rc,a.zoom);var d=u(this.nf,this,a);Np().Uc(d,b)};Mp.prototype.lh=function(){return this.xf.mapid+"-"+this.xf.token};
|
|
Mp.prototype.nf=function(a,b){var c=Np();if(a.Za||"aborted"==a.getStatus())Gp(c,b);else{var d=Ac(a,"status-changed",function(){a.be in pp&&(Ic(d),Gp(c,b))});op(a)}};Mp.prototype.Jd=function(a,b){a=bl(this.xf,a.x,a.y,b);return this.xa&&this.xa.isEnabled()?a+"&profiling=1":a};var Np=function(){Op||(Op=new Lp(0,4));return Op};w("ee.layers.EarthEngineTileSource",Mp);var Op=null;var Pp=[];var Rp=function(){A.call(this);this.he=new Qp(0,60);this.Ac=new Xc};q(Rp,A);Rp.prototype.send=function(a,b,c,d,e){if(this.Ac.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Sp(a,b,d,u(this.Uh,this),void 0!==e?e:1);this.Ac.set(a,b);a=u(this.nf,this,b);this.he.Uc(a,c);return b};Rp.prototype.abort=function(a){if(a=this.Ac.get(a))a.mc||(a.mc=!0,a.Ma=new y("abort")),this.Uh(a)};
|
|
Rp.prototype.nf=function(a,b){if(a.ha||a.mc)Tp(this,b);else if(a.pi=b,b.setActive(!0),b=new tp,a.ha=b,!a.retry())throw Error("Cannot dispatch first request!");};Rp.prototype.Uh=function(a){this.Ac.remove(a.getId());a.ha&&(Tp(this,a.pi),a.ha.Ya());a.pf&&a.pf(a.Ma,a.Sh)};var Tp=function(a,b){b.setActive(!1);if(!Gp(a.he,b))throw Error("Object not released");};Rp.prototype.I=function(){A.prototype.I.call(this);this.he.Ya();this.he=null;var a=this.Ac;Pa(a.W(),function(b){b.Ya()});a.clear();this.Ac=null};
|
|
var Up=function(){z(!Object.isSealed(Rp),"Cannot use getInstance() with a sealed constructor.");if(Rp.uf&&Rp.hasOwnProperty("uf"))var a=Rp.uf;else Pp.push(Rp),a=new Rp,Rp.uf=a;return a};w("ee.MapTileManager",Rp);var Sp=function(a,b,c,d,e){Da.call(this);this.ga=a;this.Gk=b;this.nk=void 0!==e?e:1;this.pf=c;this.fc=d};q(Sp,Da);k=Sp.prototype;k.getId=function(){return this.ga};k.getUrl=function(){return this.Gk};
|
|
k.ak=function(a){if(this.mc)this.fc&&this.fc(this);else switch(a.type){case "load":this.Ma=a;this.fc&&this.fc(this);break;case "error":case "abort":this.retry()||(this.Ma=a,this.fc&&this.fc(this))}};k.I=function(){Da.prototype.I.call(this);delete this.pf;delete this.fc};k.retry=function(){if(this.sg>this.nk)return!1;this.sg++;wp(this.ha,this.ga);setTimeout(u(this.Ck,this),0);return!0};
|
|
k.Ck=function(){if(!this.mc){var a=u(function(d){this.mc||(vp(this.ha,this.ga,d),zc(this.ha,Vp,u(this.ak,this)),this.ha.start())},this),b=this.getUrl();if(Qd(b).Ea.ob("profiling")){var c=new zi;c.Bc="blob";c.cb("complete",u(function(){this.Sh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=Rb(Tb(Ki(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.bd("ready",u(c.Ya,c));c.send(b,"GET")}else a(b)}};k.sg=0;k.mc=!1;
|
|
k.ha=null;k.pi=null;k.Ma=null;k.Sh=null;var Vp=["load","abort","error"],Wp=function(){Da.call(this);this.Ha=!1};q(Wp,Da);Wp.prototype.setActive=function(a){this.Ha=a};Wp.prototype.th=function(){return this.Ha};var Qp=function(a,b){Lp.call(this,a,b)};q(Qp,Lp);Qp.prototype.Se=function(){return new Wp};Qp.prototype.Bd=function(a){a.Ya()};Qp.prototype.Ff=function(a){return!a.Za&&!a.th()};var Xp=function(a,b,c,d,e){kd.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.gg=new fd;this.Gf=1;this.xa=e||null};q(Xp,kd);k=Xp.prototype;k.Je=function(a){return Ac(this,"tileevent",a)};k.Pf=function(a){Ic(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=ld(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.xa&&this.xa.isEnabled()&&(a+="&profiling=1");b=[b,this.Db,this.token].join("/");this.Db+=1;c=Vg("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Fb.push(b);Up().send(b,a,d,u(this.$j,this,c,b));To(this);return c};k.Tc=function(){return this.Fb.length};
|
|
k.releaseTile=function(a){Up().abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.gg.remove(b);""!==a.id&&(this.fg.remove(a.id),this.xa&&this.xa.uk(a.id))};k.setOpacity=function(a){this.Gf=a;var b=this.gg.Ga();Rc(b,function(c){dp(c,a)})};
|
|
k.$j=function(a,b,c,d){"error"==c.type?(Xa(this.Fb,b),this.fg.add(b),this.dispatchEvent(c)):(Xa(this.Fb,b),c.target&&"load"==c.type&&(c=c.target,this.gg.add(c),1!=this.Gf&&dp(c,this.Gf),a.appendChild(c)),To(this));this.xa&&null!==d&&this.xa.Oj(b,d)};w("ee.MapLayerOverlay",Xp);Xp.prototype.removeTileCallback=Xp.prototype.Pf;Xp.prototype.addTileCallback=Xp.prototype.Je;Xp.prototype.getTile=Xp.prototype.getTile;Xp.prototype.setOpacity=Xp.prototype.setOpacity;Xp.prototype.releaseTile=Xp.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction.lookup ee.ApiFunction._call ee.batch.Export.image.toDrive ee.batch.Export.table.toDrive ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.table.toDmsLayer ee.batch.Export.video.toDrive ee.batch.Export.image.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.image.toCloudStorage ee.batch.Export.map.toCloudStorage ee.Collection.prototype.filterMetadata ee.Collection.prototype.sort ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.map ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.data.makeTableDownloadUrl ee.data.deleteAsset ee.data.setAssetProperties ee.data.startIngestion ee.data.getVideoThumbId ee.data.getTileUrl ee.data.getList ee.data.newTaskId ee.data.authenticateViaOauth ee.data.getAssetRootQuota ee.data.getFilmstripThumbId ee.data.getTableDownloadId ee.data.computeValue ee.data.getTaskStatus ee.data.listAssets ee.data.listBuckets ee.data.makeThumbUrl ee.data.getInfo ee.data.listOperations ee.data.startTableIngestion ee.data.getAssetAcl ee.data.updateAsset ee.data.getDownloadId ee.data.getAsset ee.data.listImages ee.data.getTaskList ee.data.getThumbId ee.data.makeDownloadUrl ee.data.getDmsTilesKey ee.data.setAssetAcl ee.data.getAssetRoots ee.data.getTaskListWithLimit ee.data.createAssetHome ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.createAsset ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createFolder ee.data.getMapId ee.data.startProcessing ee.data.updateTask ee.data.cancelTask ee.data.copyAsset ee.data.renameAsset ee.data.authenticate ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.TILE_SIZE ee.InitState ee.Algorithms ee.initialize ee.reset ee.apply ee.call ee.Element.prototype.set ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.date ee.Filter.gte ee.Filter.and ee.Filter.gt ee.Filter ee.Filter.lte ee.Filter.inList ee.Filter.metadata ee.Filter.or ee.Filter.bounds ee.Filter.neq ee.Filter.lt ee.Filter.prototype.not ee.Filter.eq ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.BBox ee.Geometry.prototype.serialize ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.MultiPoint ee.Geometry.LinearRing ee.Geometry ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Image.prototype.select ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.getMap ee.Image.prototype.getThumbId ee.Image.rgb ee.Image ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbURL ee.Image.prototype.getInfo ee.Image.cat ee.Image.prototype.rename ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.Serializer.encodeCloudApi ee.Serializer.toCloudApiJSON ee.Serializer.toJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name","namedArgs"],["name"],["name","var_args"],"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_fileFormat opt_selectors opt_maxVertices".split(" "),["classifier","opt_description","opt_assetId"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
["collection","opt_description","opt_assetId","opt_maxVertices"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["collection","opt_description","opt_assetId","opt_maxVertices"],"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(" "),"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
["name","operator","value"],["property","opt_ascending"],["filter"],["start","opt_end"],["algorithm","opt_first"],["geometry"],["max","opt_property","opt_ascending"],["algorithm","opt_dropNulls"],["callback"],["legacy"],["opt_callback"],["func","var_args"],["id"],["assetId","opt_callback"],["assetId","properties","opt_callback"],["taskId","request","opt_callback"],["params","opt_callback"],["id","x","y","z"],["params","opt_callback"],["opt_count","opt_callback"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),
|
|
["rootId","opt_callback"],["params","opt_callback"],["params","opt_callback"],["obj","opt_callback"],["taskId","opt_callback"],["parent","params","opt_callback"],["project","opt_callback"],["id"],["id","opt_callback"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],["assetId","opt_callback"],["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["id","opt_callback"],["parent","params","opt_callback"],["opt_callback"],["params","opt_callback"],["id"],["params",
|
|
"opt_callback"],["assetId","aclUpdate","opt_callback"],["opt_callback"],["opt_limit","opt_callback"],["requestedId","opt_callback"],["operationName","opt_callback"],["opt_success","opt_error"],["value","opt_path","opt_force","opt_properties","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["operationName","opt_callback"],["path","opt_force","opt_callback"],["params","opt_callback"],["taskId","params","opt_callback"],["taskId","action","opt_callback"],
|
|
["taskId","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["sourceId","destinationId","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),[],["func","namedArgs"],["func","var_args"],["var_args"],["geometry","opt_properties"],["opt_callback"],["opt_visParams",
|
|
"opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["start","opt_end"],["name","value"],["var_args"],["name","value"],["opt_filter"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","operator","value"],["var_args"],["geometry","opt_errorMargin"],["name","value"],["name","value"],[],["name","value"],
|
|
["var_args"],["namedArgs"],["west","south","east","north"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],[],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],
|
|
["var_args"],["geometry"],["expression","opt_map"],["opt_visParams","opt_callback"],["params","opt_callback"],["r","g","b"],["opt_args"],["params","opt_callback"],["params","opt_callback"],["opt_callback"],["var_args"],["var_args"],["opt_visParams","opt_callback"],["params","opt_callback"],["selectors","opt_names"],["opt_callback"],[],["args"],["params","opt_callback"],["list"],["number"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[om,nm,O,Pn,Sn,Yn,Rn,
|
|
Un,Wn,Mn,Xn,Vn,Tn,On,Qn,V.prototype.cf,V.prototype.sort,V.prototype.filter,V.prototype.bf,V.prototype.wh,V.prototype.dh,V.prototype.limit,V.prototype.map,M.prototype.evaluate,M.prototype.ya,M.prototype.V,M.prototype.og,ml,Vl,Zl,Hl,fl,bl,Ll,nl,Vk,$l,gl,ll,dl,pl,Ml,Ol,hl,Kl,sl,Jl,Wl,Xl,jl,Kl,Nl,rl,el,kl,cl,Yl,Pl,ql,Ql,tl,Uk,Rl,Xk,ul,Sl,al,Dl,vl,wl,Ul,Tl,Wk,po,so,to,uo,yo,zo,256,Mo,Ko,Io,Lo,Oo,No,Q.prototype.set,W,W.prototype.V,W.prototype.getMap,Y.prototype.V,Y.prototype.getMap,Y.prototype.yb,Y.prototype.select,
|
|
Y,jn,dn,gn,en,T,fn,kn,mn,hn,ln,bn,cn,T.prototype.wc,an,im.prototype.call,im.prototype.apply,Mm,S.prototype.ya,Sm,Hm,Lm,Pm,Km,Qm,S,S.prototype.ig,S.prototype.ge,Rm,Tm,L.prototype.select,L.prototype.clip,L.prototype.l,L.prototype.getMap,L.prototype.Id,zn,L,L.prototype.yb,L.prototype.kf,L.prototype.V,An,L.prototype.Vh,Z.prototype.getMap,Z.prototype.hf,Z.prototype.select,Z.prototype.V,Z.prototype.first,Z,Z.prototype.mf,Bn,fo,Ak,sk,yk,Bk,tk,Ck,vk,io,Co].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],
|
|
paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|