mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
660 lines
307 KiB
JavaScript
660 lines
307 KiB
JavaScript
(function(){var k,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},l=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ba=function(a){if(!(a instanceof Array)){a=l(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ca="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},da;
|
|
if("function"==typeof Object.setPrototypeOf)da=Object.setPrototypeOf;else{var ea;a:{var fa={Yh:!0},ha={};try{ha.__proto__=fa;ea=ha.Yh;break a}catch(a){}ea=!1}da=ea?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var ia=da,n=function(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ia)ia(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.F=b.prototype},r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ja="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},
|
|
ka=function(a,b){if(b){var c=r;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ja(c,a,{configurable:!0,writable:!0,value:b})}};ka("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 la=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+""};ka("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=la(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}});
|
|
ka("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=la(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}});ka("String.prototype.repeat",function(a){return a?a:function(b){var c=la(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 ma=function(){ma=function(){};r.Symbol||(r.Symbol=na)},oa=function(a,b){this.Jh=a;ja(this,"description",{configurable:!0,writable:!0,value:b})};oa.prototype.toString=function(){return this.Jh};
|
|
var na=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new oa("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(),qa=function(){ma();var a=r.Symbol.iterator;a||(a=r.Symbol.iterator=r.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ja(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return pa(aa(this))}});qa=function(){}},pa=function(a){qa();a={next:a};a[r.Symbol.iterator]=function(){return this};return a},
|
|
ra=function(a,b){qa();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};ka("Array.prototype.keys",function(a){return a?a:function(){return ra(this,function(b){return b})}});
|
|
var sa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ta="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)sa(d,e)&&(a[e]=d[e])}return a};ka("Object.assign",function(a){return a||ta});
|
|
ka("Promise",function(a){function b(){this.bb=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.Nf=function(g){if(null==this.bb){this.bb=[];var h=this;this.Of(function(){h.ji()})}this.bb.push(g)};var d=r.setTimeout;b.prototype.Of=function(g){d(g,0)};b.prototype.ji=function(){for(;this.bb&&this.bb.length;){var g=this.bb;this.bb=[];for(var h=0;h<g.length;++h){var m=g[h];g[h]=null;try{m()}catch(p){this.ai(p)}}}this.bb=null};b.prototype.ai=function(g){this.Of(function(){throw g;
|
|
})};var e=function(g){this.V=0;this.sa=void 0;this.$b=[];var h=this.pe();try{g(h.resolve,h.reject)}catch(m){h.reject(m)}};e.prototype.pe=function(){function g(p){return function(q){m||(m=!0,p.call(h,q))}}var h=this,m=!1;return{resolve:g(this.Hi),reject:g(this.lf)}};e.prototype.Hi=function(g){if(g===this)this.lf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.Ii(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.Gi(g):this.Ag(g)}};e.prototype.Gi=function(g){var h=void 0;try{h=g.then}catch(m){this.lf(m);return}"function"==typeof h?this.Ji(h,g):this.Ag(g)};e.prototype.lf=function(g){this.wh(2,g)};e.prototype.Ag=function(g){this.wh(1,g)};e.prototype.wh=function(g,h){if(0!=this.V)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.V);this.V=g;this.sa=h;this.li()};e.prototype.li=function(){if(null!=this.$b){for(var g=0;g<this.$b.length;++g)f.Nf(this.$b[g]);this.$b=null}};var f=
|
|
new b;e.prototype.Ii=function(g){var h=this.pe();g.dd(h.resolve,h.reject)};e.prototype.Ji=function(g,h){var m=this.pe();try{g.call(h,m.resolve,m.reject)}catch(p){m.reject(p)}};e.prototype.then=function(g,h){function m(z,E){return"function"==typeof z?function(M){try{p(z(M))}catch(Z){q(Z)}}:E}var p,q,w=new e(function(z,E){p=z;q=E});this.dd(m(g,p),m(h,q));return w};e.prototype["catch"]=function(g){return this.then(void 0,g)};e.prototype.dd=function(g,h){function m(){switch(p.V){case 1:g(p.sa);break;
|
|
case 2:h(p.sa);break;default:throw Error("Unexpected state: "+p.V);}}var p=this;null==this.$b?f.Nf(m):this.$b.push(m)};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=l(g),q=p.next();!q.done;q=p.next())c(q.value).dd(h,m)})};e.all=function(g){var h=l(g),m=h.next();return m.done?c([]):new e(function(p,q){function w(M){return function(Z){z[M]=Z;E--;0==E&&p(z)}}var z=[],E=0;do z.push(void 0),E++,c(m.value).dd(w(z.length-1),q),
|
|
m=h.next();while(!m.done)})};return e});ka("Array.prototype.values",function(a){return a?a:function(){return ra(this,function(b,c){return c})}});ka("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push([d,b[d]]);return c}});ka("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
|
|
ka("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}});ka("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==la(this,b,"includes").indexOf(b,c||0)}});
|
|
ka("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!sa(m,f)){var p=new b;ja(m,f,{value:p})}}function e(m){var p=Object[m];p&&(Object[m]=function(q){if(q instanceof b)return q;d(q);return p(q)})}if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),p=Object.seal({}),q=new a([[m,2],[p,3]]);if(2!=q.get(m)||3!=q.get(p))return!1;q["delete"](m);q.set(p,4);return!q.has(m)&&4==q.get(p)}catch(w){return!1}}())return a;
|
|
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(m){this.ca=(g+=Math.random()+1).toString();if(m){m=l(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(!sa(m,f))throw Error("WeakMap key fail: "+m);m[f][this.ca]=p;return this};h.prototype.get=function(m){return c(m)&&sa(m,f)?m[f][this.ca]:void 0};h.prototype.has=function(m){return c(m)&&sa(m,f)&&sa(m[f],
|
|
this.ca)};h.prototype["delete"]=function(m){return c(m)&&sa(m,f)&&sa(m[f],this.ca)?delete m[f][this.ca]:!1};return h});
|
|
ka("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(l([[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(),q=p.next();if(q.done||q.value[0]!=h||"s"!=q.value[1])return!1;q=p.next();return q.done||4!=q.value[0].x||"t"!=q.value[1]||!p.next().done?!1:!0}catch(w){return!1}}())return a;qa();var b=new WeakMap,c=function(h){this.sc={};this.ja=
|
|
f();this.size=0;if(h){h=l(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.sc[p.id]=[]);p.ba?p.ba.value=m:(p.ba={next:this.ja,Za:this.ja.Za,head:this.ja,key:h,value:m},p.list.push(p.ba),this.ja.Za.next=p.ba,this.ja.Za=p.ba,this.size++);return this};c.prototype["delete"]=function(h){h=d(this,h);return h.ba&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.sc[h.id],h.ba.Za.next=h.ba.next,h.ba.next.Za=
|
|
h.ba.Za,h.ba.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.sc={};this.ja=this.ja.Za=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).ba};c.prototype.get=function(h){return(h=d(this,h).ba)&&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(),
|
|
q;!(q=p.next()).done;)q=q.value,h.call(m,q[1],q[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 q=h.sc[p];if(q&&sa(h.sc,p))for(h=0;h<q.length;h++){var w=q[h];if(m!==m&&w.key!==w.key||m===w.key)return{id:p,list:q,index:h,ba:w}}return{id:p,list:q,index:-1,ba:void 0}},e=function(h,m){var p=h.ja;return pa(function(){if(p){for(;p.head!=h.ja;)p=p.Za;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.Za=h.next=h.head=h},g=0;return c});
|
|
ka("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(l([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;qa();var b=function(c){this.j=new Map;
|
|
if(c){c=l(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.size};b.prototype.add=function(c){c=0===c?0:c;this.j.set(c,c);this.size=this.j.size;return this};b.prototype["delete"]=function(c){c=this.j["delete"](c);this.size=this.j.size;return c};b.prototype.clear=function(){this.j.clear();this.size=0};b.prototype.has=function(c){return this.j.has(c)};b.prototype.entries=function(){return this.j.entries()};b.prototype.values=function(){return this.j.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})};return b});ka("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push(b[d]);return c}});ka("String.prototype.padStart",function(a){return a?a:function(b,c){var d=la(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 ua=ua||{},t=this||self,va=function(a){return"string"==typeof a},wa=function(a){return"number"==typeof a},xa=/^[\w+/_-]+[=]{0,2}$/,ya=null,za=function(){},Aa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";
|
|
if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},Ba=function(a){return null!=a},u=function(a){return"array"==Aa(a)},Ca=function(a){var b=Aa(a);return"array"==b||"object"==b&&"number"==typeof a.length},Da=function(a){return v(a)&&"function"==typeof a.getFullYear},Ea=function(a){return"function"==Aa(a)},v=function(a){var b=
|
|
typeof a;return"object"==b&&null!=a||"function"==b},Fa="closure_uid_"+(1E9*Math.random()>>>0),Ga=0,Ha=function(a,b,c){return a.call.apply(a.bind,arguments)},Ia=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)}},x=function(a,b,c){x=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
|
|
Ha:Ia;return x.apply(null,arguments)},Ja=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)}},Ka=Date.now||function(){return+new Date},y=function(a,b){a=a.split(".");var c=t;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},A=function(a,b){function c(){}c.prototype=b.prototype;
|
|
a.F=b.prototype;a.prototype=new c;a.prototype.constructor=a};var La=function(){this.La=this.La;this.vd=this.vd};La.prototype.La=!1;La.prototype.Ka=function(){this.La||(this.La=!0,this.C())};La.prototype.C=function(){if(this.vd)for(;this.vd.length;)this.vd.shift()()};var Ma=function(a){a&&"function"==typeof a.Ka&&a.Ka()};var Na=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Hb=!1;this.rh=!0};Na.prototype.stopPropagation=function(){this.Hb=!0};Na.prototype.preventDefault=function(){this.defaultPrevented=!0;this.rh=!1};var Oa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Oa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};A(Oa,Error);Oa.prototype.name="CustomError";var Pa;var Qa=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");Oa.call(this,c+a[d])};A(Qa,Oa);Qa.prototype.name="AssertionError";
|
|
var Ra=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Qa(""+e,f||[]);},B=function(a,b,c){a||Ra("",null,b,Array.prototype.slice.call(arguments,2))},Sa=function(a,b){throw new Qa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ta=function(a,b,c){"number"!==typeof a&&Ra("Expected number but got %s: %s.",[Aa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ua=function(a,b,c){"string"!==typeof a&&Ra("Expected string but got %s: %s.",
|
|
[Aa(a),a],b,Array.prototype.slice.call(arguments,2))},Va=function(a,b,c){Ea(a)||Ra("Expected function but got %s: %s.",[Aa(a),a],b,Array.prototype.slice.call(arguments,2))},Wa=function(a,b,c){v(a)||Ra("Expected object but got %s: %s.",[Aa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Xa=Array.prototype.indexOf?function(a,b){B(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ya=Array.prototype.lastIndexOf?function(a,b){B(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;0>c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
|
|
1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Za=Array.prototype.forEach?function(a,b,c){B(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)},$a=Array.prototype.filter?function(a,b){B(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,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},ab=Array.prototype.map?function(a,b,c){B(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),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},bb=Array.prototype.some?function(a,b){B(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;
|
|
return!1},cb=Array.prototype.every?function(a,b,c){B(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},db=function(a,b){var c=0;Za(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},fb=function(a){a:{var b=eb;for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:"string"===
|
|
typeof a?a.charAt(b):a[b]},gb=function(a,b){return 0<=Xa(a,b)},hb=function(a){if(!u(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},jb=function(a,b){b=Xa(a,b);var c;(c=0<=b)&&ib(a,b);return c},ib=function(a,b){B(null!=a.length);Array.prototype.splice.call(a,b,1)},kb=function(a){return Array.prototype.concat.apply([],arguments)},lb=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},mb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];
|
|
if(Ca(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},nb=function(a,b,c){B(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},ob=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=v(f)?"o"+(f[Fa]||(f[Fa]=++Ga)):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},pb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);
|
|
return b},qb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(u(d))for(var e=0;e<d.length;e+=8192){var f=nb(d,e,e+8192);f=qb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var rb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},sb=/&/g,tb=/</g,ub=/>/g,vb=/"/g,wb=/'/g,xb=/\x00/g,yb=/[\x00&<>"']/,zb=function(a,b){return a<b?-1:a>b?1:0};var Ab;a:{var Bb=t.navigator;if(Bb){var Cb=Bb.userAgent;if(Cb){Ab=Cb;break a}}Ab=""}var Db=function(a){return-1!=Ab.indexOf(a)};var Eb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Fb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Gb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Hb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Ib=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Jb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Kb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Mb=function(a){var b=
|
|
Lb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Nb=function(a){for(var b in a)return!1;return!0},Ob=function(a,b){b in a&&delete a[b]},Pb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Qb=function(a){var b=Aa(a);if("object"==b||"array"==b){if(Ea(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Qb(a[c]);return b}return a},Rb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Sb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
|
|
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Rb.length;f++)c=Rb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Tb=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||t;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e[b]&&(!a||!(a instanceof e[b])&&(a instanceof e.Location||a instanceof e.Element))){if(v(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;Sa("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
b,f)}};var Ub=function(a){return a};var Xb=function(a,b){this.Bf=a===Vb&&b||"";this.Uh=Wb};Xb.prototype.Ab=!0;Xb.prototype.yb=function(){return this.Bf};Xb.prototype.toString=function(){return"Const{"+this.Bf+"}"};var Yb=function(a){if(a instanceof Xb&&a.constructor===Xb&&a.Uh===Wb)return a.Bf;Sa("expected object of type Const, got '"+a+"'");return"type_error:Const"},Wb={},Vb={},Zb=new Xb(Vb,"");var $b=function(){this.cf=""};$b.prototype.Ab=!0;$b.prototype.yb=function(){return this.cf.toString()};$b.prototype.toString=function(){return"SafeScript{"+this.cf+"}"};$b.prototype.Xa=function(a){this.cf=a;return this};(new $b).Xa("");var cc=function(a,b){this.gf=a===ac&&b||"";this.Vh=bc};cc.prototype.Ab=!0;cc.prototype.yb=function(){return this.gf.toString()};cc.prototype.toString=function(){return"TrustedResourceUrl{"+this.gf+"}"};
|
|
var dc=function(a){if(a instanceof cc&&a.constructor===cc&&a.Vh===bc)return a.gf;Sa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+Aa(a));return"type_error:TrustedResourceUrl"},hc=function(a){var b=Yb(ec);if(!fc.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(gc,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 Xb?Yb(d):encodeURIComponent(String(d))});return new cc(ac,c)},gc=/%{(\w+)}/g,fc=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,bc={},ac={};var kc=function(a,b){this.ff=a===ic&&b||"";this.Th=jc};kc.prototype.Ab=!0;kc.prototype.yb=function(){return this.ff.toString()};kc.prototype.toString=function(){return"SafeUrl{"+this.ff+"}"};
|
|
var lc=function(a){if(a instanceof kc&&a.constructor===kc&&a.Th===jc)return a.ff;Sa("expected object of type SafeUrl, got '"+a+"' of type "+Aa(a));return"type_error:SafeUrl"},mc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,nc=function(a){if(mc.test(a.type)){var b=void 0!==t.URL&&void 0!==t.URL.createObjectURL?t.URL:void 0!==t.webkitURL&&
|
|
void 0!==t.webkitURL.createObjectURL?t.webkitURL:void 0!==t.createObjectURL?t: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 kc(ic,a)},jc={},ic={};var oc=function(){this.ef=""};oc.prototype.Ab=!0;oc.prototype.yb=function(){return this.ef};oc.prototype.toString=function(){return"SafeStyle{"+this.ef+"}"};oc.prototype.Xa=function(a){this.ef=a;return this};(new oc).Xa("");var pc=function(){this.df=""};pc.prototype.Ab=!0;pc.prototype.yb=function(){return this.df};pc.prototype.toString=function(){return"SafeStyleSheet{"+this.df+"}"};pc.prototype.Xa=function(a){this.df=a;return this};(new pc).Xa("");var rc=function(){this.wd="";this.Sh=qc};rc.prototype.Ab=!0;rc.prototype.yb=function(){return this.wd.toString()};rc.prototype.toString=function(){return"SafeHtml{"+this.wd+"}"};var tc=function(){var a=sc;if(a instanceof rc&&a.constructor===rc&&a.Sh===qc)return a.wd;Sa("expected object of type SafeHtml, got '"+a+"' of type "+Aa(a));return"type_error:SafeHtml"},qc={};rc.prototype.Xa=function(a){this.wd=a;return this};(new rc).Xa("<!DOCTYPE html>");var sc=(new rc).Xa("");(new rc).Xa("<br>");var uc=function(a){var b=new cc(ac,Yb(Zb));Tb(a,"HTMLIFrameElement");a.src=dc(b).toString()},vc=function(a,b){Tb(a,"HTMLScriptElement");a.src=dc(b);if(null===ya)b:{b=t.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&xa.test(b)){ya=b;break b}ya=""}b=ya;b&&a.setAttribute("nonce",b)};var wc=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")},xc=function(a){yb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(sb,"&")),-1!=a.indexOf("<")&&(a=a.replace(tb,"<")),-1!=a.indexOf(">")&&(a=a.replace(ub,">")),-1!=a.indexOf('"')&&(a=a.replace(vb,""")),-1!=a.indexOf("'")&&(a=a.replace(wb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(xb,"�")));return a},yc=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 zc=function(a){zc[" "](a);return a};zc[" "]=za;var Bc=function(a,b){var c=Ac;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Cc=Db("Opera"),Dc=Db("Trident")||Db("MSIE"),Ec=Db("Edge"),Fc=Db("Gecko")&&!(-1!=Ab.toLowerCase().indexOf("webkit")&&!Db("Edge"))&&!(Db("Trident")||Db("MSIE"))&&!Db("Edge"),Gc=-1!=Ab.toLowerCase().indexOf("webkit")&&!Db("Edge"),Hc=function(){var a=t.document;return a?a.documentMode:void 0},Ic;
|
|
a:{var Jc="",Kc=function(){var a=Ab;if(Fc)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ec)return/Edge\/([\d\.]+)/.exec(a);if(Dc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Gc)return/WebKit\/(\S+)/.exec(a);if(Cc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Kc&&(Jc=Kc?Kc[1]:"");if(Dc){var Lc=Hc();if(null!=Lc&&Lc>parseFloat(Jc)){Ic=String(Lc);break a}}Ic=Jc}
|
|
var Mc=Ic,Ac={},Nc=function(a){return Bc(a,function(){for(var b=0,c=rb(String(Mc)).split("."),d=rb(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",h=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;b=zb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||zb(0==g[2].length,0==h[2].length)||zb(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Oc;
|
|
Oc=t.document&&Dc?Hc():void 0;var Pc=Object.freeze||function(a){return a};var Qc=!Dc||9<=Number(Oc),Rc=Dc&&!Nc("9"),Sc=function(){if(!t.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{t.addEventListener("test",za,b),t.removeEventListener("test",za,b)}catch(c){}return a}();var Uc=function(a,b){Na.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.Ba=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(Fc){a:{try{zc(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=Gc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Gc||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:Tc[a.pointerType]||"";this.state=a.state;this.Ba=a;a.defaultPrevented&&this.preventDefault()}};
|
|
A(Uc,Na);var Tc=Pc({2:"touch",3:"pen",4:"mouse"});Uc.prototype.stopPropagation=function(){Uc.F.stopPropagation.call(this);this.Ba.stopPropagation?this.Ba.stopPropagation():this.Ba.cancelBubble=!0};Uc.prototype.preventDefault=function(){Uc.F.preventDefault.call(this);var a=this.Ba;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Rc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Vc="closure_listenable_"+(1E6*Math.random()|0),Wc=function(a){return!(!a||!a[Vc])},Xc=0;var Yc=function(a,b,c,d,e){this.listener=a;this.xd=null;this.src=b;this.type=c;this.capture=!!d;this.Wa=e;this.key=++Xc;this.bc=this.cd=!1},Zc=function(a){a.bc=!0;a.listener=null;a.xd=null;a.src=null;a.Wa=null};var $c=function(a){this.src=a;this.$={};this.Rc=0};$c.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.Rc++);var g=ad(a,b,d,e);-1<g?(b=a[g],c||(b.cd=!1)):(b=new Yc(b,this.src,f,!!d,e),b.cd=c,a.push(b));return b};$c.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.$))return!1;var e=this.$[a];b=ad(e,b,c,d);return-1<b?(Zc(e[b]),ib(e,b),0==e.length&&(delete this.$[a],this.Rc--),!0):!1};
|
|
var bd=function(a,b){var c=b.type;c in a.$&&jb(a.$[c],b)&&(Zc(b),0==a.$[c].length&&(delete a.$[c],a.Rc--))};$c.prototype.Mc=function(a){a=a&&a.toString();var b=0,c;for(c in this.$)if(!a||c==a){for(var d=this.$[c],e=0;e<d.length;e++)++b,Zc(d[e]);delete this.$[c];this.Rc--}};$c.prototype.xc=function(a,b,c,d){a=this.$[a.toString()];var e=-1;a&&(e=ad(a,b,c,d));return-1<e?a[e]:null};
|
|
$c.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Hb(this.$,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var ad=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.bc&&f.listener==b&&f.capture==!!c&&f.Wa==d)return e}return-1};var cd="closure_lm_"+(1E6*Math.random()|0),dd={},ed=0,gd=function(a,b,c,d,e){if(d&&d.once)return fd(a,b,c,d,e);if(u(b)){for(var f=0;f<b.length;f++)gd(a,b[f],c,d,e);return null}c=hd(c);return Wc(a)?a.Na(b,c,v(d)?!!d.capture:!!d,e):id(a,b,c,!1,d,e)},id=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=v(e)?!!e.capture:!!e,h=jd(a);h||(a[cd]=h=new $c(a));c=h.add(b,c,d,g,f);if(c.xd)return c;d=kd();c.xd=d;d.src=a;d.listener=c;if(a.addEventListener)Sc||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),
|
|
d,e);else if(a.attachEvent)a.attachEvent(ld(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");ed++;return c},kd=function(){var a=md,b=Qc?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},fd=function(a,b,c,d,e){if(u(b)){for(var f=0;f<b.length;f++)fd(a,b[f],c,d,e);return null}c=hd(c);return Wc(a)?
|
|
a.Gc(b,c,v(d)?!!d.capture:!!d,e):id(a,b,c,!0,d,e)},nd=function(a,b,c,d,e){if(u(b))for(var f=0;f<b.length;f++)nd(a,b[f],c,d,e);else d=v(d)?!!d.capture:!!d,c=hd(c),Wc(a)?a.Kd(b,c,d,e):a&&(a=jd(a))&&(b=a.xc(b,c,d,e))&&od(b)},od=function(a){if("number"!==typeof a&&a&&!a.bc){var b=a.src;if(Wc(b))bd(b.Aa,a);else{var c=a.type,d=a.xd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(ld(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ed--;(c=jd(b))?(bd(c,a),
|
|
0==c.Rc&&(c.src=null,b[cd]=null)):Zc(a)}}},ld=function(a){return a in dd?dd[a]:dd[a]="on"+a},qd=function(a,b,c,d){var e=!0;if(a=jd(a))if(b=a.$[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.bc&&(f=pd(f,d),e=e&&!1!==f)}return e},pd=function(a,b){var c=a.listener,d=a.Wa||a.src;a.cd&&od(a);return c.call(d,b)},md=function(a,b){if(a.bc)return!0;if(!Qc){if(!b)a:{b=["window","event"];for(var c=t,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new Uc(d,
|
|
this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.Hb&&0<=e;e--){b.currentTarget=d[e];var f=qd(d[e],a,!0,b);c=c&&f}for(e=0;!b.Hb&&e<d.length;e++)b.currentTarget=d[e],f=qd(d[e],a,!1,b),c=c&&f}return c}return pd(a,new Uc(b,this))},jd=function(a){a=a[cd];return a instanceof $c?a:null},rd="__closure_events_fn_"+
|
|
(1E9*Math.random()>>>0),hd=function(a){B(a,"Listener can not be null.");if(Ea(a))return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[rd]||(a[rd]=function(b){return a.handleEvent(b)});return a[rd]};var sd=function(){La.call(this);this.Aa=new $c(this);this.Zh=this;this.af=null};A(sd,La);sd.prototype[Vc]=!0;k=sd.prototype;k.addEventListener=function(a,b,c,d){gd(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){nd(this,a,b,c,d)};
|
|
k.dispatchEvent=function(a){td(this);var b=this.af;if(b){var c=[];for(var d=1;b;b=b.af)c.push(b),B(1E3>++d,"infinite loop")}b=this.Zh;d=a.type||a;if("string"===typeof a)a=new Na(a,b);else if(a instanceof Na)a.target=a.target||b;else{var e=a;a=new Na(d,b);Sb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Hb&&0<=f;f--){var g=a.currentTarget=c[f];e=ud(g,d,!0,a)&&e}a.Hb||(g=a.currentTarget=b,e=ud(g,d,!0,a)&&e,a.Hb||(e=ud(g,d,!1,a)&&e));if(c)for(f=0;!a.Hb&&f<c.length;f++)g=a.currentTarget=c[f],e=ud(g,d,!1,a)&&
|
|
e;return e};k.C=function(){sd.F.C.call(this);this.Aa&&this.Aa.Mc(void 0);this.af=null};k.Na=function(a,b,c,d){td(this);return this.Aa.add(String(a),b,!1,c,d)};k.Gc=function(a,b,c,d){return this.Aa.add(String(a),b,!0,c,d)};k.Kd=function(a,b,c,d){this.Aa.remove(String(a),b,c,d)};
|
|
var ud=function(a,b,c,d){b=a.Aa.$[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.bc&&g.capture==c){var h=g.listener,m=g.Wa||g.src;g.cd&&bd(a.Aa,g);e=!1!==h.call(m,d)&&e}}return e&&0!=d.rh};sd.prototype.xc=function(a,b,c,d){return this.Aa.xc(String(a),b,c,d)};sd.prototype.hasListener=function(a,b){return this.Aa.hasListener(void 0!==a?String(a):void 0,b)};var td=function(a){B(a.Aa,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var vd="StopIteration"in t?t.StopIteration:{message:"StopIteration",stack:""},wd=function(){};wd.prototype.next=function(){throw vd;};wd.prototype.Qb=function(){return this};
|
|
var xd=function(a){if(a instanceof wd)return a;if("function"==typeof a.Qb)return a.Qb(!1);if(Ca(a)){var b=0,c=new wd;c.next=function(){for(;;){if(b>=a.length)throw vd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},yd=function(a,b){if(Ca(a))try{Za(a,b,void 0)}catch(c){if(c!==vd)throw c;}else{a=xd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==vd)throw c;}}};var zd=function(a,b){this.j={};this.H=[];this.Tc=this.J=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};k=zd.prototype;k.M=function(){return this.J};k.T=function(){Ad(this);for(var a=[],b=0;b<this.H.length;b++)a.push(this.j[this.H[b]]);return a};k.Da=function(){Ad(this);return this.H.concat()};k.eb=function(a){return Bd(this.j,a)};
|
|
k.rc=function(a){for(var b=0;b<this.H.length;b++){var c=this.H[b];if(Bd(this.j,c)&&this.j[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.J!=a.M())return!1;b=b||Cd;Ad(this);for(var c,d=0;c=this.H[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Cd=function(a,b){return a===b};zd.prototype.isEmpty=function(){return 0==this.J};zd.prototype.clear=function(){this.j={};this.Tc=this.J=this.H.length=0};
|
|
zd.prototype.remove=function(a){return Bd(this.j,a)?(delete this.j[a],this.J--,this.Tc++,this.H.length>2*this.J&&Ad(this),!0):!1};var Ad=function(a){if(a.J!=a.H.length){for(var b=0,c=0;b<a.H.length;){var d=a.H[b];Bd(a.j,d)&&(a.H[c++]=d);b++}a.H.length=c}if(a.J!=a.H.length){var e={};for(c=b=0;b<a.H.length;)d=a.H[b],Bd(e,d)||(a.H[c++]=d,e[d]=1),b++;a.H.length=c}};k=zd.prototype;k.get=function(a,b){return Bd(this.j,a)?this.j[a]:b};
|
|
k.set=function(a,b){Bd(this.j,a)||(this.J++,this.H.push(a),this.Tc++);this.j[a]=b};k.addAll=function(a){if(a instanceof zd)for(var b=a.Da(),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.Da(),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 zd(this)};
|
|
k.Qb=function(a){Ad(this);var b=0,c=this.Tc,d=this,e=new wd;e.next=function(){if(c!=d.Tc)throw Error("The map has changed since the iterator was created");if(b>=d.H.length)throw vd;var f=d.H[b++];return a?f:d.j[f]};return e};var Bd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Dd=function(a){if(a.M&&"function"==typeof a.M)a=a.M();else if(Ca(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Ed=function(a){if(a.T&&"function"==typeof a.T)return a.T();if("string"===typeof a)return a.split("");if(Ca(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Ib(a)},Fd=function(a){if(a.Da&&"function"==typeof a.Da)return a.Da();if(!a.T||"function"!=typeof a.T){if(Ca(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);
|
|
return b}return Jb(a)}},Gd=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(Ca(a)||"string"===typeof a)Za(a,b,c);else for(var d=Fd(a),e=Ed(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Hd=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(Ca(a)||"string"===typeof a)return cb(a,b,void 0);for(var c=Fd(a),d=Ed(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 Id=function(a){this.j=new zd;a&&this.addAll(a)},Jd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[Fa]||(a[Fa]=++Ga)):b.substr(0,1)+a};k=Id.prototype;k.M=function(){return this.j.M()};k.add=function(a){this.j.set(Jd(a),a)};k.addAll=function(a){a=Ed(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.Mc=function(a){a=Ed(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.j.remove(Jd(a))};k.clear=function(){this.j.clear()};k.isEmpty=function(){return this.j.isEmpty()};
|
|
k.contains=function(a){return this.j.eb(Jd(a))};k.Og=function(a){var b=new Id;a=Ed(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.ue=function(a){var b=this.clone();b.Mc(a);return b};k.T=function(){return this.j.T()};k.clone=function(){return new Id(this)};k.equals=function(a){return this.M()==Dd(a)&&Kd(this,a)};
|
|
var Kd=function(a,b){var c=Dd(b);if(a.M()>c)return!1;!(b instanceof Id)&&5<c&&(b=new Id(b));return Hd(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.rc&&"function"==typeof e.rc?e.rc(d):Ca(e)||"string"===typeof e?gb(e,d):Kb(e,d)})};Id.prototype.Qb=function(){return this.j.Qb(!1)};var ee={},Ld=function(a,b,c){sd.call(this);this.wi=b;this.token=c;this.mb=[];this.Ff=new Id;this.kb=0;this.url=a};A(Ld,sd);y("ee.AbstractOverlay",Ld);var Md=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.wi,c,e,b.y].join("/")};Ld.prototype.Fe=function(){return this.mb.length};var Nd=function(a){Na.call(this,"tileevent");this.count=a};A(Nd,Na);var Od=function(){},Pd=new Od;function Qd(a){return Object.assign({P:{},nk:{},keys:[],wa:{},s:{},L:{}},a)}var C=function(){this.a={}};C.prototype.f=function(){return{}};var D=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},F=function(a,b){return null!=a.a[b]};function Rd(a,b){return D(b,a)}function Sd(a,b,c){b[a]=c}function Td(){return{}}function Ud(a,b){var c=new a;return null==b?c:Vd(b,Wd,Xd,Yd,a)}function Wd(a,b){return b[a]}function Xd(a,b,c){b.a[a]=c}
|
|
function Yd(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
|
|
function Vd(a,b,c,d,e){e=d(e);var f=Zd(a,e),g=f.P||{},h=f.s||{},m=f.wa||{},p={};f=l(f.keys||[]);for(var q=f.next();!q.done;p={kc:p.kc},q=f.next()){q=q.value;var w=b(q,a);if(null!=w){var z=void 0;g.hasOwnProperty(q)?z=$d(w,b,c,d,!0,!0,g[q]):h.hasOwnProperty(q)?z=$d(w,b,c,d,!1,!0,h[q]):m.hasOwnProperty(q)?(p.kc=m[q],z=p.kc.ka?w.map(function(E){return function(M){return ae(M,E.kc,b,c,d)}}(p)):ae(w,p.kc,b,c,d)):z=Array.isArray(w)?$d(w,b,c,d,!0,!1):w instanceof Od?null:w;c(q,e,z)}}return e}
|
|
function ae(a,b,c,d,e){for(var f={},g=l(Object.keys(a)),h=g.next();!h.done;h=g.next()){h=h.value;var m=a[h];null!=m&&(f[h]=$d(m,c,d,e,b.ma,b.la,b.fa))}return f}function $d(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 Vd(h,b,c,d,g)}):e&&!f?a.map(function(h){return h}):!e&&f?Vd(a,b,c,d,g):a instanceof Od?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
|
|
function Zd(a,b){if(b instanceof C)a=Qd(b.f());else if(a instanceof C)a=Qd(a.f());else throw Error("Cannot find ClassMetadata.");return a};var be=function(){};be.prototype.w=function(a,b){a=String(a);if(!b.test(a))throw Error("parameter ["+a+"] does not match pattern ["+b.toString()+"]");};function ce(a){var b=a.body instanceof C?Vd(a.body,Rd,Sd,Td):a.body;return{path:a.path,u:a.u,B:a.B,body:b,o:a.o}};function de(a,b){if(null==a)return null;a=a.pk(b);return null==a?null:a};var fe=function(a,b){this.U=a;this.oi=void 0===b?null:b};n(fe,be);var ge=function(a,b,c){var d=de(a.oi,b);if(null==d)return c;d.qk();return c.then(function(e){d.sk(e);return e},function(e){d.rk(e);throw e;})},G=function(a,b){var c=b.D||void 0;return ge(a,b,a.U.send(ce(b),c))};function he(a){if(null!=a.o){var b={},c;for(c in a.o)void 0!==a.o[c]&&(b[c]=a.o[c]);a.o=b}};var ie=function(){};ie.prototype.send=function(a,b){he(a);return(void 0).then(function(c){return b?Ud(b,c):c})};var je={get Kh(){return"ADMIN_READ"},get Lh(){return"DATA_READ"},get Mh(){return"DATA_WRITE"},get Ej(){return"LOG_TYPE_UNSPECIFIED"},values:function(){return["LOG_TYPE_UNSPECIFIED","ADMIN_READ","DATA_WRITE","DATA_READ"]}},ke={get Kh(){return"ADMIN_READ"},get Ri(){return"ADMIN_WRITE"},get Lh(){return"DATA_READ"},get Mh(){return"DATA_WRITE"},get Nj(){return"PERMISSION_TYPE_UNSPECIFIED"},values:function(){return["PERMISSION_TYPE_UNSPECIFIED","ADMIN_READ","ADMIN_WRITE","DATA_READ","DATA_WRITE"]}},le=
|
|
{get $i(){return"CAPABILITY_GROUP_UNSPECIFIED"},get aj(){return"CLOUD_ALPHA"},get kj(){return"EXTERNAL"},get vj(){return"INTERNAL"},get Aj(){return"LIMITED"},get Oj(){return"PREAUTHORIZED"},get Qj(){return"PREVIEW"},get Rh(){return"PUBLIC"},values:function(){return"CAPABILITY_GROUP_UNSPECIFIED PUBLIC INTERNAL EXTERNAL LIMITED PREAUTHORIZED PREVIEW CLOUD_ALPHA".split(" ")}},me={get Qi(){return"ADMIN_ACTIVITY"},get dj(){return"DATA_ACCESS"},get gk(){return"UNSPECIFIED_LOG_NAME"},values:function(){return["UNSPECIFIED_LOG_NAME",
|
|
"ADMIN_ACTIVITY","DATA_ACCESS"]}},ne={get Ui(){return"APPROVER"},get Vi(){return"ATTRIBUTION"},get Wi(){return"AUTHORITY"},get bj(){return"CREDENTIALS_TYPE"},get xj(){return"JUSTIFICATION_TYPE"},get Qh(){return"NO_ATTR"},get Uj(){return"SECURITY_REALM"},values:function(){return"NO_ATTR AUTHORITY ATTRIBUTION SECURITY_REALM APPROVER JUSTIFICATION_TYPE CREDENTIALS_TYPE".split(" ")}},oe={get ij(){return"DISCHARGED"},get jj(){return"EQUALS"},get rj(){return"IN"},get Gj(){return"NOT_EQUALS"},get Hj(){return"NOT_IN"},
|
|
get Kj(){return"NO_OP"},values:function(){return"NO_OP EQUALS NOT_EQUALS IN NOT_IN DISCHARGED".split(" ")}},pe={get wj(){return"IP"},get Fj(){return"NAME"},get Qh(){return"NO_ATTR"},get Sj(){return"REGION"},get Vj(){return"SERVICE"},values:function(){return["NO_ATTR","REGION","SERVICE","NAME","IP"]}},qe={get Cj(){return"LOG_FAIL_CLOSED"},get Dj(){return"LOG_MODE_UNSPECIFIED"},values:function(){return["LOG_MODE_UNSPECIFIED","LOG_FAIL_CLOSED"]}},re={get mj(){return"FOLDER"},get pj(){return"IMAGE"},
|
|
get qj(){return"IMAGE_COLLECTION"},get Zj(){return"TABLE"},get ck(){return"TYPE_UNSPECIFIED"},values:function(){return["TYPE_UNSPECIFIED","IMAGE","IMAGE_COLLECTION","TABLE","FOLDER"]}},se={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},
|
|
te={get ik(){return"V1"},get jk(){return"V2"},get kk(){return"VERSION_UNSPECIFIED"},values:function(){return["VERSION_UNSPECIFIED","V1","V2"]}},ue={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},
|
|
ve={get oj(){return"HORIZONTAL"},get Lj(){return"ORIENTATION_UNSPECIFIED"},get lk(){return"VERTICAL"},values:function(){return["ORIENTATION_UNSPECIFIED","HORIZONTAL","VERTICAL"]}},we={get fj(){return"DEFAULT_OBJECT_ACL"},get Rh(){return"PUBLIC"},get bk(){return"TILE_PERMISSIONS_UNSPECIFIED"},values:function(){return["TILE_PERMISSIONS_UNSPECIFIED","PUBLIC","DEFAULT_OBJECT_ACL"]}},xe={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},
|
|
get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},ye={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},ze={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},
|
|
get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},Ae={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},
|
|
Be={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},Ce={get Yi(){return"CANCELLED"},get Zi(){return"CANCELLING"},get lj(){return"FAILED"},get Mj(){return"PENDING"},get Tj(){return"RUNNING"},get Xj(){return"STATE_UNSPECIFIED"},get Yj(){return"SUCCEEDED"},values:function(){return"STATE_UNSPECIFIED PENDING RUNNING CANCELLING SUCCEEDED CANCELLED FAILED".split(" ")}},
|
|
De={get Nh(){return"DOUBLE"},get FLOAT(){return"FLOAT"},get INT(){return"INT"},get Pj(){return"PRECISION_UNSPECIFIED"},values:function(){return["PRECISION_UNSPECIFIED","INT","FLOAT","DOUBLE"]}},Ee={get Si(){return"ALLOW"},get Ti(){return"ALLOW_WITH_LOG"},get gj(){return"DENY"},get hj(){return"DENY_WITH_LOG"},get Bj(){return"LOG"},get Jj(){return"NO_ACTION"},values:function(){return"NO_ACTION ALLOW ALLOW_WITH_LOG DENY DENY_WITH_LOG LOG".split(" ")}},Fe={get cj(){return"CSV"},get nj(){return"GEO_JSON"},
|
|
get yj(){return"KML"},get zj(){return"KMZ"},get Wj(){return"SHP"},get $j(){return"TABLE_FILE_FORMAT_UNSPECIFIED"},get ak(){return"TF_RECORD_TABLE"},values:function(){return"TABLE_FILE_FORMAT_UNSPECIFIED CSV GEO_JSON KML KMZ SHP TF_RECORD_TABLE".split(" ")}},Ge={get Rd(){return"AUTO_JPEG_PNG"},get Sd(){return"GEO_TIFF"},get Td(){return"IMAGE_FILE_FORMAT_UNSPECIFIED"},get Ud(){return"JPEG"},get Vd(){return"MULTI_BAND_IMAGE_TILE"},get Wd(){return"NPY"},get Xd(){return"PNG"},get Yd(){return"TF_RECORD_IMAGE"},
|
|
values:function(){return"IMAGE_FILE_FORMAT_UNSPECIFIED JPEG PNG AUTO_JPEG_PNG NPY GEO_TIFF TF_RECORD_IMAGE MULTI_BAND_IMAGE_TILE".split(" ")}},He={get MAX(){return"MAX"},get Vc(){return"MEAN"},get MIN(){return"MIN"},get Wc(){return"MODE"},get Xc(){return"PYRAMIDING_POLICY_UNSPECIFIED"},get Yc(){return"SAMPLE"},values:function(){return"PYRAMIDING_POLICY_UNSPECIFIED MEAN SAMPLE MIN MAX MODE".split(" ")}},Ie={get ej(){return"DATA_TYPE_UNSPECIFIED"},get Nh(){return"DOUBLE"},get FLOAT(){return"FLOAT"},
|
|
get sj(){return"INT16"},get tj(){return"INT32"},get uj(){return"INT8"},get dk(){return"UINT16"},get ek(){return"UINT32"},get fk(){return"UINT8"},values:function(){return"DATA_TYPE_UNSPECIFIED INT8 UINT8 INT16 UINT16 INT32 UINT32 FLOAT DOUBLE".split(" ")}},Je={get Oh(){return"GIF"},get Ph(){return"MP4"},get Wh(){return"VIDEO_FILE_FORMAT_UNSPECIFIED"},get Xh(){return"VP9"},values:function(){return["VIDEO_FILE_FORMAT_UNSPECIFIED","MP4","GIF","VP9"]}},Ke={get Oh(){return"GIF"},get Ph(){return"MP4"},get Wh(){return"VIDEO_FILE_FORMAT_UNSPECIFIED"},
|
|
get Xh(){return"VP9"},values:function(){return["VIDEO_FILE_FORMAT_UNSPECIFIED","MP4","GIF","VP9"]}},Le=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.pf?null:a.pf;this.a.shearX=null==a.uf?null:a.uf;this.a.translateX=null==a.If?null:a.If;this.a.shearY=null==a.vf?null:a.vf;this.a.scaleY=null==a.qf?null:a.qf;this.a.translateY=null==a.Jf?null:a.Jf};n(Le,C);Le.prototype.f=function(){return{keys:"scaleX scaleY shearX shearY translateX translateY".split(" ")}};
|
|
r.Object.defineProperties(Le.prototype,{pf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleX")?D(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scaleY")?D(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},uf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearX")?D(this,"shearX"):null},set:function(a){this.a.shearX=a}},vf:{configurable:!0,enumerable:!0,get:function(){return F(this,"shearY")?
|
|
D(this,"shearY"):null},set:function(a){this.a.shearY=a}},If:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateX")?D(this,"translateX"):null},set:function(a){this.a.translateX=a}},Jf:{configurable:!0,enumerable:!0,get:function(){return F(this,"translateY")?D(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
|
|
var Me=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.description=null==a.description?null:a.description;this.a.returnType=null==a.nf?null:a.nf;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.se?null:a.se;this.a.hidden=null==a.hidden?null:a.hidden;this.a.preview=null==a.preview?null:a.preview};n(Me,C);Me.prototype.f=function(){return{P:{arguments:Ne},keys:"arguments deprecated deprecationReason description hidden name preview returnType".split(" ")}};
|
|
r.Object.defineProperties(Me.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?D(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecated")?D(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},se:{configurable:!0,enumerable:!0,get:function(){return F(this,"deprecationReason")?D(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return F(this,"hidden")?D(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},preview:{configurable:!0,enumerable:!0,get:function(){return F(this,"preview")?D(this,"preview"):null},set:function(a){this.a.preview=
|
|
a}},nf:{configurable:!0,enumerable:!0,get:function(){return F(this,"returnType")?D(this,"returnType"):null},set:function(a){this.a.returnType=a}}});var Ne=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.ad?null:a.ad;this.a.type=null==a.type?null:a.type;this.a.description=null==a.description?null:a.description;this.a.optional=null==a.optional?null:a.optional;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue};n(Ne,C);
|
|
Ne.prototype.f=function(){return{keys:["argumentName","defaultValue","description","optional","type"]}};
|
|
r.Object.defineProperties(Ne.prototype,{ad:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentName")?D(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?D(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"optional")?D(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}}});var Oe=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(Oe,C);Oe.prototype.f=function(){return{P:{values:Pe},keys:["values"]}};
|
|
r.Object.defineProperties(Oe.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var Qe=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.uh?null:a.uh;this.a.exemptedMembers=null==a.vc?null:a.vc;this.a.auditLogConfigs=null==a.Rf?null:a.Rf};n(Qe,C);Qe.prototype.f=function(){return{P:{auditLogConfigs:Re},keys:["auditLogConfigs","exemptedMembers","service"]}};
|
|
r.Object.defineProperties(Qe.prototype,{Rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditLogConfigs")?D(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},uh:{configurable:!0,enumerable:!0,get:function(){return F(this,"service")?D(this,"service"):null},set:function(a){this.a.service=a}}});
|
|
var Re=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.Xg?null:a.Xg;this.a.exemptedMembers=null==a.vc?null:a.vc;this.a.ignoreChildExemptions=null==a.Lg?null:a.Lg};n(Re,C);Re.prototype.f=function(){return{L:{logType:je},keys:["exemptedMembers","ignoreChildExemptions","logType"]}};
|
|
r.Object.defineProperties(Re.prototype,{vc:{configurable:!0,enumerable:!0,get:function(){return F(this,"exemptedMembers")?D(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},Lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"ignoreChildExemptions")?D(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},Xg:{configurable:!0,enumerable:!0,get:function(){return F(this,"logType")?D(this,"logType"):null},set:function(a){this.a.logType=
|
|
a}}});var Se=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.hh?null:a.hh};n(Se,C);Se.prototype.f=function(){return{L:{permissionType:ke},keys:["permissionType"]}};r.Object.defineProperties(Se.prototype,{hh:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissionType")?D(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
|
|
var Te=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.ec?null:a.ec;this.a.members=null==a.Eb?null:a.Eb;this.a.condition=null==a.bg?null:a.bg};n(Te,C);Te.prototype.f=function(){return{keys:["condition","members","role"],s:{condition:Ue}}};
|
|
r.Object.defineProperties(Te.prototype,{bg:{configurable:!0,enumerable:!0,get:function(){return F(this,"condition")?D(this,"condition"):null},set:function(a){this.a.condition=a}},Eb:{configurable:!0,enumerable:!0,get:function(){return F(this,"members")?D(this,"members"):null},set:function(a){this.a.members=a}},ec:{configurable:!0,enumerable:!0,get:function(){return F(this,"role")?D(this,"role"):null},set:function(a){this.a.role=a}}});var Ve=function(){this.a={}};n(Ve,C);Ve.prototype.f=function(){return{keys:[]}};
|
|
var We=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.Zf?null:a.Zf};n(We,C);We.prototype.f=function(){return{L:{capabilities:le},keys:["capabilities"]}};r.Object.defineProperties(We.prototype,{Zf:{configurable:!0,enumerable:!0,get:function(){return F(this,"capabilities")?D(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});var Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.Wg?null:a.Wg;this.a.authorizationLoggingOptions=null==a.Sf?null:a.Sf};
|
|
n(Xe,C);Xe.prototype.f=function(){return{L:{logName:me},keys:["authorizationLoggingOptions","logName"],s:{authorizationLoggingOptions:Se}}};
|
|
r.Object.defineProperties(Xe.prototype,{Sf:{configurable:!0,enumerable:!0,get:function(){return F(this,"authorizationLoggingOptions")?D(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},Wg:{configurable:!0,enumerable:!0,get:function(){return F(this,"logName")?D(this,"logName"):null},set:function(a){this.a.logName=a}}});var Ye=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i};n(Ye,C);
|
|
Ye.prototype.f=function(){return{keys:["expression"],s:{expression:Ze}}};r.Object.defineProperties(Ye.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}}});var $e=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};n($e,C);$e.prototype.f=function(){return{keys:["result"]}};
|
|
r.Object.defineProperties($e.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?D(this,"result"):null},set:function(a){this.a.result=a}}});var af=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.Hg?null:a.Hg;this.a.sys=null==a.Bh?null:a.Bh;this.a.svc=null==a.Ah?null:a.Ah;this.a.op=null==a.fh?null:a.fh;this.a.values=null==a.values?null:a.values};n(af,C);af.prototype.f=function(){return{L:{iam:ne,op:oe,sys:pe},keys:["iam","op","svc","sys","values"]}};
|
|
r.Object.defineProperties(af.prototype,{Hg:{configurable:!0,enumerable:!0,get:function(){return F(this,"iam")?D(this,"iam"):null},set:function(a){this.a.iam=a}},fh:{configurable:!0,enumerable:!0,get:function(){return F(this,"op")?D(this,"op"):null},set:function(a){this.a.op=a}},Ah:{configurable:!0,enumerable:!0,get:function(){return F(this,"svc")?D(this,"svc"):null},set:function(a){this.a.svc=a}},Bh:{configurable:!0,enumerable:!0,get:function(){return F(this,"sys")?D(this,"sys"):null},set:function(a){this.a.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var bf=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.rb?null:a.rb;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.ea?null:a.ea};n(bf,C);bf.prototype.f=function(){return{keys:["bandIds","destinationName","overwrite"]}};
|
|
r.Object.defineProperties(bf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?D(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}}});
|
|
var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.Yg?null:a.Yg;this.a.field=null==a.tg?null:a.tg;this.a.customFields=null==a.kg?null:a.kg};n(cf,C);cf.prototype.f=function(){return{P:{customFields:df},keys:["customFields","field","metric"]}};
|
|
r.Object.defineProperties(cf.prototype,{kg:{configurable:!0,enumerable:!0,get:function(){return F(this,"customFields")?D(this,"customFields"):null},set:function(a){this.a.customFields=a}},tg:{configurable:!0,enumerable:!0,get:function(){return F(this,"field")?D(this,"field"):null},set:function(a){this.a.field=a}},Yg:{configurable:!0,enumerable:!0,get:function(){return F(this,"metric")?D(this,"metric"):null},set:function(a){this.a.metric=a}}});
|
|
var df=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.value=null==a.value?null:a.value};n(df,C);df.prototype.f=function(){return{keys:["name","value"]}};r.Object.defineProperties(df.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},value:{configurable:!0,enumerable:!0,get:function(){return F(this,"value")?D(this,"value"):null},set:function(a){this.a.value=a}}});
|
|
var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.Vg?null:a.Vg};n(ef,C);ef.prototype.f=function(){return{L:{logMode:qe},keys:["logMode"]}};r.Object.defineProperties(ef.prototype,{Vg:{configurable:!0,enumerable:!0,get:function(){return F(this,"logMode")?D(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var ff=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(ff,C);
|
|
ff.prototype.f=function(){return{keys:["values"],wa:{values:{fa:Pe,ka:!1,la:!0,ma:!1}}}};r.Object.defineProperties(ff.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var gf=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};n(gf,C);gf.prototype.f=function(){return{keys:["max","min"]}};
|
|
r.Object.defineProperties(gf.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?D(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?D(this,"min"):null},set:function(a){this.a.min=a}}});var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.De?null:a.De;this.a.filenamePrefix=null==a.ub?null:a.ub};n(hf,C);hf.prototype.f=function(){return{keys:["filenamePrefix","folder"]}};
|
|
r.Object.defineProperties(hf.prototype,{ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},De:{configurable:!0,enumerable:!0,get:function(){return F(this,"folder")?D(this,"folder"):null},set:function(a){this.a.folder=a}}});
|
|
var jf=function(a){a=void 0===a?{}:a;this.a={};this.a.type=null==a.type?null:a.type;this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=
|
|
null==a.bands?null:a.bands;this.a.sizeBytes=null==a.ya?null:a.ya;this.a.quota=null==a.quota?null:a.quota;this.a.tilestoreEntry=null==a.Eh?null:a.Eh;this.a.expression=null==a.i?null:a.i};n(jf,C);
|
|
jf.prototype.f=function(){return{P:{bands:kf},L:{type:re},keys:"bands description endTime expression geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),wa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{expression:Ze,quota:lf,tilestoreEntry:mf}}};
|
|
r.Object.defineProperties(jf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},geometry:{configurable:!0,enumerable:!0,get:function(){return F(this,"geometry")?D(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,enumerable:!0,get:function(){return F(this,"quota")?D(this,"quota"):null},set:function(a){this.a.quota=a}},ya:{configurable:!0,enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=
|
|
a}},Eh:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilestoreEntry")?D(this,"tilestoreEntry"):null},set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):
|
|
null},set:function(a){this.a.updateTime=a}}});var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};n(nf,C);nf.prototype.f=function(){return{keys:["name"]}};r.Object.defineProperties(nf.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}}});
|
|
var of=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.G?null:a.G;this.a.bandIds=null==a.ea?null:a.ea;this.a.visualizationOptions=null==a.Ob?null:a.Ob};n(of,C);of.prototype.f=function(){return{L:{fileFormat:se},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],s:{expression:Ze,visualizationOptions:pf}}};
|
|
r.Object.defineProperties(of.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var qf=function(){this.a={}};n(qf,C);qf.prototype.f=function(){return{keys:[]}};
|
|
var rf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Sa?null:a.Sa;this.a.maxPixels=null==a.Xe?null:a.Xe;this.a.grid=null==a.K?null:a.K;this.a.requestId=null==a.I?null:a.I};n(rf,C);
|
|
rf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions grid maxPixels requestId".split(" "),s:{assetExportOptions:sf,expression:Ze,fileExportOptions:tf,grid:uf}}};
|
|
r.Object.defineProperties(rf.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?D(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},Xe:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixels")?D(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},I:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,
|
|
"requestId"):null},set:function(a){this.a.requestId=a}}});var vf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.tileOptions=null==a.Kb?null:a.Kb;this.a.tileExportOptions=null==a.Jb?null:a.Jb;this.a.requestId=null==a.I?null:a.I};n(vf,C);vf.prototype.f=function(){return{keys:["description","expression","requestId","tileExportOptions","tileOptions"],s:{expression:Ze,tileExportOptions:tf,tileOptions:wf}}};
|
|
r.Object.defineProperties(vf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Jb:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?D(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}}});
|
|
var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Sa?null:a.Sa;this.a.selectors=null==a.selectors?null:a.selectors;this.a.maxErrorMeters=null==a.Cb?null:a.Cb;this.a.requestId=null==a.I?null:a.I};n(xf,C);
|
|
xf.prototype.f=function(){return{keys:"assetExportOptions description expression fileExportOptions maxErrorMeters requestId selectors".split(" "),s:{assetExportOptions:yf,expression:Ze,fileExportOptions:zf}}};
|
|
r.Object.defineProperties(xf.prototype,{Sa:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetExportOptions")?D(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Cb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?D(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},I:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"selectors")?D(this,"selectors"):null},set:function(a){this.a.selectors=a}}});var Af=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.tileOptions=null==a.Kb?null:a.Kb;this.a.tileExportOptions=null==a.Jb?null:a.Jb;this.a.requestId=null==a.I?null:a.I;this.a.version=null==a.version?null:a.version};n(Af,C);
|
|
Af.prototype.f=function(){return{L:{version:te},keys:"description expression requestId tileExportOptions tileOptions version videoOptions".split(" "),s:{expression:Ze,tileExportOptions:Bf,tileOptions:wf,videoOptions:Cf}}};
|
|
r.Object.defineProperties(Af.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Jb:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"tileExportOptions")?D(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Kb:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileOptions")?D(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?D(this,"version"):null},set:function(a){this.a.version=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):
|
|
null},set:function(a){this.a.videoOptions=a}}});var Df=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.requestId=null==a.I?null:a.I};n(Df,C);Df.prototype.f=function(){return{keys:["description","expression","fileExportOptions","requestId","videoOptions"],s:{expression:Ze,fileExportOptions:Bf,videoOptions:Cf}}};
|
|
r.Object.defineProperties(Df.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileExportOptions")?D(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},I:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var Ue=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.i?null:a.i;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.location=null==a.location?null:a.location};
|
|
n(Ue,C);Ue.prototype.f=function(){return{keys:["description","expression","location","title"]}};
|
|
r.Object.defineProperties(Ue.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return F(this,"location")?D(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}}});var Ze=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values;this.a.result=null==a.result?null:a.result};n(Ze,C);Ze.prototype.f=function(){return{keys:["result","values"],wa:{values:{fa:Pe,ka:!1,la:!0,ma:!1}}}};
|
|
r.Object.defineProperties(Ze.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return F(this,"result")?D(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.orientation=null==a.orientation?null:a.orientation;this.a.fileFormat=null==a.G?null:a.G;this.a.grid=null==a.K?null:a.K};n(Ef,C);Ef.prototype.f=function(){return{L:{fileFormat:ue,orientation:ve},keys:["expression","fileFormat","grid","name","orientation"],s:{expression:Ze,grid:uf}}};
|
|
r.Object.defineProperties(Ef.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return F(this,"orientation")?D(this,"orientation"):null},set:function(a){this.a.orientation=a}}});var lf=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.ya?null:a.ya;this.a.maxSizeBytes=null==a.Db?null:a.Db;this.a.assetCount=null==a.ce?null:a.ce;this.a.maxAssetCount=null==a.Ve?null:a.Ve};n(lf,C);
|
|
lf.prototype.f=function(){return{keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"]}};
|
|
r.Object.defineProperties(lf.prototype,{ce:{configurable:!0,enumerable:!0,get:function(){return F(this,"assetCount")?D(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxAssetCount")?D(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Db:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?D(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},ya:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}}});var Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.mc?null:a.mc;this.a.body=null==a.body?null:a.body};n(Ff,C);Ff.prototype.f=function(){return{keys:["argumentNames","body"]}};
|
|
r.Object.defineProperties(Ff.prototype,{mc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentNames")?D(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return F(this,"body")?D(this,"body"):null},set:function(a){this.a.body=a}}});
|
|
var Gf=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.gb?null:a.gb;this.a.arguments=null==a.arguments?null:a.arguments};n(Gf,C);Gf.prototype.f=function(){return{keys:["arguments","functionName","functionReference"],wa:{arguments:{fa:Pe,ka:!1,la:!0,ma:!1}}}};
|
|
r.Object.defineProperties(Gf.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return F(this,"arguments")?D(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionName")?D(this,"functionName"):null},set:function(a){this.a.functionName=a}},gb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionReference")?D(this,"functionReference"):null},set:function(a){this.a.functionReference=
|
|
a}}});var Hf=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.ge?null:a.ge;this.a.filenamePrefix=null==a.ub?null:a.ub;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.he?null:a.he};n(Hf,C);Hf.prototype.f=function(){return{L:{permissions:we},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"]}};
|
|
r.Object.defineProperties(Hf.prototype,{ge:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucket")?D(this,"bucket"):null},set:function(a){this.a.bucket=a}},he:{configurable:!0,enumerable:!0,get:function(){return F(this,"bucketCorsUris")?D(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},ub:{configurable:!0,enumerable:!0,get:function(){return F(this,"filenamePrefix")?D(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"permissions")?D(this,"permissions"):null},set:function(a){this.a.permissions=a}}});r.Object.defineProperties(Hf,{Permissions:{configurable:!0,enumerable:!0,get:function(){return we}}});var If=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.ke?null:a.ke;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.skipEmptyFiles=null==a.xf?null:a.xf};n(If,C);
|
|
If.prototype.f=function(){return{keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],s:{tileDimensions:Jf}}};
|
|
r.Object.defineProperties(If.prototype,{ke:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudOptimized")?D(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},xf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyFiles")?D(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var Kf=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};n(Kf,C);Kf.prototype.f=function(){return{keys:["options"],s:{options:Lf}}};r.Object.defineProperties(Kf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return F(this,"options")?D(this,"options"):null},set:function(a){this.a.options=a}}});var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.oh?null:a.oh};n(Lf,C);Lf.prototype.f=function(){return{keys:["requestedPolicyVersion"]}};
|
|
r.Object.defineProperties(Lf.prototype,{oh:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestedPolicyVersion")?D(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var Jf=function(a){a=void 0===a?{}:a;this.a={};this.a.width=null==a.width?null:a.width;this.a.height=null==a.height?null:a.height};n(Jf,C);Jf.prototype.f=function(){return{keys:["height","width"]}};
|
|
r.Object.defineProperties(Jf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return F(this,"height")?D(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return F(this,"width")?D(this,"width"):null},set:function(a){this.a.width=a}}});var Mf=function(a){a=void 0===a?{}:a;this.a={};this.a.x=null==a.x?null:a.x;this.a.y=null==a.y?null:a.y};n(Mf,C);Mf.prototype.f=function(){return{keys:["x","y"]}};
|
|
r.Object.defineProperties(Mf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return F(this,"x")?D(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return F(this,"y")?D(this,"y"):null},set:function(a){this.a.y=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.id=null==a.id?null:a.id;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.title=null==a.title?null:a.title;this.a.description=null==a.description?null:a.description;this.a.properties=null==a.properties?null:a.properties;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.geometry=null==a.geometry?null:a.geometry;this.a.bands=null==a.bands?null:a.bands;this.a.sizeBytes=
|
|
null==a.ya?null:a.ya};n(Nf,C);Nf.prototype.f=function(){return{P:{bands:kf},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),wa:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
|
|
r.Object.defineProperties(Nf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"geometry")?D(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},ya:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"sizeBytes")?D(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return F(this,"title")?D(this,"title"):null},set:function(a){this.a.title=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):null},set:function(a){this.a.updateTime=
|
|
a}}});var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.tb?null:a.tb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.hf?null:a.hf};n(sf,C);sf.prototype.f=function(){return{L:{pyramidingPolicy:xe,pyramidingPolicyOverrides:ye},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides"],wa:{pyramidingPolicyOverrides:{fa:null,ka:!1,la:!1,ma:!1}},s:{earthEngineDestination:nf}}};
|
|
r.Object.defineProperties(sf.prototype,{tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?D(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},hf:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicyOverrides")?D(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.a.pyramidingPolicyOverrides=a}}});var kf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.dataType=null==a.dataType?null:a.dataType;this.a.grid=null==a.K?null:a.K;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.missingData=null==a.missingData?null:a.missingData};n(kf,C);
|
|
kf.prototype.f=function(){return{P:{tilesets:Of},L:{pyramidingPolicy:ze},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),s:{dataType:Pf,grid:uf,missingData:Qf}}};
|
|
r.Object.defineProperties(kf.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?D(this,"dataType"):null},set:function(a){this.a.dataType=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?
|
|
D(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?D(this,"tilesets"):null},set:function(a){this.a.tilesets=a}}});
|
|
var tf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.G?null:a.G;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia;this.a.geoTiffOptions=null==a.jd?null:a.jd;this.a.tfRecordOptions=null==a.Fd?null:a.Fd};n(tf,C);tf.prototype.f=function(){return{L:{fileFormat:Ae},keys:["driveDestination","fileFormat","gcsDestination","geoTiffOptions","tfRecordOptions"],s:{driveDestination:hf,gcsDestination:Hf,geoTiffOptions:If,tfRecordOptions:Rf}}};
|
|
r.Object.defineProperties(tf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},jd:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"geoTiffOptions")?D(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Fd:{configurable:!0,enumerable:!0,get:function(){return F(this,"tfRecordOptions")?D(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
|
|
var Sf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.Sc?null:a.Sc;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.Ue?null:a.Ue;this.a.footprint=null==a.zg?null:a.zg;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.startTime=null==a.startTime?
|
|
null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};n(Sf,C);Sf.prototype.f=function(){return{P:{bands:Tf,maskBands:Uf,tilesets:Vf},L:{pyramidingPolicy:Be},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),wa:{properties:{fa:null,ka:!1,la:!1,ma:!1}},s:{footprint:Wf,missingData:Qf}}};
|
|
r.Object.defineProperties(Sf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return F(this,"bands")?D(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},zg:{configurable:!0,enumerable:!0,get:function(){return F(this,"footprint")?D(this,"footprint"):null},set:function(a){this.a.footprint=a}},Ue:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"maskBands")?D(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?D(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesets")?D(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},Sc:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var Xf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Mb?null:a.Mb;this.a.affineTransform=null==a.nb?null:a.nb};n(Xf,C);Xf.prototype.f=function(){return{keys:["affineTransform","uris"],s:{affineTransform:Le}}};
|
|
r.Object.defineProperties(Xf.prototype,{nb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}}});
|
|
var Yf=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.Ke?null:a.Ke;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.I?null:a.I};n(Yf,C);Yf.prototype.f=function(){return{keys:["description","imageManifest","overwrite","requestId"],s:{imageManifest:Sf}}};
|
|
r.Object.defineProperties(Yf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},Ke:{configurable:!0,enumerable:!0,get:function(){return F(this,"imageManifest")?D(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},I:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}}});var Zf=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.Df?null:a.Df;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.I?null:a.I};n(Zf,C);Zf.prototype.f=function(){return{keys:["description","overwrite","requestId","tableManifest"],s:{tableManifest:$f}}};
|
|
r.Object.defineProperties(Zf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return F(this,"overwrite")?D(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},I:{configurable:!0,enumerable:!0,get:function(){return F(this,"requestId")?D(this,"requestId"):null},set:function(a){this.a.requestId=a}},Df:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"tableManifest")?D(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var ag=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.lc?null:a.lc};n(ag,C);ag.prototype.f=function(){return{P:{algorithms:Me},keys:["algorithms"]}};r.Object.defineProperties(ag.prototype,{lc:{configurable:!0,enumerable:!0,get:function(){return F(this,"algorithms")?D(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
|
|
var bg=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.S?null:a.S;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(bg,C);bg.prototype.f=function(){return{P:{assets:jf},keys:["assets","nextPageToken"]}};
|
|
r.Object.defineProperties(bg.prototype,{S:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?D(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var cg=function(a){a=void 0===a?{}:a;this.a={};this.a.images=null==a.images?null:a.images;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(cg,C);
|
|
cg.prototype.f=function(){return{P:{images:Nf},keys:["images","nextPageToken"]}};r.Object.defineProperties(cg.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return F(this,"images")?D(this,"images"):null},set:function(a){this.a.images=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});
|
|
var dg=function(a){a=void 0===a?{}:a;this.a={};this.a.operations=null==a.Ea?null:a.Ea;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(dg,C);dg.prototype.f=function(){return{P:{operations:eg},keys:["nextPageToken","operations"]}};
|
|
r.Object.defineProperties(dg.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"operations")?D(this,"operations"):null},set:function(a){this.a.operations=a}}});
|
|
var fg=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.fg?null:a.fg;this.a.dataAccess=null==a.lg?null:a.lg;this.a.cloudAudit=null==a.ag?null:a.ag};n(fg,C);fg.prototype.f=function(){return{keys:["cloudAudit","counter","dataAccess"],s:{cloudAudit:Xe,counter:cf,dataAccess:ef}}};
|
|
r.Object.defineProperties(fg.prototype,{ag:{configurable:!0,enumerable:!0,get:function(){return F(this,"cloudAudit")?D(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},fg:{configurable:!0,enumerable:!0,get:function(){return F(this,"counter")?D(this,"counter"):null},set:function(a){this.a.counter=a}},lg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataAccess")?D(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
|
|
var Qf=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(Qf,C);Qf.prototype.f=function(){return{keys:["values"]}};r.Object.defineProperties(Qf.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return F(this,"values")?D(this,"values"):null},set:function(a){this.a.values=a}}});var gg=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.rb?null:a.rb};n(gg,C);gg.prototype.f=function(){return{keys:["destinationName"]}};
|
|
r.Object.defineProperties(gg.prototype,{rb:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationName")?D(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});var eg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.Ye?null:a.Ye;this.a.done=null==a.done?null:a.done;this.a.error=null==a.error?null:a.error;this.a.response=null==a.response?null:a.response};n(eg,C);
|
|
eg.prototype.f=function(){return{keys:["done","error","metadata","name","response"],wa:{metadata:{fa:null,ka:!1,la:!1,ma:!1},response:{fa:null,ka:!1,la:!1,ma:!1}},s:{error:hg}}};
|
|
r.Object.defineProperties(eg.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return F(this,"done")?D(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return F(this,"error")?D(this,"error"):null},set:function(a){this.a.error=a}},Ye:{configurable:!0,enumerable:!0,get:function(){return F(this,"metadata")?D(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?
|
|
D(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return F(this,"response")?D(this,"response"):null},set:function(a){this.a.response=a}}});
|
|
var ig=function(a){a=void 0===a?{}:a;this.a={};this.a.state=null==a.state?null:a.state;this.a.description=null==a.description?null:a.description;this.a.type=null==a.type?null:a.type;this.a.priority=null==a.priority?null:a.priority;this.a.createTime=null==a.qe?null:a.qe;this.a.updateTime=null==a.Ha?null:a.Ha;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.scriptUri=null==a.rf?null:a.rf;this.a.destinationUris=null==a.te?null:a.te};n(ig,C);
|
|
ig.prototype.f=function(){return{L:{state:Ce},keys:"createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" ")}};
|
|
r.Object.defineProperties(ig.prototype,{qe:{configurable:!0,enumerable:!0,get:function(){return F(this,"createTime")?D(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},te:{configurable:!0,enumerable:!0,get:function(){return F(this,"destinationUris")?D(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return F(this,"priority")?D(this,"priority"):null},set:function(a){this.a.priority=a}},rf:{configurable:!0,enumerable:!0,get:function(){return F(this,"scriptUri")?D(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},
|
|
set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return F(this,"state")?D(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return F(this,"type")?D(this,"type"):null},set:function(a){this.a.type=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateTime")?D(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.Lc?null:a.Lc;this.a.dimensionsCount=null==a.qg?null:a.qg};n(Pf,C);Pf.prototype.f=function(){return{L:{precision:De},keys:["dimensionsCount","precision","range"],s:{range:gf}}};
|
|
r.Object.defineProperties(Pf.prototype,{qg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dimensionsCount")?D(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return F(this,"precision")?D(this,"precision"):null},set:function(a){this.a.precision=a}},Lc:{configurable:!0,enumerable:!0,get:function(){return F(this,"range")?D(this,"range"):null},set:function(a){this.a.range=a}}});
|
|
var Wf=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.ih?null:a.ih;this.a.bandId=null==a.Tf?null:a.Tf};n(Wf,C);Wf.prototype.f=function(){return{P:{points:Mf},keys:["bandId","points"]}};r.Object.defineProperties(Wf.prototype,{Tf:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandId")?D(this,"bandId"):null},set:function(a){this.a.bandId=a}},ih:{configurable:!0,enumerable:!0,get:function(){return F(this,"points")?D(this,"points"):null},set:function(a){this.a.points=a}}});
|
|
var uf=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.re?null:a.re;this.a.crsWkt=null==a.hg?null:a.hg;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.nb?null:a.nb};n(uf,C);uf.prototype.f=function(){return{keys:["affineTransform","crsCode","crsWkt","dimensions"],s:{affineTransform:Le,dimensions:Jf}}};
|
|
r.Object.defineProperties(uf.prototype,{nb:{configurable:!0,enumerable:!0,get:function(){return F(this,"affineTransform")?D(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},re:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsCode")?D(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},hg:{configurable:!0,enumerable:!0,get:function(){return F(this,"crsWkt")?D(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"dimensions")?D(this,"dimensions"):null},set:function(a){this.a.dimensions=a}}});var jg=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.bd?null:a.bd;this.a.auditConfigs=null==a.Qf?null:a.Qf;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.xe?null:a.xe;this.a.iamOwned=null==a.Ig?null:a.Ig};n(jg,C);jg.prototype.f=function(){return{P:{auditConfigs:Qe,bindings:Te,rules:kg},keys:"auditConfigs bindings etag iamOwned rules version".split(" ")}};
|
|
r.Object.defineProperties(jg.prototype,{Qf:{configurable:!0,enumerable:!0,get:function(){return F(this,"auditConfigs")?D(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},bd:{configurable:!0,enumerable:!0,get:function(){return F(this,"bindings")?D(this,"bindings"):null},set:function(a){this.a.bindings=a}},xe:{configurable:!0,enumerable:!0,get:function(){return F(this,"etag")?D(this,"etag"):null},set:function(a){this.a.etag=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"iamOwned")?D(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return F(this,"rules")?D(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return F(this,"version")?D(this,"version"):null},set:function(a){this.a.version=a}}});
|
|
var kg=function(a){a=void 0===a?{}:a;this.a={};this.a.description=null==a.description?null:a.description;this.a.permissions=null==a.permissions?null:a.permissions;this.a.action=null==a.action?null:a.action;this.a["in"]=null==a.Ng?null:a.Ng;this.a.notIn=null==a.$g?null:a.$g;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.Ug?null:a.Ug};n(kg,C);kg.prototype.f=function(){return{P:{conditions:af,logConfig:fg},L:{action:Ee},keys:"action conditions description in logConfig notIn permissions".split(" ")}};
|
|
r.Object.defineProperties(kg.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return F(this,"action")?D(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return F(this,"conditions")?D(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return F(this,"description")?D(this,"description"):null},set:function(a){this.a.description=a}},Ng:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"in")?D(this,"in"):null},set:function(a){this.a["in"]=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"logConfig")?D(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},$g:{configurable:!0,enumerable:!0,get:function(){return F(this,"notIn")?D(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return F(this,"permissions")?D(this,"permissions"):null},set:function(a){this.a.permissions=
|
|
a}}});var lg=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.S?null:a.S;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(lg,C);lg.prototype.f=function(){return{P:{assets:jf},keys:["assets","nextPageToken"]}};
|
|
r.Object.defineProperties(lg.prototype,{S:{configurable:!0,enumerable:!0,get:function(){return F(this,"assets")?D(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return F(this,"nextPageToken")?D(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var mg=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.bf?null:a.bf;this.a.updateMask=null==a.ic?null:a.ic};n(mg,C);
|
|
mg.prototype.f=function(){return{keys:["policy","updateMask"],s:{policy:jg}}};r.Object.defineProperties(mg.prototype,{bf:{configurable:!0,enumerable:!0,get:function(){return F(this,"policy")?D(this,"policy"):null},set:function(a){this.a.policy=a}},ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var hg=function(a){a=void 0===a?{}:a;this.a={};this.a.code=null==a.code?null:a.code;this.a.message=null==a.message?null:a.message;this.a.details=null==a.pg?null:a.pg};n(hg,C);hg.prototype.f=function(){return{keys:["code","details","message"],wa:{details:{fa:null,ka:!0,la:!1,ma:!1}}}};
|
|
r.Object.defineProperties(hg.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return F(this,"code")?D(this,"code"):null},set:function(a){this.a.code=a}},pg:{configurable:!0,enumerable:!0,get:function(){return F(this,"details")?D(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return F(this,"message")?D(this,"message"):null},set:function(a){this.a.message=a}}});
|
|
var yf=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.tb?null:a.tb};n(yf,C);yf.prototype.f=function(){return{keys:["earthEngineDestination"],s:{earthEngineDestination:nf}}};r.Object.defineProperties(yf.prototype,{tb:{configurable:!0,enumerable:!0,get:function(){return F(this,"earthEngineDestination")?D(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});
|
|
var zf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.G?null:a.G;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};n(zf,C);zf.prototype.f=function(){return{L:{fileFormat:Fe},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:hf,gcsDestination:Hf}}};
|
|
r.Object.defineProperties(zf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var $f=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.properties=null==a.properties?null:a.properties;this.a.uriPrefix=null==a.Sc?null:a.Sc;this.a.sources=null==a.sources?null:a.sources;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime};n($f,C);$f.prototype.f=function(){return{P:{sources:ng},keys:"endTime name properties sources startTime uriPrefix".split(" "),wa:{properties:{fa:null,ka:!1,la:!1,ma:!1}}}};
|
|
r.Object.defineProperties($f.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"endTime")?D(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return F(this,"properties")?D(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sources")?D(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return F(this,"startTime")?D(this,"startTime"):null},set:function(a){this.a.startTime=a}},Sc:{configurable:!0,enumerable:!0,get:function(){return F(this,"uriPrefix")?D(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
|
|
var ng=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Mb?null:a.Mb;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Cb?null:a.Cb;this.a.maxVertices=null==a.maxVertices?null:a.maxVertices;this.a.crs=null==a.crs?null:a.crs;this.a.geodesic=null==a.geodesic?null:a.geodesic;this.a.primaryGeometryColumn=null==a.jh?null:a.jh;this.a.xColumn=null==a.Hh?null:a.Hh;this.a.yColumn=null==a.Ih?null:a.Ih;this.a.dateFormat=null==a.mg?null:a.mg;this.a.csvDelimiter=null==a.ig?
|
|
null:a.ig;this.a.csvQualifier=null==a.jg?null:a.jg};n(ng,C);ng.prototype.f=function(){return{keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" ")}};
|
|
r.Object.defineProperties(ng.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return F(this,"charset")?D(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?D(this,"crs"):null},set:function(a){this.a.crs=a}},ig:{configurable:!0,enumerable:!0,get:function(){return F(this,"csvDelimiter")?D(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},jg:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"csvQualifier")?D(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},mg:{configurable:!0,enumerable:!0,get:function(){return F(this,"dateFormat")?D(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return F(this,"geodesic")?D(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Cb:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxErrorMeters")?D(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxVertices")?D(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},jh:{configurable:!0,enumerable:!0,get:function(){return F(this,"primaryGeometryColumn")?D(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},Mb:{configurable:!0,enumerable:!0,get:function(){return F(this,"uris")?D(this,"uris"):null},set:function(a){this.a.uris=a}},Hh:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"xColumn")?D(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},Ih:{configurable:!0,enumerable:!0,get:function(){return F(this,"yColumn")?D(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
|
|
var Rf=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.marginDimensions=null==a.Te?null:a.Te;this.a.compress=null==a.me?null:a.me;this.a.maxSizeBytes=null==a.Db?null:a.Db;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.Ed?null:a.Ed;this.a.sequenceData=null==a.sf?null:a.sf;this.a.collapseBands=null==a.le?null:a.le;this.a.maxMaskedRatio=null==a.We?null:a.We};n(Rf,C);
|
|
Rf.prototype.f=function(){return{keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),wa:{tensorDepths:{fa:null,ka:!1,la:!1,ma:!1}},s:{marginDimensions:Jf,tileDimensions:Jf}}};
|
|
r.Object.defineProperties(Rf.prototype,{le:{configurable:!0,enumerable:!0,get:function(){return F(this,"collapseBands")?D(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},me:{configurable:!0,enumerable:!0,get:function(){return F(this,"compress")?D(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return F(this,"defaultValue")?D(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},Te:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"marginDimensions")?D(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},We:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxMaskedRatio")?D(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Db:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxSizeBytes")?D(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},sf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"sequenceData")?D(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},Ed:{configurable:!0,enumerable:!0,get:function(){return F(this,"tensorDepths")?D(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var og=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.fileFormat=null==a.G?null:a.G;this.a.bandIds=null==a.ea?null:a.ea;this.a.visualizationOptions=null==a.Ob?null:a.Ob;this.a.grid=null==a.K?null:a.K};n(og,C);og.prototype.f=function(){return{L:{fileFormat:Ge},keys:"bandIds expression fileFormat grid name visualizationOptions".split(" "),s:{expression:Ze,grid:uf,visualizationOptions:pf}}};
|
|
r.Object.defineProperties(og.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,"name")?D(this,"name"):null},set:function(a){this.a.name=a}},Ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"visualizationOptions")?D(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});
|
|
var wf=function(a){a=void 0===a?{}:a;this.a={};this.a.maxZoom=null==a.maxZoom?null:a.maxZoom;this.a.scale=null==a.scale?null:a.scale;this.a.minZoom=null==a.minZoom?null:a.minZoom;this.a.skipEmptyTiles=null==a.yf?null:a.yf;this.a.mapsApiKey=null==a.Se?null:a.Se;this.a.tileDimensions=null==a.Ga?null:a.Ga;this.a.stride=null==a.Af?null:a.Af;this.a.zoomSubset=null==a.Lf?null:a.Lf};n(wf,C);
|
|
wf.prototype.f=function(){return{keys:"mapsApiKey maxZoom minZoom scale skipEmptyTiles stride tileDimensions zoomSubset".split(" "),s:{tileDimensions:Jf,zoomSubset:pg}}};
|
|
r.Object.defineProperties(wf.prototype,{Se:{configurable:!0,enumerable:!0,get:function(){return F(this,"mapsApiKey")?D(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxZoom")?D(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return F(this,"minZoom")?D(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"scale")?D(this,"scale"):null},set:function(a){this.a.scale=a}},yf:{configurable:!0,enumerable:!0,get:function(){return F(this,"skipEmptyTiles")?D(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},Af:{configurable:!0,enumerable:!0,get:function(){return F(this,"stride")?D(this,"stride"):null},set:function(a){this.a.stride=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"tileDimensions")?D(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}},
|
|
Lf:{configurable:!0,enumerable:!0,get:function(){return F(this,"zoomSubset")?D(this,"zoomSubset"):null},set:function(a){this.a.zoomSubset=a}}});var Vf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.sources=null==a.sources?null:a.sources;this.a.dataType=null==a.dataType?null:a.dataType;this.a.crs=null==a.crs?null:a.crs;this.a.subdatasetPrefix=null==a.yh?null:a.yh;this.a.subdatasetSuffix=null==a.zh?null:a.zh};n(Vf,C);
|
|
Vf.prototype.f=function(){return{P:{sources:Xf},L:{dataType:Ie},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" ")}};
|
|
r.Object.defineProperties(Vf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return F(this,"crs")?D(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return F(this,"dataType")?D(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?
|
|
D(this,"sources"):null},set:function(a){this.a.sources=a}},yh:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetPrefix")?D(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},zh:{configurable:!0,enumerable:!0,get:function(){return F(this,"subdatasetSuffix")?D(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
|
|
var Tf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.gc?null:a.gc;this.a.tilesetBandIndex=null==a.Dh?null:a.Dh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};n(Tf,C);Tf.prototype.f=function(){return{L:{pyramidingPolicy:He},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],s:{missingData:Qf}}};
|
|
r.Object.defineProperties(Tf.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return F(this,"id")?D(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return F(this,"missingData")?D(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return F(this,"pyramidingPolicy")?D(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Dh:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"tilesetBandIndex")?D(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var Uf=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.gc?null:a.gc;this.a.bandIds=null==a.ea?null:a.ea};n(Uf,C);Uf.prototype.f=function(){return{keys:["bandIds","tilesetId"]}};
|
|
r.Object.defineProperties(Uf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return F(this,"bandIds")?D(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},gc:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesetId")?D(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.sources=null==a.sources?null:a.sources;this.a.pathPrefix=null==a.pathPrefix?null:a.pathPrefix};n(mf,C);
|
|
mf.prototype.f=function(){return{P:{sources:qg},keys:["pathPrefix","sources"]}};r.Object.defineProperties(mf.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathPrefix")?D(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return F(this,"sources")?D(this,"sources"):null},set:function(a){this.a.sources=a}}});
|
|
var qg=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.Gg?null:a.Gg};n(qg,C);qg.prototype.f=function(){return{keys:["headerSizeBytes","pathSuffix"]}};
|
|
r.Object.defineProperties(qg.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return F(this,"headerSizeBytes")?D(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return F(this,"pathSuffix")?D(this,"pathSuffix"):null},set:function(a){this.a.pathSuffix=a}}});
|
|
var Of=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.ug?null:a.ug;this.a.firstTileIndex=null==a.wg?null:a.wg;this.a.tilesPerFile=null==a.Ch?null:a.Ch};n(Of,C);Of.prototype.f=function(){return{keys:["fileIndexes","firstTileIndex","tilesPerFile"]}};
|
|
r.Object.defineProperties(Of.prototype,{ug:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileIndexes")?D(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},wg:{configurable:!0,enumerable:!0,get:function(){return F(this,"firstTileIndex")?D(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},Ch:{configurable:!0,enumerable:!0,get:function(){return F(this,"tilesPerFile")?D(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
|
|
var rg=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.be?null:a.be;this.a.updateMask=null==a.ic?null:a.ic};n(rg,C);rg.prototype.f=function(){return{keys:["asset","updateMask"],s:{asset:jf}}};
|
|
r.Object.defineProperties(rg.prototype,{be:{configurable:!0,enumerable:!0,get:function(){return F(this,"asset")?D(this,"asset"):null},set:function(a){this.a.asset=a}},ic:{configurable:!0,enumerable:!0,get:function(){return F(this,"updateMask")?D(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var Pe=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.qb?null:a.qb;this.a.integerValue=null==a.Oe?null:a.Oe;this.a.bytesValue=null==a.ie?null:a.ie;this.a.arrayValue=null==a.ob?null:a.ob;this.a.dictionaryValue=null==a.sb?null:a.sb;this.a.functionDefinitionValue=null==a.wb?null:a.wb;this.a.functionInvocationValue=null==a.fb?null:a.fb;this.a.argumentReference=null==a.nc?null:a.nc;this.a.valueReference=null==a.ab?null:a.ab};n(Pe,C);
|
|
Pe.prototype.f=function(){return{keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),s:{arrayValue:Oe,dictionaryValue:ff,functionDefinitionValue:Ff,functionInvocationValue:Gf}}};
|
|
r.Object.defineProperties(Pe.prototype,{nc:{configurable:!0,enumerable:!0,get:function(){return F(this,"argumentReference")?D(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},ob:{configurable:!0,enumerable:!0,get:function(){return F(this,"arrayValue")?D(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},ie:{configurable:!0,enumerable:!0,get:function(){return F(this,"bytesValue")?D(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},qb:{configurable:!0,
|
|
enumerable:!0,get:function(){return F(this,"constantValue")?D(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},sb:{configurable:!0,enumerable:!0,get:function(){return F(this,"dictionaryValue")?D(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},wb:{configurable:!0,enumerable:!0,get:function(){return F(this,"functionDefinitionValue")?D(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},fb:{configurable:!0,enumerable:!0,
|
|
get:function(){return F(this,"functionInvocationValue")?D(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},Oe:{configurable:!0,enumerable:!0,get:function(){return F(this,"integerValue")?D(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},ab:{configurable:!0,enumerable:!0,get:function(){return F(this,"valueReference")?D(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
|
|
var Bf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.G?null:a.G;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};n(Bf,C);Bf.prototype.f=function(){return{L:{fileFormat:Je},keys:["driveDestination","fileFormat","gcsDestination"],s:{driveDestination:hf,gcsDestination:Hf}}};
|
|
r.Object.defineProperties(Bf.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return F(this,"driveDestination")?D(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"gcsDestination")?D(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.a={};this.a.framesPerSecond=null==a.framesPerSecond?null:a.framesPerSecond;this.a.maxFrames=null==a.maxFrames?null:a.maxFrames;this.a.maxPixelsPerFrame=null==a.maxPixelsPerFrame?null:a.maxPixelsPerFrame};n(Cf,C);Cf.prototype.f=function(){return{keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"]}};
|
|
r.Object.defineProperties(Cf.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return F(this,"framesPerSecond")?D(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxFrames")?D(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return F(this,"maxPixelsPerFrame")?D(this,"maxPixelsPerFrame"):null},set:function(a){this.a.maxPixelsPerFrame=
|
|
a}}});var sg=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.i?null:a.i;this.a.videoOptions=null==a.Ia?null:a.Ia;this.a.fileFormat=null==a.G?null:a.G;this.a.grid=null==a.K?null:a.K};n(sg,C);sg.prototype.f=function(){return{L:{fileFormat:Ke},keys:["expression","fileFormat","grid","name","videoOptions"],s:{expression:Ze,grid:uf,videoOptions:Cf}}};
|
|
r.Object.defineProperties(sg.prototype,{i:{configurable:!0,enumerable:!0,get:function(){return F(this,"expression")?D(this,"expression"):null},set:function(a){this.a.expression=a}},G:{configurable:!0,enumerable:!0,get:function(){return F(this,"fileFormat")?D(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},K:{configurable:!0,enumerable:!0,get:function(){return F(this,"grid")?D(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"name")?D(this,"name"):null},set:function(a){this.a.name=a}},Ia:{configurable:!0,enumerable:!0,get:function(){return F(this,"videoOptions")?D(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var pf=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.jf?null:a.jf;this.a.paletteColors=null==a.Jc?null:a.Jc;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};n(pf,C);
|
|
pf.prototype.f=function(){return{P:{ranges:gf},keys:["gamma","opacity","paletteColors","ranges"]}};
|
|
r.Object.defineProperties(pf.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return F(this,"gamma")?D(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return F(this,"opacity")?D(this,"opacity"):null},set:function(a){this.a.opacity=a}},Jc:{configurable:!0,enumerable:!0,get:function(){return F(this,"paletteColors")?D(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},jf:{configurable:!0,enumerable:!0,get:function(){return F(this,
|
|
"ranges")?D(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var pg=function(a){a=void 0===a?{}:a;this.a={};this.a.min=null==a.min?null:a.min;this.a.max=null==a.max?null:a.max};n(pg,C);pg.prototype.f=function(){return{keys:["max","min"]}};
|
|
r.Object.defineProperties(pg.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return F(this,"max")?D(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return F(this,"min")?D(this,"min"):null},set:function(a){this.a.min=a}}});var tg=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
tg.prototype.list=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
|
|
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.algorithms.list",path:"/"+this.m+"/"+a+"/algorithms",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:ag})};
|
|
var ug=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
ug.prototype.getCapabilities=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:
|
|
c.oauth_token,p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.getCapabilities",path:"/"+this.m+"/"+a+"/capabilities",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:We})};
|
|
ug.prototype.Ec=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===
|
|
c.oauth_token?void 0:c.oauth_token,p=void 0===c.pageSize?void 0:c.pageSize,q=void 0===c.pageToken?void 0:c.pageToken,w=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.quotaUser?void 0:c.quotaUser,E=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.listAssets",path:"/"+this.m+"/"+a+":listAssets",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,
|
|
oauth_token:m,pageSize:p,pageToken:q,prettyPrint:w,quotaUser:z,uploadType:E,upload_protocol:c},D:bg})};var vg=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
vg.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,assetId:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,overwrite:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.assetId?void 0:d.assetId,h=void 0===d.callback?void 0:d.callback,m=void 0===d.fields?void 0:d.fields,
|
|
p=void 0===d.key?void 0:d.key,q=void 0===d.oauth_token?void 0:d.oauth_token,w=void 0===d.overwrite?void 0:d.overwrite,z=void 0===d.prettyPrint?void 0:d.prettyPrint,E=void 0===d.quotaUser?void 0:d.quotaUser,M=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.assets.create",path:"/"+this.m+"/"+a+"/assets",o:{"$.xgafv":c,access_token:e,alt:f,assetId:g,callback:h,fields:m,
|
|
key:p,oauth_token:q,overwrite:w,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:d},D:jf})};
|
|
vg.prototype["delete"]=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
|
|
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:null,u:"DELETE",B:"earthengine.projects.assets.delete",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:qf})};
|
|
vg.prototype.get=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,
|
|
p=void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.assets.get",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:jf})};
|
|
vg.prototype.Ec=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===
|
|
c.oauth_token?void 0:c.oauth_token,p=void 0===c.pageSize?void 0:c.pageSize,q=void 0===c.pageToken?void 0:c.pageToken,w=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.quotaUser?void 0:c.quotaUser,E=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.assets.listAssets",path:"/"+this.m+"/"+a+":listAssets",o:{"$.xgafv":b,access_token:d,alt:e,callback:f,
|
|
fields:g,key:h,oauth_token:m,pageSize:p,pageToken:q,prettyPrint:w,quotaUser:z,uploadType:E,upload_protocol:c},D:bg})};
|
|
var wg=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,endTime:void 0,fields:void 0,filter:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,region:void 0,startTime:void 0,uploadType:void 0,upload_protocol:void 0,view:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.endTime?
|
|
void 0:d.endTime,m=void 0===d.fields?void 0:d.fields,p=void 0===d.filter?void 0:d.filter,q=void 0===d.key?void 0:d.key,w=void 0===d.oauth_token?void 0:d.oauth_token,z=void 0===d.pageSize?void 0:d.pageSize,E=void 0===d.pageToken?void 0:d.pageToken,M=void 0===d.prettyPrint?void 0:d.prettyPrint,Z=void 0===d.quotaUser?void 0:d.quotaUser,zj=void 0===d.region?void 0:d.region,Aj=void 0===d.startTime?void 0:d.startTime,Bj=void 0===d.uploadType?void 0:d.uploadType,Cj=void 0===d.upload_protocol?void 0:d.upload_protocol;
|
|
d=void 0===d.view?void 0:d.view;a.h.w(b,/^projects\/[^/]+\/assets\/.+$/);return G(a.h,{body:null,u:"GET",B:"earthengine.projects.assets.listImages",path:"/"+a.m+"/"+b+":listImages",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,endTime:h,fields:m,filter:p,key:q,oauth_token:w,pageSize:z,pageToken:E,prettyPrint:M,quotaUser:Z,region:zj,startTime:Aj,uploadType:Bj,upload_protocol:Cj,view:d},D:cg})};
|
|
vg.prototype.move=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+\/assets\/.+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.assets.move",path:"/"+this.m+"/"+a+":move",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:jf})};
|
|
vg.prototype.search=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,nextPageToken:void 0,oauth_token:void 0,pageSize:void 0,prettyPrint:void 0,query:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:
|
|
c.key,m=void 0===c.nextPageToken?void 0:c.nextPageToken,p=void 0===c.oauth_token?void 0:c.oauth_token,q=void 0===c.pageSize?void 0:c.pageSize,w=void 0===c.prettyPrint?void 0:c.prettyPrint,z=void 0===c.query?void 0:c.query,E=void 0===c.quotaUser?void 0:c.quotaUser,M=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.assets.search",path:"/"+this.m+"/"+a+"/assets:search",
|
|
o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,nextPageToken:m,oauth_token:p,pageSize:q,prettyPrint:w,query:z,quotaUser:E,uploadType:M,upload_protocol:c},D:lg})};var xg=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
xg.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.m+"/"+a+"/filmstripThumbnails",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:Ef})};
|
|
var yg=function(a){this.m="v1alpha";this.h=new fe(a,null)};yg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.image.export",path:"/"+this.m+"/"+a+"/image:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:eg})};
|
|
yg.prototype["import"]=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.image.import",path:"/"+this.m+"/"+a+"/image:import",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:eg})};
|
|
var zg=function(a){this.m="v1alpha";this.h=new fe(a,null)};zg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.map.export",path:"/"+this.m+"/"+a+"/map:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:eg})};var Ag=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
Ag.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.maps.create",path:"/"+this.m+"/"+a+"/maps",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:of})};
|
|
var Bg=function(a){this.m="v1alpha";this.h=new fe(a,null)};k=Bg.prototype;
|
|
k.cancel=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,q=void 0===
|
|
d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.operations.cancel",path:"/"+this.m+"/"+a+":cancel",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:qf})};
|
|
k["delete"]=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,p=
|
|
void 0===c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:null,u:"DELETE",B:"earthengine.projects.operations.delete",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:qf})};
|
|
k.get=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.key?void 0:c.key,m=void 0===c.oauth_token?void 0:c.oauth_token,p=void 0===
|
|
c.prettyPrint?void 0:c.prettyPrint,q=void 0===c.quotaUser?void 0:c.quotaUser,w=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.operations.get",path:"/"+this.m+"/"+a,o:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:w,upload_protocol:c},D:eg})};
|
|
k.list=function(a,b){var c=void 0===b?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,filter:void 0,key:void 0,oauth_token:void 0,pageSize:void 0,pageToken:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:b;b=void 0===c.$Xgafv?void 0:c.$Xgafv;var d=void 0===c.access_token?void 0:c.access_token,e=void 0===c.alt?void 0:c.alt,f=void 0===c.callback?void 0:c.callback,g=void 0===c.fields?void 0:c.fields,h=void 0===c.filter?void 0:c.filter,
|
|
m=void 0===c.key?void 0:c.key,p=void 0===c.oauth_token?void 0:c.oauth_token,q=void 0===c.pageSize?void 0:c.pageSize,w=void 0===c.pageToken?void 0:c.pageToken,z=void 0===c.prettyPrint?void 0:c.prettyPrint,E=void 0===c.quotaUser?void 0:c.quotaUser,M=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:null,u:"GET",B:"earthengine.projects.operations.list",path:"/"+this.m+"/"+a+"/operations",o:{"$.xgafv":b,
|
|
access_token:d,alt:e,callback:f,fields:g,filter:h,key:m,oauth_token:p,pageSize:q,pageToken:w,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:c},D:dg})};
|
|
k.wait=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,q=void 0===
|
|
d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+\/operations\/.+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.operations.wait",path:"/"+this.m+"/"+a+":wait",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:eg})};
|
|
var Cg=function(a){this.m="v1alpha";this.h=new fe(a,null)};Cg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.table.export",path:"/"+this.m+"/"+a+"/table:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:eg})};
|
|
Cg.prototype["import"]=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.table.import",path:"/"+this.m+"/"+a+"/table:import",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:eg})};
|
|
var Dg=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
Dg.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.thumbnails.create",path:"/"+this.m+"/"+a+"/thumbnails",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:og})};
|
|
var Eg=function(a){this.m="v1alpha";this.h=new fe(a,null)},Fg=function(a,b,c){a.h.w(b,/^projects\/[^/]+$/);return G(a.h,{body:c,u:"POST",B:"earthengine.projects.value.compute",path:"/"+a.m+"/"+b+"/value:compute",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:$e})},Gg=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
Gg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.video.export",path:"/"+this.m+"/"+a+"/video:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:eg})};var Hg=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
Hg.prototype.Va=function(a,b){this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.videoMap.export",path:"/"+this.m+"/"+a+"/videoMap:export",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:eg})};var Ig=function(a){this.m="v1alpha";this.h=new fe(a,null)};
|
|
Ig.prototype.create=function(a,b,c){var d=void 0===c?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:c;c=void 0===d.$Xgafv?void 0:d.$Xgafv;var e=void 0===d.access_token?void 0:d.access_token,f=void 0===d.alt?void 0:d.alt,g=void 0===d.callback?void 0:d.callback,h=void 0===d.fields?void 0:d.fields,m=void 0===d.key?void 0:d.key,p=void 0===d.oauth_token?void 0:d.oauth_token,
|
|
q=void 0===d.prettyPrint?void 0:d.prettyPrint,w=void 0===d.quotaUser?void 0:d.quotaUser,z=void 0===d.uploadType?void 0:d.uploadType;d=void 0===d.upload_protocol?void 0:d.upload_protocol;this.h.w(a,/^projects\/[^/]+$/);return G(this.h,{body:b,u:"POST",B:"earthengine.projects.videoThumbnails.create",path:"/"+this.m+"/"+a+"/videoThumbnails",o:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:w,uploadType:z,upload_protocol:d},D:sg})};var Jg=function(a,b){this.ti=100;this.hi=a;this.Fi=b;this.ud=0;this.ja=null};Jg.prototype.get=function(){if(0<this.ud){this.ud--;var a=this.ja;this.ja=a.next;a.next=null}else a=this.hi();return a};Jg.prototype.put=function(a){this.Fi(a);this.ud<this.ti&&(this.ud++,a.next=this.ja,this.ja=a)};var Kg=!Dc||9<=Number(Oc),Lg=!Fc&&!Dc||Dc&&9<=Number(Oc)||Fc&&Nc("1.9.1");var Mg=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};k=Mg.prototype;k.clone=function(){return new Mg(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof Mg&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};k.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};k.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
|
|
k.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};k.translate=function(a,b){a instanceof Mg?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};k.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var Ng=function(a,b){this.width=a;this.height=b};k=Ng.prototype;k.clone=function(){return new Ng(this.width,this.height)};k.toString=function(){return"("+this.width+" x "+this.height+")"};k.aspectRatio=function(){return this.width/this.height};k.isEmpty=function(){return!(this.width*this.height)};k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
|
|
k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var Pg=function(a,b){Eb(b,function(c,d){c&&"object"==typeof c&&c.Ab&&(c=c.yb());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Og.hasOwnProperty(d)?a.setAttribute(Og[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Og={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"},Rg=function(a,b,c){return Qg(document,arguments)},Qg=function(a,b){var c=String(b[0]),d=b[1];if(!Kg&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',xc(d.name),'"');if(d.type){c.push(' type="',xc(d.type),'"');var e={};Sb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=Sg(a,c);d&&("string"===typeof d?c.className=d:u(d)?c.className=d.join(" "):Pg(c,d));2<b.length&&Tg(a,c,b,2);return c},Tg=function(a,b,c,d){function e(g){g&&b.appendChild("string"===typeof g?a.createTextNode(g):
|
|
g)}for(;d<c.length;d++){var f=c[d];!Ca(f)||v(f)&&0<f.nodeType?e(f):Za(Ug(f)?lb(f):f,e)}},Sg=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Vg=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Wg=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},Xg=function(a){B(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Ug=function(a){if(a&&"number"==typeof a.length){if(v(a))return"function"==
|
|
typeof a.item||"string"==typeof a.item;if(Ea(a))return"function"==typeof a.item}return!1},Yg=function(a){this.fd=a||t.document||document};k=Yg.prototype;k.getElementsByTagName=function(a,b){return(b||this.fd).getElementsByTagName(String(a))};k.gi=function(a,b,c){return Qg(this.fd,arguments)};k.createElement=function(a){return Sg(this.fd,a)};k.createTextNode=function(a){return this.fd.createTextNode(String(a))};
|
|
k.appendChild=function(a,b){B(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){Tg(Xg(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=Vg;k.Cg=function(){return Lg&&void 0!=(void 0).children?(void 0).children:$a((void 0).childNodes,function(a){return 1==a.nodeType})};k.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Zg=function(a){t.setTimeout(function(){throw a;},0)},$g,ah=function(){var a=t.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Db("Presto")&&(a=function(){var e=Sg(document,"IFRAME");e.style.display="none";uc(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(tc());e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;
|
|
e=x(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&&!Db("Trident")&&!Db("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.$f;c.$f=null;e()}};return function(e){d.next={$f:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in Sg(document,"SCRIPT")?function(e){var f=
|
|
Sg(document,"SCRIPT");f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};document.documentElement.appendChild(f)}:function(e){t.setTimeout(e,0)}};var bh=function(){this.Od=this.Pb=null},dh=new Jg(function(){return new ch},function(a){a.reset()});bh.prototype.add=function(a,b){var c=dh.get();c.set(a,b);this.Od?this.Od.next=c:(B(!this.Pb),this.Pb=c);this.Od=c};bh.prototype.remove=function(){var a=null;this.Pb&&(a=this.Pb,this.Pb=this.Pb.next,this.Pb||(this.Od=null),a.next=null);return a};var ch=function(){this.next=this.scope=this.Ce=null};ch.prototype.set=function(a,b){this.Ce=a;this.scope=b;this.next=null};
|
|
ch.prototype.reset=function(){this.next=this.scope=this.Ce=null};var ih=function(a,b){eh||fh();gh||(eh(),gh=!0);hh.add(a,b)},eh,fh=function(){if(t.Promise&&t.Promise.resolve){var a=t.Promise.resolve(void 0);eh=function(){a.then(jh)}}else eh=function(){var b=jh;!Ea(t.setImmediate)||t.Window&&t.Window.prototype&&!Db("Edge")&&t.Window.prototype.setImmediate==t.setImmediate?($g||($g=ah()),$g(b)):t.setImmediate(b)}},gh=!1,hh=new bh,jh=function(){for(var a;a=hh.remove();){try{a.Ce.call(a.scope)}catch(b){Zg(b)}dh.put(a)}gh=!1};var kh=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var nh=function(a){this.V=0;this.sa=void 0;this.Sb=this.Ta=this.O=null;this.ld=this.ye=!1;if(a!=za)try{var b=this;a.call(void 0,function(c){lh(b,2,c)},function(c){if(!(c instanceof mh))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}lh(b,3,c)})}catch(c){lh(this,3,c)}},oh=function(){this.next=this.context=this.Zb=this.Fb=this.pb=null;this.$c=!1};oh.prototype.reset=function(){this.context=this.Zb=this.Fb=this.pb=null;this.$c=!1};
|
|
var ph=new Jg(function(){return new oh},function(a){a.reset()}),qh=function(a,b,c){var d=ph.get();d.Fb=a;d.Zb=b;d.context=c;return d};nh.prototype.then=function(a,b,c){null!=a&&Va(a,"opt_onFulfilled should be a function.");null!=b&&Va(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return rh(this,Ea(a)?a:null,Ea(b)?b:null,c)};nh.prototype.$goog_Thenable=!0;
|
|
nh.prototype.cancel=function(a){if(0==this.V){var b=new mh(a);ih(function(){sh(this,b)},this)}};
|
|
var sh=function(a,b){if(0==a.V)if(a.O){var c=a.O;if(c.Ta){for(var d=0,e=null,f=null,g=c.Ta;g&&(g.$c||(d++,g.pb==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.V&&1==d?sh(c,b):(f?(d=f,B(c.Ta),B(null!=d),d.next==c.Sb&&(c.Sb=d),d.next=d.next.next):th(c),uh(c,e,3,b)))}a.O=null}else lh(a,3,b)},wh=function(a,b){a.Ta||2!=a.V&&3!=a.V||vh(a);B(null!=b.Fb);a.Sb?a.Sb.next=b:a.Ta=b;a.Sb=b},rh=function(a,b,c,d){var e=qh(null,null,null);e.pb=new nh(function(f,g){e.Fb=b?function(h){try{var m=b.call(d,h);f(m)}catch(p){g(p)}}:
|
|
f;e.Zb=c?function(h){try{var m=c.call(d,h);void 0===m&&h instanceof mh?g(h):f(m)}catch(p){g(p)}}:g});e.pb.O=a;wh(a,e);return e.pb};nh.prototype.Ni=function(a){B(1==this.V);this.V=0;lh(this,2,a)};nh.prototype.Oi=function(a){B(1==this.V);this.V=0;lh(this,3,a)};
|
|
var lh=function(a,b,c){if(0==a.V){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.V=1;a:{var d=c,e=a.Ni,f=a.Oi;if(d instanceof nh){null!=e&&Va(e,"opt_onFulfilled should be a function.");null!=f&&Va(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");wh(d,qh(e||za,f||null,a));var g=!0}else if(kh(d))d.then(e,f,a),g=!0;else{if(v(d))try{var h=d.then;if(Ea(h)){xh(d,h,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=
|
|
!1}}g||(a.sa=c,a.V=b,a.O=null,vh(a),3!=b||c instanceof mh||yh(a,c))}},xh=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)}},vh=function(a){a.ye||(a.ye=!0,ih(a.ki,a))},th=function(a){var b=null;a.Ta&&(b=a.Ta,a.Ta=b.next,b.next=null);a.Ta||(a.Sb=null);null!=b&&B(null!=b.Fb);return b};nh.prototype.ki=function(){for(var a;a=th(this);)uh(this,a,this.V,this.sa);this.ye=!1};
|
|
var uh=function(a,b,c,d){if(3==c&&b.Zb&&!b.$c)for(;a&&a.ld;a=a.O)a.ld=!1;if(b.pb)b.pb.O=null,zh(b,c,d);else try{b.$c?b.Fb.call(b.context):zh(b,c,d)}catch(e){Ah.call(null,e)}ph.put(b)},zh=function(a,b,c){2==b?a.Fb.call(a.context,c):a.Zb&&a.Zb.call(a.context,c)},yh=function(a,b){a.ld=!0;ih(function(){a.ld&&Ah.call(null,b)})},Ah=Zg,mh=function(a){Oa.call(this,a)};A(mh,Oa);mh.prototype.name="cancel";var Bh=function(a,b,c){if(Ea(a))c&&(a=x(a,c));else if(a&&"function"==typeof a.handleEvent)a=x(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:t.setTimeout(a,b||0)};var Ch=function(a,b,c){La.call(this);this.ui=null!=c?x(a,c):a;this.ri=b;this.di=x(this.Ci,this);this.ae=[]};A(Ch,La);k=Ch.prototype;k.fc=!1;k.Kc=0;k.Lb=null;k.Be=function(a){this.ae=arguments;this.Lb||this.Kc?this.fc=!0:Dh(this)};k.stop=function(){this.Lb&&(t.clearTimeout(this.Lb),this.Lb=null,this.fc=!1,this.ae=[])};k.pause=function(){this.Kc++};k.resume=function(){this.Kc--;this.Kc||!this.fc||this.Lb||(this.fc=!1,Dh(this))};k.C=function(){Ch.F.C.call(this);this.stop()};
|
|
k.Ci=function(){this.Lb=null;this.fc&&!this.Kc&&(this.fc=!1,Dh(this))};var Dh=function(a){a.Lb=Bh(a.di,a.ri);a.ui.apply(null,a.ae)};/*
|
|
Portions of this code are from MochiKit, received by
|
|
The Closure Authors under the MIT license. All other code is Copyright
|
|
2005-2009 The Closure Authors. All Rights Reserved.
|
|
*/
|
|
var Fh=function(a){var b=Eh;this.Bd=[];this.ah=b;this.ng=a||null;this.zc=this.Wb=!1;this.sa=void 0;this.wf=this.Uf=this.de=!1;this.Jd=0;this.O=null;this.fe=0};Fh.prototype.cancel=function(a){if(this.Wb)this.sa instanceof Fh&&this.sa.cancel();else{if(this.O){var b=this.O;delete this.O;a?b.cancel(a):(b.fe--,0>=b.fe&&b.cancel())}this.ah?this.ah.call(this.ng,this):this.wf=!0;this.Wb||Gh(this,new Hh(this))}};Fh.prototype.cg=function(a,b){this.de=!1;Ih(this,a,b)};
|
|
var Ih=function(a,b,c){a.Wb=!0;a.sa=c;a.zc=!b;Jh(a)},Lh=function(a){if(a.Wb){if(!a.wf)throw new Kh(a);a.wf=!1}};Fh.prototype.callback=function(a){Lh(this);Mh(a);Ih(this,!0,a)};var Gh=function(a,b){Lh(a);Mh(b);Ih(a,!1,b)},Mh=function(a){B(!(a instanceof Fh),"An execution sequence may not be initiated with a blocking Deferred.")},Nh=function(a,b,c){B(!a.Uf,"Blocking Deferreds can not be re-used");a.Bd.push([b,c,void 0]);a.Wb&&Jh(a)};
|
|
Fh.prototype.then=function(a,b,c){var d,e,f=new nh(function(g,h){d=g;e=h});Nh(this,d,function(g){g instanceof Hh?f.cancel():e(g)});return f.then(a,b,c)};Fh.prototype.$goog_Thenable=!0;
|
|
var Oh=function(a){return bb(a.Bd,function(b){return Ea(b[1])})},Jh=function(a){if(a.Jd&&a.Wb&&Oh(a)){var b=a.Jd,c=Ph[b];c&&(t.clearTimeout(c.ca),delete Ph[b]);a.Jd=0}a.O&&(a.O.fe--,delete a.O);b=a.sa;for(var d=c=!1;a.Bd.length&&!a.de;){var e=a.Bd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.zc?g:f)try{var h=f.call(e||a.ng,b);void 0!==h&&(a.zc=a.zc&&(h==b||h instanceof Error),a.sa=b=h);if(kh(b)||"function"===typeof t.Promise&&b instanceof t.Promise)d=!0,a.de=!0}catch(m){b=m,a.zc=!0,Oh(a)||(c=!0)}}a.sa=b;d&&
|
|
(h=x(a.cg,a,!0),d=x(a.cg,a,!1),b instanceof Fh?(Nh(b,h,d),b.Uf=!0):b.then(h,d));c&&(b=new Qh(b),Ph[b.ca]=b,a.Jd=b.ca)},Kh=function(){Oa.call(this)};A(Kh,Oa);Kh.prototype.message="Deferred has already fired";Kh.prototype.name="AlreadyCalledError";var Hh=function(){Oa.call(this)};A(Hh,Oa);Hh.prototype.message="Deferred was canceled";Hh.prototype.name="CanceledError";var Qh=function(a){this.ca=t.setTimeout(x(this.Mi,this),0);this.hd=a};
|
|
Qh.prototype.Mi=function(){B(Ph[this.ca],"Cannot throw an error that is not scheduled.");delete Ph[this.ca];throw this.hd;};var Ph={};var Uh=function(a){var b={},c=b.document||document,d=dc(a).toString(),e=Sg(document,"SCRIPT"),f={th:e,Pc:void 0},g=new Fh(f),h=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(h=window.setTimeout(function(){Rh(e,!0);Gh(g,new Sh(1,"Timeout reached for loading script "+d))},m),f.Pc=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Rh(e,b.mk||!1,h),g.callback(null))};e.onerror=function(){Rh(e,!0,h);Gh(g,new Sh(0,"Error while loading script "+d))};
|
|
f=b.attributes||{};Sb(f,{type:"text/javascript",charset:"UTF-8"});Pg(e,f);vc(e,a);Th(c).appendChild(e)},Th=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Eh=function(){if(this&&this.th){var a=this.th;a&&"SCRIPT"==a.tagName&&Rh(a,!0,this.Pc)}},Rh=function(a,b,c){null!=c&&t.clearTimeout(c);a.onload=za;a.onerror=za;a.onreadystatechange=za;b&&window.setTimeout(function(){Vg(a)},0)},Sh=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=
|
|
": "+b);Oa.call(this,c);this.code=a};A(Sh,Oa);var Wh=function(a){return(new Vh(void 0)).X(a)},Vh=function(a){this.zd=a};Vh.prototype.X=function(a){var b=[];Xh(this,a,b);return b.join("")};
|
|
var Xh=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(u(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Xh(a,a.zd?a.zd.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),Yh(d,c),c.push(":"),Xh(a,a.zd?a.zd.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Yh(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);}}},Zh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},$h=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Yh=function(a,b){b.push('"',a.replace($h,function(c){var d=Zh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),
|
|
Zh[c]=d);return d}),'"')};var ai=function(a,b,c){this.reset(a,b,c,void 0,void 0)};ai.prototype.sg=null;var bi=0;ai.prototype.reset=function(a,b,c,d,e){"number"==typeof e||bi++;d||Ka();this.Dc=a;delete this.sg};ai.prototype.vh=function(a){this.Dc=a};var ci=function(a){this.zi=a;this.Fg=this.je=this.Dc=this.O=null},di=function(a,b){this.name=a;this.value=b};di.prototype.toString=function(){return this.name};var ei=new di("SEVERE",1E3),fi=new di("INFO",800),hi=new di("CONFIG",700),ii=new di("FINE",500);ci.prototype.getParent=function(){return this.O};ci.prototype.Cg=function(){this.je||(this.je={});return this.je};ci.prototype.vh=function(a){this.Dc=a};
|
|
var ji=function(a){if(a.Dc)return a.Dc;if(a.O)return ji(a.O);Sa("Root logger has no level set.");return null};ci.prototype.log=function(a,b,c){if(a.value>=ji(this).value)for(Ea(b)&&(b=b()),a=new ai(a,String(b),this.zi),c&&(a.sg=c),c=this;c;){var d=c,e=a;if(d.Fg)for(var f=0;b=d.Fg[f];f++)b(e);c=c.getParent()}};ci.prototype.info=function(a,b){this.log(fi,a,b)};
|
|
var ki={},li=null,mi=function(a){li||(li=new ci(""),ki[""]=li,li.vh(hi));var b;if(!(b=ki[a])){b=new ci(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=mi(a.substr(0,c));c.Cg()[d]=b;b.O=c;ki[a]=b}return b};var ni=function(a,b){a&&a.log(ii,b,void 0)};var oi=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var pi=function(){};pi.prototype.Yf=null;var ri=function(a){var b;(b=a.Yf)||(b={},qi(a)&&(b[0]=!0,b[1]=!0),b=a.Yf=b);return b};var si,ti=function(){};A(ti,pi);var ui=function(a){return(a=qi(a))?new ActiveXObject(a):new XMLHttpRequest},qi=function(a){if(!a.Kg&&"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.Kg=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Kg};si=new ti;var vi=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,wi=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 xi=function(a){sd.call(this);this.headers=new zd;this.Qd=a||null;this.za=!1;this.Pd=this.l=null;this.Cc=this.Sg=this.rd="";this.Bb=this.Le=this.pd=this.we=!1;this.hc=0;this.Gd=null;this.dc="";this.Ld=this.Di=this.Gh=!1};A(xi,sd);var yi=xi.prototype,zi=mi("goog.net.XhrIo");yi.na=zi;var Ai=/^https?$/i,Bi=["POST","PUT"],Ci=[];xi.prototype.fi=function(){this.Ka();jb(Ci,this)};
|
|
xi.prototype.send=function(a,b,c,d){if(this.l)throw Error("[goog.net.XhrIo] Object is active with another request="+this.rd+"; newUri="+a);b=b?b.toUpperCase():"GET";this.rd=a;this.Cc="";this.Sg=b;this.we=!1;this.za=!0;this.l=this.Qd?ui(this.Qd):ui(si);this.Pd=this.Qd?ri(this.Qd):ri(si);this.l.onreadystatechange=x(this.eh,this);this.Di&&"onprogress"in this.l&&(this.l.onprogress=x(function(f){this.dh(f,!0)},this),this.l.upload&&(this.l.upload.onprogress=x(this.dh,this)));try{ni(this.na,Di(this,"Opening Xhr")),
|
|
this.Le=!0,this.l.open(b,String(a),!0),this.Le=!1}catch(f){ni(this.na,Di(this,"Error opening Xhr: "+f.message));this.hd(5,f);return}a=c||"";var e=this.headers.clone();d&&Gd(d,function(f,g){e.set(g,f)});d=fb(e.Da());c=t.FormData&&a instanceof t.FormData;!gb(Bi,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.l.setRequestHeader(g,f)},this);this.dc&&(this.l.responseType=this.dc);"withCredentials"in this.l&&this.l.withCredentials!==this.Gh&&
|
|
(this.l.withCredentials=this.Gh);try{Ei(this),0<this.hc&&(this.Ld=Fi(this.l),ni(this.na,Di(this,"Will abort after "+this.hc+"ms if incomplete, xhr2 "+this.Ld)),this.Ld?(this.l.timeout=this.hc,this.l.ontimeout=x(this.Pc,this)):this.Gd=Bh(this.Pc,this.hc,this)),ni(this.na,Di(this,"Sending request")),this.pd=!0,this.l.send(a),this.pd=!1}catch(f){ni(this.na,Di(this,"Send error: "+f.message)),this.hd(5,f)}};
|
|
var Fi=function(a){return Dc&&Nc(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},eb=function(a){return"content-type"==a.toLowerCase()};xi.prototype.Pc=function(){"undefined"!=typeof ua&&this.l&&(this.Cc="Timed out after "+this.hc+"ms, aborting",ni(this.na,Di(this,this.Cc)),this.dispatchEvent("timeout"),this.abort(8))};xi.prototype.hd=function(a,b){this.za=!1;this.l&&(this.Bb=!0,this.l.abort(),this.Bb=!1);this.Cc=b;Gi(this);Hi(this)};
|
|
var Gi=function(a){a.we||(a.we=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};xi.prototype.abort=function(){this.l&&this.za&&(ni(this.na,Di(this,"Aborting")),this.za=!1,this.Bb=!0,this.l.abort(),this.Bb=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Hi(this))};xi.prototype.C=function(){this.l&&(this.za&&(this.za=!1,this.Bb=!0,this.l.abort(),this.Bb=!1),Hi(this,!0));xi.F.C.call(this)};xi.prototype.eh=function(){this.La||(this.Le||this.pd||this.Bb?Ii(this):this.Bi())};
|
|
xi.prototype.Bi=function(){Ii(this)};
|
|
var Ii=function(a){if(a.za&&"undefined"!=typeof ua)if(a.Pd[1]&&4==a.hb()&&2==a.getStatus())ni(a.na,Di(a,"Local request error detected and ignored"));else if(a.pd&&4==a.hb())Bh(a.eh,0,a);else if(a.dispatchEvent("readystatechange"),4==a.hb()){ni(a.na,Di(a,"Request complete"));a.za=!1;try{var b=a.getStatus(),c;if(!(c=oi(b))){var d;if(d=0===b){var e=String(a.rd).match(vi)[1]||null;if(!e&&t.self&&t.self.location){var f=t.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.hb()?a.l.statusText:""}catch(h){ni(a.na,"Can not get status: "+h.message),g=""}a.Cc=g+" ["+a.getStatus()+"]";Gi(a)}}finally{Hi(a)}}};xi.prototype.dh=function(a,b){B("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.l){Ei(a);var c=a.l,d=a.Pd[0]?za:null;a.l=null;a.Pd=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.na)&&a.log(ei,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Ei=function(a){a.l&&a.Ld&&(a.l.ontimeout=null);a.Gd&&(t.clearTimeout(a.Gd),a.Gd=null)};xi.prototype.Pg=function(){return!!this.l};
|
|
xi.prototype.hb=function(){return this.l?this.l.readyState:0};xi.prototype.getStatus=function(){try{return 2<this.hb()?this.l.status:-1}catch(a){return-1}};
|
|
var Ki=function(a){try{if(!a.l)return null;if("response"in a.l)return a.l.response;switch(a.dc){case "":case "text":return a.l.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.l)return a.l.mozResponseArrayBuffer}var b=a.na;b&&b.log(ei,"Response type "+a.dc+" is not supported on this browser",void 0);return null}catch(c){return ni(a.na,"Can not get response: "+c.message),null}};
|
|
xi.prototype.getResponseHeader=function(a){if(this.l&&4==this.hb())return a=this.l.getResponseHeader(a),null===a?void 0:a};xi.prototype.getAllResponseHeaders=function(){return this.l&&4==this.hb()?this.l.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=yc(a[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return Gb(b,function(g){return g.join(", ")})},Di=function(a,b){return b+" ["+a.Sg+" "+a.rd+" "+a.getStatus()+"]"};var Mi=function(a,b){this.Ua=this.Nb=this.jb="";this.ac=null;this.vb=this.Ya="";this.ua=this.si=!1;if(a instanceof Mi){this.ua=void 0!==b?b:a.ua;Ni(this,a.jb);var c=a.Nb;Oi(this);this.Nb=c;c=a.Ua;Oi(this);this.Ua=c;Pi(this,a.ac);this.setPath(a.getPath());Qi(this,a.xa.clone());a=a.vb;Oi(this);this.vb=a}else a&&(c=String(a).match(vi))?(this.ua=!!b,Ni(this,c[1]||"",!0),a=c[2]||"",Oi(this),this.Nb=Ri(a),a=c[3]||"",Oi(this),this.Ua=Ri(a,!0),Pi(this,c[4]),this.setPath(c[5]||"",!0),Qi(this,c[6]||"",!0),
|
|
a=c[7]||"",Oi(this),this.vb=Ri(a)):(this.ua=!!b,this.xa=new Si(null,this.ua))};
|
|
Mi.prototype.toString=function(){var a=[],b=this.jb;b&&a.push(Ti(b,Ui,!0),":");var c=this.Ua;if(c||"file"==b)a.push("//"),(b=this.Nb)&&a.push(Ti(b,Ui,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.ac,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Ua&&"/"!=c.charAt(0)&&a.push("/"),a.push(Ti(c,"/"==c.charAt(0)?Vi:Wi,!0));(c=this.xa.toString())&&a.push("?",c);(c=this.vb)&&a.push("#",Ti(c,Xi));return a.join("")};
|
|
Mi.prototype.resolve=function(a){var b=this.clone(),c=!!a.jb;c?Ni(b,a.jb):c=!!a.Nb;if(c){var d=a.Nb;Oi(b);b.Nb=d}else c=!!a.Ua;c?(d=a.Ua,Oi(b),b.Ua=d):c=null!=a.ac;d=a.getPath();if(c)Pi(b,a.ac);else if(c=!!a.Ya){if("/"!=d.charAt(0))if(this.Ua&&!this.Ya)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.xa.toString();c?Qi(b,a.xa.clone()):c=!!a.vb;c&&(a=a.vb,Oi(b),b.vb=a);return b};Mi.prototype.clone=function(){return new Mi(this)};
|
|
var Ni=function(a,b,c){Oi(a);a.jb=c?Ri(b,!0):b;a.jb&&(a.jb=a.jb.replace(/:$/,""))},Pi=function(a,b){Oi(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.ac=b}else a.ac=null};Mi.prototype.getPath=function(){return this.Ya};Mi.prototype.setPath=function(a,b){Oi(this);this.Ya=b?Ri(a,!0):a;return this};var Qi=function(a,b,c){Oi(a);b instanceof Si?(a.xa=b,a.xa.tf(a.ua)):(c||(b=Ti(b,Yi)),a.xa=new Si(b,a.ua))};Mi.prototype.getQuery=function(){return this.xa.toString()};
|
|
Mi.prototype.removeParameter=function(a){Oi(this);this.xa.remove(a);return this};var Oi=function(a){if(a.si)throw Error("Tried to modify a read-only Uri");};Mi.prototype.tf=function(a){this.ua=a;this.xa&&this.xa.tf(a)};
|
|
var Zi=function(a){return a instanceof Mi?a.clone():new Mi(a,void 0)},Ri=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ti=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,$i),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},$i=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Ui=/[#\/\?@]/g,Wi=/[#\?:]/g,Vi=/[#\?]/g,Yi=/[#\?@]/g,Xi=/#/g,Si=function(a,b){this.J=this.N=null;this.qa=a||null;this.ua=!!b},
|
|
aj=function(a){a.N||(a.N=new zd,a.J=0,a.qa&&wi(a.qa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=Si.prototype;k.M=function(){aj(this);return this.J};k.add=function(a,b){aj(this);this.qa=null;a=bj(this,a);var c=this.N.get(a);c||this.N.set(a,c=[]);c.push(b);this.J=Ta(this.J)+1;return this};k.remove=function(a){aj(this);a=bj(this,a);return this.N.eb(a)?(this.qa=null,this.J=Ta(this.J)-this.N.get(a).length,this.N.remove(a)):!1};k.clear=function(){this.N=this.qa=null;this.J=0};
|
|
k.isEmpty=function(){aj(this);return 0==this.J};k.eb=function(a){aj(this);a=bj(this,a);return this.N.eb(a)};k.rc=function(a){var b=this.T();return gb(b,a)};k.forEach=function(a,b){aj(this);this.N.forEach(function(c,d){Za(c,function(e){a.call(b,e,d,this)},this)},this)};k.Da=function(){aj(this);for(var a=this.N.T(),b=this.N.Da(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
k.T=function(a){aj(this);var b=[];if("string"===typeof a)this.eb(a)&&(b=kb(b,this.N.get(bj(this,a))));else{a=this.N.T();for(var c=0;c<a.length;c++)b=kb(b,a[c])}return b};k.set=function(a,b){aj(this);this.qa=null;a=bj(this,a);this.eb(a)&&(this.J=Ta(this.J)-this.N.get(a).length);this.N.set(a,[b]);this.J=Ta(this.J)+1;return this};k.get=function(a,b){if(!a)return b;a=this.T(a);return 0<a.length?String(a[0]):b};
|
|
k.setValues=function(a,b){this.remove(a);0<b.length&&(this.qa=null,this.N.set(bj(this,a),lb(b)),this.J=Ta(this.J)+b.length)};k.toString=function(){if(this.qa)return this.qa;if(!this.N)return"";for(var a=[],b=this.N.Da(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.T(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.qa=a.join("&")};
|
|
k.clone=function(){var a=new Si;a.qa=this.qa;this.N&&(a.N=this.N.clone(),a.J=this.J);return a};var bj=function(a,b){b=String(b);a.ua&&(b=b.toLowerCase());return b};Si.prototype.tf=function(a){a&&!this.ua&&(aj(this),this.qa=null,this.N.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ua=a};Si.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Gd(arguments[b],function(c,d){this.add(d,c)},this)};var cj,H=function(a,b){dj();this.callback=a;this.U=new ej(!a,b)},I=function(a,b){b instanceof Promise?a.callback&&b.then(function(c){return a.callback(c)})["catch"](function(c){return a.callback(void 0,c)}):b.then(function(c){b=c});return b},fj=function(){return"projects/"+cj};k=H.prototype;k.lc=function(){return new tg(this.U)};k.S=function(){return new vg(this.U)};k.Ea=function(){return new Bg(this.U)};k.value=function(){return new Eg(this.U)};k.maps=function(){return new Ag(this.U)};k.map=function(){return new zg(this.U)};
|
|
k.image=function(){return new yg(this.U)};k.table=function(){return new Cg(this.U)};k.video=function(){return new Gg(this.U)};var ej=function(a,b){this.sync=a=void 0===a?!1:a;this.ph=null!=b?b:a?5:10;return this};n(ej,ie);
|
|
ej.prototype.send=function(a,b){var c=this;he(a);var d=a.path||"",e=gj()+d,f=J(a.o||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=K(e,f,void 0,a.u,g,this.ph);d=b?Ud(b,d):d;var h=function(m){return{then:function(p){return h(p(m))}}};return h(d)}return(new Promise(function(m,p){K(e,f,function(q,w){w?p(w):m(q)},a.u,g,c.ph)})).then(function(m){return b?Ud(b,m):m})};var ij=function(a){H.call(this,a);this.U=new hj};n(ij,H);
|
|
ij.prototype.send=function(a,b){var c=this,d=gj()+"/batch",e=a.map(function(g){var h=l(g);g=h.next().value;h=l(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=l(m);m=p.next().value;p=l(p.next().value);p.next();p=p.next().value;null!=g[m]&&(h[m]=
|
|
Ud(p,g[m]))});return b?b(h):h};return this.callback?(K(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(K(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var hj=function(){return ie.apply(this,arguments)||this};n(hj,ie);
|
|
hj.prototype.send=function(a,b){var c=[a.u+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=jj();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 kj=function(a,b,c){a=l(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"))}},gj=function(){var a=lj.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},rj=function(a,b,c){mj&&nj&&mj({client_id:String(nj),
|
|
immediate:!0,scope:oj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(L&&"window"in t)try{pj(function(){try{t.gapi.auth.setToken(d),qj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else qj(a,b,d)})},jj=function(){sj&&0<=Ka()-sj&&(sj=tj=null);return tj},uj=function(a,b){nj=a;oj=b},dj=function(a,b,c){null!=a?lj=a:vj||(lj="https://earthengine.googleapis.com/api");null!=b?wj=b:vj||(wj="https://earthengine.googleapis.com");void 0!==c&&(xj=c);L&&(cj=cj||"earthengine-legacy");
|
|
vj=!0},K=function(a,b,c,d,e,f){dj();var g=yj,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=jj();if(null!=m)h.Authorization=m;else if(c&&mj&&nj)return rj(function(){Dj(g,function(){K(a,b,c,d)})}),null;b=b?b.clone():new Si;null!=Ej&&b.add("key",Ej);L?(g&&(h["X-Earth-Engine-Computation-Profile"]="1"),cj&&"earthengine-legacy"!==cj&&(h["X-Goog-User-Project"]=cj)):g&&b.add("profiling","1");b=Fj(b,a);null!=
|
|
xj&&(h["X-XSRF-Token"]=xj);null!=Gj&&(h["X-Earth-Engine-App-ID-Token"]=Gj);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("/")?lj+a:a;if(c)return Hj.push(Ij(e,c,d,m,h,f)),Jj.Be(),null;p=function(z,E){this.setRequestHeader&&this.setRequestHeader(E,z)};var q=0;for(f=null!=f?f:5;;){var w=ui(si);w.open(d,e,!1);Eb(h,p,w);w.send(m);if(429!=w.status||q>f)break;q++}return Kj(w.status,function(z){try{return w.getResponseHeader(z)}catch(E){return null}},
|
|
w.responseText,g)},Ij=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},m=yj,p=null!=f?f:10;h.callback=function(q){q=q.target;if(429==q.getStatus()&&g<p)return g++,setTimeout(function(){Hj.push(h);Jj.Be()},Math.min(12E4,1E3*Math.pow(2,g))),null;var w=Kj,z=q.getStatus(),E=x(q.getResponseHeader,q);try{var M=q.l?q.l.responseText:""}catch(Z){ni(q.na,"Can not get responseText: "+Z.message),M=""}return w(z,E,M,m,b)};return h},Dj=function(a,b){var c=yj;try{yj=a,b.call(void 0)}finally{yj=
|
|
c}},Kj=function(a,b,c,d,e){var f=d?b("X-Earth-Engine-Computation-Profile"):"";f&&d&&d(f);var g=function(E){return L?E:E.data},h=function(E){try{var M=JSON.parse(E);return v(M)&&"error"in M&&"message"in M.error?M.error.message:{parsed:M}}catch(Z){return"Invalid JSON: "+E}},m=function(E){if(0===E)return"Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";if(200>E||300<=E)return"Server returned HTTP code: "+E},p;b=b("Content-Type")||"application/json";
|
|
d=b.replace(/;.*/,"");if("application/json"===d||"text/json"===d)if(b=h(c),b.parsed){var q=g(b.parsed);void 0===q&&(p="Malformed response: "+c)}else p=b;else if("multipart/mixed"===d){q={};var w=[];kj(b,c,function(E,M,Z){Z=h(Z);Z.parsed&&(q[E]=g(Z.parsed));(M=(Z.parsed?"":Z)||m(M))&&w.push(E+": "+M)});w.length&&(p=w.join("\n"))}else var z="Response was unexpectedly not JSON, but "+d;p=p||m(a)||z;if(e)return e(q,p),null;if(!p)return q;throw Error(p);},pj=function(a){var b=function(){t.gapi.config.update("client/cors",
|
|
!0);mj||(mj=t.gapi.auth.authorize);a()};if(v(t.gapi)&&v(t.gapi.auth)&&Ea(t.gapi.auth.authorize))b();else{for(var c=Ka().toString(36);c in t;)c+="_";t[c]=function(){delete t[c];b()};Uh(hc({onload:c}))}},qj=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(rj,.9*c);void 0!==d.unref&&d.unref();sj=Ka()+c}tj=b;a&&a()}else b&&b(c.error||"Unknown error.")},J=function(a){var b=new Si;a=l(Object.entries(a));for(var c=
|
|
a.next();!c.done;c=a.next()){var d=l(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Hj=[],Jj=new Ch(function(){var a=Hj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=Lj,g=new xi;Ci.push(g);c&&g.Na("complete",c);g.Gc("ready",g.fi);f&&(g.hc=Math.max(0,f));g.send(b,d,e,a)}0==Hj.length||Jj.Be()},350),lj=null,wj=null,xj=null,Gj=null,Fj=Ub,tj=null,sj=null,nj=null,oj=[],mj=null,ec=new Xb(Vb,"https://apis.google.com/js/client.js?onload=%{onload}"),Ej=null,
|
|
L=!1,vj=!1,Lj=0,yj=null;var Mj=function(){},Nj=function(a){if(void 0===a||null===a)a=Pd;return new Pe({qb:a})},Oj=function(a){return new Pe({ab:a})},Pj=function(a){return new Pe({ob:new Oe({values:a})})},Qj=function(a){return new Pe({sb:new ff({values:a})})},Rj=function(a,b){return new Pe({fb:new Gf({functionName:a,arguments:b})})},Sj=function(a,b){return new Pe({fb:new Gf({gb:a,arguments:b})})},Tj=function(a,b){return new Pe({wb:new Ff({mc:a,body:b})})},Uj=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";default:return a}},Vj=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}},Wj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');
|
|
return a},Xj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(u(a))return a;throw Error("Invalid band list "+a);},ak=function(a){var b=new pf,c=!1;"palette"in a&&(c=a.palette,b.Jc="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.Jc?b.Jc.length-1:255;d=Yj(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=Yj(a,"min","max");0!==d.length&&(b.jf=d.map(function(f){return new gf(f)}),c=!0);a=Zj(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},Zj=function(a){return a?a.split(",").map(Number):[]},Yj=function(a,b,c){var d=Zj(a[b]),e=Zj(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})},bk=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.ad&&(h.name=g.ad);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.nf||"";null!=g.hidden&&(h.hidden=g.hidden);g.preview&&(h.preview=g.preview);g.deprecated&&
|
|
(h.deprecated=g.se);return h},d={};a=l(a.lc||[]);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},ck=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/,dk=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/(.*)$/,ek=/^projects\/((?:\w+(?:[\w\-]+\.[\w\-]+)*?\.\w+:)?[a-z][a-z0-9\-]{4,28}[a-z0-9])\/assets\/?$/,fk=function(a){return(a=ck.exec(a))?a[1]:"earthengine-legacy"},
|
|
gk=function(a){return dk.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+a},ik=function(a){return(a.S||[]).map(hk)},kk=function(a){return(a.images||[]).map(jk)},lk=function(a){switch(a){case "ALGORITHM":return"Algorithm";case "FOLDER":return"Folder";case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "TABLE":return"Table";default:return"Unknown"}},hk=function(a){var b=mk(lk(a.type),a.name),c=Object.assign({},
|
|
a.properties||{});a.ya&&(c["system:asset_size"]=Number(a.ya));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.Ha&&(b.version=1E3*Date.parse(a.Ha));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.K.re,dimensions:void 0,crs_transform:void 0};
|
|
if(d.K){if(null!=d.K.nb){var f=d.K.nb;e.crs_transform=[f.pf||0,f.uf||0,f.If||0,f.vf||0,f.qf||0,f.Jf||0]}null!=d.K.dimensions&&(e.dimensions=[d.K.dimensions.width,d.K.dimensions.height])}d.dataType&&(f={type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.Lc&&(f.min=d.dataType.Lc.min||0,f.max=d.dataType.Lc.max),e.data_type=f);return e}));return b},nk=function(a){var b=new jf,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.ya=
|
|
String(d));a("system:time_start")&&(b.startTime=(new Date(Number(d))).toISOString());a("system:time_end")&&(b.endTime=(new Date(Number(d))).toISOString());a("system:footprint")&&(b.geometry=d);"string"===typeof a("system:title")&&(b.title=d);"string"===typeof a("system:description")&&(b.description=d);b.properties=c;return b},jk=function(a){return mk("Image",a.name)},mk=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},pk=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=ok(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=l(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},ok=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("],[")+"]]]}"},qk=function(a){var b={};(a.bd||[]).forEach(function(f){b[f.ec]=f.Eb});var c=new Set,d=function(f){var g=f.replace(/^group:|^user:/,"");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},rk=function(a){var b=function(d){return(a[d]||[]).map(function(e){return(a.groups&&a.groups.has(e)?"group:":"user:")+e})},c=a.all_users_can_read?["allUsers"]:[];b=[{ec:"roles/owner",Eb:b("owners")},{ec:"roles/viewer",Eb:b("readers").concat(c)},{ec:"roles/editor",Eb:b("writers")}].map(function(d){return new Te(d)});return new jg({bd:b.filter(function(d){return d.Eb.length}),
|
|
xe:null})},sk=function(a){return"projects/earthengine-legacy/operations/"+a},tk=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},uk=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=Ud(ig,a.Ye||{});null!=e.description&&
|
|
(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.qe);c("update_timestamp_ms",e.Ha);c("start_timestamp_ms",e.startTime);a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=tk(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.te;b.source_url=e.rf;return b},vk=function(a){var b={started:"OK"};a.name&&(b.taskId=tk(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},wk=function(a){return a.primaryPath?
|
|
[a.primaryPath].concat(ba(a.additionalPaths||[])):null},zk=function(a){var b=function(f){var g=Ud(Xf,f);g.Mb=wk(f);return g},c=Ud(Sf,a);c.name=gk(a.id);c.tilesets=(a.tilesets||[]).map(function(f){var g=Ud(Vf,f);g.sources=(f.sources||[]).map(b);return g});c.bands=(a.bands||[]).map(function(f){var g=Ud(Tf,f);g.missingData=xk(f.missingData);return g});c.missingData=xk(a.missingData);c.Ue=qb((a.tilesets||[]).map(yk));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},yk=function(a){var b=[];if(!u(a.fileBands))return b;var c=function(d){var e=[];null!=d&&u(d.bandId)&&(e=d.bandId.map(function(f){return f||""}));return new Uf({gc:a.id||"",ea:e})};a.fileBands.forEach(function(d){d.maskForAllBands?b.push(c(null)):null!=d.maskForBands&&b.push(c(d.maskForBands))});
|
|
return b},Ak=function(a){var b=Ud($f,a);b.name=gk(a.id);b.sources=(a.sources||[]).map(function(e){var f=Ud(ng,e);f.Mb=wk(e);e.maxError&&(f.Cb=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},xk=function(a){if(null==a)return null;var b=new Qf({values:[]});null!=
|
|
a.value&&"number"===typeof a.value&&b.values.push(a.value);u(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var Bk=function(){this.cb=-1};var Ck=function(){this.cb=64;this.Y=Array(4);this.bi=Array(this.cb);this.Id=this.pc=0;this.reset()};A(Ck,Bk);Ck.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Id=this.pc=0};
|
|
var Dk=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.Y[0];c=a.Y[1];e=a.Y[2];var f=a.Y[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
|
|
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
|
|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
|
|
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
|
|
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
|
|
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
|
|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
|
|
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
|
|
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
|
|
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.Y[0]=a.Y[0]+b&4294967295;a.Y[1]=a.Y[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.Y[2]=a.Y[2]+e&4294967295;a.Y[3]=a.Y[3]+f&4294967295};
|
|
Ck.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.cb,d=this.bi,e=this.pc,f=0;f<b;){if(0==e)for(;f<=c;)Dk(this,a,f),f+=this.cb;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.cb){Dk(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.cb){Dk(this,d);e=0;break}}this.pc=e;this.Id+=b};
|
|
Ck.prototype.digest=function(){var a=Array((56>this.pc?this.cb:2*this.cb)-this.pc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Id;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.Y[b]>>>d&255;return a};var Ek=function(a){this.Uc="__ee_hash__";this.qd=!1!==a;this.Oa=[];this.ta={};this.Kf=[];this.nd=new WeakMap};y("ee.Serializer",Ek);var Fk=new Vh,Gk=new Ck,Ik=function(a,b){return Hk(new Ek(void 0!==b?b:!0),a)};y("ee.Serializer.encode",Ik);var Jk=function(a){return Fk.X(Ik(a))};y("ee.Serializer.toJSON",Jk);var Lk=function(a){return Kk(Ik(a,!1))};y("ee.Serializer.toReadableJSON",Lk);
|
|
var Kk=function(a){return"JSON"in t?t.JSON.stringify(a,null," "):Fk.X(a)},Hk=function(a,b){b=a.gd(b);a.qd&&(b=v(b)&&"ValueRef"==b.type&&1==a.Oa.length?a.Oa[0][1]:{type:"CompoundValue",scope:a.Oa,value:b},a.Oa=[],Za(a.Kf,x(function(c){delete c[this.Uc]},a)),a.Kf=[],a.ta={});return b};
|
|
Ek.prototype.gd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=v(a)?a[this.Uc]:null;if(this.qd&&null!=b&&this.ta[b])return{type:"ValueRef",value:this.ta[b]};if(null===a||"boolean"===typeof a||"number"===typeof a||"string"===typeof a)return a;if(Da(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Mj){var c=a.encode(x(this.gd,this));if(!(u(c)||v(c)&&"ArgumentRef"!=c.type))return c}else if(u(a))c=ab(a,function(e){return this.gd(e)},
|
|
this);else if(v(a)&&!Ea(a))c=Gb(a,function(e){if(!Ea(e))return this.gd(e)},this),Ob(c,this.Uc),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.qd){b=Mk(c);if(this.ta[b])var d=this.ta[b];else d=String(this.Oa.length),this.Oa.push([d,c]),this.ta[b]=d;a[this.Uc]=b;this.Kf.push(a);return{type:"ValueRef",value:d}}return c};var Mk=function(a){Gk.reset();Gk.update(Fk.X(a));return Gk.digest().toString()},Ok=function(a){return Nk(new Ek(!0),a)};
|
|
y("ee.Serializer.encodeCloudApi",Ok);
|
|
var Pk=function(a){a=Nk(new Ek(!1),a);var b=a.values,c=function(d){if(!v(d))return d;var e=u(d)?[]:{},f=d instanceof Object.getPrototypeOf(Pe);d=l(Object.entries(f?d.a:d));for(var g=d.next();!g.done;g=d.next()){var h=l(g.value);g=h.next().value;h=h.next().value;f?null!==h&&(e[g]="functionDefinitionValue"===g&&null!=h.body?{argumentNames:h.mc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.gb?{arguments:Gb(h.arguments,c),functionReference:c(b[h.gb])}:"constantValue"===g?h===Pd?null:h:c(h)):
|
|
e[g]=c(h)}return e};return a.result&&c(b[a.result])};y("ee.Serializer.encodeCloudApiPretty",Pk);var Qk=function(a){return Kk(Pk(a))};y("ee.Serializer.toReadableCloudApiJSON",Qk);
|
|
var Nk=function(a,b){try{var c=Rk(a,b),d=new Sk(c,a.Oa,a.qd),e=Tk(d,d.sh);return new Ze({result:e,values:d.gh})}finally{a.nd=new WeakMap,a.ta={},a.Oa=[]}},Rk=function(a,b){var c=function(e){var f=Mk(e);if(a.ta[f])return a.ta[f];var g=String(a.Oa.length);a.Oa.push([g,e]);a.ta[f]=g;v(b)&&a.nd.set(b,f);return g};if(v(b)&&a.ta[a.nd.get(b)])return a.ta[a.nd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(Nj(b));if(Da(b))return c(Rj("Date",{value:Nj(Math.floor(b.getTime()))}));
|
|
if(b instanceof Mj)return c(b.pa(function(e){return Rk(a,e)}));if(u(b))return c(Pj(b.map(function(e){return Oj(Rk(a,e))})));if(v(b)&&!Ea(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=Oj(Rk(a,b[e]))});return c(Qj(d))}throw Error("Can't encode object: "+b);},Sk=function(a,b,c){var d=this;this.sh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.lh=c?Uk(this):null;this.gh={};this.kf={};this.Ai=0},Tk=function(a,b){if(b in a.kf)return a.kf[b];var c=String(a.Ai++);a.kf[b]=
|
|
c;a.gh[c]=Vk(a,a.values[b],0);return c},Vk=function(a,b,c){var d=function(p){return null!==p.qb},e=function(p){return p===Pd?null:p};if(d(b)||null!=b.Oe||null!=b.ie||null!=b.nc)return b;if(null!=b.ab)return d=a.values[b.ab],null===a.lh||50>c&&1===a.lh[b.ab]?Vk(a,d,c):Wk(d)?d:Oj(Tk(a,b.ab));if(null!=b.ob){var f=b.ob.values.map(function(p){return Vk(a,p,c+3)});return f.every(d)?Nj(f.map(function(p){return e(p.qb)})):Pj(f)}if(null!=b.sb){f={};var g={};b=l(Object.entries(b.sb.values||{}));for(var h=b.next();!h.done;h=
|
|
b.next()){var m=l(h.value);h=m.next().value;m=m.next().value;f[h]=Vk(a,m,c+3);null!==g&&d(f[h])?g[h]=e(f[h].qb):g=null}return null!==g?Nj(g):Qj(f)}if(null!=b.wb)return d=b.wb,Tj(d.mc||[],Tk(a,d.body||""));if(null!=b.fb){d=b.fb;f={};g=l(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=Vk(a,d.arguments[b],c+3);return d.functionName?Rj(d.functionName,f):Sj(Tk(a,d.gb||""),f)}throw Error("Can't optimize value: "+b);},Wk=function(a){var b=a.qb;return null!==b?b===Pd||"number"===
|
|
typeof b||"boolean"===typeof b:null!=a.nc},Uk=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.ob?e.ob.values.forEach(d):null!=e.sb?Object.values(e.sb.values).forEach(d):null!=e.wb?c(e.wb.body):null!=e.fb?(e=e.fb,null!=e.gb&&c(e.gb),Object.values(e.arguments).forEach(d)):null!=e.ab&&c(e.ab)};c(a.sh);return b};var bl=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 xf({i:Ok(a.element),description:Xk(a.description),ha:null,Sa:null,selectors:b,Cb:Yk(a.maxErrorMeters),I:Xk(a.id)});var c=Zk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new zf({ia:null,ga:null,G:Vj(a.fileFormat)});"GOOGLE_CLOUD_STORAGE"===c?d.ia=$k(a):d.ga=al(a);b.ha=d;break;case "ASSET":b.Sa=new yf({tb:new nf({name:gk(a.assetId)})});
|
|
break;default:throw Error('Export destination "'+c+'" unknown');}return b};function Xk(a){return null!=a?String(a):null}function Yk(a){return null!=a?Number(a):null}
|
|
var Zk=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId&&(b="ASSET");return b},dl=function(a){var b=new Rf({me:!!a.tfrecordCompressed,Db:Xk(a.tfrecordMaxFileSize),sf:!!a.tfrecordSequenceData,le:!!a.tfrecordCollapseBands,We:Yk(a.tfrecordMaskedThreshold),defaultValue:Yk(a.tfrecordDefaultValue),Ga:cl(a.tfrecordPatchDimensions),Te:cl(a.tfrecordKernelSize),Ed:null});a=a.tfrecordTensorDepths;if(null!=a)if(v(a)){var c={};Eb(a,
|
|
function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.Ed=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},el=function(a,b){var c=new tf({ia:null,ga:null,jd:null,Fd:null,G:Uj(a.fileFormat)});if("GEO_TIFF"===c.G){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');var d=new If({ke:!!a.tiffCloudOptimized,
|
|
xf:!!a.tiffSkipEmptyFiles,Ga:cl(a.fileDimensions||a.tiffFileDimensions)});c.jd=d}else"TF_RECORD_IMAGE"===c.G&&(c.Fd=dl(a));"GOOGLE_CLOUD_STORAGE"===b?c.ia=$k(a):c.ga=al(a);return c},fl=function(a,b){var c=new Bf({ia:null,ga:null,G:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=$k(a):c.ga=al(a);return c},gl=function(a){var b=Yk(a.maxZoom),c=Yk(a.scale),d=Yk(a.minZoom),e=!!a.skipEmptyTiles,f=Xk(a.mapsApiKey),g=cl(a.tileDimensions),h=Yk(a.stride);var m=Yk(a.minTimeMachineZoomSubset);a=Yk(a.maxTimeMachineZoomSubset);
|
|
if(null==m&&null==a)m=null;else{var p=new pg({min:0,max:null});null!=m&&(p.min=m);p.max=a;m=p}return new wf({maxZoom:b,scale:c,minZoom:d,yf:e,Se:f,Ga:g,Af:h,Lf:m})},cl=function(a){if(null==a)return null;var b=new Jf({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(u(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(wa(a)&&!isNaN(a))b.height=a,b.width=a;else if(v(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);return b},$k=function(a){var b=null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Hf({ge:Xk(a.outputBucket),ub:Xk(a.outputPrefix),he:a.bucketCorsUris||null,permissions:b})},al=function(a){return new hf({De:Xk(a.driveFolder),ub:Xk(a.driveFileNamePrefix)})};var il=function(a,b){this.Ra=a;this.Md=b;this.j={};this.oc=!0;if(0<this.Ra.length){for(a=0;a<this.Ra.length;a++){b=this.Ra[a];var c=b[0];this.j[c.toString()]=new hl(c,b[1])}this.oc=!0}},jl=function(a){if(a.oc){if(a.Md){var b=a.j,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].jc;d&&jl(d)}}}else{a.Ra.length=0;b=kl(a);b.sort();for(c=0;c<b.length;c++){var e=a.j[b[c]];(d=e.jc)&&jl(d);a.Ra.push([e.key,e.value])}a.oc=!0}return a.Ra},ll=function(a){this.Jg=0;this.Ra=a};
|
|
ll.prototype.next=function(){return this.Jg<this.Ra.length?{done:!1,value:this.Ra[this.Jg++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(ll.prototype[Symbol.iterator]=function(){return this});k=il.prototype;k.getLength=function(){return kl(this).length};k.clear=function(){this.j={};this.oc=!1};k.entries=function(){var a=[],b=kl(this);b.sort();for(var c=0;c<b.length;c++){var d=this.j[b[c]];a.push([d.key,ml(this,d)])}return new ll(a)};
|
|
k.keys=function(){var a=[],b=kl(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.j[b[c]].key);return new ll(a)};k.values=function(){var a=[],b=kl(this);b.sort();for(var c=0;c<b.length;c++)a.push(ml(this,this.j[b[c]]));return new ll(a)};k.forEach=function(a,b){var c=kl(this);c.sort();for(var d=0;d<c.length;d++){var e=this.j[c[d]];a.call(b,ml(this,e),e.key,this)}};k.set=function(a,b){var c=new hl(a);this.Md?(c.jc=b,c.value=jl(b)):c.value=b;this.j[a.toString()]=c;this.oc=!1;return this};
|
|
var ml=function(a,b){return a.Md?(b.jc||(b.jc=new a.Md(b.value)),b.jc):b.value};il.prototype.get=function(a){if(a=this.j[a.toString()])return ml(this,a)};il.prototype.has=function(a){return a.toString()in this.j};var kl=function(a){a=a.j;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},hl=function(a,b){this.key=a;this.value=b;this.jc=void 0};Object.freeze&&Object.freeze([]);var ol=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];L&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(mb(f,d),ob(f));uj(a,f);null===a?sj=tj=null:pj(function(){rj(b,c,e||Ja(nl,b,c))})};y("ee.data.authenticateViaOauth",ol);var pl=function(a,b,c,d,e){ol(a,b,c,d,e)};y("ee.data.authenticate",pl);var nl=function(a,b){t.gapi.auth.authorize({client_id:nj,immediate:!1,scope:oj.join(" ")},Ja(qj,a,b))};y("ee.data.authenticateViaPopup",nl);
|
|
var ql=function(a,b,c,d){if("window"in t)throw Error("Use of private key authentication in the browser is insecure. Consider using OAuth, instead.");var e=["https://www.googleapis.com/auth/earthengine","https://www.googleapis.com/auth/devstorage.read_write"];L&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(mb(e,d),ob(e));uj(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);mj=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})})};rj(b,c)};y("ee.data.authenticateViaPrivateKey",ql);var rl=[];rl.push("setApiKey");rl.push("setProject");rl.push("getProject");rl.push("setCloudApiEnabled");rl.push("getCloudApiEnabled");y("ee.data.setExpressionAugmenter",function(a){sl=a||Ub});var sl=Ub;y("ee.data.setDeadline",function(a){Lj=a});y("ee.data.setParamAugmenter",function(a){Fj=a||Ub});
|
|
var tl=function(a){if(L)return a=new H(a),I(a,a.lc().list(fj(),{prettyPrint:!1}).then(bk));var b=K("/algorithms",null,a,"GET");return a?null:b},vl=function(a,b){if(L){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");a=new of({name:null,i:sl(Ok(a.image)),G:Uj(a.format),ea:Xj(a.bands),Ob:ak(a)});var c=new H(b);return I(c,c.maps().create(fj(),a,{fields:["name"]}).then(function(e){var f=Ej;return ul(e.name,
|
|
"","/v1alpha/{}/tiles",f?"?key="+f:"")}))}a=Pb(a);"string"!==typeof a.image&&(a.image=a.image.X());var d=function(e){return ul(e.mapid,e.token,"/map/{}","?token={}")};return b?(K("/mapid",J(a),function(e,f){return b(e&&d(e),f)}),null):d(K("/mapid",J(a)))};y("ee.data.getMapId",vl);var wl=function(a,b,c,d){return a.formatTileUrl(b,c,d)};y("ee.data.getTileUrl",wl);
|
|
var ul=function(a,b,c,d){c=wj+c.replace("{}",a);d=d.replace("{}",b);return{mapid:a,token:b,formatTileUrl:function(e,f,g){var h=Math.pow(2,g);e%=h;0>e&&(e+=h);return[c,g,e,f].join("/")+d}}},xl=function(a,b){a=Pb(a);return K("/value",J(a),b)};y("ee.data.getValue",xl);
|
|
var yl=function(a,b){if(L)return a=sl(Ok(a)),b=new H(b),I(b,Fg(b.value(),fj(),new Ye({i:a})).then(function(c){return c.result}));a={json:Jk(a)};return K("/value",J(a),b)},zl=function(a,b){if(L){if("string"===typeof a.image)throw Error("Image as JSON string not supported.");if(void 0!==a.version)throw Error("Image version specification not supported.");if(void 0!==a.region)throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');a=new og({name:null,i:sl(Ok(a.image)),
|
|
G:Uj(a.format),ea:Xj(a.bands),Ob:ak(a),K:null});b=new H(b);return I(b,(new Dg(b.U)).create(fj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=Pb(a);u(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));var c=a.image||a.imageCollection;"string"!==typeof c&&(c=c.X());a.image=c;delete a.imageCollection;a=J(a).add("getid","1");return K("/thumb",a,b)};y("ee.data.getThumbId",zl);
|
|
var Al=function(a,b){if(!L)throw Error("getVideoThumbId is only supported in Cloud API mode.");var c=new Cf({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new sg({name:null,i:sl(Ok(a.imageCollection)),G:Uj(a.format),Ia:c,K:null});b=new H(b);return I(b,(new Ig(b.U)).create(fj(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};y("ee.data.getVideoThumbId",Al);rl.push("getVideoThumbId");
|
|
var Bl=function(a,b){if(!L)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new Ef({name:null,i:sl(Ok(a.imageCollection)),G:Uj(a.format),orientation:Wj(a.orientation),K:null});b=new H(b);return I(b,(new xg(b.U)).create(fj(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};y("ee.data.getFilmstripThumbId",Bl);rl.push("getFilmstripThumbId");
|
|
var Cl=function(a){if(L){var b=Ej;return wj+"/v1alpha/"+a.thumbid+":getPixels"+(b?"?key="+b:"")}return wj+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};y("ee.data.makeThumbUrl",Cl);var Dl=function(a,b){if(L&&b){var c=b;b=function(d,e){return c((d||{}).data||d,e)}}a=Pb(a);a=K("/download",J(a),b);return L?(a||{}).data||a:a};y("ee.data.getDownloadId",Dl);var El=function(a){return wj+"/api/download?docid="+a.docid+"&token="+a.token};y("ee.data.makeDownloadUrl",El);
|
|
var Fl=function(a,b){if(L&&b){var c=b;b=function(d,e){return c((d||{}).data||d,e)}}a=Pb(a);a=K("/table",J(a),b);return L?(a||{}).data||a:a};y("ee.data.getTableDownloadId",Fl);var Gl=function(a){return wj+"/api/table?docid="+a.docid+"&token="+a.token};y("ee.data.makeTableDownloadUrl",Gl);
|
|
var Hl=function(a,b){if(L){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=pb(a||1).map(function(){return[c(8),c(4),"4"+c(3),(8+Math.floor(4*Math.random())).toString(16)+c(3),c(12)].join("-")});return b?b(a):a}var d={};"number"===typeof a&&(d.count=a);return K("/newtaskid",J(d),b)};y("ee.data.newTaskId",Hl);
|
|
var Jl=function(a,b){if(L){var c=Il(a).map(sk);if(1===c.length)return b=new H(b),I(b,b.Ea().get(c[0]).then(function(e){return[uk(e)]}));b=new ij(b);var d=b.Ea();return b.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return uk(e[f])})})}a="/taskstatus?q="+Il(a).join();return K(a,null,b,"GET")};y("ee.data.getTaskStatus",Jl);
|
|
var Il=function(a){if("string"===typeof a)return[a];if(u(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},Ll=function(a){return Kl(void 0,a)};y("ee.data.getTaskList",Ll);
|
|
var Kl=function(a,b){function c(h){var m={pagesize:500};a&&(m.pagesize=Math.min(m.pagesize,a-e.tasks.length));h&&(m.pagetoken=h);return m}function d(h,m){m=c(m);K("/tasklist",J(m),function(p,q){q?h(e,q):(mb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(L)return b?(Ml(a,function(h,m){return b(h?{tasks:h.map(uk)}:null,m)}),null):{tasks:Ml(a).map(uk)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=K("/tasklist",J(f),void 0,"GET");
|
|
mb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};y("ee.data.getTaskListWithLimit",Kl);var Ml=function(a,b){var c=[],d={pageSize:500},e=function(h){mb(c,h.Ea||[]);!h.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.nextPageToken,I(f,g.list(fj(),d).then(e)));return null},f=new H(b?function(h,m){return m&&b(h,m)}:void 0),g=f.Ea();I(f,g.list(fj(),d).then(e));return b?null:a?c.slice(0,a):c};rl.push("listOperations");
|
|
var Nl=function(a,b){a=Il(a);var c=new Ve;if(1===a.length)b=new H(b),I(b,b.Ea().cancel(a[0],c));else{b=new ij(b);var d=b.Ea();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};y("ee.data.cancelOperation",Nl);rl.push("cancelOperation");var Ol=function(a,b){var c=Il(a).map(sk);if(!u(a))return a=new H(b),I(a,a.Ea().get(c[0]));a=new ij(b);var d=a.Ea();return a.send(c.map(function(e){return[e,d.get(e)]}))};y("ee.data.getOperation",Ol);rl.push("getOperation");
|
|
var Ql=function(a,b){return Pl(a,"CANCEL",b)};y("ee.data.cancelTask",Ql);var Pl=function(a,b,c){if(!Kb(Rl,b))throw Error("Invalid action: "+b);a=Il(a);return L?(a=a.map(sk),Nl(a,c),null):K("/updatetask",J({id:a,action:b}),c,"POST")};y("ee.data.updateTask",Pl);
|
|
var Wl=function(a,b,c){if(L){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new H(c);c=function(f){return I(e,f.then(vk))};switch(d){case "EXPORT_IMAGE":return b=Sl(b,a),c(e.image().Va(fj(),b));case "EXPORT_FEATURES":return b=bl(b),b.i=sl(b.i,a),c(e.table().Va(fj(),b));case "EXPORT_VIDEO":return b=Tl(b,a),c(e.video().Va(fj(),b));case "EXPORT_TILES":return b=Ul(b,a),c(e.map().Va(fj(),b));case "EXPORT_VIDEO_MAP":return b=Vl(b),c((new Hg(e.U)).Va(fj(),b));default:throw Error("Unable to start processing for task of type "+
|
|
d);}}b=Pb(b);null!=b.element&&(b.json=b.element.X(),delete b.element);u(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return K("/processingrequest",J(b),c)};y("ee.data.startProcessing",Wl);
|
|
var Sl=function(a,b){var c=Xl(a);if(null==c.element)throw Error('"element" not found in params '+c);a=new rf({i:Ok(c.element),description:Xk(c.description),ha:null,Sa:null,K:null,Xe:Xk(c.maxPixels),I:Xk(c.id)});var d=Zk(c);switch(d){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":a.ha=el(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 sf({tb:new nf({name:gk(c.assetId)}),
|
|
pyramidingPolicy:e,hf:Nb(d)?null:d});a.Sa=c;break;default:throw Error('Export destination "'+d+'" unknown');}a.i=sl(a.i,b);return a},Tl=function(a,b){a=Yl(a);if(null==a.element)throw Error('"element" not found in params '+a);var c=new Df({i:Ok(a.element),description:Xk(a.description),Ia:new Cf({framesPerSecond:Yk(a.framesPerSecond),maxFrames:Yk(a.maxFrames),maxPixelsPerFrame:Xk(a.maxPixels)}),ha:null,I:Xk(a.id)});c.ha=fl(a,Zk(a));c.i=sl(c.i,b);return c},Ul=function(a,b){var c=a.scale;delete a.scale;
|
|
a=Xl(a);a.scale=c;if(null==a.element)throw Error('"element" not found in params '+a);c=new vf({i:Ok(a.element),description:Xk(a.description),Kb:gl(a),Jb:el(a,"GOOGLE_CLOUD_STORAGE"),I:Xk(a.id)});c.i=sl(c.i,b);return c},Vl=function(a){var b=a.scale;delete a.scale;a=Yl(a);a.scale=b;if(null==a.element)throw Error('"element" not found in params '+a);b=new Af({i:Ok(a.element),description:Xk(a.description),Ia:new Cf({framesPerSecond:Yk(a.framesPerSecond),maxFrames:Yk(a.maxFrames),maxPixelsPerFrame:null}),
|
|
Kb:gl(a),Jb:fl(a,"GOOGLE_CLOUD_STORAGE"),I:Xk(a.id),version:Xk(a.version)});b.i=sl(b.i);return b},$l=function(a,b,c){if(L){b=zk(b);var d=function(e){return e?vk(e):null};return d(Zl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:Wh(b)};return K("/ingestionrequest",J(a),c)};y("ee.data.startIngestion",$l);
|
|
var Zl=function(a,b,c){b=new Yf({Ke:b,I:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.image()["import"](fj(),b))},am=function(a,b,c){b=new Zf({Df:b,I:a,overwrite:null,description:null});a=new H(c,a?void 0:0);return I(a,a.table()["import"](fj(),b))},bm=function(a,b,c){if(L){b=Ak(b);var d=function(e){return e?vk(e):null};return d(am(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:Wh(b)};return K("/ingestionrequest",J(a),c)};y("ee.data.startTableIngestion",bm);
|
|
var cm=function(a,b){return L?(b=new H(b),a=gk(a),I(b,b.S().get(a,{prettyPrint:!1}).then(hk))):K("/info",(new Si).add("id",a),b)};y("ee.data.getAsset",cm);rl.push("getAsset");y("ee.data.getInfo",cm);
|
|
var dm=function(a,b){if(L){b=new H(b);var c=b.S(),d=gk(a.id),e=ek.test(a.id);e&&(c=new ug(b.U),d="projects/"+fk(a.id));if(Object.keys(a).every(function(f){return"id"===f||"num"===f}))return I(b,c.Ec(d,{pageSize:a.num}).then(ik));if(e)throw Error("getList on a project does not support filtering options. Please provide a full asset path. Got: "+a.id);a=pk(a);return I(b,wg(c,d,a).then(kk))}a=J(a);return K("/list",a,b)};y("ee.data.getList",dm);
|
|
var em=function(a,b,c){b=void 0===b?{}:b;var d=ek.test(a);c=new H(c);var e=d?new ug(c.U):c.S();a=d?"projects/"+fk(a):a;return I(c,e.Ec(a,b))};y("ee.data.listAssets",em);rl.push("listAssets");var fm=function(a,b,c){b=void 0===b?{}:b;c=new H(c);return I(c,wg(c.S(),a,b))};y("ee.data.listImages",fm);rl.push("listImages");var gm=function(a,b){b=new H(b);return I(b,(new ug(b.U)).Ec(a||fj()))};y("ee.data.listBuckets",gm);rl.push("listBuckets");
|
|
var hm=function(a){return L?(a=new H(a),I(a,(new ug(a.U)).Ec(fj()).then(ik))):K("/buckets",null,a,"GET")};y("ee.data.getAssetRoots",hm);var im=function(a,b){if(L){var c="projects/"+fk(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new jf({type:"Folder"});b=new H(b);I(b,b.S().create(c,d,{assetId:a}).then(hk))}else c=J({id:a}),K("/createbucket",c,b)};y("ee.data.createAssetHome",im);
|
|
var jm=function(a,b,c,d,e){if(L){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&gk(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 jf(a);b=c.slice(0,f);c=c.slice(f+8);a.id=null;a.name=null;d&&!a.properties&&(a.properties=d);a:switch(d=a.type,d){case "ImageCollection":d="IMAGE_COLLECTION";break a;
|
|
case "Folder":d="FOLDER"}a.type=d;e=new H(e);return I(e,e.S().create(b,a,{assetId:c}).then(hk))}"string"!==typeof a&&(a=Wh(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=Wh(d));return K("/create",J(a),e)};y("ee.data.createAsset",jm);var km=function(a,b,c){return L?jm({type:"Folder"},a,b,void 0,c):K("/createfolder",J({id:a,force:b||!1}),c)};y("ee.data.createFolder",km);
|
|
var lm=function(a,b,c){L?(a=gk(a),b=gk(b),b=new gg({rb:b}),c=new H(c),I(c,c.S().move(a,b).then(hk))):K("/rename",J({sourceId:a,destinationId:b}),c)};y("ee.data.renameAsset",lm);
|
|
var mm=function(a,b,c,d){if(L){a=gk(a);b=gk(b);c=new bf({rb:b,overwrite:null!=c?c:null});d=new H(d);b=hk;var e=d.S();e.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(e.h,{body:c,u:"POST",B:"earthengine.projects.assets.copy",path:"/"+e.m+"/"+a+":copy",o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:jf});I(d,a.then(b))}else a={sourceId:a,destinationId:b},c&&(a.allowOverwrite=
|
|
c),K("/copy",J(a),d)};y("ee.data.copyAsset",mm);var nm=function(a,b){L?(b=new H(b),I(b,b.S()["delete"](gk(a)))):K("/delete",J({id:a}),b)};y("ee.data.deleteAsset",nm);
|
|
var om=function(a,b){if(L){a=gk(a);var c=new Kf;b=new H(b);var d=b.S(),e={prettyPrint:!1},f=void 0===e?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:e;e=void 0===f.$Xgafv?void 0:f.$Xgafv;var g=void 0===f.access_token?void 0:f.access_token,h=void 0===f.alt?void 0:f.alt,m=void 0===f.callback?void 0:f.callback,p=void 0===f.fields?void 0:f.fields,q=void 0===f.key?void 0:
|
|
f.key,w=void 0===f.oauth_token?void 0:f.oauth_token,z=void 0===f.prettyPrint?void 0:f.prettyPrint,E=void 0===f.quotaUser?void 0:f.quotaUser,M=void 0===f.uploadType?void 0:f.uploadType;f=void 0===f.upload_protocol?void 0:f.upload_protocol;d.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(d.h,{body:c,u:"POST",B:"earthengine.projects.assets.getIamPolicy",path:"/"+d.m+"/"+a+":getIamPolicy",o:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:w,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:f},
|
|
D:jg});return I(b,a.then(qk))}return K("/getacl",J({id:a}),b,"GET")};y("ee.data.getAssetAcl",om);
|
|
var pm=function(a,b,c,d){b=new rg({be:b,ic:(c||[]).join(",")});d=new H(d);c=hk;var e=d.S();a=gk(a);e.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(e.h,{body:b,u:"PATCH",B:"earthengine.projects.assets.patch",path:"/"+e.m+"/"+a,o:{"$.xgafv":void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0},D:jf});return I(d,a.then(c))};y("ee.data.updateAsset",pm);
|
|
var qm=function(a,b,c){if(L){a=gk(a);b=rk(b);b=new mg({bf:b});c=new H(c);var d=c.S(),e={prettyPrint:!1},f=void 0===e?{$Xgafv:void 0,access_token:void 0,alt:void 0,callback:void 0,fields:void 0,key:void 0,oauth_token:void 0,prettyPrint:void 0,quotaUser:void 0,uploadType:void 0,upload_protocol:void 0}:e;e=void 0===f.$Xgafv?void 0:f.$Xgafv;var g=void 0===f.access_token?void 0:f.access_token,h=void 0===f.alt?void 0:f.alt,m=void 0===f.callback?void 0:f.callback,p=void 0===f.fields?void 0:f.fields,q=void 0===
|
|
f.key?void 0:f.key,w=void 0===f.oauth_token?void 0:f.oauth_token,z=void 0===f.prettyPrint?void 0:f.prettyPrint,E=void 0===f.quotaUser?void 0:f.quotaUser,M=void 0===f.uploadType?void 0:f.uploadType;f=void 0===f.upload_protocol?void 0:f.upload_protocol;d.h.w(a,/^projects\/[^/]+\/assets\/.+$/);a=G(d.h,{body:b,u:"POST",B:"earthengine.projects.assets.setIamPolicy",path:"/"+d.m+"/"+a+":setIamPolicy",o:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:w,prettyPrint:z,quotaUser:E,uploadType:M,
|
|
upload_protocol:f},D:jg});I(c,a)}else b={readers:b.readers,writers:b.writers,all_users_can_read:b.all_users_can_read},a={id:a,value:Wh(b)},K("/setacl",J(a),c)};y("ee.data.setAssetAcl",qm);
|
|
var rm=function(a,b,c){if(L){var d=nk(b);b=Qd(d.f()).keys.filter(function(e){return"properties"!==e&&F(d,e)}).map(function(e){return e.replace(/([A-Z])/g,function(f,g){return"_"+g.toLowerCase()})}).concat(Object.keys(d.properties||{}).map(function(e){return'properties."'+e+'"'}));pm(a,d,b,c)}else a={id:a,properties:Wh(b)},K("/setproperties",J(a),c)};y("ee.data.setAssetProperties",rm);
|
|
var sm=function(a,b){if(L){var c=gk(a);b=new H(b);var d=b.S(),e=d.h.w;d.h.w=function(f,g){"^projects\\/[^/]+\\/assets\\/.+$"===g.source&&(g=/^projects\/[^/]+\/assets\/.*$/);return e(f,g)};c=d.get(c,{prettyPrint:!1});return I(b,c.then(function(f){if(!(f instanceof jf&&f.quota))throw Error(a+" is not a root folder.");f=f.quota;return{asset_count:{usage:Number(f.ce||0),limit:Number(f.Ve||0)},asset_size:{usage:Number(f.ya||0),limit:Number(f.Db||0)}}}))}return K("/quota",J({id:a}),b,"GET")};
|
|
y("ee.data.getAssetRootQuota",sm);var Rl={Xi:"CANCEL",hk:"UPDATE"};var N=function(a,b,c){if(!(this instanceof N))return tm(N,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.A=a;this.args=b;this.R=c||null};A(N,Mj);y("ee.ComputedObject",N);N.prototype.evaluate=function(a){if(!a||!Ea(a))throw Error("evaluate() requires a callback function.");yl(this,a)};N.prototype.evaluate=N.prototype.evaluate;
|
|
N.prototype.W=function(a){return yl(this,a)};N.prototype.getInfo=N.prototype.W;N.prototype.encode=function(a){if(null===this.A&&null===this.args)return{type:"ArgumentRef",value:this.R};var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.A);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
N.prototype.pa=function(a){if(null===this.A&&null===this.args){if(null===this.R)throw Error("Internal error: function argument not initialized.");return new Pe({nc:this.R})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=Oj(a(this.args[c])));return"string"===typeof this.A?Rj(String(this.A),b):this.A.ve(a,b)};N.prototype.X=function(){return Jk(this)};N.prototype.serialize=N.prototype.X;N.prototype.toString=function(){return"ee."+this.name()+"("+Lk(this)+")"};
|
|
y("ee.ComputedObject.prototype.toString",N.prototype.toString);N.prototype.name=function(){return"ComputedObject"};N.prototype.Mf=function(a,b){var c=lb(arguments);c[0]=this;a.apply(t,c);return this};N.prototype.aside=N.prototype.Mf;var um=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.A=b.A;a.args=b.args;a.R=b.R;return a},tm=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var vm={},wm=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}},xm=function(a){return"number"===typeof a||a instanceof N&&"Number"==a.name()},ym=function(a){return"string"===typeof a||a instanceof N&&"String"==a.name()},zm=function(a){return v(a)&&
|
|
!Ea(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Am=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&zm(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Bm=function(){if(!(this instanceof Bm))return new Bm};A(Bm,Mj);y("ee.Function",Bm);var Cm=Ub;Bm.prototype.call=function(a){return this.apply(Dm(this,Array.prototype.slice.call(arguments,0)))};Bm.prototype.call=Bm.prototype.call;Bm.prototype.apply=function(a){a=new N(this,Em(this,a));return Cm(a,this.Z().returns)};Bm.prototype.apply=Bm.prototype.apply;
|
|
var Fm=function(a,b,c){var d=void 0!==b,e=a.Z();if(Am(c,e,d)){if(c=Pb(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Dm(a,d?[b].concat(c):c);return a.apply(c)},Em=function(a,b){for(var c=a.Z().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&void 0!==b[g])d[g]=Cm(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},Dm=function(a,b){var c=a.Z().args;if(c.length<b.length)throw Error("Too many ("+b.length+") arguments to function: "+a);a={};for(var d=0;d<b.length;d++)a[c[d].name]=b[d];return a};
|
|
Bm.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(ab(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("")};Bm.prototype.X=function(){return Jk(this)};var O=function(a,b){if(void 0===b)return Gm(a);if(!(this instanceof O))return tm(O,arguments);this.Pa=Qb(b);this.Pa.name=a};A(O,Bm);y("ee.ApiFunction",O);var P=function(a,b){return Bm.prototype.call.apply(Gm(a),Array.prototype.slice.call(arguments,1))};y("ee.ApiFunction._call",P);var Hm=function(a,b){return Gm(a).apply(b)};y("ee.ApiFunction._apply",Hm);O.prototype.encode=function(){return this.Pa.name};O.prototype.ve=function(a,b){return Rj(this.Pa.name,b)};O.prototype.Z=function(){return this.Pa};
|
|
var Im=null,Jm={},Lm=function(){Km();return Gb(Im,function(a){return a.Z()})},Mm=function(){Km();return Fb(Im,function(a,b){return!Jm[b]})},Gm=function(a){var b=Nm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};y("ee.ApiFunction.lookup",Gm);
|
|
var Nm=function(a){Km();return Im[a]||null},Km=function(a,b){if(Im)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(Im=Gb(d,function(f,g){f.returns=f.returns.replace(/<.*>/,"");for(var h=0;h<f.args.length;h++)f.args[h].type=f.args[h].type.replace(/<.*>/,"");return new O(g,f)}),a&&a())};a?tl(c):c(tl())}},Om=function(a,b,c,d){Km();var e=d||"";Eb(Im,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var m=f.Z();Jm[g]=!0;var p=!1;m.args.length&&(g=m.args[0].type,p="Object"!=g&&wm(g,c));
|
|
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(q){return Fm(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=x(f.toString,f,h,p),g[h].signature=m)}})},Pm=function(a){var b=function(c){for(var d in c)Ea(c[d])&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var Q=function(a,b){var c=Qm(a),d=ab(c,function(m){return m.replace(/^opt_/,"")});a=(a=t.EXPORTED_FN_INFO?t.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=v(f)&&!Ea(f)&&!u(f)&&!(f instanceof N);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 Id(Jb(f));var h=new Id(d);if(h.Og(g).isEmpty())e[d[0]]=b[0];else{b=
|
|
g.ue(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.T().join(", "));e=Pb(f)}}b=new Id(Jb(e));c=(new Id($a(c,function(m){return 0!=m.lastIndexOf("opt_",0)}))).ue(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.T().join(", "));return e},Qm=function(a){var b=Rm,c=[];t.EXPORTED_FN_INFO?(a=t.EXPORTED_FN_INFO[a.toString()],v(a)||Sm(),c=a.paramNames,u(c)||Sm()):(a=a.toString().replace(Tm,"").match(b),null===a&&Sm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(Um,
|
|
"")}));return c},Sm=function(){throw Error("Failed to locate function parameters.");},Tm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,Rm=/^function[^\(]*\(([^\)]*)\)/m,Um=/=.*$/;var R=function(a,b,c){N.call(this,a,b,c);Vm()};A(R,N);y("ee.Element",R);var Wm=!1,Vm=function(){Wm||(Om(R,"Element","Element"),Wm=!0)};R.prototype.name=function(){return"Element"};
|
|
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=zm(c))a:{b=Jb(c);var d=["properties"];if(Ca(b)&&Ca(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&&v(c.properties)&&(c=c.properties);if(zm(c)){b=this;for(var g in c)d=c[g],b=P("Element.set",b,g,d)}else if(c instanceof N&&Nm("Element.setMulti"))b=P("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
|
|
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)g=arguments[c],d=arguments[c+1],b=P("Element.set",b,g,d)}return um(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return tm(S,arguments);if(!("type"in a)){var e=Q(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}Xm();e=null!=b||null!=c||null!=d;if(a instanceof N&&!(a instanceof S&&a.$a)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");N.call(this,a.A,a.args,a.R)}else{a instanceof S&&(a=a.encode());if(!Ym(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));N.call(this,
|
|
null,null);this.$a=a.type;this.dg=null!=a.coordinates?Qb(a.coordinates):null;this.Bg=a.geometries||null;if(null!=b)this.Gb=b;else if("crs"in a)if(v(a.crs)&&"name"==a.crs.type&&v(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.Gb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Vh).X(a.crs));this.Xb=c;void 0===this.Xb&&"geodesic"in a&&(this.Xb=!!a.geodesic);this.Vb=d;void 0===this.Vb&&"evenOdd"in a&&(this.Vb=!!a.evenOdd)}};A(S,N);y("ee.Geometry",S);
|
|
var Zm=!1,Xm=function(){Zm||(Om(S,"Geometry","Geometry"),Zm=!0)},$m=function(a,b){if(!(this instanceof $m))return an($m,arguments);var c=bn($m,"Point",1,arguments);if(!(c instanceof N)){var d=c.coordinates;if(!u(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};A($m,S);S.Point=$m;var cn=function(a,b){if(!(this instanceof cn))return an(cn,arguments);S.call(this,bn(cn,"MultiPoint",2,arguments))};A(cn,S);S.MultiPoint=cn;
|
|
var dn=function(a,b,c,d){if(!(this instanceof dn))return an(dn,arguments);var e=bn(dn,"Rectangle",2,arguments);if(!(e instanceof N)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],h=f[0][1],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)};A(dn,S);S.Rectangle=dn;
|
|
var en=function(a,b,c,d){if(!(this instanceof en))return an(en,arguments);S.call(this,bn(en,"LineString",2,arguments))};A(en,S);S.LineString=en;var fn=function(a,b,c,d){if(!(this instanceof fn))return an(fn,arguments);S.call(this,bn(fn,"LinearRing",2,arguments))};A(fn,S);S.LinearRing=fn;var gn=function(a,b,c,d){if(!(this instanceof gn))return an(gn,arguments);S.call(this,bn(gn,"MultiLineString",3,arguments))};A(gn,S);S.MultiLineString=gn;
|
|
var hn=function(a,b,c,d,e){if(!(this instanceof hn))return an(hn,arguments);S.call(this,bn(hn,"Polygon",3,arguments))};A(hn,S);S.Polygon=hn;var jn=function(a,b,c,d,e){if(!(this instanceof jn))return an(jn,arguments);S.call(this,bn(jn,"MultiPolygon",4,arguments))};A(jn,S);S.MultiPolygon=jn;
|
|
S.prototype.encode=function(a){if(!this.$a){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.encode.call(this,a)}a={type:this.$a};"GeometryCollection"==this.$a?a.geometries=this.Bg:a.coordinates=this.dg;null!=this.Gb&&(a.crs={type:"name",properties:{name:this.Gb}});null!=this.Xb&&(a.geodesic=this.Xb);null!=this.Vb&&(a.evenOdd=this.Vb);return a};
|
|
S.prototype.Qc=function(){if(this.A)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.Qc;S.prototype.Hf=function(){if(this.A)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new Vh).X(this.Qc())};S.prototype.toGeoJSONString=S.prototype.Hf;S.prototype.X=function(){return Jk(this)};S.prototype.serialize=S.prototype.X;
|
|
S.prototype.toString=function(){return"ee.Geometry("+this.Hf()+")"};
|
|
S.prototype.pa=function(a){if(!this.$a){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return N.prototype.pa.call(this,a)}var b={},c="";"GeometryCollection"===this.$a?(b.geometries=this.Bg.map(function(e){return new S(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.dg,c="GeometryConstructors."+this.$a);null!=this.Gb&&(b.crs="string"===typeof this.Gb?(new O("Projection")).call(this.Gb):this.Gb);var d="Point"!==this.$a&&"MultiPoint"!==this.$a;
|
|
null!=this.Xb&&d&&(b.geodesic=this.Xb);null!=this.Vb&&(b.evenOdd=this.Vb);return(new O(c)).apply(b).pa(a)};
|
|
var Ym=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!u(b))return!1;for(a=0;a<b.length;a++)if(!Ym(b[a]))return!1;return!0}a=a.coordinates;var c=kn(a);return"Point"==b&&1==c||"MultiPoint"==b&&(2==c||0==a.length)||"LineString"==b&&2==c||"LinearRing"==b&&2==c||"MultiLineString"==b&&(3==c||0==a.length)||"Polygon"==b&&3==c||"MultiPolygon"==b&&(4==c||0==a.length)},kn=function(a){if(!u(a))return-1;if(u(a[0])){for(var b=kn(a[0]),c=1;c<a.length;c++)if(kn(a[c])!=b)return-1;return b+
|
|
1}for(c=0;c<a.length;c++)if("number"!==typeof a[c])return-1;return 0==a.length%2?1:-1},bn=function(a,b,c,d){cb(d,xm)?a={coordinates:lb(d)}:(a=Q(a,d),a.coordinates=a.coords,delete a.coords,a.crs=a.proj,delete a.proj,a=Fb(a,Ba));if(ln(a.coordinates)||null!=a.crs||null!=a.maxError)return(new O("GeometryConstructors."+b)).apply(a);a.type=b;d=a.coordinates;if(1>c||4<c)throw Error("Unexpected nesting level.");if(cb(d,wa)&&"number"===typeof d[0]&&2!=d.length){if(0!=d.length%2)throw Error("Invalid number of coordinates: "+
|
|
d.length);for(var e=[],f=0;f<d.length;f+=2)e.push([d[f],d[f+1]]);d=e}e=d;for(f=0;u(e);)e=e[0],f++;for(;f<c;)d=[d],f++;if(kn(d)!=c)throw Error("Invalid geometry");for(e=d;u(e)&&1==e.length;)e=e[0];c=u(e)&&0==e.length?[]:d;a.coordinates=c;(b=gb(["Polygon","Rectangle","MultiPolygon"],b))&&null==a.evenOdd&&(a.evenOdd=!0);if(b&&!1===a.geodesic&&!1===a.evenOdd)throw Error("Planar interiors must be even/odd.");return a},ln=function(a){return u(a)?bb(a,ln):a instanceof N},an=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 tm(T,arguments);if(a instanceof T)return a;mn();if(u(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);N.call(this,new O("Filter.and"),{filters:a})}else if(a instanceof N)N.call(this,a.A,a.args,a.R);else if(void 0===a)N.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};A(T,N);y("ee.Filter",T);
|
|
var nn=!1,mn=function(){nn||(Om(T,"Filter","Filter"),nn=!0)},on={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.Yb=function(){return P("Filter.not",this)};T.prototype.not=T.prototype.Yb;var pn=function(a,b){var c=Q(pn,arguments);return P("Filter.equals",c.name,c.value)};T.eq=pn;var qn=function(a,b){var c=Q(qn,arguments);return pn(c.name,c.value).Yb()};T.neq=qn;
|
|
var rn=function(a,b){var c=Q(rn,arguments);return P("Filter.lessThan",c.name,c.value)};T.lt=rn;var sn=function(a,b){var c=Q(sn,arguments);return rn(c.name,c.value).Yb()};T.gte=sn;var tn=function(a,b){var c=Q(tn,arguments);return P("Filter.greaterThan",c.name,c.value)};T.gt=tn;var un=function(a,b){var c=Q(un,arguments);return tn(c.name,c.value).Yb()};T.lte=un;var vn=function(a){return P("Filter.and",Array.prototype.slice.call(arguments))};T.and=vn;var wn=function(a){return P("Filter.or",Array.prototype.slice.call(arguments))};
|
|
T.or=wn;var xn=function(a,b){var c=Q(xn,arguments);c=P("DateRange",c.start,c.end);return Hm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=xn;var yn=function(a,b,c,d){var e=Q(yn,arguments);return Hm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=yn;var zn=function(a,b){return Hm("Filter.intersects",{leftField:".all",rightValue:P("Feature",a),maxError:b})};T.bounds=zn;
|
|
T.prototype.name=function(){return"Filter"};var An=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in on))throw Error("Unknown filtering operator: "+b);a=P("Filter."+on[b],a,c);return d?a.Yb():a};T.metadata=An;var U=function(a,b,c){R.call(this,a,b,c);Bn()};A(U,R);y("ee.Collection",U);var Cn=!1,Bn=function(){Cn||(Om(U,"Collection","Collection"),Om(U,"AggregateFeatureCollection","Collection","aggregate_"),Cn=!0)};U.prototype.filter=function(a){a=Q(U.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return um(this,P("Collection.filter",this,a))};U.prototype.filter=U.prototype.filter;
|
|
U.prototype.Ae=function(a,b,c){var d=Q(U.prototype.Ae,arguments);return this.filter(An(d.name,d.operator,d.value))};U.prototype.filterMetadata=U.prototype.Ae;U.prototype.vg=function(a){return this.filter(zn(a))};U.prototype.filterBounds=U.prototype.vg;U.prototype.ze=function(a,b){var c=Q(U.prototype.ze,arguments);return this.filter(xn(c.start,c.end))};U.prototype.filterDate=U.prototype.ze;
|
|
U.prototype.limit=function(a,b,c){var d=Q(U.prototype.limit,arguments);return um(this,P("Collection.limit",this,d.max,d.property,d.ascending))};U.prototype.limit=U.prototype.limit;U.prototype.sort=function(a,b){var c=Q(U.prototype.sort,arguments);return um(this,P("Collection.limit",this,void 0,c.property,c.ascending))};U.prototype.sort=U.prototype.sort;U.prototype.name=function(){return"Collection"};U.prototype.elementType=function(){return R};
|
|
U.prototype.map=function(a,b){var c=this.elementType();return um(this,P("Collection.map",this,function(d){return a(new c(d))},b))};U.prototype.map=U.prototype.map;U.prototype.Qg=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return P("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};U.prototype.iterate=U.prototype.Qg;var V=function(a,b){if(!(this instanceof V))return tm(V,arguments);if(a instanceof V){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)");Dn();if(a instanceof S||null===a)R.call(this,new O("Feature"),{geometry:a,metadata:b||null});else if(a instanceof N)R.call(this,a.A,a.args,a.R);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=Pb(c);c["system:index"]=a.id}R.call(this,new O("Feature"),{geometry:new S(a.geometry),metadata:c})}else R.call(this,new O("Feature"),{geometry:new S(a),metadata:b||null})};A(V,R);y("ee.Feature",V);var En=!1,Dn=function(){En||(Om(V,"Feature","Feature"),En=!0)};V.prototype.W=function(a){return V.F.W.call(this,a)};V.prototype.getInfo=V.prototype.W;
|
|
V.prototype.getMap=function(a,b){var c=Q(V.prototype.getMap,arguments);return P("Collection",[this]).getMap(c.visParams,c.callback)};V.prototype.getMap=V.prototype.getMap;V.prototype.name=function(){return"Feature"};var Xl=function(a){var b={},c=Fn(a.element,a);c=Gn(c,a,b);b.element=c;return b},Yl=function(a){var b={},c=a.element.map(function(d){d=Fn(d,a);return Gn(d,a,b)});b.element=c;return b},Gn=function(a,b,c){var d={};Eb(b,function(e,f){switch(f){case "dimensions":f=va(e)?e.split("x").map(Number):u(e)?e:wa(e)?[e]:[];if(1===f.length)d.maxDimension=f[0];else if(2===f.length)d.width=f[0],d.height=f[1];else throw Error("Invalid dimensions "+e);break;case "bbox":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");
|
|
if(!(e instanceof dn)){f=e;if(va(e))try{f=JSON.parse(e)}catch(g){f=e.split(/\s*,\s*/).map(Number)}if(u(f)){if(f.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");e=new dn(f,null,!1)}else throw Error('Invalid bbox "{bbox}" type, must be of type Array<number>');}d.geometry=e;break;case "region":null!=d.geometry&&console.warn("Multiple request parameters converted to region.");if(!(e instanceof S)){f=e;if(va(e))try{f=JSON.parse(e)}catch(g){throw Error('Region string "'+
|
|
e+'" is not valid GeoJSON.');}if(v(f))e=new S(f,null,!1);else throw Error("Region {region} was not convertible to an ee.Geometry.");}d.geometry=e;break;case "scale":d.scale=Number(e);break;default:c[f]=e}});Nb(d)||(d.input=a,a=Hm("Image.clipToBoundsAndScale",d));return a},Fn=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;if(null!=d)a:{var e=d;if(va(e))try{e=JSON.parse(e)}catch(f){}if(u(e)){if(6===e.length&&cb(e,wa)){d=e;break 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.");}if(!c&&!d)return a;if(d&&!c)throw Error('Must specify "crs" if "crsTransform" is specified.');d?(a=Hm("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region&&(e=b.dimensions,va(e)&&(e=e.split("x").map(Number)),2===e.length&&(delete b.dimensions,c=(new O("Projection")).call(c,d),b.region=new dn([0,0,e[0],e[1]],c,!1)))):a=Hm("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,
|
|
0,0,0,-1,0]});return a},In=function(a,b){var c={};b=Hn(b,c);Nb(b)||(b.image=a,a=Hm("Image.visualize",b));c.image=a;return c},Hn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Eb(a,function(e,f){gb(c,f)?d[f]=e:b[f]=e});return d};var W=function(a){if(!(this instanceof W))return tm(W,arguments);if(a instanceof W)return a;Jn();var b=arguments.length;if(0==b||1==b&&void 0===a)R.call(this,new O("Image.mask"),{image:new W(0),mask:new W(0)});else if(1==b)if(xm(a))R.call(this,new O("Image.constant"),{value:a});else if(ym(a))R.call(this,new O("Image.load"),{id:a});else{if(u(a))return Kn(ab(a,function(d){return new W(d)}));if(a instanceof N)"Array"==a.name()?R.call(this,new O("Image.constant"),{value:a}):R.call(this,a.A,a.args,a.R);
|
|
else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(ym(b)&&xm(c))R.call(this,new O("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};A(W,R);y("ee.Image",W);var Ln=!1,Jn=function(){Ln||(Om(W,"Image","Image"),Om(W,"Window","Image","focal_"),Ln=!0)};
|
|
W.prototype.W=function(a){return W.F.W.call(this,a)};W.prototype.getInfo=W.prototype.W;W.prototype.getMap=function(a,b){var c=this,d=Q(W.prototype.getMap,arguments),e=In(this,d.visParams);if(d.callback){var f=d.callback;vl(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=vl(e),d.image=this,d};W.prototype.getMap=W.prototype.getMap;
|
|
W.prototype.xb=function(a,b){var c=Q(W.prototype.xb,arguments),d=c.params?Pb(c.params):{};d.image=this.X();if(c.callback){var e=c.callback;Dl(d,function(f,g){f?e(El(f)):e(null,g)})}else return El(Dl(d))};W.prototype.getDownloadURL=W.prototype.xb;
|
|
W.prototype.Ge=function(a,b){var c=Q(W.prototype.Ge,arguments);if(L){var d={};var e=Gn(this,c.params,d);d=In(e,d)}else if(d=In(this,c.params),d.region)if(d.region instanceof S&&(d.region=d.region.Qc()),u(d.region)||zm(d.region))d.region=Wh(d.region);else if("string"!==typeof d.region)throw Error("The region parameter must be an array or a GeoJSON object.");if(c.callback)zl(d,function(f,g){var h="";if(void 0===g)try{h=Cl(f)}catch(m){g=String(m.message)}c.callback(h,g)});else return Cl(zl(d))};
|
|
W.prototype.getThumbURL=W.prototype.Ge;var Mn=function(a,b,c){var d=Q(Mn,arguments);return Kn([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};W.rgb=Mn;var Nn=function(a){return Kn(Array.prototype.slice.call(arguments),null)};W.cat=Nn;var Kn=function(a,b){if(0==a.length)return P("Image.constant",[]);for(var c=new W(a[0]),d=1;d<a.length;d++)c=P("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
W.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||ym(b[0])||xm(b[0])){for(var d=0;d<b.length;d++)if(!(ym(b[d])||xm(b[d])||b[d]instanceof N))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return Hm("Image.select",c)};W.prototype.select=W.prototype.select;
|
|
W.prototype.i=function(a,b){var c=Q(W.prototype.i,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var f=c.map,g;for(g in f)d.push(g),e[g]=new W(f[g])}var h=P("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Bm;c.encode=function(m){return h.encode(m)};c.ve=function(m,p){return Sj(m(h),p)};c.Z=function(){return{name:"",args:ab(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
W.prototype.expression=W.prototype.i;W.prototype.clip=function(a){try{a=new S(a)}catch(b){}return P("Image.clip",this,a)};W.prototype.clip=W.prototype.clip;W.prototype.nh=function(a){var b=1!=arguments.length||ym(arguments[0])?lb(arguments):arguments[0];return P("Image.rename",this,b)};W.prototype.rename=W.prototype.nh;W.prototype.name=function(){return"Image"};var On=function(a){if(this instanceof On){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof On)return a}else return tm(On,arguments);Pn();if(u(a))N.call(this,null,null),this.Fc=a;else if(a instanceof N)N.call(this,a.A,a.args,a.R),this.Fc=null;else throw Error("Invalid argument specified for ee.List(): "+a);};A(On,N);y("ee.List",On);var Qn=!1,Pn=function(){Qn||(Om(On,"List","List"),Qn=!0)};
|
|
On.prototype.encode=function(a){return u(this.Fc)?ab(this.Fc,function(b){return a(b)}):On.F.encode.call(this,a)};On.prototype.pa=function(a){return u(this.Fc)?Oj(a(this.Fc)):On.F.pa.call(this,a)};On.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return tm(X,arguments);if(a instanceof X)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Rn();a instanceof S&&(a=new V(a));a instanceof V&&(a=[a]);if(ym(a)){var c={tableId:a};b&&(c.geometryColumn=b);U.call(this,new O("Collection.loadTable"),c)}else if(u(a))U.call(this,new O("Collection"),{features:ab(a,function(d){return new V(d)})});else if(a instanceof On)U.call(this,
|
|
new O("Collection"),{features:a});else if(a instanceof N)U.call(this,a.A,a.args,a.R);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};A(X,U);y("ee.FeatureCollection",X);var Sn=!1,Rn=function(){Sn||(Om(X,"FeatureCollection","FeatureCollection"),Sn=!0)};X.prototype.getMap=function(a,b){var c=Q(X.prototype.getMap,arguments),d=Hm("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};
|
|
X.prototype.getMap=X.prototype.getMap;X.prototype.W=function(a){return X.F.W.call(this,a)};X.prototype.getInfo=X.prototype.W;X.prototype.xb=function(a,b,c,d){var e=Q(X.prototype.xb,arguments),f={};f.table=this.X();e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);if(e.selectors){var g=e.selectors;Ca(g)&&(g=g.join(","));f.selectors=g}if(e.callback)Fl(f,function(h,m){h?e.callback(Gl(h)):e.callback(null,m)});else return Gl(Fl(f))};X.prototype.getDownloadURL=X.prototype.xb;
|
|
X.prototype.select=function(a,b,c){if(ym(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=Q(X.prototype.select,arguments);return this.map(function(f){return f.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return V};var Y=function(a){if(!(this instanceof Y))return tm(Y,arguments);if(a instanceof Y)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Tn();a instanceof W&&(a=[a]);if(ym(a))U.call(this,new O("ImageCollection.load"),{id:a});else if(u(a))U.call(this,new O("ImageCollection.fromImages"),{images:ab(a,function(b){return new W(b)})});else if(a instanceof On)U.call(this,new O("ImageCollection.fromImages"),{images:a});else if(a instanceof
|
|
N)U.call(this,a.A,a.args,a.R);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};A(Y,U);y("ee.ImageCollection",Y);var Un=!1,Tn=function(){Un||(Om(Y,"ImageCollection","ImageCollection"),Om(Y,"reduce","ImageCollection"),Un=!0)};Y.prototype.Ee=function(a,b){var c=Q(Y.prototype.Ee,arguments);return Vn(this,c,["png","jpg","jpeg"],"filmstrip")};Y.prototype.getFilmstripThumbURL=Y.prototype.Ee;
|
|
Y.prototype.He=function(a,b){var c=Q(Y.prototype.He,arguments);return Vn(this,c,["gif"],"video")};Y.prototype.getVideoThumbURL=Y.prototype.He;
|
|
var Vn=function(a,b,c,d){var e={};a=a.map(function(h){h=Fn(h,b.params);return Gn(h,b.params,e)});var f={},g=Hn(e,f);f.imageCollection=a.map(function(h){g.image=h;return Hm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!bb(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=zl;if(L)switch(d){case "video":c=Al;break;case "filmstrip":c=Bl}if(b.callback)c(f,function(h,m){var p=
|
|
"";if(void 0===m)try{p=Cl(h)}catch(q){m=String(q.message)}b.callback(p,m)});else return Cl(c(f))};Y.prototype.getMap=function(a,b){var c=Q(Y.prototype.getMap,arguments),d=P("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Y.prototype.getMap=Y.prototype.getMap;Y.prototype.W=function(a){return Y.F.W.call(this,a)};Y.prototype.getInfo=Y.prototype.W;
|
|
Y.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Y.prototype.select=Y.prototype.select;Y.prototype.first=function(){return new W(P("Collection.first",this))};Y.prototype.first=Y.prototype.first;Y.prototype.name=function(){return"ImageCollection"};Y.prototype.elementType=function(){return W};var Wn=function(a){this.ne=a;this.id=null},Yn=function(a){var b={element:Xn(a)};Object.assign(b,a);b=Fb(b,Ba);return new Wn(b)};Wn.prototype.start=function(a,b){var c=this;B(this.ne,"Task config must be specified for tasks to be started.");if(a){var d=function(){Ua(c.id);Wl(c.id,c.ne,function(e,f){f?b(f):a()})};this.id?d():Hl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||Hl(1)[0],Ua(this.id,"Failed to obtain task ID."),Wl(this.id,this.ne)};
|
|
Wn.prototype.start=Wn.prototype.start;var Zn=function(a,b,c,d,e,f,g,h,m,p){var q=Q(Zn,arguments);q=$n(q,"ASSET","EXPORT_IMAGE");return Yn(q)};y("ee.batch.Export.image.toAsset",Zn);var ao=function(a,b,c,d,e,f,g,h,m,p,q,w,z,E,M){var Z=Q(ao,arguments);Z=$n(Z,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return Yn(Z)};y("ee.batch.Export.image.toCloudStorage",ao);var bo=function(a,b,c,d,e,f,g,h,m,p,q,w,z,E,M){var Z=Q(bo,arguments);Z=$n(Z,"DRIVE","EXPORT_IMAGE");return Yn(Z)};
|
|
y("ee.batch.Export.image.toDrive",bo);var co=function(a,b,c,d,e,f,g,h,m,p,q,w){var z=Q(co,arguments);z=$n(z,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return Yn(z)};y("ee.batch.Export.map.toCloudStorage",co);var eo=function(a,b,c,d,e,f){var g=Q(eo,arguments);g=$n(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return Yn(g)};y("ee.batch.Export.table.toCloudStorage",eo);var fo=function(a,b,c,d,e,f){var g=Q(fo,arguments);g.type="EXPORT_FEATURES";g=$n(g,"DRIVE","EXPORT_FEATURES");return Yn(g)};
|
|
y("ee.batch.Export.table.toDrive",fo);var go=function(a,b,c){var d=Q(go,arguments);d=$n(d,"ASSET","EXPORT_FEATURES");return Yn(d)};y("ee.batch.Export.table.toAsset",go);var ho=function(a,b,c,d,e,f,g,h,m,p,q,w){var z=Q(ho,arguments);z=$n(z,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return Yn(z)};y("ee.batch.Export.video.toCloudStorage",ho);var io=function(a,b,c,d,e,f,g,h,m,p,q,w){var z=Q(io,arguments);z=$n(z,"DRIVE","EXPORT_VIDEO");return Yn(z)};y("ee.batch.Export.video.toDrive",io);
|
|
var jo=function(a,b,c,d,e,f,g,h,m,p,q,w,z,E,M,Z,zj,Aj,Bj,Cj){var gi=Q(jo,arguments);gi=$n(gi,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return Yn(gi)};y("ee.batch.Export.videoMap.toCloudStorage",jo);
|
|
var Xn=function(a){var b=function(d){return d in a},c=ko.find(b);B(1===db(ko,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof W||b instanceof X||b instanceof Y||b instanceof R))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},$n=function(a,b,c){var d=void 0===d?!0:d;var e={type:c};Object.assign(e,a);switch(c){case "EXPORT_IMAGE":null==e.fileFormat&&(e.fileFormat=
|
|
"GeoTIFF");a=e.fileFormat;null==a&&(a="GEO_TIFF");a=a.toUpperCase();switch(a){case "TIFF":case "TIF":case "GEO_TIFF":case "GEOTIFF":a="GEO_TIFF";break;case "TF_RECORD":case "TF_RECORD_IMAGE":case "TFRECORD":a="TF_RECORD_IMAGE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'GEOTIFF', 'TFRECORD'.");}null!=e.formatOptions&&(a=lo(e,a),delete e.formatOptions,Object.assign(e,a));e=mo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
|
|
b=mo(e,b);break;case "EXPORT_FEATURES":u(e.selectors)&&(e.selectors=e.selectors.join());e=mo(e,b);break;case "EXPORT_VIDEO":e=no(e);e=mo(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=no(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=mo(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.Qc();
|
|
else if("string"===typeof b)try{b=Wa(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(!(v(b)&&"type"in b))try{new en(b)}catch(f){try{new hn(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=Wh(b);
|
|
d.region=b}return e},mo=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=a.assetId||"";break;default:b=Aa(a.folder);if(!gb(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},
|
|
oo={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},po={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},no=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},lo=function(a,b){var c=a.formatOptions;if(null==c)return{};if(Object.keys(a).some(function(m){return null!==c&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");
|
|
a=po[b];for(var d=oo[b],e={},f=l(Object.entries(c)),g=f.next();!g.done;g=f.next()){var h=l(g.value);g=h.next().value;h=h.next().value;if(!gb(d,g))throw Error('"'+g+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));g=a+g[0].toUpperCase()+g.substring(1);u(h)?e[g]=h.join():e[g]=h}return e},ko=["image","collection"];var qo=function(a){if(!(this instanceof qo))return tm(qo,arguments);if(a instanceof qo)return a;ro();if("number"===typeof a)N.call(this,null,null),this.Hc=a;else if(a instanceof N)N.call(this,a.A,a.args,a.R),this.Hc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};A(qo,N);y("ee.Number",qo);var so=!1,ro=function(){so||(Om(qo,"Number","Number"),so=!0)};qo.prototype.encode=function(a){return"number"===typeof this.Hc?this.Hc:qo.F.encode.call(this,a)};
|
|
qo.prototype.pa=function(a){return"number"===typeof this.Hc?Oj(a(this.Hc)):qo.F.pa.call(this,a)};qo.prototype.name=function(){return"Number"};var to=function(a){if(!(this instanceof to))return tm(to,arguments);if(a instanceof to)return a;uo();if("string"===typeof a)N.call(this,null,null),this.Oc=a;else if(a instanceof N)this.Oc=null,a.A&&"String"==a.A.Z().returns?N.call(this,a.A,a.args,a.R):N.call(this,new O("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};A(to,N);y("ee.String",to);var vo=!1,uo=function(){vo||(Om(to,"String","String"),vo=!0)};
|
|
to.prototype.encode=function(a){return"string"===typeof this.Oc?this.Oc:to.F.encode.call(this,a)};to.prototype.pa=function(a){return"string"===typeof this.Oc?Oj(a(this.Oc)):to.F.pa.call(this,a)};to.prototype.name=function(){return"String"};var wo=function(a,b){if(!(this instanceof wo))return tm(wo,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(xo(g in vm?vm[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Pa=yo(a,c,b);this.Vf=b.apply(null,c)};A(wo,Bm);y("ee.CustomFunction",wo);wo.prototype.encode=function(a){return{type:"Function",argumentNames:ab(this.Pa.args,function(b){return b.name}),body:a(this.Vf)}};
|
|
wo.prototype.pa=function(a){return Tj(this.Pa.args.map(function(b){return b.name}),a(this.Vf))};wo.prototype.ve=function(a,b){return Sj(a(this),b)};wo.prototype.Z=function(){return this.Pa};
|
|
var xo=function(a,b){a=a||Object;if(!(a.prototype instanceof N))if(a&&a!=Object)if(a==String)a=to;else if(a==Number)a=qo;else if(a==Array)a=t.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=N;var c=function(d){this.args=this.A=null;this.R=d};c.prototype=a.prototype;return new c(b)},zo=function(a,b){b={name:"",returns:"Object",args:ab(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof N?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new wo(b,a)},yo=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].R&&d.push(e);if(0==d.length)return a;var f=function(m){var p=0;v(m)&&!Ea(m)&&("Function"==m.type&&p++,Eb(m,function(q){p+=f(q)}));return p};e=Ik(c.apply(null,b));c="_MAPPING_VAR_"+f(e)+"_";for(e=0;e<d.length;e++){var g=d[e],h=c+e;b[g].R=h;a.args[g].name=h}return a};var Ao=function(a,b){if(!(this instanceof Ao))return tm(Ao,arguments);if(a instanceof Ao)return a;Bo();var c=Q(Ao,arguments);a=c.date;c=c.tz;var d=new O("Date"),e={},f=null;if(ym(a)){if(e.value=a,c)if(ym(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(xm(a))e.value=a;else if(Da(a))e.value=Math.floor(a.getTime());else if(a instanceof N)a.A&&"Date"==a.A.Z().returns?(d=a.A,e=a.args,f=a.R):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);N.call(this,d,e,f)};A(Ao,N);y("ee.Date",Ao);var Co=!1,Bo=function(){Co||(Om(Ao,"Date","Date"),Co=!0)};Ao.prototype.name=function(){return"Date"};y("ee.Deserializer",function(){});var Eo=function(a){return Do(JSON.parse(a))};y("ee.Deserializer.fromJSON",Eo);var Do=function(a){var b={};if(v(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]=Fo(f,b)}a=a.value}return Fo(a,b)};y("ee.Deserializer.decode",Do);
|
|
var Fo=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(u(a))return ab(a,function(f){return Fo(f,b)});if(!v(a)||Ea(a))throw Error("Cannot decode object: "+a);var c=a.type;switch(c){case "ValueRef":if(a.value in b)return b[a.value];throw Error("Unknown ValueRef: "+a);case "ArgumentRef":c=a.value;if("string"!==typeof c)throw Error("Invalid variable name: "+c);return xo(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
|
|
c);return new Ao(c/1E3);case "Bytes":return c=new Mj,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?Gm(a.functionName):Fo(a["function"],b);var d=Gb(a.arguments,function(f){return Fo(f,b)});if(c instanceof Bm)return c.apply(d);if(c instanceof N)return new N(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Gb(a.value,function(f){return Fo(f,b)});case "Function":var e=Fo(a.body,b);c={name:"",args:ab(a.argumentNames,function(f){return{name:f,
|
|
type:"Object",optional:!1}}),returns:"Object"};return new wo(c,function(){return e});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);}};var Go=function(a){if(!(this instanceof Go))return tm(Go,arguments);if(a instanceof Go)return a;Ho();zm(a)?(N.call(this,null,null),this.uc=a):(a instanceof N&&a.A&&"Dictionary"==a.A.Z().returns?N.call(this,a.A,a.args,a.R):N.call(this,new O("Dictionary"),{input:a},null),this.uc=null)};A(Go,N);y("ee.Dictionary",Go);var Io=!1,Ho=function(){Io||(Om(Go,"Dictionary","Dictionary"),Io=!0)};Go.prototype.encode=function(a){return null!==this.uc?a(this.uc):Go.F.encode.call(this,a)};
|
|
Go.prototype.pa=function(a){return null!==this.uc?Oj(a(this.uc)):Go.F.pa.call(this,a)};Go.prototype.name=function(){return"Dictionary"};var Jo={};y("ee.Terrain",Jo);Jo.Me=!1;Jo.pi=function(){Jo.Me||(Om(Jo,"Terrain","Terrain"),Jo.Me=!0)};Jo.reset=function(){Pm(Jo);Jo.Me=!1};var Po=function(a,b,c,d,e){if("ready"!=Ko||a||b){var f=null!=c;if(d)if(f)Lo.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Ko&&f)Mo.push(c);else if(Ko="loading",dj(a,b,e),f)Mo.push(c),Km(No,Oo);else try{Km(),No()}catch(g){throw Oo(g),g;}}else c&&c()};y("ee.initialize",Po);
|
|
var So=function(){Ko="not_ready";xj=wj=lj=null;vj=!1;Im=null;Jm={};Pm(Ao);Co=!1;Pm(Go);Io=!1;Pm(R);Wm=!1;Pm(W);Ln=!1;Pm(V);En=!1;Pm(U);Cn=!1;Pm(Y);Un=!1;Pm(X);Sn=!1;Pm(T);nn=!1;Pm(S);Zm=!1;Pm(On);Qn=!1;Pm(qo);so=!1;Pm(to);vo=!1;Jo.reset();for(var a=t.ee,b=0;b<Qo.length;b++){var c=Qo[b];Pm(a[c]);delete a[c]}Qo=[];vm=a;a=Ro;for(var d in a)delete a[d]};y("ee.reset",So);var To={Ij:"not_ready",LOADING:"loading",Rj:"ready"};y("ee.InitState",To);y("ee.InitState.NOT_READY","not_ready");
|
|
y("ee.InitState.LOADING","loading");y("ee.InitState.READY","ready");var Ko="not_ready",Mo=[],Lo=[];y("ee.TILE_SIZE",256);var Qo=[],Ro={};y("ee.Algorithms",Ro);var Uo=function(a,b){"string"===typeof a&&(a=new O(a));return Bm.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};y("ee.call",Uo);var Vo=function(a,b){"string"===typeof a&&(a=new O(a));return a.apply(b)};y("ee.apply",Vo);
|
|
var No=function(){if("loading"==Ko){try{Bo();Ho();Vm();Jn();Dn();Bn();Tn();Rn();mn();Xm();Pn();ro();uo();Jo.pi();var a=Lm(),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=t.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=Wo(g),Qo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,Jm[g]=!0):f[g].signature={});vm=f;Xo()}catch(h){Oo(h);return}Ko="ready";for(Lo=[];0<Mo.length;)Mo.shift()()}},Oo=function(a){if("loading"==
|
|
Ko)for(Ko="not_ready",Mo=[];0<Lo.length;)Lo.shift()(a)},Xo=function(){var a=Mm();Jb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=Ro;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=nb(b,1)}f=function(g){return Fm(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=x(c.toString,c);e[b[0]]=f}})},Wo=function(a){var b=function(c){var d=t.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 tm(d,e);d=Nm(a);var g=!(e[0]instanceof N),h=!1;d&&(f?g?h=!0:e[0].A&&e[0].A.Z().returns==d.Z().returns||(h=!0):h=!0);if(h)e=Am(e,d.Z())?e[0]:Dm(d,e),N.call(this,d,Em(d,e));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];N.call(this,e.A,e.args,e.R)}};A(b,N);b.prototype.name=function(){return a};Om(b,a,a);return b};
|
|
Cm=function(a,b){if(null===a)return null;if(void 0!==a){var c=t.ee;switch(b){case "Image":return new W(a);case "Feature":return a instanceof U?P("Feature",P("Collection.geometry",a)):new V(a);case "Element":if(a instanceof R)return a;if(a instanceof S)return new V(a);if(a instanceof N)return new R(a.A,a.args,a.R);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?P("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof U?
|
|
a:new X(a);case "ImageCollection":return new Y(a);case "Filter":return new T(a);case "Algorithm":if("string"===typeof a)return new O(a);if(Ea(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return zo(a,c)}if(a instanceof Mj)return a;throw Error("Argument is not a function: "+a);case "String":return ym(a)||a instanceof to||a instanceof N?new to(a):a;case "Dictionary":return zm(a)?a:new Go(a);case "List":return new On(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new qo(a);
|
|
default:if(b in c){d=Nm(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 Yo=function(a,b,c){Ld.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.yg=new zd;this.xg=new zd};n(Yo,Ld);Yo.prototype.getTile=function(a,b){var c=Md(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.kb,this.token].join("/");this.mb.push(c);this.kb+=1;var d=Rg("DIV");Zo(this,b,a,c,d);$o(this);return d};
|
|
var Zo=function(a,b,c,d,e){var f=ui(si);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=x(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.yg.set(c,g),this.xg.set(c,e),jb(this.mb,d),$o(this);else throw this.Ff.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},$o=function(a){a.dispatchEvent(new Nd(a.mb.length))};Yo.prototype.C=function(){this.xg=this.yg=null;Ld.prototype.C.call(this)};
|
|
y("ee.FloatTileOverlay",Yo);var ap=function(){this.Dd=new Map};ap.prototype.clear=function(){this.Dd.clear()};var bp=function(a,b){a.Dd.has(b)||a.Dd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.Dd.get(b)};var cp=function(a){La.call(this);this.zb=a;this.H={}};A(cp,La);var dp=[];cp.prototype.Na=function(a,b,c,d){u(b)||(b&&(dp[0]=b.toString()),b=dp);for(var e=0;e<b.length;e++){var f=gd(a,b[e],c||this.handleEvent,d||!1,this.zb||this);if(!f)break;this.H[f.key]=f}return this};cp.prototype.Gc=function(a,b,c,d){return ep(this,a,b,c,d)};var ep=function(a,b,c,d,e,f){if(u(c))for(var g=0;g<c.length;g++)ep(a,b,c[g],d,e,f);else{b=fd(b,c,d||a.handleEvent,e,f||a.zb||a);if(!b)return a;a.H[b.key]=b}return a};
|
|
cp.prototype.Kd=function(a,b,c,d,e){if(u(b))for(var f=0;f<b.length;f++)this.Kd(a,b[f],c,d,e);else c=c||this.handleEvent,d=v(d)?!!d.capture:!!d,e=e||this.zb||this,c=hd(c),d=!!d,b=Wc(a)?a.xc(b,c,d,e):a?(a=jd(a))?a.xc(b,c,d,e):null:null,b&&(od(b),delete this.H[b.key])};cp.prototype.Mc=function(){Eb(this.H,function(a,b){this.H.hasOwnProperty(b)&&od(a)},this);this.H={}};cp.prototype.C=function(){cp.F.C.call(this);this.Mc()};
|
|
cp.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var gp=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Lb[a.name]):(this.code=a=Ta(a.code),this.name=fp(a));Oa.call(this,wc("%s %s",this.name,b))};A(gp,Oa);var fp=function(a){var b=Mb(function(c){return a==c});if(void 0===b)throw Error("Invalid code: "+a);return b},Lb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var hp=function(a,b){Na.call(this,a.type,b);this.Ba=a};A(hp,Na);var ip=function(){sd.call(this);this.aa=new FileReader;this.aa.onloadstart=x(this.Ub,this);this.aa.onprogress=x(this.Ub,this);this.aa.onload=x(this.Ub,this);this.aa.onabort=x(this.Ub,this);this.aa.onerror=x(this.Ub,this);this.aa.onloadend=x(this.Ub,this)};A(ip,sd);k=ip.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new gp(a,"aborting read");}};k.hb=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new gp(this.aa.error,"reading file")};
|
|
k.Ub=function(a){this.dispatchEvent(new hp(a,this))};k.C=function(){ip.F.C.call(this);delete this.aa};k.readAsBinaryString=function(a){this.aa.readAsBinaryString(a)};k.readAsArrayBuffer=function(a){this.aa.readAsArrayBuffer(a)};k.readAsText=function(a,b){this.aa.readAsText(a,b)};var jp=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=jp.prototype;k.clone=function(){return new jp(this.top,this.right,this.bottom,this.left)};k.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};k.contains=function(a){return this&&a?a instanceof jp?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
|
|
k.expand=function(a,b,c,d){v(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
|
|
k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
|
|
k.translate=function(a,b){a instanceof Mg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Ta(a),this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var kp=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=kp.prototype;k.clone=function(){return new kp(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
|
|
k.Og=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};k.intersects=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height};
|
|
k.ue=function(a){b:{var b=Math.max(this.left,a.left);var c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top),e=Math.min(this.top+this.height,a.top+a.height);if(d<=e){b=new kp(b,d,c-b,e-d);break b}}b=null}if(b&&b.height&&b.width){b=[];c=this.top;d=this.height;e=this.left+this.width;var f=this.top+this.height,g=a.left+a.width,h=a.top+a.height;a.top>this.top&&(b.push(new kp(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new kp(this.left,
|
|
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new kp(this.left,c,a.left-this.left,d));g<e&&b.push(new kp(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof Mg?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
|
|
k.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};k.getCenter=function(){return new Mg(this.left+this.width/2,this.top+this.height/2)};k.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
|
|
k.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};k.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};k.translate=function(a,b){a instanceof Mg?(this.left+=a.x,this.top+=a.y):(this.left+=Ta(a),"number"===typeof b&&(this.top+=b));return this};
|
|
k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var lp=function(a,b){B(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var mp=function(a,b){sd.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.Cd=new ap;this.lb=new zd;this.kb=0;this.Ef=a;this.Wa=new cp(this);this.projection=null;this.radius=0;this.alt=null};A(mp,sd);y("ee.layers.AbstractOverlay",mp);
|
|
mp.prototype.$d=function(a){return gd(this,"tile-load",a)};mp.prototype.addTileCallback=mp.prototype.$d;mp.prototype.mf=function(a){od(a)};mp.prototype.removeTileCallback=mp.prototype.mf;k=mp.prototype;k.Fe=function(){return np(this,"throttled")+np(this,"loading")+np(this,"new")};k.setOpacity=function(a){this.opacity=a;this.lb.forEach(function(b){lp(b.oa,this.opacity)},this)};k.getStats=function(){return this.Cd};
|
|
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.kb++].join("-"),this.Ef.Eg()].join("-");b=this.gg(d,b,c,a);b.tileSize=this.tileSize;lp(b.oa,this.opacity);this.lb.set(a,b);op(this,b);this.Ef.Tg(b,(new Date).getTime()/1E3);return b.oa};k.releaseTile=function(a){var b=this.lb.get(a.id);this.lb.remove(a.id);b&&(b.abort(),Ma(b))};
|
|
var op=function(a,b){a.Wa.Na(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.vi,d=(new Date).getTime();bp(this.Cd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new pp(this.Fe()));break;case "throttled":bp(this.Cd,b.zoom).throttleCount++;this.dispatchEvent(new qp(b.Fa));break;case "failed":bp(this.Cd,b.zoom).errorCount++,this.dispatchEvent(new rp(b.Fa,b.ii))}})};
|
|
mp.prototype.C=function(){mp.F.C.call(this);this.lb.forEach(Ma);this.lb.clear();this.lb=null;Ma(this.Wa);this.Ef=this.Wa=null};var np=function(a,b){return db(a.lb.T(),function(c){return c.getStatus()==b})},pp=function(){Na.call(this,"tile-load")};A(pp,Na);var qp=function(){Na.call(this,"tile-throttle")};A(qp,Na);var rp=function(a,b){Na.call(this,"tile-fail");this.errorMessage=b};A(rp,Na);
|
|
var sp=function(a,b,c,d){sd.call(this);this.Tb=a;this.zoom=b;this.oa=c.createElement("div");this.oa.id=d;this.xi=5;this.yd=function(){};this.zf="new";this.qh=0;this.Pe=!1};A(sp,sd);
|
|
var up=function(a){if(!a.Pe&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");tp(a,"loading");a.vi=(new Date).getTime();a.Qa=new xi;a.Qa.dc="blob";a.Qa.Na("complete",function(){var b=Ki(this.Qa),c=this.Qa.getStatus();429==c&&tp(this,"throttled");if(oi(c)){var d={};Eb(Li(this.Qa),function(f,g){d[g.toLowerCase()]=f});this.Ki=d;this.xh=b;this.wc()}else if(b){var e=new ip;e.Na("loadend",function(){this.Nc(e.aa.result)},void 0,this);
|
|
e.readAsText(b)}else this.Nc("Failed to load tile.")},!1,a);a.Qa.Gc("ready",Ja(Ma,a.Qa));a.Fa&&a.Fa.endsWith("&profiling=1")&&L&&(a.Fa=a.Fa.replace("&profiling=1",""),a.Qa.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Qa.send(a.Fa,"GET")};k=sp.prototype;k.wc=function(){this.yd(this);tp(this,"loaded")};k.qc=function(){Ma(this.Qa)};
|
|
k.Nc=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.qh>=this.xi?(this.ii=b(a),tp(this,"failed")):(this.qc(),setTimeout(x(function(){this.La||(this.Pe=!0,up(this),this.Pe=!1)},this),1E3*Math.pow(2,this.qh++)))};k.abort=function(){this.qc();tp(this,"aborted")};k.getStatus=function(){return this.zf};var tp=function(a,b){a.zf=b;a.dispatchEvent("status-changed")},vp={aborted:!0,failed:!0,loaded:!0};
|
|
sp.prototype.C=function(){sp.F.C.call(this);this.qc();this.oa.remove();this.yd=null};var wp=function(){La.call(this)};A(wp,La);var xp=function(a,b){mp.call(this,a,b);this.Xf=new zd;this.rg=new zd};n(xp,mp);xp.prototype.gg=function(a,b,c,d){var e=new yp(a,b,c,d);this.Wa.Na(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Xf.set(a,new Float32Array(e.ci)),this.rg.set(a,e.oa))});return e};xp.prototype.C=function(){mp.prototype.C.call(this);this.rg=this.Xf=null};y("ee.layers.BinaryOverlay",xp);var yp=function(a,b,c,d){sp.call(this,a,b,c,d)};n(yp,sp);
|
|
yp.prototype.wc=function(){var a=new ip;a.Na("loadend",function(){this.ci=a.aa.result;sp.prototype.wc.call(this)},void 0,this);a.readAsArrayBuffer(this.xh)};var zp=function(a){sd.call(this);this.Bc={};this.Ac={};this.zb=new cp(this);this.O=a};A(zp,sd);var Ap=[Dc&&!Nc("11")?"readystatechange":"load","abort","error"],Bp=function(a,b,c){(c="string"===typeof c?c:c.src)&&(a.Bc[b]={src:c,eg:null})},Cp=function(a,b){delete a.Bc[b];var c=a.Ac[b];c&&(delete a.Ac[b],a.zb.Kd(c,Ap,a.bh),Nb(a.Ac)&&Nb(a.Bc)&&a.dispatchEvent("complete"))};
|
|
zp.prototype.start=function(){var a=this.Bc;Za(Jb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.La)){if(this.O){var d=this.O;d=(d?new Yg(Xg(d)):Pa||(Pa=new Yg)).gi("IMG")}else d=new Image;c.eg&&(d.crossOrigin=c.eg);this.zb.Na(d,Ap,this.bh);this.Ac[b]=d;d.id=b;d.src=c.src}},this)};
|
|
zp.prototype.bh=function(a){var b=a.currentTarget;if(b){if("readystatechange"==a.type)if("complete"==b.readyState)a.type="load";else return;"undefined"==typeof b.naturalWidth&&("load"==a.type?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.La||Cp(this,b.id)}};zp.prototype.C=function(){delete this.Bc;delete this.Ac;Ma(this.zb);zp.F.C.call(this)};var Dp=function(a,b){mp.call(this,a,b)};n(Dp,mp);Dp.prototype.gg=function(a,b,c,d){return new Ep(a,b,c,d)};y("ee.layers.ImageOverlay",Dp);var Ep=function(a,b,c,d){sp.call(this,a,b,c,d);this.yd=Fp;this.Mg=this.da=this.od=null;this.Ic=""};n(Ep,sp);
|
|
Ep.prototype.wc=function(){try{var a=nc(this.xh);this.Ic=lc(a);var b="about:invalid#zClosurez"!==this.Ic?this.Ic:this.Fa}catch(c){b=this.Fa}this.da=new zp;Bp(this.da,this.oa.id+"-image",b);this.Mg=fd(this.da,Gp,function(c){"load"==c.type?(this.od=c.target,sp.prototype.wc.call(this)):this.Nc()},void 0,this);this.da.start()};Ep.prototype.qc=function(){sp.prototype.qc.call(this);this.da&&(od(this.Mg),Ma(this.da))};Ep.prototype.C=function(){sp.prototype.C.call(this);this.Ic&&URL.revokeObjectURL(this.Ic)};
|
|
var Fp=function(a){a.oa.appendChild(a.od)},Gp=["load","abort","error"];var Hp=function(a){for(var b=arguments[0],c=1;c<arguments.length;c++){var d=arguments[c];if(0==d.lastIndexOf("/",0))b=d;else{var e;(e=""==b)||(e=b.length-1,e=0<=e&&b.indexOf("/",e)==e);b=e?b+d:b+("/"+d)}}return b};var Ip=function(a,b,c,d){La.call(this);this.Wf=a;this.Ya=b;this.Cf=d||"";this.td=c};A(Ip,wp);y("ee.layers.CloudStorageTileSource",Ip);
|
|
Ip.prototype.Tg=function(a){if(a.zoom<=this.td)a.Fa=this.kd(a.Tb,a.zoom);else{var b=a.zoom-this.td,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.Tb.x/c),Math.floor(a.Tb.y/c));a.Fa=this.kd(c,a.zoom-b);a.yd=Ja(Jp,this.td)}var d=x(a.Nc,a);a.Nc=x(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?tp(a,"loaded"):d(e)},a);up(a)};Ip.prototype.Eg=function(){return[this.Wf,this.Ya,this.td,this.Cf].join("-")};
|
|
Ip.prototype.kd=function(a,b){a=Hp("https://storage.googleapis.com",this.Wf,this.Ya,String(b),String(a.x),String(a.y));this.Cf&&(a+=this.Cf);return a};
|
|
var Jp=function(a,b){if(!b.od)throw Error("Tile must have an image element to be rendered.");a=Math.pow(2,b.zoom-a);var c=b.tileSize.width,d=b.oa.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.oa.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.od,c/a*(b.Tb.x%a),c/a*(b.Tb.y%a),c/a,c/a,0,0,c,c)};var Kp=function(){this.Ca=[];this.Ja=[]};k=Kp.prototype;k.enqueue=function(a){this.Ja.push(a)};k.tc=function(){0==this.Ca.length&&(this.Ca=this.Ja,this.Ca.reverse(),this.Ja=[]);return this.Ca.pop()};k.M=function(){return this.Ca.length+this.Ja.length};k.isEmpty=function(){return 0==this.Ca.length&&0==this.Ja.length};k.clear=function(){this.Ca=[];this.Ja=[]};k.contains=function(a){return gb(this.Ca,a)||gb(this.Ja,a)};
|
|
k.remove=function(a){var b=this.Ca;var c=Ya(b,a);0<=c?(ib(b,c),b=!0):b=!1;return b||jb(this.Ja,a)};k.T=function(){for(var a=[],b=this.Ca.length-1;0<=b;--b)a.push(this.Ca[b]);var c=this.Ja.length;for(b=0;b<c;++b)a.push(this.Ja[b]);return a};var Lp=function(a,b){La.call(this);this.Zg=a||0;this.sd=b||10;if(this.Zg>this.sd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ma=new Kp;this.ib=new Id;this.delay=0;this.Qe=null;this.Zc()};A(Lp,La);Lp.prototype.yc=function(){var a=Ka();if(!(null!=this.Qe&&a-this.Qe<this.delay)){for(var b;0<this.Ma.M()&&(b=this.Ma.tc(),!this.Ze(b));)this.Zc();!b&&this.M()<this.sd&&(b=this.oe());b&&(this.Qe=a,this.ib.add(b));return b}};
|
|
var Mp=function(a,b){return a.ib.remove(b)?(a.Zd(b),!0):!1};k=Lp.prototype;k.Zd=function(a){this.ib.remove(a);this.Ze(a)&&this.M()<this.sd?this.Ma.enqueue(a):this.ed(a)};k.Zc=function(){for(var a=this.Ma;this.M()<this.Zg;)a.enqueue(this.oe());for(;this.M()>this.sd&&0<this.Ma.M();)this.ed(a.tc())};k.oe=function(){return{}};k.ed=function(a){if("function"==typeof a.Ka)a.Ka();else for(var b in a)a[b]=null};k.Ze=function(a){return"function"==typeof a.ei?a.ei():!0};
|
|
k.contains=function(a){return this.Ma.contains(a)||this.ib.contains(a)};k.M=function(){return this.Ma.M()+this.ib.M()};k.isEmpty=function(){return this.Ma.isEmpty()&&this.ib.isEmpty()};k.C=function(){Lp.F.C.call(this);if(0<this.ib.M())throw Error("[goog.structs.Pool] Objects not released");delete this.ib;for(var a=this.Ma;!a.isEmpty();)this.ed(a.tc());delete this.Ma};var Np=function(a,b){this.Rg=a;this.Nd=b};Np.prototype.getKey=function(){return this.Rg};Np.prototype.clone=function(){return new Np(this.Rg,this.Nd)};var Op=function(a){this.va=[];if(a)a:{if(a instanceof Op){var b=a.Da();a=a.T();if(0>=this.M()){for(var c=this.va,d=0;d<b.length;d++)c.push(new Np(b[d],a[d]));break a}}else b=Jb(a),a=Ib(a);for(d=0;d<b.length;d++)Pp(this,b[d],a[d])}},Pp=function(a,b,c){var d=a.va;d.push(new Np(b,c));b=d.length-1;a=a.va;for(c=a[b];0<b;)if(d=b-1>>1,a[d].getKey()>c.getKey())a[b]=a[d],b=d;else break;a[b]=c};k=Op.prototype;
|
|
k.remove=function(){var a=this.va,b=a.length,c=a[0];if(!(0>=b)){if(1==b)hb(a);else{a[0]=a.pop();a=0;b=this.va;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.Nd}};k.T=function(){for(var a=this.va,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Nd);return b};k.Da=function(){for(var a=this.va,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.rc=function(a){return bb(this.va,function(b){return b.Nd==a})};k.eb=function(a){return bb(this.va,function(b){return b.getKey()==a})};k.clone=function(){return new Op(this)};k.M=function(){return this.va.length};k.isEmpty=function(){return 0==this.va.length};k.clear=function(){hb(this.va)};var Qp=function(){Op.call(this)};A(Qp,Op);Qp.prototype.enqueue=function(a,b){Pp(this,a,b)};Qp.prototype.tc=function(){return this.remove()};var Rp=function(a,b){this.og=void 0;this.Ad=new Qp;Lp.call(this,a,b)};A(Rp,Lp);k=Rp.prototype;k.yc=function(a,b){if(!a)return(a=Rp.F.yc.call(this))&&this.delay&&(this.og=t.setTimeout(x(this.md,this),this.delay)),a;this.Ad.enqueue(void 0!==b?b:100,a);this.md()};k.md=function(){for(var a=this.Ad;0<a.M();){var b=this.yc();if(b)a.tc().apply(this,[b]);else break}};k.Zd=function(a){Rp.F.Zd.call(this,a);this.md()};k.Zc=function(){Rp.F.Zc.call(this);this.md()};
|
|
k.C=function(){Rp.F.C.call(this);t.clearTimeout(this.og);this.Ad.clear();this.Ad=null};var Sp=function(a,b){La.call(this);this.Re=a;this.ra=b||null};A(Sp,wp);y("ee.layers.EarthEngineTileSource",Sp);Sp.prototype.Tg=function(a,b){var c=gd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.Ki["x-earth-engine-computation-profile"];this.ra&&e&&this.ra.$h(a.oa.id,e);break;case "failed":case "aborted":this.ra&&""!==a.oa.id&&this.ra.Ei(a.oa.id),od(c)}},void 0,this);a.Fa=this.kd(a.Tb,a.zoom);var d=x(this.Ie,this,a);Tp().yc(d,b)};
|
|
Sp.prototype.Eg=function(){return this.Re.mapid+"-"+this.Re.token};Sp.prototype.Ie=function(a,b){var c=Tp();if(a.La||"aborted"==a.getStatus())Mp(c,b);else{var d=gd(a,"status-changed",function(){a.zf in vp&&(od(d),Mp(c,b))});up(a)}};Sp.prototype.kd=function(a,b){a=this.Re.formatTileUrl(a.x,a.y,b);return this.ra&&this.ra.isEnabled()?a+"&profiling=1":a};var Tp=function(){Up||(Up=new Rp(0,4));return Up},Up=null;var Wp=function(){sd.call(this);this.Hd=new Vp(0,60);this.cc=new zd};A(Wp,sd);y("ee.MapTileManager",Wp);Wp.Ne=void 0;Wp.Dg=function(){return Wp.Ne?Wp.Ne:Wp.Ne=new Wp};Wp.prototype.send=function(a,b,c,d,e){if(this.cc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new Xp(a,b,d,x(this.mh,this),void 0!==e?e:1);this.cc.set(a,b);a=x(this.Ie,this,b);this.Hd.yc(a,c);return b};Wp.prototype.abort=function(a){if(a=this.cc.get(a))a.Rb||(a.Rb=!0,a.Ba=new Na("abort")),this.mh(a)};
|
|
Wp.prototype.Ie=function(a,b){if(a.da||a.Rb)Yp(this,b);else if(a.Fh=b,b.setActive(!0),b=new zp,a.da=b,!Zp(a))throw Error("Cannot dispatch first request!");};Wp.prototype.mh=function(a){this.cc.remove(a.getId());a.da&&(Yp(this,a.Fh),a.da.Ka());a.Je&&a.Je(a.Ba,a.kh)};var Yp=function(a,b){b.setActive(!1);if(!Mp(a.Hd,b))throw Error("Object not released");};Wp.prototype.C=function(){Wp.F.C.call(this);this.Hd.Ka();this.Hd=null;var a=this.cc;Za(a.T(),function(b){b.Ka()});a.clear();this.cc=null};
|
|
var Xp=function(a,b,c,d,e){La.call(this);this.ca=a;this.Pi=b;this.yi=void 0!==e?e:1;this.Je=c;this.Ib=d};A(Xp,La);k=Xp.prototype;k.Pf=0;k.Rb=!1;k.da=null;k.Fh=null;k.Ba=null;k.kh=null;var $p=["load","abort","error"];Xp.prototype.getId=function(){return this.ca};Xp.prototype.getUrl=function(){return this.Pi};Xp.prototype.ni=function(a){if(this.Rb)this.Ib&&this.Ib(this);else switch(a.type){case "load":this.Ba=a;this.Ib&&this.Ib(this);break;case "error":case "abort":Zp(this)||(this.Ba=a,this.Ib&&this.Ib(this))}};
|
|
Xp.prototype.C=function(){Xp.F.C.call(this);delete this.Je;delete this.Ib};var Zp=function(a){if(a.Pf>a.yi)return!1;a.Pf++;Cp(a.da,a.ca);setTimeout(x(a.Li,a),0);return!0};
|
|
Xp.prototype.Li=function(){if(!this.Rb){var a=x(function(d){this.Rb||(Bp(this.da,this.ca,d),fd(this.da,$p,x(this.ni,this)),this.da.start())},this),b=this.getUrl();if(Zi(b).xa.eb("profiling")){var c=new xi;c.dc="blob";c.Na("complete",x(function(){this.kh=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=lc(nc(Ki(c)));var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Gc("ready",x(c.Ka,c));c.send(b,"GET")}else a(b)}};
|
|
var aq=function(){La.call(this);this.za=!1};A(aq,La);aq.prototype.setActive=function(a){this.za=a};aq.prototype.Pg=function(){return this.za};var Vp=function(a,b){Rp.call(this,a,b)};A(Vp,Rp);Vp.prototype.oe=function(){return new aq};Vp.prototype.ed=function(a){a.Ka()};Vp.prototype.Ze=function(a){return!a.La&&!a.Pg()};var bq=function(a,b,c,d,e){Ld.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.Gf=new Id;this.$e=1;this.ra=e||null};n(bq,Ld);k=bq.prototype;k.$d=function(a){return gd(this,"tileevent",a)};k.mf=function(a){od(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=Md(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ra&&this.ra.isEnabled()&&(a+="&profiling=1");b=[b,this.kb,this.token].join("/");this.kb+=1;c=Rg("DIV",{id:b});var d=(new Date).getTime()/1E3;this.mb.push(b);Wp.Dg().send(b,a,d,x(this.mi,this,c,b));$o(this);return c};k.Fe=function(){return this.mb.length};
|
|
k.releaseTile=function(a){Wp.Dg().abort(a.id);this.Gf.remove(void 0!==a.firstElementChild?a.firstElementChild:Wg(a.firstChild));""!==a.id&&(this.Ff.remove(a.id),this.ra&&this.ra.Ei(a.id))};k.setOpacity=function(a){this.$e=a;var b=this.Gf.Qb();yd(b,function(c){lp(c,a)})};
|
|
k.mi=function(a,b,c,d){"error"==c.type?(jb(this.mb,b),this.Ff.add(b),this.dispatchEvent(c)):(jb(this.mb,b),c.target&&"load"==c.type&&(c=c.target,this.Gf.add(c),1!=this.$e&&lp(c,this.$e),a.appendChild(c)),$o(this));this.ra&&null!==d&&this.ra.$h(b,d)};y("ee.MapLayerOverlay",bq);bq.prototype.removeTileCallback=bq.prototype.mf;bq.prototype.addTileCallback=bq.prototype.$d;bq.prototype.getTile=bq.prototype.getTile;bq.prototype.setOpacity=bq.prototype.setOpacity;bq.prototype.releaseTile=bq.prototype.releaseTile;var cq=function(a,b){if(!(this instanceof cq))return new cq(a,b);this.Ya=a;this.Pa=b};A(cq,Bm);y("ee.SavedFunction",cq);cq.prototype.encode=function(a){return P("LoadAlgorithmById",this.Ya).encode(a)};cq.prototype.Z=function(){return this.Pa};(function(){var a={},b="ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.image.toAsset ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.createAsset ee.data.getThumbId ee.data.newTaskId ee.data.createAssetHome ee.data.createFolder ee.data.getTaskStatus ee.data.getVideoThumbId ee.data.startIngestion ee.data.updateAsset ee.data.getFilmstripThumbId ee.data.renameAsset ee.data.setAssetAcl ee.data.makeThumbUrl ee.data.setAssetProperties ee.data.getDownloadId ee.data.copyAsset ee.data.getTaskList ee.data.getAssetRootQuota ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.getAsset ee.data.deleteAsset ee.data.getInfo ee.data.getAssetAcl ee.data.makeDownloadUrl ee.data.cancelOperation ee.data.getOperation ee.data.getList ee.data.getMapId ee.data.cancelTask ee.data.listAssets ee.data.updateTask ee.data.getTileUrl ee.data.listImages ee.data.startProcessing ee.data.listBuckets ee.data.authenticateViaPrivateKey ee.data.authenticateViaOauth ee.data.authenticate ee.data.authenticateViaPopup ee.data.getAssetRoots ee.data.getValue ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Dictionary ee.initialize ee.call ee.reset ee.TILE_SIZE ee.apply ee.Algorithms ee.InitState ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getMap ee.FeatureCollection ee.Filter.gt ee.Filter.prototype.not ee.Filter.eq ee.Filter.and ee.Filter.bounds ee.Filter.neq ee.Filter ee.Filter.lt ee.Filter.gte ee.Filter.lte ee.Filter.date ee.Filter.inList ee.Filter.metadata ee.Filter.or ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.LineString ee.Geometry.MultiLineString ee.Geometry.MultiPolygon ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry ee.Geometry.prototype.toGeoJSONString ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Image.prototype.getThumbURL ee.Image.prototype.rename ee.Image.prototype.getInfo ee.Image ee.Image.prototype.clip ee.Image.prototype.expression ee.Image.prototype.select ee.Image.prototype.getDownloadURL ee.Image.cat ee.Image.prototype.getMap ee.Image.rgb ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getFilmstripThumbURL ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.String ee.Terrain".split(" "),
|
|
c=[["name"],["name","namedArgs"],["name","var_args"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),
|
|
"image opt_description opt_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(" "),"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".split(" "),
|
|
["collection","opt_description","opt_assetId"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),["start","opt_end"],["property","opt_ascending"],
|
|
["algorithm","opt_dropNulls"],["filter"],["algorithm","opt_first"],["max","opt_property","opt_ascending"],["geometry"],["name","operator","value"],[],["func","var_args"],["callback"],["opt_callback"],["params","opt_callback"],["id"],["value","opt_path","opt_force","opt_properties","opt_callback"],["params","opt_callback"],["opt_count","opt_callback"],["requestedId","opt_callback"],["path","opt_force","opt_callback"],["taskId","opt_callback"],["params","opt_callback"],["taskId","request","opt_callback"],
|
|
["assetId","asset","updateFields","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_callback"],["assetId","aclUpdate","opt_callback"],["id"],["assetId","properties","opt_callback"],["params","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["opt_callback"],["rootId","opt_callback"],["opt_limit","opt_callback"],["taskId","request","opt_callback"],["id","opt_callback"],["assetId","opt_callback"],["id","opt_callback"],["assetId","opt_callback"],["id"],
|
|
["operationName","opt_callback"],["operationName","opt_callback"],["params","opt_callback"],["params","opt_callback"],["taskId","opt_callback"],["parent","params","opt_callback"],["taskId","action","opt_callback"],["mapid","x","y","z"],["parent","params","opt_callback"],["taskId","params","opt_callback"],["project","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["clientId","success","opt_error",
|
|
"opt_extraScopes","opt_onImmediateFailed"],["opt_success","opt_error"],["opt_callback"],["params","opt_callback"],["date","opt_tz"],["json"],["json"],["opt_dict"],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["func","var_args"],[],[],["func","namedArgs"],[],[],["var_args"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["propertySelectors","opt_newProperties",
|
|
"opt_retainGeometry"],["opt_visParams","opt_callback"],["args","opt_column"],["name","value"],[],["name","value"],["var_args"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["name","value"],["name","value"],["name","value"],["start","opt_end"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["name","operator","value"],["var_args"],["var_args"],["namedArgs"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],
|
|
["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["coords","opt_proj"],[],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["params","opt_callback"],["var_args"],["opt_callback"],["opt_args"],["geometry"],["expression","opt_map"],["var_args"],["params","opt_callback"],["var_args"],["opt_visParams",
|
|
"opt_callback"],["r","g","b"],["opt_callback"],["selectors","opt_names"],[],["args"],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["list"],["number"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[Gm,Hm,P,io,fo,jo,bo,ao,co,go,Zn,ho,eo,U.prototype.ze,U.prototype.sort,U.prototype.map,U.prototype.filter,U.prototype.Qg,U.prototype.limit,U.prototype.vg,U.prototype.Ae,N.prototype.X,N.prototype.Mf,N.prototype.evaluate,N.prototype.W,
|
|
Fl,Gl,jm,zl,Hl,im,km,Jl,Al,$l,pm,Bl,lm,qm,Cl,rm,Dl,mm,Ll,sm,Kl,bm,cm,nm,cm,om,El,Nl,Ol,dm,vl,Ql,em,Pl,wl,fm,Wl,gm,ql,ol,pl,nl,hm,xl,Ao,Do,Eo,Go,Po,Uo,So,256,Vo,Ro,To,R.prototype.set,V,V.prototype.getMap,V.prototype.W,X.prototype.W,X.prototype.xb,X.prototype.select,X.prototype.getMap,X,tn,T.prototype.Yb,pn,vn,zn,qn,T,rn,sn,un,xn,yn,An,wn,Bm.prototype.call,Bm.prototype.apply,en,gn,jn,$m,S.prototype.Qc,S,S.prototype.Hf,fn,cn,hn,S.prototype.X,dn,W.prototype.Ge,W.prototype.nh,W.prototype.W,W,W.prototype.clip,
|
|
W.prototype.i,W.prototype.select,W.prototype.xb,Nn,W.prototype.getMap,Mn,Y.prototype.W,Y.prototype.select,Y.prototype.first,Y,Y.prototype.getMap,Y.prototype.He,Y.prototype.Ee,On,qo,Jk,Ik,Qk,Pk,Ok,Lk,to,Jo].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|