mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
654 lines
298 KiB
JavaScript
654 lines
298 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)}},ca=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},da="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ea;
|
|
if("function"==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var fa;a:{var ha={Bh:!0},ia={};try{ia.__proto__=ha;fa=ia.Bh;break a}catch(a){}fa=!1}ea=fa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
var ja=ea,n=function(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(ja)ja(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.H=b.prototype},r="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ka="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},
|
|
la=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&&ka(c,a,{configurable:!0,writable:!0,value:b})}};la("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 ma=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+""};la("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=ma(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}});
|
|
la("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ma(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}});la("String.prototype.repeat",function(a){return a?a:function(b){var c=ma(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 na=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},oa="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)na(d,e)&&(a[e]=d[e])}return a};la("Object.assign",function(a){return a||oa});
|
|
la("Promise",function(a){function b(){this.ab=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.zf=function(g){if(null==this.ab){this.ab=[];var h=this;this.Af(function(){h.Nh()})}this.ab.push(g)};var d=r.setTimeout;b.prototype.Af=function(g){d(g,0)};b.prototype.Nh=function(){for(;this.ab&&this.ab.length;){var g=this.ab;this.ab=[];for(var h=0;h<g.length;++h){var m=g[h];g[h]=null;try{m()}catch(p){this.Eh(p)}}}this.ab=null};b.prototype.Eh=function(g){this.Af(function(){throw g;
|
|
})};var e=function(g){this.U=0;this.sa=void 0;this.Zb=[];var h=this.be();try{g(h.resolve,h.reject)}catch(m){h.reject(m)}};e.prototype.be=function(){function g(p){return function(q){m||(m=!0,p.call(h,q))}}var h=this,m=!1;return{resolve:g(this.ji),reject:g(this.Ye)}};e.prototype.ji=function(g){if(g===this)this.Ye(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.ki(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.ii(g):this.lg(g)}};e.prototype.ii=function(g){var h=void 0;try{h=g.then}catch(m){this.Ye(m);return}"function"==typeof h?this.li(h,g):this.lg(g)};e.prototype.Ye=function(g){this.hh(2,g)};e.prototype.lg=function(g){this.hh(1,g)};e.prototype.hh=function(g,h){if(0!=this.U)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.U);this.U=g;this.sa=h;this.Ph()};e.prototype.Ph=function(){if(null!=this.Zb){for(var g=0;g<this.Zb.length;++g)f.zf(this.Zb[g]);this.Zb=null}};var f=
|
|
new b;e.prototype.ki=function(g){var h=this.be();g.Zc(h.resolve,h.reject)};e.prototype.li=function(g,h){var m=this.be();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(ba){q(ba)}}:E}var p,q,v=new e(function(z,E){p=z;q=E});this.Zc(m(g,p),m(h,q));return v};e.prototype["catch"]=function(g){return this.then(void 0,g)};e.prototype.Zc=function(g,h){function m(){switch(p.U){case 1:g(p.sa);break;
|
|
case 2:h(p.sa);break;default:throw Error("Unexpected state: "+p.U);}}var p=this;null==this.Zb?f.zf(m):this.Zb.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).Zc(h,m)})};e.all=function(g){var h=l(g),m=h.next();return m.done?c([]):new e(function(p,q){function v(M){return function(ba){z[M]=ba;E--;0==E&&p(z)}}var z=[],E=0;do z.push(void 0),E++,c(m.value).Zc(v(z.length-1),
|
|
q),m=h.next();while(!m.done)})};return e});var pa=function(){pa=function(){};r.Symbol||(r.Symbol=qa)},ra=function(a,b){this.wh=a;ka(this,"description",{configurable:!0,writable:!0,value:b})};ra.prototype.toString=function(){return this.wh};
|
|
var qa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ra("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(),ta=function(){pa();var a=r.Symbol.iterator;a||(a=r.Symbol.iterator=r.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ka(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return sa(aa(this))}});ta=function(){}},sa=function(a){ta();a={next:a};a[r.Symbol.iterator]=function(){return this};return a},
|
|
ua=function(a,b){ta();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};la("Array.prototype.keys",function(a){return a?a:function(){return ua(this,function(b){return b})}});la("Array.prototype.values",function(a){return a?a:function(){return ua(this,function(b,c){return c})}});
|
|
la("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push([d,b[d]]);return c}});la("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});la("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}});
|
|
la("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==ma(this,b,"includes").indexOf(b,c||0)}});
|
|
la("WeakMap",function(a){function b(){}function c(m){var p=typeof m;return"object"===p&&null!==m||"function"===p}function d(m){if(!na(m,f)){var p=new b;ka(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(v){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(!na(m,f))throw Error("WeakMap key fail: "+m);m[f][this.ca]=p;return this};h.prototype.get=function(m){return c(m)&&na(m,f)?m[f][this.ca]:void 0};h.prototype.has=function(m){return c(m)&&na(m,f)&&na(m[f],
|
|
this.ca)};h.prototype["delete"]=function(m){return c(m)&&na(m,f)&&na(m[f],this.ca)?delete m[f][this.ca]:!1};return h});
|
|
la("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(v){return!1}}())return a;ta();var b=new WeakMap,c=function(h){this.rc={};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.rc[p.id]=[]);p.ba?p.ba.value=m:(p.ba={next:this.ja,Ya:this.ja.Ya,head:this.ja,key:h,value:m},p.list.push(p.ba),this.ja.Ya.next=p.ba,this.ja.Ya=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.rc[h.id],h.ba.Ya.next=h.ba.next,h.ba.next.Ya=
|
|
h.ba.Ya,h.ba.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.rc={};this.ja=this.ja.Ya=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.rc[p];if(q&&na(h.rc,p))for(h=0;h<q.length;h++){var v=q[h];if(m!==m&&v.key!==v.key||m===v.key)return{id:p,list:q,index:h,ba:v}}return{id:p,list:q,index:-1,ba:void 0}},e=function(h,m){var p=h.ja;return sa(function(){if(p){for(;p.head!=h.ja;)p=p.Ya;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.Ya=h.next=h.head=h},g=0;return c});
|
|
la("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;ta();var b=function(c){this.o=new Map;
|
|
if(c){c=l(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.o.size};b.prototype.add=function(c){c=0===c?0:c;this.o.set(c,c);this.size=this.o.size;return this};b.prototype["delete"]=function(c){c=this.o["delete"](c);this.size=this.o.size;return c};b.prototype.clear=function(){this.o.clear();this.size=0};b.prototype.has=function(c){return this.o.has(c)};b.prototype.entries=function(){return this.o.entries()};b.prototype.values=function(){return this.o.values()};b.prototype.keys=b.prototype.values;
|
|
b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.o.forEach(function(f){return c.call(d,f,f,e)})};return b});la("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)na(b,d)&&c.push(b[d]);return c}});la("String.prototype.padStart",function(a){return a?a:function(b,c){var d=ma(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 va=va||{},t=this||self,wa=function(a){return void 0!==a},u=function(a){return"string"==typeof a},xa=function(a){return"number"==typeof a},ya=/^[\w+/_-]+[=]{0,2}$/,za=null,Aa=function(){},Ba=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},Ca=function(a){return null!=a},w=function(a){return"array"==Ba(a)},Da=function(a){var b=Ba(a);return"array"==b||"object"==b&&"number"==typeof a.length},Ea=function(a){return x(a)&&"function"==typeof a.getFullYear},
|
|
Fa=function(a){return"function"==Ba(a)},x=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Ga="closure_uid_"+(1E9*Math.random()>>>0),Ha=0,Ia=function(a,b,c){return a.call.apply(a.bind,arguments)},Ja=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)}},y=function(a,
|
|
b,c){y=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Ia:Ja;return y.apply(null,arguments)},Ka=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)}},La=Date.now||function(){return+new Date},A=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},B=function(a,b){function c(){}c.prototype=b.prototype;a.H=b.prototype;a.prototype=new c;a.prototype.constructor=a};var Ma=function(){this.Ka=this.Ka;this.qd=this.qd};Ma.prototype.Ka=!1;Ma.prototype.Ja=function(){this.Ka||(this.Ka=!0,this.F())};Ma.prototype.F=function(){if(this.qd)for(;this.qd.length;)this.qd.shift()()};var Na=function(a){a&&"function"==typeof a.Ja&&a.Ja()};var Oa=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Gb=!1;this.bh=!0};Oa.prototype.stopPropagation=function(){this.Gb=!0};Oa.prototype.preventDefault=function(){this.defaultPrevented=!0;this.bh=!1};var Pa=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Pa);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};B(Pa,Error);Pa.prototype.name="CustomError";var Qa;var Ra=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");Pa.call(this,c+a[d])};B(Ra,Pa);Ra.prototype.name="AssertionError";
|
|
var Sa=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new Ra(""+e,f||[]);},C=function(a,b,c){a||Sa("",null,b,Array.prototype.slice.call(arguments,2))},Ta=function(a,b){throw new Ra("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ua=function(a,b,c){xa(a)||Sa("Expected number but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,2));return a},Va=function(a,b,c){u(a)||Sa("Expected string but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,
|
|
2))},Wa=function(a,b,c){Fa(a)||Sa("Expected function but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,2))},Xa=function(a,b,c){x(a)||Sa("Expected object but got %s: %s.",[Ba(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Ya=Array.prototype.indexOf?function(a,b){C(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(u(a))return u(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Za=Array.prototype.lastIndexOf?function(a,b){C(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(u(a))return u(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in
|
|
a&&a[c]===b)return c;return-1},$a=Array.prototype.forEach?function(a,b,c){C(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},ab=Array.prototype.filter?function(a,b){C(null!=a.length);return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=[],e=0,f=u(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},bb=Array.prototype.map?function(a,
|
|
b,c){C(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=u(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},cb=Array.prototype.some?function(a,b){C(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=u(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},db=Array.prototype.every?function(a,b,c){C(null!=a.length);return Array.prototype.every.call(a,
|
|
b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},eb=function(a,b){var c=0;$a(a,function(d,e,f){b.call(void 0,d,e,f)&&++c},void 0);return c},gb=function(a){a:{var b=fb;for(var c=a.length,d=u(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:u(a)?a.charAt(b):a[b]},hb=function(a,b){return 0<=Ya(a,b)},ib=function(a){if(!w(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},kb=
|
|
function(a,b){b=Ya(a,b);var c;(c=0<=b)&&jb(a,b);return c},jb=function(a,b){C(null!=a.length);Array.prototype.splice.call(a,b,1)},lb=function(a){return Array.prototype.concat.apply([],arguments)},mb=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[]},nb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Da(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)}},ob=function(a,b,c){C(null!=a.length);
|
|
return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},pb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=x(f)?"o"+(f[Ga]||(f[Ga]=++Ha)):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c},qb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b},rb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(w(d))for(var e=0;e<d.length;e+=8192){var f=ob(d,
|
|
e,e+8192);f=rb.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};var sb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},tb=/&/g,ub=/</g,vb=/>/g,wb=/"/g,xb=/'/g,yb=/\x00/g,zb=/[\x00&<>"']/,Ab=function(a,b){return a<b?-1:a>b?1:0};var Bb;a:{var Cb=t.navigator;if(Cb){var Db=Cb.userAgent;if(Db){Bb=Db;break a}}Bb=""}var Eb=function(a){return-1!=Bb.indexOf(a)};var Fb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Gb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},Hb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Ib=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Jb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Kb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Lb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Nb=function(a){var b=
|
|
Mb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Ob=function(a){for(var b in a)return!1;return!0},Pb=function(a,b){b in a&&delete a[b]},Qb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Rb=function(a){var b=Ba(a);if("object"==b||"array"==b){if(Fa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Rb(a[c]);return b}return a},Sb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Tb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
|
|
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Sb.length;f++)c=Sb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Ub=function(a,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(x(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;Ta("Argument is not a %s (or a non-Element, non-Location mock); got: %s",
|
|
b,f)}};var Vb=function(a){return a};var Yb=function(a,b){this.nf=a===Wb&&b||"";this.zh=Xb};Yb.prototype.zb=!0;Yb.prototype.xb=function(){return this.nf};Yb.prototype.toString=function(){return"Const{"+this.nf+"}"};var Zb=function(a){if(a instanceof Yb&&a.constructor===Yb&&a.zh===Xb)return a.nf;Ta("expected object of type Const, got '"+a+"'");return"type_error:Const"},Xb={},Wb={},$b=new Yb(Wb,"");var ac=function(){this.Qe=""};ac.prototype.zb=!0;ac.prototype.xb=function(){return this.Qe.toString()};ac.prototype.toString=function(){return"SafeScript{"+this.Qe+"}"};ac.prototype.Wa=function(a){this.Qe=a;return this};(new ac).Wa("");var dc=function(a,b,c){this.Ue=a===bc&&b||"";this.rh=a===bc&&c||null;this.Ah=cc};dc.prototype.zb=!0;dc.prototype.xb=function(){return this.Ue.toString()};dc.prototype.toString=function(){return"TrustedResourceUrl{"+this.Ue+"}"};
|
|
var ec=function(a){if(a instanceof dc&&a.constructor===dc&&a.Ah===cc)return a.Ue;Ta("expected object of type TrustedResourceUrl, got '"+a+"' of type "+Ba(a));return"type_error:TrustedResourceUrl"},ic=function(a){var b=Zb(fc);if(!gc.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(hc,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];
|
|
return d instanceof Yb?Zb(d):encodeURIComponent(String(d))});return new dc(bc,c,null)},hc=/%{(\w+)}/g,gc=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,cc={},bc={};var lc=function(a,b){this.Te=a===jc&&b||"";this.yh=kc};lc.prototype.zb=!0;lc.prototype.xb=function(){return this.Te.toString()};lc.prototype.toString=function(){return"SafeUrl{"+this.Te+"}"};
|
|
var mc=function(a){if(a instanceof lc&&a.constructor===lc&&a.yh===kc)return a.Te;Ta("expected object of type SafeUrl, got '"+a+"' of type "+Ba(a));return"type_error:SafeUrl"},nc=/^(?: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,oc=function(a){if(nc.test(a.type)){var b=wa(t.URL)&&wa(t.URL.createObjectURL)?t.URL:wa(t.webkitURL)&&wa(t.webkitURL.createObjectURL)?
|
|
t.webkitURL:wa(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 lc(jc,a)},kc={},jc={};var pc=function(){this.Se=""};pc.prototype.zb=!0;pc.prototype.xb=function(){return this.Se};pc.prototype.toString=function(){return"SafeStyle{"+this.Se+"}"};pc.prototype.Wa=function(a){this.Se=a;return this};(new pc).Wa("");var qc=function(){this.Re=""};qc.prototype.zb=!0;qc.prototype.xb=function(){return this.Re};qc.prototype.toString=function(){return"SafeStyleSheet{"+this.Re+"}"};qc.prototype.Wa=function(a){this.Re=a;return this};(new qc).Wa("");var sc=function(){this.rd="";this.xh=rc};sc.prototype.zb=!0;sc.prototype.xb=function(){return this.rd.toString()};sc.prototype.toString=function(){return"SafeHtml{"+this.rd+"}"};var uc=function(){var a=tc;if(a instanceof sc&&a.constructor===sc&&a.xh===rc)return a.rd;Ta("expected object of type SafeHtml, got '"+a+"' of type "+Ba(a));return"type_error:SafeHtml"},rc={};sc.prototype.Wa=function(a){this.rd=a;return this};(new sc).Wa("<!DOCTYPE html>");var tc=(new sc).Wa("");(new sc).Wa("<br>");var vc=function(a){var b=new dc(bc,Zb($b),null);Ub(a,"HTMLIFrameElement");a.src=b.rh?b.rh:ec(b).toString()},wc=function(a,b){Ub(a,"HTMLScriptElement");a.src=ec(b);if(null===za)b:{b=t.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&ya.test(b)){za=b;break b}za=""}b=za;b&&a.setAttribute("nonce",b)};var xc=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")},yc=function(a){zb.test(a)&&(-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("'")&&(a=a.replace(xb,"'")),-1!=a.indexOf("\x00")&&(a=a.replace(yb,"�")));return a},zc=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 Ac=function(a){Ac[" "](a);return a};Ac[" "]=Aa;var Cc=function(a,b){var c=Bc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Dc=Eb("Opera"),Ec=Eb("Trident")||Eb("MSIE"),Fc=Eb("Edge"),Gc=Eb("Gecko")&&!(-1!=Bb.toLowerCase().indexOf("webkit")&&!Eb("Edge"))&&!(Eb("Trident")||Eb("MSIE"))&&!Eb("Edge"),Hc=-1!=Bb.toLowerCase().indexOf("webkit")&&!Eb("Edge"),Ic=function(){var a=t.document;return a?a.documentMode:void 0},Jc;
|
|
a:{var Kc="",Lc=function(){var a=Bb;if(Gc)return/rv:([^\);]+)(\)|;)/.exec(a);if(Fc)return/Edge\/([\d\.]+)/.exec(a);if(Ec)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Hc)return/WebKit\/(\S+)/.exec(a);if(Dc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Lc&&(Kc=Lc?Lc[1]:"");if(Ec){var Mc=Ic();if(null!=Mc&&Mc>parseFloat(Kc)){Jc=String(Mc);break a}}Jc=Kc}
|
|
var Nc=Jc,Bc={},Oc=function(a){return Cc(a,function(){for(var b=0,c=sb(String(Nc)).split("."),d=sb(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=Ab(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||Ab(0==g[2].length,0==h[2].length)||Ab(g[2],h[2]);g=g[3];h=h[3]}while(0==b)}return 0<=b})},Pc;
|
|
Pc=t.document&&Ec?Ic():void 0;var Qc=Object.freeze||function(a){return a};var Rc=!Ec||9<=Number(Pc),Sc=Ec&&!Oc("9"),Tc=function(){if(!t.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{t.addEventListener("test",Aa,b),t.removeEventListener("test",Aa,b)}catch(c){}return a}();var Vc=function(a,b){Oa.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.Aa=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(Gc){a:{try{Ac(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=Hc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Hc||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=u(a.pointerType)?a.pointerType:Uc[a.pointerType]||"";this.state=a.state;this.Aa=a;a.defaultPrevented&&this.preventDefault()}};B(Vc,Oa);
|
|
var Uc=Qc({2:"touch",3:"pen",4:"mouse"});Vc.prototype.stopPropagation=function(){Vc.H.stopPropagation.call(this);this.Aa.stopPropagation?this.Aa.stopPropagation():this.Aa.cancelBubble=!0};Vc.prototype.preventDefault=function(){Vc.H.preventDefault.call(this);var a=this.Aa;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Sc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Wc="closure_listenable_"+(1E6*Math.random()|0),Xc=function(a){return!(!a||!a[Wc])},Yc=0;var Zc=function(a,b,c,d,e){this.listener=a;this.sd=null;this.src=b;this.type=c;this.capture=!!d;this.Va=e;this.key=++Yc;this.ac=this.Yc=!1},$c=function(a){a.ac=!0;a.listener=null;a.sd=null;a.src=null;a.Va=null};var ad=function(a){this.src=a;this.$={};this.Qc=0};ad.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.$[f];a||(a=this.$[f]=[],this.Qc++);var g=bd(a,b,d,e);-1<g?(b=a[g],c||(b.Yc=!1)):(b=new Zc(b,this.src,f,!!d,e),b.Yc=c,a.push(b));return b};ad.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.$))return!1;var e=this.$[a];b=bd(e,b,c,d);return-1<b?($c(e[b]),jb(e,b),0==e.length&&(delete this.$[a],this.Qc--),!0):!1};
|
|
var cd=function(a,b){var c=b.type;c in a.$&&kb(a.$[c],b)&&($c(b),0==a.$[c].length&&(delete a.$[c],a.Qc--))};ad.prototype.Lc=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,$c(d[e]);delete this.$[c];this.Qc--}};ad.prototype.wc=function(a,b,c,d){a=this.$[a.toString()];var e=-1;a&&(e=bd(a,b,c,d));return-1<e?a[e]:null};
|
|
ad.prototype.hasListener=function(a,b){var c=wa(a),d=c?a.toString():"",e=wa(b);return Ib(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 bd=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.ac&&f.listener==b&&f.capture==!!c&&f.Va==d)return e}return-1};var dd="closure_lm_"+(1E6*Math.random()|0),ed={},fd=0,hd=function(a,b,c,d,e){if(d&&d.once)return gd(a,b,c,d,e);if(w(b)){for(var f=0;f<b.length;f++)hd(a,b[f],c,d,e);return null}c=id(c);return Xc(a)?a.Ma(b,c,x(d)?!!d.capture:!!d,e):jd(a,b,c,!1,d,e)},jd=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=x(e)?!!e.capture:!!e,h=kd(a);h||(a[dd]=h=new ad(a));c=h.add(b,c,d,g,f);if(c.sd)return c;d=ld();c.sd=d;d.src=a;d.listener=c;if(a.addEventListener)Tc||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),
|
|
d,e);else if(a.attachEvent)a.attachEvent(md(b.toString()),d);else if(a.addListener&&a.removeListener)C("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");fd++;return c},ld=function(){var a=nd,b=Rc?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},gd=function(a,b,c,d,e){if(w(b)){for(var f=0;f<b.length;f++)gd(a,b[f],c,d,e);return null}c=id(c);return Xc(a)?
|
|
a.Fc(b,c,x(d)?!!d.capture:!!d,e):jd(a,b,c,!0,d,e)},od=function(a,b,c,d,e){if(w(b))for(var f=0;f<b.length;f++)od(a,b[f],c,d,e);else d=x(d)?!!d.capture:!!d,c=id(c),Xc(a)?a.Fd(b,c,d,e):a&&(a=kd(a))&&(b=a.wc(b,c,d,e))&&pd(b)},pd=function(a){if(!xa(a)&&a&&!a.ac){var b=a.src;if(Xc(b))cd(b.za,a);else{var c=a.type,d=a.sd;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(md(c),d):b.addListener&&b.removeListener&&b.removeListener(d);fd--;(c=kd(b))?(cd(c,a),0==c.Qc&&(c.src=
|
|
null,b[dd]=null)):$c(a)}}},md=function(a){return a in ed?ed[a]:ed[a]="on"+a},rd=function(a,b,c,d){var e=!0;if(a=kd(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.ac&&(f=qd(f,d),e=e&&!1!==f)}return e},qd=function(a,b){var c=a.listener,d=a.Va||a.src;a.Yc&&pd(a);return c.call(d,b)},nd=function(a,b){if(a.ac)return!0;if(!Rc){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 Vc(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.Gb&&0<=e;e--){b.currentTarget=d[e];var f=rd(d[e],a,!0,b);c=c&&f}for(e=0;!b.Gb&&e<d.length;e++)b.currentTarget=d[e],f=rd(d[e],a,!1,b),c=c&&f}return c}return qd(a,new Vc(b,this))},kd=function(a){a=a[dd];return a instanceof ad?a:null},sd="__closure_events_fn_"+(1E9*Math.random()>>>
|
|
0),id=function(a){C(a,"Listener can not be null.");if(Fa(a))return a;C(a.handleEvent,"An object listener must have handleEvent method.");a[sd]||(a[sd]=function(b){return a.handleEvent(b)});return a[sd]};var td=function(){Ma.call(this);this.za=new ad(this);this.Ch=this;this.Oe=null};B(td,Ma);td.prototype[Wc]=!0;k=td.prototype;k.addEventListener=function(a,b,c,d){hd(this,a,b,c,d)};k.removeEventListener=function(a,b,c,d){od(this,a,b,c,d)};
|
|
k.dispatchEvent=function(a){ud(this);var b=this.Oe;if(b){var c=[];for(var d=1;b;b=b.Oe)c.push(b),C(1E3>++d,"infinite loop")}b=this.Ch;d=a.type||a;if(u(a))a=new Oa(a,b);else if(a instanceof Oa)a.target=a.target||b;else{var e=a;a=new Oa(d,b);Tb(a,e)}e=!0;if(c)for(var f=c.length-1;!a.Gb&&0<=f;f--){var g=a.currentTarget=c[f];e=vd(g,d,!0,a)&&e}a.Gb||(g=a.currentTarget=b,e=vd(g,d,!0,a)&&e,a.Gb||(e=vd(g,d,!1,a)&&e));if(c)for(f=0;!a.Gb&&f<c.length;f++)g=a.currentTarget=c[f],e=vd(g,d,!1,a)&&e;return e};
|
|
k.F=function(){td.H.F.call(this);this.za&&this.za.Lc(void 0);this.Oe=null};k.Ma=function(a,b,c,d){ud(this);return this.za.add(String(a),b,!1,c,d)};k.Fc=function(a,b,c,d){return this.za.add(String(a),b,!0,c,d)};k.Fd=function(a,b,c,d){this.za.remove(String(a),b,c,d)};var vd=function(a,b,c,d){b=a.za.$[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.ac&&g.capture==c){var h=g.listener,m=g.Va||g.src;g.Yc&&cd(a.za,g);e=!1!==h.call(m,d)&&e}}return e&&0!=d.bh};
|
|
td.prototype.wc=function(a,b,c,d){return this.za.wc(String(a),b,c,d)};td.prototype.hasListener=function(a,b){return this.za.hasListener(wa(a)?String(a):void 0,b)};var ud=function(a){C(a.za,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var wd="StopIteration"in t?t.StopIteration:{message:"StopIteration",stack:""},xd=function(){};xd.prototype.next=function(){throw wd;};xd.prototype.Pb=function(){return this};
|
|
var yd=function(a){if(a instanceof xd)return a;if("function"==typeof a.Pb)return a.Pb(!1);if(Da(a)){var b=0,c=new xd;c.next=function(){for(;;){if(b>=a.length)throw wd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},zd=function(a,b){if(Da(a))try{$a(a,b,void 0)}catch(c){if(c!==wd)throw c;}else{a=yd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==wd)throw c;}}};var Ad=function(a,b){this.o={};this.J=[];this.Sc=this.L=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=Ad.prototype;k.N=function(){return this.L};k.T=function(){Bd(this);for(var a=[],b=0;b<this.J.length;b++)a.push(this.o[this.J[b]]);return a};k.Ca=function(){Bd(this);return this.J.concat()};k.cb=function(a){return Cd(this.o,a)};
|
|
k.qc=function(a){for(var b=0;b<this.J.length;b++){var c=this.J[b];if(Cd(this.o,c)&&this.o[c]==a)return!0}return!1};k.equals=function(a,b){if(this===a)return!0;if(this.L!=a.N())return!1;b=b||Dd;Bd(this);for(var c,d=0;c=this.J[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Dd=function(a,b){return a===b};Ad.prototype.isEmpty=function(){return 0==this.L};Ad.prototype.clear=function(){this.o={};this.Sc=this.L=this.J.length=0};
|
|
Ad.prototype.remove=function(a){return Cd(this.o,a)?(delete this.o[a],this.L--,this.Sc++,this.J.length>2*this.L&&Bd(this),!0):!1};var Bd=function(a){if(a.L!=a.J.length){for(var b=0,c=0;b<a.J.length;){var d=a.J[b];Cd(a.o,d)&&(a.J[c++]=d);b++}a.J.length=c}if(a.L!=a.J.length){var e={};for(c=b=0;b<a.J.length;)d=a.J[b],Cd(e,d)||(a.J[c++]=d,e[d]=1),b++;a.J.length=c}};k=Ad.prototype;k.get=function(a,b){return Cd(this.o,a)?this.o[a]:b};
|
|
k.set=function(a,b){Cd(this.o,a)||(this.L++,this.J.push(a),this.Sc++);this.o[a]=b};k.addAll=function(a){if(a instanceof Ad)for(var b=a.Ca(),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.Ca(),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 Ad(this)};
|
|
k.Pb=function(a){Bd(this);var b=0,c=this.Sc,d=this,e=new xd;e.next=function(){if(c!=d.Sc)throw Error("The map has changed since the iterator was created");if(b>=d.J.length)throw wd;var f=d.J[b++];return a?f:d.o[f]};return e};var Cd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ed=function(a){if(a.N&&"function"==typeof a.N)a=a.N();else if(Da(a)||u(a))a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Fd=function(a){if(a.T&&"function"==typeof a.T)return a.T();if(u(a))return a.split("");if(Da(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Jb(a)},Gd=function(a){if(a.Ca&&"function"==typeof a.Ca)return a.Ca();if(!a.T||"function"!=typeof a.T){if(Da(a)||u(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Kb(a)}},Hd=function(a,b,
|
|
c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(Da(a)||u(a))$a(a,b,c);else for(var d=Gd(a),e=Fd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Id=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(Da(a)||u(a))return db(a,b,void 0);for(var c=Gd(a),d=Fd(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 Jd=function(a){this.o=new Ad;a&&this.addAll(a)},Kd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[Ga]||(a[Ga]=++Ha)):b.substr(0,1)+a};k=Jd.prototype;k.N=function(){return this.o.N()};k.add=function(a){this.o.set(Kd(a),a)};k.addAll=function(a){a=Fd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};k.Lc=function(a){a=Fd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};k.remove=function(a){return this.o.remove(Kd(a))};k.clear=function(){this.o.clear()};k.isEmpty=function(){return this.o.isEmpty()};
|
|
k.contains=function(a){return this.o.cb(Kd(a))};k.zg=function(a){var b=new Jd;a=Fd(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};k.he=function(a){var b=this.clone();b.Lc(a);return b};k.T=function(){return this.o.T()};k.clone=function(){return new Jd(this)};k.equals=function(a){return this.N()==Ed(a)&&Ld(this,a)};
|
|
var Ld=function(a,b){var c=Ed(b);if(a.N()>c)return!1;!(b instanceof Jd)&&5<c&&(b=new Jd(b));return Id(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.qc&&"function"==typeof e.qc?e.qc(d):Da(e)||u(e)?hb(e,d):Lb(e,d)})};Jd.prototype.Pb=function(){return this.o.Pb(!1)};var ee={},Md=function(a,b,c){td.call(this);this.Zh=b;this.token=c;this.lb=[];this.sf=new Jd;this.jb=0;this.url=a};B(Md,td);A("ee.AbstractOverlay",Md);var Nd=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.Zh,c,e,b.y].join("/")};Md.prototype.se=function(){return this.lb.length};var Od=function(a){Oa.call(this,"tileevent");this.count=a};B(Od,Oa);/*
|
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
this file except in compliance with the License. You may obtain a copy of the
|
|
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
|
|
See the Apache Version 2.0 License for specific language governing permissions
|
|
and limitations under the License.
|
|
*/
|
|
var Pd=function(){},Qd=new Pd,D=function(){this.a={}},F=function(a,b){return a.a.hasOwnProperty(b)?a.a[b]:null},G=function(a,b){return null!=a.a[b]};function Rd(a,b){return F(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.h||{},h=f.j||{},m=f.i||{},p={};f=l(f.keys||[]);for(var q=f.next();!q.done;p={jc:p.jc},q=f.next()){q=q.value;var v=b(q,a);if(null!=v){var z=void 0;g.hasOwnProperty(q)?z=$d(v,b,c,d,!0,!0,g[q]):h.hasOwnProperty(q)?z=$d(v,b,c,d,!1,!0,h[q]):m.hasOwnProperty(q)?(p.jc=m[q],z=p.jc.ka?v.map(function(E){return function(M){return ae(M,E.jc,b,c,d)}}(p)):ae(v,p.jc,b,c,d)):z=Array.isArray(v)?$d(v,b,c,d,!0,!1):v instanceof Pd?null:v;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 Pd?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}
|
|
function Zd(a,b){if(b instanceof D)a=b.f();else if(a instanceof D)a=a.f();else throw Error("Cannot find ClassMetadata.");return a};var be=function(){},H=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 D?Vd(a.body,Rd,Sd,Td):a.body;return{path:a.path,B:a.B,D:a.D,body:b,A:a.A}};function de(a,b){if(null==a)return null;a=a.Bi(b);return null==a?null:a};var fe=function(a,b){this.W=a;this.Sh=void 0===b?null:b};n(fe,be);var ge=function(a,b,c){var d=de(a.Sh,b);if(null==d)return c;d.Ci();return c.then(function(e){d.Ei(e);return e},function(e){d.Di(e);throw e;})},I=function(a,b){var c=b.G||void 0;return ge(a,b,a.W.send(ce(b),c))};function he(a){if(null!=a.A){var b={},c;for(c in a.A)void 0!==a.A[c]&&(b[c]=a.A[c]);a.A=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 ui(){return"DEFAULT_OBJECT_ACL"},get wi(){return"PUBLIC"},get yi(){return"TILE_PERMISSIONS_UNSPECIFIED"},values:function(){return["TILE_PERMISSIONS_UNSPECIFIED","PUBLIC","DEFAULT_OBJECT_ACL"]}},ke=function(a){a=void 0===a?{}:a;this.a={};this.a.scaleX=null==a.af?null:a.af;this.a.shearX=null==a.ff?null:a.ff;this.a.translateX=null==a.vf?null:a.vf;this.a.shearY=null==a.gf?null:a.gf;this.a.scaleY=null==a.bf?null:a.bf;this.a.translateY=null==a.wf?null:a.wf};n(ke,D);
|
|
ke.prototype.f=function(){return{h:{},l:{},keys:"scaleX scaleY shearX shearY translateX translateY".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(ke.prototype,{af:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleX")?F(this,"scaleX"):null},set:function(a){this.a.scaleX=a}},bf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scaleY")?F(this,"scaleY"):null},set:function(a){this.a.scaleY=a}},ff:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearX")?F(this,"shearX"):null},set:function(a){this.a.shearX=a}},gf:{configurable:!0,enumerable:!0,get:function(){return G(this,"shearY")?
|
|
F(this,"shearY"):null},set:function(a){this.a.shearY=a}},vf:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateX")?F(this,"translateX"):null},set:function(a){this.a.translateX=a}},wf:{configurable:!0,enumerable:!0,get:function(){return G(this,"translateY")?F(this,"translateY"):null},set:function(a){this.a.translateY=a}}});
|
|
var le=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.$e?null:a.$e;this.a.arguments=null==a.arguments?null:a.arguments;this.a.deprecated=null==a.deprecated?null:a.deprecated;this.a.deprecationReason=null==a.fe?null:a.fe;this.a.hidden=null==a.hidden?null:a.hidden};n(le,D);
|
|
le.prototype.f=function(){return{h:{arguments:me},l:{},keys:"arguments deprecated deprecationReason description hidden name returnType".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(le.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.a.arguments=a}},deprecated:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecated")?F(this,"deprecated"):null},set:function(a){this.a.deprecated=a}},fe:{configurable:!0,enumerable:!0,get:function(){return G(this,"deprecationReason")?F(this,"deprecationReason"):null},set:function(a){this.a.deprecationReason=a}},description:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},hidden:{configurable:!0,enumerable:!0,get:function(){return G(this,"hidden")?F(this,"hidden"):null},set:function(a){this.a.hidden=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},$e:{configurable:!0,enumerable:!0,get:function(){return G(this,"returnType")?F(this,"returnType"):null},set:function(a){this.a.returnType=
|
|
a}}});var me=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentName=null==a.Wc?null:a.Wc;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(me,D);me.prototype.f=function(){return{h:{},l:{},keys:["argumentName","defaultValue","description","optional","type"],i:{},j:{}}};
|
|
r.Object.defineProperties(me.prototype,{Wc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentName")?F(this,"argumentName"):null},set:function(a){this.a.argumentName=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},optional:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"optional")?F(this,"optional"):null},set:function(a){this.a.optional=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}}});var ne=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(ne,D);ne.prototype.f=function(){return{h:{values:oe},l:{},keys:["values"],i:{},j:{}}};
|
|
r.Object.defineProperties(ne.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var pe=function(a){a=void 0===a?{}:a;this.a={};this.a.service=null==a.fh?null:a.fh;this.a.exemptedMembers=null==a.uc?null:a.uc;this.a.auditLogConfigs=null==a.Df?null:a.Df};n(pe,D);pe.prototype.f=function(){return{h:{auditLogConfigs:qe},l:{},keys:["auditLogConfigs","exemptedMembers","service"],i:{},j:{}}};
|
|
r.Object.defineProperties(pe.prototype,{Df:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditLogConfigs")?F(this,"auditLogConfigs"):null},set:function(a){this.a.auditLogConfigs=a}},uc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},fh:{configurable:!0,enumerable:!0,get:function(){return G(this,"service")?F(this,"service"):null},set:function(a){this.a.service=a}}});
|
|
var qe=function(a){a=void 0===a?{}:a;this.a={};this.a.logType=null==a.Ig?null:a.Ig;this.a.exemptedMembers=null==a.uc?null:a.uc;this.a.ignoreChildExemptions=null==a.wg?null:a.wg};n(qe,D);qe.prototype.f=function(){return{h:{},l:{},keys:["exemptedMembers","ignoreChildExemptions","logType"],i:{},j:{}}};
|
|
r.Object.defineProperties(qe.prototype,{uc:{configurable:!0,enumerable:!0,get:function(){return G(this,"exemptedMembers")?F(this,"exemptedMembers"):null},set:function(a){this.a.exemptedMembers=a}},wg:{configurable:!0,enumerable:!0,get:function(){return G(this,"ignoreChildExemptions")?F(this,"ignoreChildExemptions"):null},set:function(a){this.a.ignoreChildExemptions=a}},Ig:{configurable:!0,enumerable:!0,get:function(){return G(this,"logType")?F(this,"logType"):null},set:function(a){this.a.logType=
|
|
a}}});var re=function(a){a=void 0===a?{}:a;this.a={};this.a.permissionType=null==a.Sg?null:a.Sg};n(re,D);re.prototype.f=function(){return{h:{},l:{},keys:["permissionType"],i:{},j:{}}};r.Object.defineProperties(re.prototype,{Sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissionType")?F(this,"permissionType"):null},set:function(a){this.a.permissionType=a}}});
|
|
var se=function(a){a=void 0===a?{}:a;this.a={};this.a.role=null==a.dc?null:a.dc;this.a.members=null==a.Db?null:a.Db;this.a.condition=null==a.Of?null:a.Of};n(se,D);se.prototype.f=function(){return{h:{},l:{},keys:["condition","members","role"],i:{},j:{condition:te}}};
|
|
r.Object.defineProperties(se.prototype,{Of:{configurable:!0,enumerable:!0,get:function(){return G(this,"condition")?F(this,"condition"):null},set:function(a){this.a.condition=a}},Db:{configurable:!0,enumerable:!0,get:function(){return G(this,"members")?F(this,"members"):null},set:function(a){this.a.members=a}},dc:{configurable:!0,enumerable:!0,get:function(){return G(this,"role")?F(this,"role"):null},set:function(a){this.a.role=a}}});var ue=function(){this.a={}};n(ue,D);
|
|
ue.prototype.f=function(){return{h:{},l:{},keys:[],i:{},j:{}}};var ve=function(a){a=void 0===a?{}:a;this.a={};this.a.capabilities=null==a.Lf?null:a.Lf};n(ve,D);ve.prototype.f=function(){return{h:{},l:{},keys:["capabilities"],i:{},j:{}}};r.Object.defineProperties(ve.prototype,{Lf:{configurable:!0,enumerable:!0,get:function(){return G(this,"capabilities")?F(this,"capabilities"):null},set:function(a){this.a.capabilities=a}}});
|
|
var we=function(a){a=void 0===a?{}:a;this.a={};this.a.logName=null==a.Hg?null:a.Hg;this.a.authorizationLoggingOptions=null==a.Ef?null:a.Ef};n(we,D);we.prototype.f=function(){return{h:{},l:{},keys:["authorizationLoggingOptions","logName"],i:{},j:{authorizationLoggingOptions:re}}};
|
|
r.Object.defineProperties(we.prototype,{Ef:{configurable:!0,enumerable:!0,get:function(){return G(this,"authorizationLoggingOptions")?F(this,"authorizationLoggingOptions"):null},set:function(a){this.a.authorizationLoggingOptions=a}},Hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logName")?F(this,"logName"):null},set:function(a){this.a.logName=a}}});var xe=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m};n(xe,D);
|
|
xe.prototype.f=function(){return{h:{},l:{},keys:["expression"],i:{},j:{expression:ye}}};r.Object.defineProperties(xe.prototype,{m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}}});var ze=function(a){a=void 0===a?{}:a;this.a={};this.a.result=null==a.result?null:a.result};n(ze,D);ze.prototype.f=function(){return{h:{},l:{},keys:["result"],i:{},j:{}}};
|
|
r.Object.defineProperties(ze.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.a.result=a}}});var Ae=function(a){a=void 0===a?{}:a;this.a={};this.a.iam=null==a.sg?null:a.sg;this.a.sys=null==a.mh?null:a.mh;this.a.svc=null==a.lh?null:a.lh;this.a.op=null==a.Qg?null:a.Qg;this.a.values=null==a.values?null:a.values};n(Ae,D);Ae.prototype.f=function(){return{h:{},l:{},keys:["iam","op","svc","sys","values"],i:{},j:{}}};
|
|
r.Object.defineProperties(Ae.prototype,{sg:{configurable:!0,enumerable:!0,get:function(){return G(this,"iam")?F(this,"iam"):null},set:function(a){this.a.iam=a}},Qg:{configurable:!0,enumerable:!0,get:function(){return G(this,"op")?F(this,"op"):null},set:function(a){this.a.op=a}},lh:{configurable:!0,enumerable:!0,get:function(){return G(this,"svc")?F(this,"svc"):null},set:function(a){this.a.svc=a}},mh:{configurable:!0,enumerable:!0,get:function(){return G(this,"sys")?F(this,"sys"):null},set:function(a){this.a.sys=
|
|
a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var Be=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.qb?null:a.qb;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.bandIds=null==a.ea?null:a.ea};n(Be,D);Be.prototype.f=function(){return{h:{},l:{},keys:["bandIds","destinationName","overwrite"],i:{},j:{}}};
|
|
r.Object.defineProperties(Be.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.a.destinationName=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}}});
|
|
var Ce=function(a){a=void 0===a?{}:a;this.a={};this.a.metric=null==a.Jg?null:a.Jg;this.a.field=null==a.eg?null:a.eg};n(Ce,D);Ce.prototype.f=function(){return{h:{},l:{},keys:["field","metric"],i:{},j:{}}};r.Object.defineProperties(Ce.prototype,{eg:{configurable:!0,enumerable:!0,get:function(){return G(this,"field")?F(this,"field"):null},set:function(a){this.a.field=a}},Jg:{configurable:!0,enumerable:!0,get:function(){return G(this,"metric")?F(this,"metric"):null},set:function(a){this.a.metric=a}}});
|
|
var De=function(a){a=void 0===a?{}:a;this.a={};this.a.logMode=null==a.Gg?null:a.Gg};n(De,D);De.prototype.f=function(){return{h:{},l:{},keys:["logMode"],i:{},j:{}}};r.Object.defineProperties(De.prototype,{Gg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logMode")?F(this,"logMode"):null},set:function(a){this.a.logMode=a}}});var Ee=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(Ee,D);
|
|
Ee.prototype.f=function(){return{h:{},l:{},keys:["values"],i:{values:{fa:oe,ka:!1,la:!0,ma:!1}},j:{}}};r.Object.defineProperties(Ee.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var Fe=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(Fe,D);Fe.prototype.f=function(){return{h:{},l:{},keys:["max","min"],i:{},j:{}}};
|
|
r.Object.defineProperties(Fe.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.a.min=a}}});var Ge=function(a){a=void 0===a?{}:a;this.a={};this.a.folder=null==a.qe?null:a.qe;this.a.filenamePrefix=null==a.tb?null:a.tb};n(Ge,D);
|
|
Ge.prototype.f=function(){return{h:{},l:{},keys:["filenamePrefix","folder"],i:{},j:{}}};r.Object.defineProperties(Ge.prototype,{tb:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},qe:{configurable:!0,enumerable:!0,get:function(){return G(this,"folder")?F(this,"folder"):null},set:function(a){this.a.folder=a}}});
|
|
var He=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.Ga?null:a.Ga;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.xa?null:a.xa;this.a.quota=null==a.quota?null:a.quota;this.a.tilestoreEntry=null==a.ph?null:a.ph};n(He,D);He.prototype.f=function(){return{h:{bands:Ie},l:{},keys:"bands description endTime geometry id name properties quota sizeBytes startTime tilestoreEntry title type updateTime".split(" "),i:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}},j:{quota:Je,tilestoreEntry:Ke}}};
|
|
r.Object.defineProperties(He.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},quota:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"quota")?F(this,"quota"):null},set:function(a){this.a.quota=a}},xa:{configurable:!0,enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},ph:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilestoreEntry")?F(this,"tilestoreEntry"):null},
|
|
set:function(a){this.a.tilestoreEntry=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
|
|
var Le=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name};n(Le,D);Le.prototype.f=function(){return{h:{},l:{},keys:["name"],i:{},j:{}}};r.Object.defineProperties(Le.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}}});
|
|
var Me=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.fileFormat=null==a.I?null:a.I;this.a.bandIds=null==a.ea?null:a.ea;this.a.visualizationOptions=null==a.Nb?null:a.Nb};n(Me,D);Me.prototype.f=function(){return{h:{},l:{},keys:["bandIds","expression","fileFormat","name","visualizationOptions"],i:{},j:{expression:ye,visualizationOptions:Ne}}};
|
|
r.Object.defineProperties(Me.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});var Oe=function(){this.a={}};n(Oe,D);Oe.prototype.f=function(){return{h:{},l:{},keys:[],i:{},j:{}}};
|
|
var Pe=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Ra?null:a.Ra;this.a.maxPixels=null==a.Ke?null:a.Ke;this.a.grid=null==a.M?null:a.M;this.a.requestId=null==a.K?null:a.K};n(Pe,D);
|
|
Pe.prototype.f=function(){return{h:{},l:{},keys:"assetExportOptions description expression fileExportOptions grid maxPixels requestId".split(" "),i:{},j:{assetExportOptions:Qe,expression:ye,fileExportOptions:Re,grid:Se}}};
|
|
r.Object.defineProperties(Pe.prototype,{Ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},M:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},Ke:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixels")?F(this,"maxPixels"):null},set:function(a){this.a.maxPixels=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,
|
|
"requestId"):null},set:function(a){this.a.requestId=a}}});var Te=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.tileOptions=null==a.Jb?null:a.Jb;this.a.tileExportOptions=null==a.Ib?null:a.Ib;this.a.requestId=null==a.K?null:a.K};n(Te,D);Te.prototype.f=function(){return{h:{},l:{},keys:["description","expression","requestId","tileExportOptions","tileOptions"],i:{},j:{expression:ye,tileExportOptions:Re,tileOptions:Ue}}};
|
|
r.Object.defineProperties(Te.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ib:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Jb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?F(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}}});
|
|
var Ve=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.assetExportOptions=null==a.Ra?null:a.Ra;this.a.selectors=null==a.selectors?null:a.selectors;this.a.maxErrorMeters=null==a.Bb?null:a.Bb;this.a.requestId=null==a.K?null:a.K};n(Ve,D);
|
|
Ve.prototype.f=function(){return{h:{},l:{},keys:"assetExportOptions description expression fileExportOptions maxErrorMeters requestId selectors".split(" "),i:{},j:{assetExportOptions:We,expression:ye,fileExportOptions:Xe}}};
|
|
r.Object.defineProperties(Ve.prototype,{Ra:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetExportOptions")?F(this,"assetExportOptions"):null},set:function(a){this.a.assetExportOptions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},
|
|
ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},Bb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},selectors:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"selectors")?F(this,"selectors"):null},set:function(a){this.a.selectors=a}}});var Ye=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ha?null:a.Ha;this.a.tileOptions=null==a.Jb?null:a.Jb;this.a.tileExportOptions=null==a.Ib?null:a.Ib;this.a.requestId=null==a.K?null:a.K;this.a.version=null==a.version?null:a.version};n(Ye,D);
|
|
Ye.prototype.f=function(){return{h:{},l:{},keys:"description expression requestId tileExportOptions tileOptions version videoOptions".split(" "),i:{},j:{expression:ye,tileExportOptions:Ze,tileOptions:Ue,videoOptions:$e}}};
|
|
r.Object.defineProperties(Ye.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ib:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tileExportOptions")?F(this,"tileExportOptions"):null},set:function(a){this.a.tileExportOptions=a}},Jb:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileOptions")?F(this,"tileOptions"):null},set:function(a){this.a.tileOptions=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.a.version=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):
|
|
null},set:function(a){this.a.videoOptions=a}}});var af=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;this.a.description=null==a.description?null:a.description;this.a.videoOptions=null==a.Ha?null:a.Ha;this.a.fileExportOptions=null==a.ha?null:a.ha;this.a.requestId=null==a.K?null:a.K};n(af,D);af.prototype.f=function(){return{h:{},l:{},keys:["description","expression","fileExportOptions","requestId","videoOptions"],i:{},j:{expression:ye,fileExportOptions:Ze,videoOptions:$e}}};
|
|
r.Object.defineProperties(af.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileExportOptions")?F(this,"fileExportOptions"):null},set:function(a){this.a.fileExportOptions=a}},K:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var te=function(a){a=void 0===a?{}:a;this.a={};this.a.expression=null==a.m?null:a.m;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(te,D);te.prototype.f=function(){return{h:{},l:{},keys:["description","expression","location","title"],i:{},j:{}}};
|
|
r.Object.defineProperties(te.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},location:{configurable:!0,enumerable:!0,get:function(){return G(this,"location")?F(this,"location"):null},set:function(a){this.a.location=a}},title:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}}});var ye=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(ye,D);ye.prototype.f=function(){return{h:{},l:{},keys:["result","values"],i:{values:{fa:oe,ka:!1,la:!0,ma:!1}},j:{}}};
|
|
r.Object.defineProperties(ye.prototype,{result:{configurable:!0,enumerable:!0,get:function(){return G(this,"result")?F(this,"result"):null},set:function(a){this.a.result=a}},values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});
|
|
var bf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.orientation=null==a.orientation?null:a.orientation;this.a.fileFormat=null==a.I?null:a.I;this.a.grid=null==a.M?null:a.M};n(bf,D);bf.prototype.f=function(){return{h:{},l:{},keys:["expression","fileFormat","grid","name","orientation"],i:{},j:{expression:ye,grid:Se}}};
|
|
r.Object.defineProperties(bf.prototype,{m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},M:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},orientation:{configurable:!0,enumerable:!0,get:function(){return G(this,"orientation")?F(this,"orientation"):null},set:function(a){this.a.orientation=a}}});var Je=function(a){a=void 0===a?{}:a;this.a={};this.a.sizeBytes=null==a.xa?null:a.xa;this.a.maxSizeBytes=null==a.Cb?null:a.Cb;this.a.assetCount=null==a.Qd?null:a.Qd;this.a.maxAssetCount=null==a.Ie?null:a.Ie};n(Je,D);
|
|
Je.prototype.f=function(){return{h:{},l:{},keys:["assetCount","maxAssetCount","maxSizeBytes","sizeBytes"],i:{},j:{}}};
|
|
r.Object.defineProperties(Je.prototype,{Qd:{configurable:!0,enumerable:!0,get:function(){return G(this,"assetCount")?F(this,"assetCount"):null},set:function(a){this.a.assetCount=a}},Ie:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxAssetCount")?F(this,"maxAssetCount"):null},set:function(a){this.a.maxAssetCount=a}},Cb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},xa:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}}});var cf=function(a){a=void 0===a?{}:a;this.a={};this.a.argumentNames=null==a.lc?null:a.lc;this.a.body=null==a.body?null:a.body};n(cf,D);cf.prototype.f=function(){return{h:{},l:{},keys:["argumentNames","body"],i:{},j:{}}};
|
|
r.Object.defineProperties(cf.prototype,{lc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentNames")?F(this,"argumentNames"):null},set:function(a){this.a.argumentNames=a}},body:{configurable:!0,enumerable:!0,get:function(){return G(this,"body")?F(this,"body"):null},set:function(a){this.a.body=a}}});
|
|
var df=function(a){a=void 0===a?{}:a;this.a={};this.a.functionName=null==a.functionName?null:a.functionName;this.a.functionReference=null==a.fb?null:a.fb;this.a.arguments=null==a.arguments?null:a.arguments};n(df,D);df.prototype.f=function(){return{h:{},l:{},keys:["arguments","functionName","functionReference"],i:{arguments:{fa:oe,ka:!1,la:!0,ma:!1}},j:{}}};
|
|
r.Object.defineProperties(df.prototype,{arguments:{configurable:!0,enumerable:!0,get:function(){return G(this,"arguments")?F(this,"arguments"):null},set:function(a){this.a.arguments=a}},functionName:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionName")?F(this,"functionName"):null},set:function(a){this.a.functionName=a}},fb:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionReference")?F(this,"functionReference"):null},set:function(a){this.a.functionReference=
|
|
a}}});var ef=function(a){a=void 0===a?{}:a;this.a={};this.a.bucket=null==a.Td?null:a.Td;this.a.filenamePrefix=null==a.tb?null:a.tb;this.a.permissions=null==a.permissions?null:a.permissions;this.a.bucketCorsUris=null==a.Ud?null:a.Ud};n(ef,D);ef.prototype.f=function(){return{h:{},l:{},keys:["bucket","bucketCorsUris","filenamePrefix","permissions"],i:{},j:{}}};
|
|
r.Object.defineProperties(ef.prototype,{Td:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucket")?F(this,"bucket"):null},set:function(a){this.a.bucket=a}},Ud:{configurable:!0,enumerable:!0,get:function(){return G(this,"bucketCorsUris")?F(this,"bucketCorsUris"):null},set:function(a){this.a.bucketCorsUris=a}},tb:{configurable:!0,enumerable:!0,get:function(){return G(this,"filenamePrefix")?F(this,"filenamePrefix"):null},set:function(a){this.a.filenamePrefix=a}},permissions:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.a.permissions=a}}});r.Object.defineProperties(ef,{Permissions:{configurable:!0,enumerable:!0,get:function(){return je}}});var ff=function(a){a=void 0===a?{}:a;this.a={};this.a.cloudOptimized=null==a.Xd?null:a.Xd;this.a.tileDimensions=null==a.Fa?null:a.Fa;this.a.skipEmptyFiles=null==a.jf?null:a.jf};n(ff,D);
|
|
ff.prototype.f=function(){return{h:{},l:{},keys:["cloudOptimized","skipEmptyFiles","tileDimensions"],i:{},j:{tileDimensions:gf}}};
|
|
r.Object.defineProperties(ff.prototype,{Xd:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudOptimized")?F(this,"cloudOptimized"):null},set:function(a){this.a.cloudOptimized=a}},jf:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyFiles")?F(this,"skipEmptyFiles"):null},set:function(a){this.a.skipEmptyFiles=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var hf=function(a){a=void 0===a?{}:a;this.a={};this.a.options=null==a.options?null:a.options};n(hf,D);hf.prototype.f=function(){return{h:{},l:{},keys:["options"],i:{},j:{options:jf}}};r.Object.defineProperties(hf.prototype,{options:{configurable:!0,enumerable:!0,get:function(){return G(this,"options")?F(this,"options"):null},set:function(a){this.a.options=a}}});var jf=function(a){a=void 0===a?{}:a;this.a={};this.a.requestedPolicyVersion=null==a.Zg?null:a.Zg};n(jf,D);
|
|
jf.prototype.f=function(){return{h:{},l:{},keys:["requestedPolicyVersion"],i:{},j:{}}};r.Object.defineProperties(jf.prototype,{Zg:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestedPolicyVersion")?F(this,"requestedPolicyVersion"):null},set:function(a){this.a.requestedPolicyVersion=a}}});var gf=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(gf,D);
|
|
gf.prototype.f=function(){return{h:{},l:{},keys:["height","width"],i:{},j:{}}};r.Object.defineProperties(gf.prototype,{height:{configurable:!0,enumerable:!0,get:function(){return G(this,"height")?F(this,"height"):null},set:function(a){this.a.height=a}},width:{configurable:!0,enumerable:!0,get:function(){return G(this,"width")?F(this,"width"):null},set:function(a){this.a.width=a}}});var kf=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(kf,D);
|
|
kf.prototype.f=function(){return{h:{},l:{},keys:["x","y"],i:{},j:{}}};r.Object.defineProperties(kf.prototype,{x:{configurable:!0,enumerable:!0,get:function(){return G(this,"x")?F(this,"x"):null},set:function(a){this.a.x=a}},y:{configurable:!0,enumerable:!0,get:function(){return G(this,"y")?F(this,"y"):null},set:function(a){this.a.y=a}}});
|
|
var lf=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.Ga?null:a.Ga;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.xa?null:a.xa};n(lf,D);lf.prototype.f=function(){return{h:{bands:Ie},l:{},keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "),i:{geometry:{fa:null,ka:!1,la:!1,ma:!1},properties:{fa:null,ka:!1,la:!1,ma:!1}},j:{}}};
|
|
r.Object.defineProperties(lf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.a.bands=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},geometry:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"geometry")?F(this,"geometry"):null},set:function(a){this.a.geometry=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},xa:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"sizeBytes")?F(this,"sizeBytes"):null},set:function(a){this.a.sizeBytes=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},title:{configurable:!0,enumerable:!0,get:function(){return G(this,"title")?F(this,"title"):null},set:function(a){this.a.title=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.a.updateTime=
|
|
a}}});var Qe=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.sb?null:a.sb;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy;this.a.pyramidingPolicyOverrides=null==a.Ve?null:a.Ve};n(Qe,D);Qe.prototype.f=function(){return{h:{},l:{},keys:["earthEngineDestination","pyramidingPolicy","pyramidingPolicyOverrides"],i:{pyramidingPolicyOverrides:{fa:null,ka:!1,la:!1,ma:!1}},j:{earthEngineDestination:Le}}};
|
|
r.Object.defineProperties(Qe.prototype,{sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},Ve:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicyOverrides")?F(this,"pyramidingPolicyOverrides"):
|
|
null},set:function(a){this.a.pyramidingPolicyOverrides=a}}});var Ie=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.M?null:a.M;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(Ie,D);
|
|
Ie.prototype.f=function(){return{h:{tilesets:mf},l:{},keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "),i:{},j:{dataType:nf,grid:Se,missingData:of}}};
|
|
r.Object.defineProperties(Ie.prototype,{dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.a.dataType=a}},M:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?
|
|
F(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.a.tilesets=a}}});
|
|
var Re=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.I?null:a.I;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia;this.a.geoTiffOptions=null==a.dd?null:a.dd;this.a.tfRecordOptions=null==a.Ad?null:a.Ad};n(Re,D);Re.prototype.f=function(){return{h:{},l:{},keys:["driveDestination","fileFormat","gcsDestination","geoTiffOptions","tfRecordOptions"],i:{},j:{driveDestination:Ge,gcsDestination:ef,geoTiffOptions:ff,tfRecordOptions:pf}}};
|
|
r.Object.defineProperties(Re.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}},dd:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"geoTiffOptions")?F(this,"geoTiffOptions"):null},set:function(a){this.a.geoTiffOptions=a}},Ad:{configurable:!0,enumerable:!0,get:function(){return G(this,"tfRecordOptions")?F(this,"tfRecordOptions"):null},set:function(a){this.a.tfRecordOptions=a}}});
|
|
var qf=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.Rc?null:a.Rc;this.a.tilesets=null==a.tilesets?null:a.tilesets;this.a.bands=null==a.bands?null:a.bands;this.a.maskBands=null==a.He?null:a.He;this.a.footprint=null==a.kg?null:a.kg;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(qf,D);qf.prototype.f=function(){return{h:{bands:rf,maskBands:sf,tilesets:tf},l:{},keys:"bands endTime footprint maskBands missingData name properties pyramidingPolicy startTime tilesets uriPrefix".split(" "),i:{properties:{fa:null,ka:!1,la:!1,ma:!1}},j:{footprint:uf,missingData:of}}};
|
|
r.Object.defineProperties(qf.prototype,{bands:{configurable:!0,enumerable:!0,get:function(){return G(this,"bands")?F(this,"bands"):null},set:function(a){this.a.bands=a}},endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},kg:{configurable:!0,enumerable:!0,get:function(){return G(this,"footprint")?F(this,"footprint"):null},set:function(a){this.a.footprint=a}},He:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"maskBands")?F(this,"maskBands"):null},set:function(a){this.a.maskBands=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.a.missingData=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=
|
|
a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},tilesets:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesets")?F(this,"tilesets"):null},set:function(a){this.a.tilesets=a}},Rc:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});var vf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Lb?null:a.Lb;this.a.affineTransform=null==a.mb?null:a.mb};n(vf,D);vf.prototype.f=function(){return{h:{},l:{},keys:["affineTransform","uris"],i:{},j:{affineTransform:ke}}};
|
|
r.Object.defineProperties(vf.prototype,{mb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.a.uris=a}}});
|
|
var wf=function(a){a=void 0===a?{}:a;this.a={};this.a.imageManifest=null==a.xe?null:a.xe;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.K?null:a.K};n(wf,D);wf.prototype.f=function(){return{h:{},l:{},keys:["description","imageManifest","overwrite","requestId"],i:{},j:{imageManifest:qf}}};
|
|
r.Object.defineProperties(wf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},xe:{configurable:!0,enumerable:!0,get:function(){return G(this,"imageManifest")?F(this,"imageManifest"):null},set:function(a){this.a.imageManifest=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},K:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}}});var xf=function(a){a=void 0===a?{}:a;this.a={};this.a.tableManifest=null==a.qf?null:a.qf;this.a.description=null==a.description?null:a.description;this.a.overwrite=null==a.overwrite?null:a.overwrite;this.a.requestId=null==a.K?null:a.K};n(xf,D);xf.prototype.f=function(){return{h:{},l:{},keys:["description","overwrite","requestId","tableManifest"],i:{},j:{tableManifest:yf}}};
|
|
r.Object.defineProperties(xf.prototype,{description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},overwrite:{configurable:!0,enumerable:!0,get:function(){return G(this,"overwrite")?F(this,"overwrite"):null},set:function(a){this.a.overwrite=a}},K:{configurable:!0,enumerable:!0,get:function(){return G(this,"requestId")?F(this,"requestId"):null},set:function(a){this.a.requestId=a}},qf:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"tableManifest")?F(this,"tableManifest"):null},set:function(a){this.a.tableManifest=a}}});var zf=function(a){a=void 0===a?{}:a;this.a={};this.a.algorithms=null==a.kc?null:a.kc};n(zf,D);zf.prototype.f=function(){return{h:{algorithms:le},l:{},keys:["algorithms"],i:{},j:{}}};r.Object.defineProperties(zf.prototype,{kc:{configurable:!0,enumerable:!0,get:function(){return G(this,"algorithms")?F(this,"algorithms"):null},set:function(a){this.a.algorithms=a}}});
|
|
var Af=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.P?null:a.P;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(Af,D);Af.prototype.f=function(){return{h:{assets:He},l:{},keys:["assets","nextPageToken"],i:{},j:{}}};
|
|
r.Object.defineProperties(Af.prototype,{P:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?F(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var Bf=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(Bf,D);
|
|
Bf.prototype.f=function(){return{h:{images:lf},l:{},keys:["images","nextPageToken"],i:{},j:{}}};r.Object.defineProperties(Bf.prototype,{images:{configurable:!0,enumerable:!0,get:function(){return G(this,"images")?F(this,"images"):null},set:function(a){this.a.images=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});
|
|
var Cf=function(a){a=void 0===a?{}:a;this.a={};this.a.operations=null==a.Da?null:a.Da;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(Cf,D);Cf.prototype.f=function(){return{h:{operations:Df},l:{},keys:["nextPageToken","operations"],i:{},j:{}}};
|
|
r.Object.defineProperties(Cf.prototype,{nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}},Da:{configurable:!0,enumerable:!0,get:function(){return G(this,"operations")?F(this,"operations"):null},set:function(a){this.a.operations=a}}});
|
|
var Ef=function(a){a=void 0===a?{}:a;this.a={};this.a.counter=null==a.Sf?null:a.Sf;this.a.dataAccess=null==a.Xf?null:a.Xf;this.a.cloudAudit=null==a.Nf?null:a.Nf};n(Ef,D);Ef.prototype.f=function(){return{h:{},l:{},keys:["cloudAudit","counter","dataAccess"],i:{},j:{cloudAudit:we,counter:Ce,dataAccess:De}}};
|
|
r.Object.defineProperties(Ef.prototype,{Nf:{configurable:!0,enumerable:!0,get:function(){return G(this,"cloudAudit")?F(this,"cloudAudit"):null},set:function(a){this.a.cloudAudit=a}},Sf:{configurable:!0,enumerable:!0,get:function(){return G(this,"counter")?F(this,"counter"):null},set:function(a){this.a.counter=a}},Xf:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataAccess")?F(this,"dataAccess"):null},set:function(a){this.a.dataAccess=a}}});
|
|
var of=function(a){a=void 0===a?{}:a;this.a={};this.a.values=null==a.values?null:a.values};n(of,D);of.prototype.f=function(){return{h:{},l:{},keys:["values"],i:{},j:{}}};r.Object.defineProperties(of.prototype,{values:{configurable:!0,enumerable:!0,get:function(){return G(this,"values")?F(this,"values"):null},set:function(a){this.a.values=a}}});var Ff=function(a){a=void 0===a?{}:a;this.a={};this.a.destinationName=null==a.qb?null:a.qb};n(Ff,D);
|
|
Ff.prototype.f=function(){return{h:{},l:{},keys:["destinationName"],i:{},j:{}}};r.Object.defineProperties(Ff.prototype,{qb:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationName")?F(this,"destinationName"):null},set:function(a){this.a.destinationName=a}}});
|
|
var Df=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.metadata=null==a.Le?null:a.Le;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(Df,D);Df.prototype.f=function(){return{h:{},l:{},keys:["done","error","metadata","name","response"],i:{metadata:{fa:null,ka:!1,la:!1,ma:!1},response:{fa:null,ka:!1,la:!1,ma:!1}},j:{error:Gf}}};
|
|
r.Object.defineProperties(Df.prototype,{done:{configurable:!0,enumerable:!0,get:function(){return G(this,"done")?F(this,"done"):null},set:function(a){this.a.done=a}},error:{configurable:!0,enumerable:!0,get:function(){return G(this,"error")?F(this,"error"):null},set:function(a){this.a.error=a}},Le:{configurable:!0,enumerable:!0,get:function(){return G(this,"metadata")?F(this,"metadata"):null},set:function(a){this.a.metadata=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?
|
|
F(this,"name"):null},set:function(a){this.a.name=a}},response:{configurable:!0,enumerable:!0,get:function(){return G(this,"response")?F(this,"response"):null},set:function(a){this.a.response=a}}});
|
|
var Hf=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.ce?null:a.ce;this.a.updateTime=null==a.Ga?null:a.Ga;this.a.startTime=null==a.startTime?null:a.startTime;this.a.endTime=null==a.endTime?null:a.endTime;this.a.scriptUri=null==a.cf?null:a.cf;this.a.destinationUris=null==a.ge?null:a.ge};n(Hf,D);
|
|
Hf.prototype.f=function(){return{h:{},l:{},keys:"createTime description destinationUris endTime priority scriptUri startTime state type updateTime".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(Hf.prototype,{ce:{configurable:!0,enumerable:!0,get:function(){return G(this,"createTime")?F(this,"createTime"):null},set:function(a){this.a.createTime=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},ge:{configurable:!0,enumerable:!0,get:function(){return G(this,"destinationUris")?F(this,"destinationUris"):null},set:function(a){this.a.destinationUris=a}},endTime:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},priority:{configurable:!0,enumerable:!0,get:function(){return G(this,"priority")?F(this,"priority"):null},set:function(a){this.a.priority=a}},cf:{configurable:!0,enumerable:!0,get:function(){return G(this,"scriptUri")?F(this,"scriptUri"):null},set:function(a){this.a.scriptUri=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},
|
|
set:function(a){this.a.startTime=a}},state:{configurable:!0,enumerable:!0,get:function(){return G(this,"state")?F(this,"state"):null},set:function(a){this.a.state=a}},type:{configurable:!0,enumerable:!0,get:function(){return G(this,"type")?F(this,"type"):null},set:function(a){this.a.type=a}},Ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateTime")?F(this,"updateTime"):null},set:function(a){this.a.updateTime=a}}});
|
|
var nf=function(a){a=void 0===a?{}:a;this.a={};this.a.precision=null==a.precision?null:a.precision;this.a.range=null==a.Kc?null:a.Kc;this.a.dimensionsCount=null==a.bg?null:a.bg};n(nf,D);nf.prototype.f=function(){return{h:{},l:{},keys:["dimensionsCount","precision","range"],i:{},j:{range:Fe}}};
|
|
r.Object.defineProperties(nf.prototype,{bg:{configurable:!0,enumerable:!0,get:function(){return G(this,"dimensionsCount")?F(this,"dimensionsCount"):null},set:function(a){this.a.dimensionsCount=a}},precision:{configurable:!0,enumerable:!0,get:function(){return G(this,"precision")?F(this,"precision"):null},set:function(a){this.a.precision=a}},Kc:{configurable:!0,enumerable:!0,get:function(){return G(this,"range")?F(this,"range"):null},set:function(a){this.a.range=a}}});
|
|
var uf=function(a){a=void 0===a?{}:a;this.a={};this.a.points=null==a.Tg?null:a.Tg;this.a.bandId=null==a.Ff?null:a.Ff};n(uf,D);uf.prototype.f=function(){return{h:{points:kf},l:{},keys:["bandId","points"],i:{},j:{}}};
|
|
r.Object.defineProperties(uf.prototype,{Ff:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandId")?F(this,"bandId"):null},set:function(a){this.a.bandId=a}},Tg:{configurable:!0,enumerable:!0,get:function(){return G(this,"points")?F(this,"points"):null},set:function(a){this.a.points=a}}});
|
|
var Se=function(a){a=void 0===a?{}:a;this.a={};this.a.crsCode=null==a.de?null:a.de;this.a.crsWkt=null==a.Uf?null:a.Uf;this.a.dimensions=null==a.dimensions?null:a.dimensions;this.a.affineTransform=null==a.mb?null:a.mb};n(Se,D);Se.prototype.f=function(){return{h:{},l:{},keys:["affineTransform","crsCode","crsWkt","dimensions"],i:{},j:{affineTransform:ke,dimensions:gf}}};
|
|
r.Object.defineProperties(Se.prototype,{mb:{configurable:!0,enumerable:!0,get:function(){return G(this,"affineTransform")?F(this,"affineTransform"):null},set:function(a){this.a.affineTransform=a}},de:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsCode")?F(this,"crsCode"):null},set:function(a){this.a.crsCode=a}},Uf:{configurable:!0,enumerable:!0,get:function(){return G(this,"crsWkt")?F(this,"crsWkt"):null},set:function(a){this.a.crsWkt=a}},dimensions:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"dimensions")?F(this,"dimensions"):null},set:function(a){this.a.dimensions=a}}});var If=function(a){a=void 0===a?{}:a;this.a={};this.a.version=null==a.version?null:a.version;this.a.bindings=null==a.Xc?null:a.Xc;this.a.auditConfigs=null==a.Cf?null:a.Cf;this.a.rules=null==a.rules?null:a.rules;this.a.etag=null==a.ke?null:a.ke;this.a.iamOwned=null==a.tg?null:a.tg};n(If,D);
|
|
If.prototype.f=function(){return{h:{auditConfigs:pe,bindings:se,rules:Jf},l:{},keys:"auditConfigs bindings etag iamOwned rules version".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(If.prototype,{Cf:{configurable:!0,enumerable:!0,get:function(){return G(this,"auditConfigs")?F(this,"auditConfigs"):null},set:function(a){this.a.auditConfigs=a}},Xc:{configurable:!0,enumerable:!0,get:function(){return G(this,"bindings")?F(this,"bindings"):null},set:function(a){this.a.bindings=a}},ke:{configurable:!0,enumerable:!0,get:function(){return G(this,"etag")?F(this,"etag"):null},set:function(a){this.a.etag=a}},tg:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"iamOwned")?F(this,"iamOwned"):null},set:function(a){this.a.iamOwned=a}},rules:{configurable:!0,enumerable:!0,get:function(){return G(this,"rules")?F(this,"rules"):null},set:function(a){this.a.rules=a}},version:{configurable:!0,enumerable:!0,get:function(){return G(this,"version")?F(this,"version"):null},set:function(a){this.a.version=a}}});
|
|
var Jf=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.yg?null:a.yg;this.a.notIn=null==a.Lg?null:a.Lg;this.a.conditions=null==a.conditions?null:a.conditions;this.a.logConfig=null==a.Fg?null:a.Fg};n(Jf,D);
|
|
Jf.prototype.f=function(){return{h:{conditions:Ae,logConfig:Ef},l:{},keys:"action conditions description in logConfig notIn permissions".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(Jf.prototype,{action:{configurable:!0,enumerable:!0,get:function(){return G(this,"action")?F(this,"action"):null},set:function(a){this.a.action=a}},conditions:{configurable:!0,enumerable:!0,get:function(){return G(this,"conditions")?F(this,"conditions"):null},set:function(a){this.a.conditions=a}},description:{configurable:!0,enumerable:!0,get:function(){return G(this,"description")?F(this,"description"):null},set:function(a){this.a.description=a}},yg:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"in")?F(this,"in"):null},set:function(a){this.a["in"]=a}},Fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"logConfig")?F(this,"logConfig"):null},set:function(a){this.a.logConfig=a}},Lg:{configurable:!0,enumerable:!0,get:function(){return G(this,"notIn")?F(this,"notIn"):null},set:function(a){this.a.notIn=a}},permissions:{configurable:!0,enumerable:!0,get:function(){return G(this,"permissions")?F(this,"permissions"):null},set:function(a){this.a.permissions=
|
|
a}}});var Kf=function(a){a=void 0===a?{}:a;this.a={};this.a.assets=null==a.P?null:a.P;this.a.nextPageToken=null==a.nextPageToken?null:a.nextPageToken};n(Kf,D);Kf.prototype.f=function(){return{h:{assets:He},l:{},keys:["assets","nextPageToken"],i:{},j:{}}};
|
|
r.Object.defineProperties(Kf.prototype,{P:{configurable:!0,enumerable:!0,get:function(){return G(this,"assets")?F(this,"assets"):null},set:function(a){this.a.assets=a}},nextPageToken:{configurable:!0,enumerable:!0,get:function(){return G(this,"nextPageToken")?F(this,"nextPageToken"):null},set:function(a){this.a.nextPageToken=a}}});var Lf=function(a){a=void 0===a?{}:a;this.a={};this.a.policy=null==a.Pe?null:a.Pe;this.a.updateMask=null==a.hc?null:a.hc};n(Lf,D);
|
|
Lf.prototype.f=function(){return{h:{},l:{},keys:["policy","updateMask"],i:{},j:{policy:If}}};r.Object.defineProperties(Lf.prototype,{Pe:{configurable:!0,enumerable:!0,get:function(){return G(this,"policy")?F(this,"policy"):null},set:function(a){this.a.policy=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var Gf=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.ag?null:a.ag};n(Gf,D);Gf.prototype.f=function(){return{h:{},l:{},keys:["code","details","message"],i:{details:{fa:null,ka:!0,la:!1,ma:!1}},j:{}}};
|
|
r.Object.defineProperties(Gf.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return G(this,"code")?F(this,"code"):null},set:function(a){this.a.code=a}},ag:{configurable:!0,enumerable:!0,get:function(){return G(this,"details")?F(this,"details"):null},set:function(a){this.a.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return G(this,"message")?F(this,"message"):null},set:function(a){this.a.message=a}}});
|
|
var We=function(a){a=void 0===a?{}:a;this.a={};this.a.earthEngineDestination=null==a.sb?null:a.sb};n(We,D);We.prototype.f=function(){return{h:{},l:{},keys:["earthEngineDestination"],i:{},j:{earthEngineDestination:Le}}};r.Object.defineProperties(We.prototype,{sb:{configurable:!0,enumerable:!0,get:function(){return G(this,"earthEngineDestination")?F(this,"earthEngineDestination"):null},set:function(a){this.a.earthEngineDestination=a}}});
|
|
var Xe=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.I?null:a.I;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};n(Xe,D);Xe.prototype.f=function(){return{h:{},l:{},keys:["driveDestination","fileFormat","gcsDestination"],i:{},j:{driveDestination:Ge,gcsDestination:ef}}};
|
|
r.Object.defineProperties(Xe.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var yf=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.Rc?null:a.Rc;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(yf,D);yf.prototype.f=function(){return{h:{sources:Mf},l:{},keys:"endTime name properties sources startTime uriPrefix".split(" "),i:{properties:{fa:null,ka:!1,la:!1,ma:!1}},j:{}}};
|
|
r.Object.defineProperties(yf.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"endTime")?F(this,"endTime"):null},set:function(a){this.a.endTime=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},properties:{configurable:!0,enumerable:!0,get:function(){return G(this,"properties")?F(this,"properties"):null},set:function(a){this.a.properties=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sources")?F(this,"sources"):null},set:function(a){this.a.sources=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return G(this,"startTime")?F(this,"startTime"):null},set:function(a){this.a.startTime=a}},Rc:{configurable:!0,enumerable:!0,get:function(){return G(this,"uriPrefix")?F(this,"uriPrefix"):null},set:function(a){this.a.uriPrefix=a}}});
|
|
var Mf=function(a){a=void 0===a?{}:a;this.a={};this.a.uris=null==a.Lb?null:a.Lb;this.a.charset=null==a.charset?null:a.charset;this.a.maxErrorMeters=null==a.Bb?null:a.Bb;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.Ug?null:a.Ug;this.a.xColumn=null==a.th?null:a.th;this.a.yColumn=null==a.uh?null:a.uh;this.a.dateFormat=null==a.Yf?null:a.Yf;this.a.csvDelimiter=null==a.Vf?
|
|
null:a.Vf;this.a.csvQualifier=null==a.Wf?null:a.Wf};n(Mf,D);Mf.prototype.f=function(){return{h:{},l:{},keys:"charset crs csvDelimiter csvQualifier dateFormat geodesic maxErrorMeters maxVertices primaryGeometryColumn uris xColumn yColumn".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(Mf.prototype,{charset:{configurable:!0,enumerable:!0,get:function(){return G(this,"charset")?F(this,"charset"):null},set:function(a){this.a.charset=a}},crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.a.crs=a}},Vf:{configurable:!0,enumerable:!0,get:function(){return G(this,"csvDelimiter")?F(this,"csvDelimiter"):null},set:function(a){this.a.csvDelimiter=a}},Wf:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"csvQualifier")?F(this,"csvQualifier"):null},set:function(a){this.a.csvQualifier=a}},Yf:{configurable:!0,enumerable:!0,get:function(){return G(this,"dateFormat")?F(this,"dateFormat"):null},set:function(a){this.a.dateFormat=a}},geodesic:{configurable:!0,enumerable:!0,get:function(){return G(this,"geodesic")?F(this,"geodesic"):null},set:function(a){this.a.geodesic=a}},Bb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxErrorMeters")?F(this,"maxErrorMeters"):null},set:function(a){this.a.maxErrorMeters=
|
|
a}},maxVertices:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxVertices")?F(this,"maxVertices"):null},set:function(a){this.a.maxVertices=a}},Ug:{configurable:!0,enumerable:!0,get:function(){return G(this,"primaryGeometryColumn")?F(this,"primaryGeometryColumn"):null},set:function(a){this.a.primaryGeometryColumn=a}},Lb:{configurable:!0,enumerable:!0,get:function(){return G(this,"uris")?F(this,"uris"):null},set:function(a){this.a.uris=a}},th:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"xColumn")?F(this,"xColumn"):null},set:function(a){this.a.xColumn=a}},uh:{configurable:!0,enumerable:!0,get:function(){return G(this,"yColumn")?F(this,"yColumn"):null},set:function(a){this.a.yColumn=a}}});
|
|
var pf=function(a){a=void 0===a?{}:a;this.a={};this.a.tileDimensions=null==a.Fa?null:a.Fa;this.a.marginDimensions=null==a.Ge?null:a.Ge;this.a.compress=null==a.Zd?null:a.Zd;this.a.maxSizeBytes=null==a.Cb?null:a.Cb;this.a.defaultValue=null==a.defaultValue?null:a.defaultValue;this.a.tensorDepths=null==a.zd?null:a.zd;this.a.sequenceData=null==a.df?null:a.df;this.a.collapseBands=null==a.Yd?null:a.Yd;this.a.maxMaskedRatio=null==a.Je?null:a.Je};n(pf,D);
|
|
pf.prototype.f=function(){return{h:{},l:{},keys:"collapseBands compress defaultValue marginDimensions maxMaskedRatio maxSizeBytes sequenceData tensorDepths tileDimensions".split(" "),i:{tensorDepths:{fa:null,ka:!1,la:!1,ma:!1}},j:{marginDimensions:gf,tileDimensions:gf}}};
|
|
r.Object.defineProperties(pf.prototype,{Yd:{configurable:!0,enumerable:!0,get:function(){return G(this,"collapseBands")?F(this,"collapseBands"):null},set:function(a){this.a.collapseBands=a}},Zd:{configurable:!0,enumerable:!0,get:function(){return G(this,"compress")?F(this,"compress"):null},set:function(a){this.a.compress=a}},defaultValue:{configurable:!0,enumerable:!0,get:function(){return G(this,"defaultValue")?F(this,"defaultValue"):null},set:function(a){this.a.defaultValue=a}},Ge:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"marginDimensions")?F(this,"marginDimensions"):null},set:function(a){this.a.marginDimensions=a}},Je:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxMaskedRatio")?F(this,"maxMaskedRatio"):null},set:function(a){this.a.maxMaskedRatio=a}},Cb:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxSizeBytes")?F(this,"maxSizeBytes"):null},set:function(a){this.a.maxSizeBytes=a}},df:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"sequenceData")?F(this,"sequenceData"):null},set:function(a){this.a.sequenceData=a}},zd:{configurable:!0,enumerable:!0,get:function(){return G(this,"tensorDepths")?F(this,"tensorDepths"):null},set:function(a){this.a.tensorDepths=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}}});
|
|
var Nf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.fileFormat=null==a.I?null:a.I;this.a.bandIds=null==a.ea?null:a.ea;this.a.visualizationOptions=null==a.Nb?null:a.Nb;this.a.grid=null==a.M?null:a.M};n(Nf,D);Nf.prototype.f=function(){return{h:{},l:{},keys:"bandIds expression fileFormat grid name visualizationOptions".split(" "),i:{},j:{expression:ye,grid:Se,visualizationOptions:Ne}}};
|
|
r.Object.defineProperties(Nf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},M:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"visualizationOptions")?F(this,"visualizationOptions"):null},set:function(a){this.a.visualizationOptions=a}}});
|
|
var Ue=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.kf?null:a.kf;this.a.mapsApiKey=null==a.Fe?null:a.Fe;this.a.tileDimensions=null==a.Fa?null:a.Fa;this.a.stride=null==a.mf?null:a.mf;this.a.zoomSubset=null==a.vh?null:a.vh};n(Ue,D);
|
|
Ue.prototype.f=function(){return{h:{},l:{},keys:"mapsApiKey maxZoom minZoom scale skipEmptyTiles stride tileDimensions zoomSubset".split(" "),i:{},j:{tileDimensions:gf,zoomSubset:Of}}};
|
|
r.Object.defineProperties(Ue.prototype,{Fe:{configurable:!0,enumerable:!0,get:function(){return G(this,"mapsApiKey")?F(this,"mapsApiKey"):null},set:function(a){this.a.mapsApiKey=a}},maxZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxZoom")?F(this,"maxZoom"):null},set:function(a){this.a.maxZoom=a}},minZoom:{configurable:!0,enumerable:!0,get:function(){return G(this,"minZoom")?F(this,"minZoom"):null},set:function(a){this.a.minZoom=a}},scale:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"scale")?F(this,"scale"):null},set:function(a){this.a.scale=a}},kf:{configurable:!0,enumerable:!0,get:function(){return G(this,"skipEmptyTiles")?F(this,"skipEmptyTiles"):null},set:function(a){this.a.skipEmptyTiles=a}},mf:{configurable:!0,enumerable:!0,get:function(){return G(this,"stride")?F(this,"stride"):null},set:function(a){this.a.stride=a}},Fa:{configurable:!0,enumerable:!0,get:function(){return G(this,"tileDimensions")?F(this,"tileDimensions"):null},set:function(a){this.a.tileDimensions=a}},
|
|
vh:{configurable:!0,enumerable:!0,get:function(){return G(this,"zoomSubset")?F(this,"zoomSubset"):null},set:function(a){this.a.zoomSubset=a}}});var tf=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.jh?null:a.jh;this.a.subdatasetSuffix=null==a.kh?null:a.kh};n(tf,D);
|
|
tf.prototype.f=function(){return{h:{sources:vf},l:{},keys:"crs dataType id sources subdatasetPrefix subdatasetSuffix".split(" "),i:{},j:{}}};
|
|
r.Object.defineProperties(tf.prototype,{crs:{configurable:!0,enumerable:!0,get:function(){return G(this,"crs")?F(this,"crs"):null},set:function(a){this.a.crs=a}},dataType:{configurable:!0,enumerable:!0,get:function(){return G(this,"dataType")?F(this,"dataType"):null},set:function(a){this.a.dataType=a}},id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?
|
|
F(this,"sources"):null},set:function(a){this.a.sources=a}},jh:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetPrefix")?F(this,"subdatasetPrefix"):null},set:function(a){this.a.subdatasetPrefix=a}},kh:{configurable:!0,enumerable:!0,get:function(){return G(this,"subdatasetSuffix")?F(this,"subdatasetSuffix"):null},set:function(a){this.a.subdatasetSuffix=a}}});
|
|
var rf=function(a){a=void 0===a?{}:a;this.a={};this.a.id=null==a.id?null:a.id;this.a.tilesetId=null==a.fc?null:a.fc;this.a.tilesetBandIndex=null==a.oh?null:a.oh;this.a.missingData=null==a.missingData?null:a.missingData;this.a.pyramidingPolicy=null==a.pyramidingPolicy?null:a.pyramidingPolicy};n(rf,D);rf.prototype.f=function(){return{h:{},l:{},keys:["id","missingData","pyramidingPolicy","tilesetBandIndex","tilesetId"],i:{},j:{missingData:of}}};
|
|
r.Object.defineProperties(rf.prototype,{id:{configurable:!0,enumerable:!0,get:function(){return G(this,"id")?F(this,"id"):null},set:function(a){this.a.id=a}},missingData:{configurable:!0,enumerable:!0,get:function(){return G(this,"missingData")?F(this,"missingData"):null},set:function(a){this.a.missingData=a}},pyramidingPolicy:{configurable:!0,enumerable:!0,get:function(){return G(this,"pyramidingPolicy")?F(this,"pyramidingPolicy"):null},set:function(a){this.a.pyramidingPolicy=a}},oh:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"tilesetBandIndex")?F(this,"tilesetBandIndex"):null},set:function(a){this.a.tilesetBandIndex=a}},fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var sf=function(a){a=void 0===a?{}:a;this.a={};this.a.tilesetId=null==a.fc?null:a.fc;this.a.bandIds=null==a.ea?null:a.ea};n(sf,D);sf.prototype.f=function(){return{h:{},l:{},keys:["bandIds","tilesetId"],i:{},j:{}}};
|
|
r.Object.defineProperties(sf.prototype,{ea:{configurable:!0,enumerable:!0,get:function(){return G(this,"bandIds")?F(this,"bandIds"):null},set:function(a){this.a.bandIds=a}},fc:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesetId")?F(this,"tilesetId"):null},set:function(a){this.a.tilesetId=a}}});var Ke=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(Ke,D);
|
|
Ke.prototype.f=function(){return{h:{sources:Pf},l:{},keys:["pathPrefix","sources"],i:{},j:{}}};r.Object.defineProperties(Ke.prototype,{pathPrefix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathPrefix")?F(this,"pathPrefix"):null},set:function(a){this.a.pathPrefix=a}},sources:{configurable:!0,enumerable:!0,get:function(){return G(this,"sources")?F(this,"sources"):null},set:function(a){this.a.sources=a}}});
|
|
var Pf=function(a){a=void 0===a?{}:a;this.a={};this.a.pathSuffix=null==a.pathSuffix?null:a.pathSuffix;this.a.headerSizeBytes=null==a.rg?null:a.rg};n(Pf,D);Pf.prototype.f=function(){return{h:{},l:{},keys:["headerSizeBytes","pathSuffix"],i:{},j:{}}};
|
|
r.Object.defineProperties(Pf.prototype,{rg:{configurable:!0,enumerable:!0,get:function(){return G(this,"headerSizeBytes")?F(this,"headerSizeBytes"):null},set:function(a){this.a.headerSizeBytes=a}},pathSuffix:{configurable:!0,enumerable:!0,get:function(){return G(this,"pathSuffix")?F(this,"pathSuffix"):null},set:function(a){this.a.pathSuffix=a}}});
|
|
var mf=function(a){a=void 0===a?{}:a;this.a={};this.a.fileIndexes=null==a.fg?null:a.fg;this.a.firstTileIndex=null==a.hg?null:a.hg;this.a.tilesPerFile=null==a.nh?null:a.nh};n(mf,D);mf.prototype.f=function(){return{h:{},l:{},keys:["fileIndexes","firstTileIndex","tilesPerFile"],i:{},j:{}}};
|
|
r.Object.defineProperties(mf.prototype,{fg:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileIndexes")?F(this,"fileIndexes"):null},set:function(a){this.a.fileIndexes=a}},hg:{configurable:!0,enumerable:!0,get:function(){return G(this,"firstTileIndex")?F(this,"firstTileIndex"):null},set:function(a){this.a.firstTileIndex=a}},nh:{configurable:!0,enumerable:!0,get:function(){return G(this,"tilesPerFile")?F(this,"tilesPerFile"):null},set:function(a){this.a.tilesPerFile=a}}});
|
|
var Qf=function(a){a=void 0===a?{}:a;this.a={};this.a.asset=null==a.Pd?null:a.Pd;this.a.updateMask=null==a.hc?null:a.hc};n(Qf,D);Qf.prototype.f=function(){return{h:{},l:{},keys:["asset","updateMask"],i:{},j:{asset:He}}};
|
|
r.Object.defineProperties(Qf.prototype,{Pd:{configurable:!0,enumerable:!0,get:function(){return G(this,"asset")?F(this,"asset"):null},set:function(a){this.a.asset=a}},hc:{configurable:!0,enumerable:!0,get:function(){return G(this,"updateMask")?F(this,"updateMask"):null},set:function(a){this.a.updateMask=a}}});
|
|
var oe=function(a){a=void 0===a?{}:a;this.a={};this.a.constantValue=null==a.pb?null:a.pb;this.a.integerValue=null==a.Be?null:a.Be;this.a.bytesValue=null==a.Vd?null:a.Vd;this.a.arrayValue=null==a.nb?null:a.nb;this.a.dictionaryValue=null==a.rb?null:a.rb;this.a.functionDefinitionValue=null==a.vb?null:a.vb;this.a.functionInvocationValue=null==a.eb?null:a.eb;this.a.argumentReference=null==a.mc?null:a.mc;this.a.valueReference=null==a.$a?null:a.$a};n(oe,D);
|
|
oe.prototype.f=function(){return{h:{},l:{},keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "),i:{},j:{arrayValue:ne,dictionaryValue:Ee,functionDefinitionValue:cf,functionInvocationValue:df}}};
|
|
r.Object.defineProperties(oe.prototype,{mc:{configurable:!0,enumerable:!0,get:function(){return G(this,"argumentReference")?F(this,"argumentReference"):null},set:function(a){this.a.argumentReference=a}},nb:{configurable:!0,enumerable:!0,get:function(){return G(this,"arrayValue")?F(this,"arrayValue"):null},set:function(a){this.a.arrayValue=a}},Vd:{configurable:!0,enumerable:!0,get:function(){return G(this,"bytesValue")?F(this,"bytesValue"):null},set:function(a){this.a.bytesValue=a}},pb:{configurable:!0,
|
|
enumerable:!0,get:function(){return G(this,"constantValue")?F(this,"constantValue"):null},set:function(a){this.a.constantValue=a}},rb:{configurable:!0,enumerable:!0,get:function(){return G(this,"dictionaryValue")?F(this,"dictionaryValue"):null},set:function(a){this.a.dictionaryValue=a}},vb:{configurable:!0,enumerable:!0,get:function(){return G(this,"functionDefinitionValue")?F(this,"functionDefinitionValue"):null},set:function(a){this.a.functionDefinitionValue=a}},eb:{configurable:!0,enumerable:!0,
|
|
get:function(){return G(this,"functionInvocationValue")?F(this,"functionInvocationValue"):null},set:function(a){this.a.functionInvocationValue=a}},Be:{configurable:!0,enumerable:!0,get:function(){return G(this,"integerValue")?F(this,"integerValue"):null},set:function(a){this.a.integerValue=a}},$a:{configurable:!0,enumerable:!0,get:function(){return G(this,"valueReference")?F(this,"valueReference"):null},set:function(a){this.a.valueReference=a}}});
|
|
var Ze=function(a){a=void 0===a?{}:a;this.a={};this.a.fileFormat=null==a.I?null:a.I;this.a.driveDestination=null==a.ga?null:a.ga;this.a.gcsDestination=null==a.ia?null:a.ia};n(Ze,D);Ze.prototype.f=function(){return{h:{},l:{},keys:["driveDestination","fileFormat","gcsDestination"],i:{},j:{driveDestination:Ge,gcsDestination:ef}}};
|
|
r.Object.defineProperties(Ze.prototype,{ga:{configurable:!0,enumerable:!0,get:function(){return G(this,"driveDestination")?F(this,"driveDestination"):null},set:function(a){this.a.driveDestination=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},ia:{configurable:!0,enumerable:!0,get:function(){return G(this,"gcsDestination")?F(this,"gcsDestination"):null},set:function(a){this.a.gcsDestination=a}}});
|
|
var $e=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($e,D);$e.prototype.f=function(){return{h:{},l:{},keys:["framesPerSecond","maxFrames","maxPixelsPerFrame"],i:{},j:{}}};
|
|
r.Object.defineProperties($e.prototype,{framesPerSecond:{configurable:!0,enumerable:!0,get:function(){return G(this,"framesPerSecond")?F(this,"framesPerSecond"):null},set:function(a){this.a.framesPerSecond=a}},maxFrames:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxFrames")?F(this,"maxFrames"):null},set:function(a){this.a.maxFrames=a}},maxPixelsPerFrame:{configurable:!0,enumerable:!0,get:function(){return G(this,"maxPixelsPerFrame")?F(this,"maxPixelsPerFrame"):null},set:function(a){this.a.maxPixelsPerFrame=
|
|
a}}});var Rf=function(a){a=void 0===a?{}:a;this.a={};this.a.name=null==a.name?null:a.name;this.a.expression=null==a.m?null:a.m;this.a.videoOptions=null==a.Ha?null:a.Ha;this.a.fileFormat=null==a.I?null:a.I;this.a.grid=null==a.M?null:a.M};n(Rf,D);Rf.prototype.f=function(){return{h:{},l:{},keys:["expression","fileFormat","grid","name","videoOptions"],i:{},j:{expression:ye,grid:Se,videoOptions:$e}}};
|
|
r.Object.defineProperties(Rf.prototype,{m:{configurable:!0,enumerable:!0,get:function(){return G(this,"expression")?F(this,"expression"):null},set:function(a){this.a.expression=a}},I:{configurable:!0,enumerable:!0,get:function(){return G(this,"fileFormat")?F(this,"fileFormat"):null},set:function(a){this.a.fileFormat=a}},M:{configurable:!0,enumerable:!0,get:function(){return G(this,"grid")?F(this,"grid"):null},set:function(a){this.a.grid=a}},name:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"name")?F(this,"name"):null},set:function(a){this.a.name=a}},Ha:{configurable:!0,enumerable:!0,get:function(){return G(this,"videoOptions")?F(this,"videoOptions"):null},set:function(a){this.a.videoOptions=a}}});var Ne=function(a){a=void 0===a?{}:a;this.a={};this.a.ranges=null==a.We?null:a.We;this.a.paletteColors=null==a.Ic?null:a.Ic;this.a.gamma=null==a.gamma?null:a.gamma;this.a.opacity=null==a.opacity?null:a.opacity};n(Ne,D);
|
|
Ne.prototype.f=function(){return{h:{ranges:Fe},l:{},keys:["gamma","opacity","paletteColors","ranges"],i:{},j:{}}};
|
|
r.Object.defineProperties(Ne.prototype,{gamma:{configurable:!0,enumerable:!0,get:function(){return G(this,"gamma")?F(this,"gamma"):null},set:function(a){this.a.gamma=a}},opacity:{configurable:!0,enumerable:!0,get:function(){return G(this,"opacity")?F(this,"opacity"):null},set:function(a){this.a.opacity=a}},Ic:{configurable:!0,enumerable:!0,get:function(){return G(this,"paletteColors")?F(this,"paletteColors"):null},set:function(a){this.a.paletteColors=a}},We:{configurable:!0,enumerable:!0,get:function(){return G(this,
|
|
"ranges")?F(this,"ranges"):null},set:function(a){this.a.ranges=a}}});var Of=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(Of,D);Of.prototype.f=function(){return{h:{},l:{},keys:["max","min"],i:{},j:{}}};
|
|
r.Object.defineProperties(Of.prototype,{max:{configurable:!0,enumerable:!0,get:function(){return G(this,"max")?F(this,"max"):null},set:function(a){this.a.max=a}},min:{configurable:!0,enumerable:!0,get:function(){return G(this,"min")?F(this,"min"):null},set:function(a){this.a.min=a}}});var Sf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Sf.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,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.algorithms.list",path:"/"+this.w+"/"+a+"/algorithms",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:zf})};
|
|
var Tf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Tf.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,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.getCapabilities",path:"/"+this.w+"/"+a+"/capabilities",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:ve})};
|
|
Tf.prototype.Dc=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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.listAssets",path:"/"+this.w+"/"+a+":listAssets",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,
|
|
pageSize:p,pageToken:q,prettyPrint:v,quotaUser:z,uploadType:E,upload_protocol:c},G:Af})};var Uf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Uf.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.assets.create",path:"/"+this.w+"/"+a+"/assets",A:{"$.xgafv":c,access_token:e,alt:f,assetId:g,callback:h,fields:m,key:p,
|
|
oauth_token:q,overwrite:v,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:d},G:He})};
|
|
Uf.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,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:null,B:"DELETE",D:"earthengine.projects.assets.delete",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:Oe})};
|
|
Uf.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,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.assets.get",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:He})};
|
|
Uf.prototype.Dc=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,v=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;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.assets.listAssets",path:"/"+this.w+"/"+a+":listAssets",A:{"$.xgafv":b,access_token:d,alt:e,callback:f,
|
|
fields:g,key:h,oauth_token:m,pageSize:p,pageToken:q,prettyPrint:v,quotaUser:z,uploadType:E,upload_protocol:c},G:Af})};
|
|
var Vf=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,v=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,ba=void 0===d.quotaUser?void 0:d.quotaUser,uj=void 0===d.region?void 0:d.region,vj=void 0===d.startTime?void 0:d.startTime,wj=void 0===d.uploadType?void 0:d.uploadType,xj=void 0===d.upload_protocol?void 0:d.upload_protocol;
|
|
d=void 0===d.view?void 0:d.view;H(b,/^projects\/[^/]+\/assets\/.+$/);return I(a.u,{body:null,B:"GET",D:"earthengine.projects.assets.listImages",path:"/"+a.w+"/"+b+":listImages",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,endTime:h,fields:m,filter:p,key:q,oauth_token:v,pageSize:z,pageToken:E,prettyPrint:M,quotaUser:ba,region:uj,startTime:vj,uploadType:wj,upload_protocol:xj,view:d},G:Bf})};
|
|
Uf.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,v=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;H(a,/^projects\/[^/]+\/assets\/.+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.assets.move",path:"/"+this.w+"/"+a+":move",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:He})};
|
|
Uf.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.assets.search",path:"/"+this.w+"/"+a+"/assets:search",A:{"$.xgafv":b,
|
|
access_token:d,alt:e,callback:f,fields:g,key:h,nextPageToken:m,oauth_token:p,pageSize:q,prettyPrint:v,query:z,quotaUser:E,uploadType:M,upload_protocol:c},G:Kf})};var Wf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Wf.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.filmstripThumbnails.create",path:"/"+this.w+"/"+a+"/filmstripThumbnails",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:bf})};
|
|
var Xf=function(a){this.w="v1alpha";this.u=new fe(a,null)};Xf.prototype.Ua=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.image.export",path:"/"+this.w+"/"+a+"/image:export",A:{"$.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},G:Df})};
|
|
Xf.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.image.import",path:"/"+this.w+"/"+a+"/image:import",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Df})};
|
|
var Yf=function(a){this.w="v1alpha";this.u=new fe(a,null)};Yf.prototype.Ua=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.map.export",path:"/"+this.w+"/"+a+"/map:export",A:{"$.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},G:Df})};var Zf=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
Zf.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.maps.create",path:"/"+this.w+"/"+a+"/maps",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Me})};
|
|
var $f=function(a){this.w="v1alpha";this.u=new fe(a,null)};k=$f.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,v=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;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.operations.cancel",path:"/"+this.w+"/"+a+":cancel",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Oe})};
|
|
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,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:null,B:"DELETE",D:"earthengine.projects.operations.delete",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:Oe})};
|
|
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,v=void 0===c.uploadType?void 0:c.uploadType;c=void 0===c.upload_protocol?void 0:c.upload_protocol;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.operations.get",path:"/"+this.w+"/"+a,A:{"$.xgafv":b,access_token:d,alt:e,callback:f,fields:g,key:h,oauth_token:m,prettyPrint:p,quotaUser:q,uploadType:v,upload_protocol:c},G:Df})};
|
|
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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:null,B:"GET",D:"earthengine.projects.operations.list",path:"/"+this.w+"/"+a+"/operations",A:{"$.xgafv":b,access_token:d,
|
|
alt:e,callback:f,fields:g,filter:h,key:m,oauth_token:p,pageSize:q,pageToken:v,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:c},G:Cf})};
|
|
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,v=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;H(a,/^projects\/[^/]+\/operations\/.+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.operations.wait",path:"/"+this.w+"/"+a+":wait",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Df})};
|
|
var ag=function(a){this.w="v1alpha";this.u=new fe(a,null)};ag.prototype.Ua=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.table.export",path:"/"+this.w+"/"+a+"/table:export",A:{"$.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},G:Df})};
|
|
ag.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.table.import",path:"/"+this.w+"/"+a+"/table:import",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Df})};
|
|
var bg=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
bg.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.thumbnails.create",path:"/"+this.w+"/"+a+"/thumbnails",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Nf})};
|
|
var cg=function(a){this.w="v1alpha";this.u=new fe(a,null)},dg=function(a,b,c){H(b,/^projects\/[^/]+$/);return I(a.u,{body:c,B:"POST",D:"earthengine.projects.value.compute",path:"/"+a.w+"/"+b+"/value:compute",A:{"$.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},G:ze})},eg=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
eg.prototype.Ua=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.video.export",path:"/"+this.w+"/"+a+"/video:export",A:{"$.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},G:Df})};var fg=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
fg.prototype.Ua=function(a,b){H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.videoMap.export",path:"/"+this.w+"/"+a+"/videoMap:export",A:{"$.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},G:Df})};var gg=function(a){this.w="v1alpha";this.u=new fe(a,null)};
|
|
gg.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,v=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;H(a,/^projects\/[^/]+$/);return I(this.u,{body:b,B:"POST",D:"earthengine.projects.videoThumbnails.create",path:"/"+this.w+"/"+a+"/videoThumbnails",A:{"$.xgafv":c,access_token:e,alt:f,callback:g,fields:h,key:m,oauth_token:p,prettyPrint:q,quotaUser:v,uploadType:z,upload_protocol:d},G:Rf})};var hg=function(a,b){this.Wh=100;this.Lh=a;this.hi=b;this.pd=0;this.ja=null};hg.prototype.get=function(){if(0<this.pd){this.pd--;var a=this.ja;this.ja=a.next;a.next=null}else a=this.Lh();return a};hg.prototype.put=function(a){this.hi(a);this.pd<this.Wh&&(this.pd++,a.next=this.ja,this.ja=a)};var ig=function(a){t.setTimeout(function(){throw a;},0)},jg,kg=function(){var a=t.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Eb("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";vc(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(uc());e.close();var g="callImmediate"+Math.random(),h="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;
|
|
e=y(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&&!Eb("Trident")&&!Eb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(wa(c.next)){c=c.next;var e=c.Mf;c.Mf=null;e()}};return function(e){d.next={Mf:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
|
|
function(e){var f=document.createElement("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 lg=function(){this.Jd=this.Ob=null},ng=new hg(function(){return new mg},function(a){a.reset()});lg.prototype.add=function(a,b){var c=ng.get();c.set(a,b);this.Jd?this.Jd.next=c:(C(!this.Ob),this.Ob=c);this.Jd=c};lg.prototype.remove=function(){var a=null;this.Ob&&(a=this.Ob,this.Ob=this.Ob.next,this.Ob||(this.Jd=null),a.next=null);return a};var mg=function(){this.next=this.scope=this.pe=null};mg.prototype.set=function(a,b){this.pe=a;this.scope=b;this.next=null};
|
|
mg.prototype.reset=function(){this.next=this.scope=this.pe=null};var sg=function(a,b){og||pg();qg||(og(),qg=!0);rg.add(a,b)},og,pg=function(){if(t.Promise&&t.Promise.resolve){var a=t.Promise.resolve(void 0);og=function(){a.then(tg)}}else og=function(){var b=tg;!Fa(t.setImmediate)||t.Window&&t.Window.prototype&&!Eb("Edge")&&t.Window.prototype.setImmediate==t.setImmediate?(jg||(jg=kg()),jg(b)):t.setImmediate(b)}},qg=!1,rg=new lg,tg=function(){for(var a;a=rg.remove();){try{a.pe.call(a.scope)}catch(b){ig(b)}ng.put(a)}qg=!1};var ug=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var xg=function(a){this.U=0;this.sa=void 0;this.Rb=this.Sa=this.R=null;this.fd=this.le=!1;if(a!=Aa)try{var b=this;a.call(void 0,function(c){vg(b,2,c)},function(c){if(!(c instanceof wg))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}vg(b,3,c)})}catch(c){vg(this,3,c)}},yg=function(){this.next=this.context=this.Yb=this.Eb=this.ob=null;this.Vc=!1};yg.prototype.reset=function(){this.context=this.Yb=this.Eb=this.ob=null;this.Vc=!1};
|
|
var zg=new hg(function(){return new yg},function(a){a.reset()}),Ag=function(a,b,c){var d=zg.get();d.Eb=a;d.Yb=b;d.context=c;return d};xg.prototype.then=function(a,b,c){null!=a&&Wa(a,"opt_onFulfilled should be a function.");null!=b&&Wa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Bg(this,Fa(a)?a:null,Fa(b)?b:null,c)};xg.prototype.$goog_Thenable=!0;
|
|
xg.prototype.cancel=function(a){0==this.U&&sg(function(){var b=new wg(a);Cg(this,b)},this)};
|
|
var Cg=function(a,b){if(0==a.U)if(a.R){var c=a.R;if(c.Sa){for(var d=0,e=null,f=null,g=c.Sa;g&&(g.Vc||(d++,g.ob==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.U&&1==d?Cg(c,b):(f?(d=f,C(c.Sa),C(null!=d),d.next==c.Rb&&(c.Rb=d),d.next=d.next.next):Dg(c),Eg(c,e,3,b)))}a.R=null}else vg(a,3,b)},Gg=function(a,b){a.Sa||2!=a.U&&3!=a.U||Fg(a);C(null!=b.Eb);a.Rb?a.Rb.next=b:a.Sa=b;a.Rb=b},Bg=function(a,b,c,d){var e=Ag(null,null,null);e.ob=new xg(function(f,g){e.Eb=b?function(h){try{var m=b.call(d,h);f(m)}catch(p){g(p)}}:
|
|
f;e.Yb=c?function(h){try{var m=c.call(d,h);!wa(m)&&h instanceof wg?g(h):f(m)}catch(p){g(p)}}:g});e.ob.R=a;Gg(a,e);return e.ob};xg.prototype.pi=function(a){C(1==this.U);this.U=0;vg(this,2,a)};xg.prototype.ri=function(a){C(1==this.U);this.U=0;vg(this,3,a)};
|
|
var vg=function(a,b,c){if(0==a.U){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.U=1;a:{var d=c,e=a.pi,f=a.ri;if(d instanceof xg){null!=e&&Wa(e,"opt_onFulfilled should be a function.");null!=f&&Wa(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Gg(d,Ag(e||Aa,f||null,a));var g=!0}else if(ug(d))d.then(e,f,a),g=!0;else{if(x(d))try{var h=d.then;if(Fa(h)){Hg(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.U=b,a.R=null,Fg(a),3!=b||c instanceof wg||Ig(a,c))}},Hg=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)}},Fg=function(a){a.le||(a.le=!0,sg(a.Oh,a))},Dg=function(a){var b=null;a.Sa&&(b=a.Sa,a.Sa=b.next,b.next=null);a.Sa||(a.Rb=null);null!=b&&C(null!=b.Eb);return b};xg.prototype.Oh=function(){for(var a;a=Dg(this);)Eg(this,a,this.U,this.sa);this.le=!1};
|
|
var Eg=function(a,b,c,d){if(3==c&&b.Yb&&!b.Vc)for(;a&&a.fd;a=a.R)a.fd=!1;if(b.ob)b.ob.R=null,Jg(b,c,d);else try{b.Vc?b.Eb.call(b.context):Jg(b,c,d)}catch(e){Kg.call(null,e)}zg.put(b)},Jg=function(a,b,c){2==b?a.Eb.call(a.context,c):a.Yb&&a.Yb.call(a.context,c)},Ig=function(a,b){a.fd=!0;sg(function(){a.fd&&Kg.call(null,b)})},Kg=ig,wg=function(a){Pa.call(this,a)};B(wg,Pa);wg.prototype.name="cancel";var Lg=function(a,b,c){if(Fa(a))c&&(a=y(a,c));else if(a&&"function"==typeof a.handleEvent)a=y(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:t.setTimeout(a,b||0)};var Mg=function(a,b,c){Ma.call(this);this.Xh=null!=c?y(a,c):a;this.Uh=b;this.Hh=y(this.ei,this);this.Od=[]};B(Mg,Ma);k=Mg.prototype;k.ec=!1;k.Jc=0;k.Kb=null;k.oe=function(a){this.Od=arguments;this.Kb||this.Jc?this.ec=!0:Ng(this)};k.stop=function(){this.Kb&&(t.clearTimeout(this.Kb),this.Kb=null,this.ec=!1,this.Od=[])};k.pause=function(){this.Jc++};k.resume=function(){this.Jc--;this.Jc||!this.ec||this.Kb||(this.ec=!1,Ng(this))};k.F=function(){Mg.H.F.call(this);this.stop()};
|
|
k.ei=function(){this.Kb=null;this.ec&&!this.Jc&&(this.ec=!1,Ng(this))};var Ng=function(a){a.Kb=Lg(a.Hh,a.Uh);a.Xh.apply(null,a.Od)};var Og=!Ec||9<=Number(Pc),Pg=!Gc&&!Ec||Ec&&9<=Number(Pc)||Gc&&Oc("1.9.1");var Qg=function(a,b){this.x=wa(a)?a:0;this.y=wa(b)?b:0};k=Qg.prototype;k.clone=function(){return new Qg(this.x,this.y)};k.toString=function(){return"("+this.x+", "+this.y+")"};k.equals=function(a){return a instanceof Qg&&(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 Qg?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),xa(b)&&(this.y+=b));return this};k.scale=function(a,b){b=xa(b)?b:a;this.x*=a;this.y*=b;return this};var Rg=function(a,b){this.width=a;this.height=b};k=Rg.prototype;k.clone=function(){return new Rg(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){b=xa(b)?b:a;this.width*=a;this.height*=b;return this};var Tg=function(a,b){Fb(b,function(c,d){c&&"object"==typeof c&&c.zb&&(c=c.xb());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Sg.hasOwnProperty(d)?a.setAttribute(Sg[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Sg={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",
|
|
width:"width"},Vg=function(a,b,c){return Ug(document,arguments)},Ug=function(a,b){var c=String(b[0]),d=b[1];if(!Og&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',yc(d.name),'"');if(d.type){c.push(' type="',yc(d.type),'"');var e={};Tb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(u(d)?c.className=d:w(d)?c.className=d.join(" "):Tg(c,d));2<b.length&&Wg(a,c,b,2);return c},Wg=function(a,b,c,d){function e(g){g&&b.appendChild(u(g)?a.createTextNode(g):g)}for(;d<c.length;d++){var f=
|
|
c[d];!Da(f)||x(f)&&0<f.nodeType?e(f):$a(Xg(f)?mb(f):f,e)}},Yg=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Zg=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},$g=function(a){C(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Xg=function(a){if(a&&"number"==typeof a.length){if(x(a))return"function"==typeof a.item||"string"==typeof a.item;if(Fa(a))return"function"==typeof a.item}return!1},ah=function(a){this.ad=a||t.document||
|
|
document};k=ah.prototype;k.getElementsByTagName=function(a,b){return(b||this.ad).getElementsByTagName(String(a))};k.Kh=function(a,b,c){return Ug(this.ad,arguments)};k.createElement=function(a){return this.ad.createElement(String(a))};k.createTextNode=function(a){return this.ad.createTextNode(String(a))};k.appendChild=function(a,b){C(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};k.append=function(a,b){Wg($g(a),a,arguments,1)};
|
|
k.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};k.removeNode=Yg;
|
|
k.ng=function(){return Pg&&void 0!=(void 0).children?(void 0).children:ab((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};/*
|
|
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 ch=function(a){var b=bh;this.wd=[];this.Mg=b;this.Zf=a||null;this.yc=this.Vb=!1;this.sa=void 0;this.hf=this.Gf=this.Rd=!1;this.Ed=0;this.R=null;this.Sd=0};ch.prototype.cancel=function(a){if(this.Vb)this.sa instanceof ch&&this.sa.cancel();else{if(this.R){var b=this.R;delete this.R;a?b.cancel(a):(b.Sd--,0>=b.Sd&&b.cancel())}this.Mg?this.Mg.call(this.Zf,this):this.hf=!0;this.Vb||dh(this,new eh(this))}};ch.prototype.Pf=function(a,b){this.Rd=!1;fh(this,a,b)};
|
|
var fh=function(a,b,c){a.Vb=!0;a.sa=c;a.yc=!b;gh(a)},ih=function(a){if(a.Vb){if(!a.hf)throw new hh(a);a.hf=!1}};ch.prototype.callback=function(a){ih(this);jh(a);fh(this,!0,a)};var dh=function(a,b){ih(a);jh(b);fh(a,!1,b)},jh=function(a){C(!(a instanceof ch),"An execution sequence may not be initiated with a blocking Deferred.")},kh=function(a,b,c){C(!a.Gf,"Blocking Deferreds can not be re-used");a.wd.push([b,c,void 0]);a.Vb&&gh(a)};
|
|
ch.prototype.then=function(a,b,c){var d,e,f=new xg(function(g,h){d=g;e=h});kh(this,d,function(g){g instanceof eh?f.cancel():e(g)});return f.then(a,b,c)};ch.prototype.$goog_Thenable=!0;
|
|
var lh=function(a){return cb(a.wd,function(b){return Fa(b[1])})},gh=function(a){if(a.Ed&&a.Vb&&lh(a)){var b=a.Ed,c=mh[b];c&&(t.clearTimeout(c.ca),delete mh[b]);a.Ed=0}a.R&&(a.R.Sd--,delete a.R);b=a.sa;for(var d=c=!1;a.wd.length&&!a.Rd;){var e=a.wd.shift(),f=e[0],g=e[1];e=e[2];if(f=a.yc?g:f)try{var h=f.call(e||a.Zf,b);wa(h)&&(a.yc=a.yc&&(h==b||h instanceof Error),a.sa=b=h);if(ug(b)||"function"===typeof t.Promise&&b instanceof t.Promise)d=!0,a.Rd=!0}catch(m){b=m,a.yc=!0,lh(a)||(c=!0)}}a.sa=b;d&&(h=
|
|
y(a.Pf,a,!0),d=y(a.Pf,a,!1),b instanceof ch?(kh(b,h,d),b.Gf=!0):b.then(h,d));c&&(b=new nh(b),mh[b.ca]=b,a.Ed=b.ca)},hh=function(){Pa.call(this)};B(hh,Pa);hh.prototype.message="Deferred has already fired";hh.prototype.name="AlreadyCalledError";var eh=function(){Pa.call(this)};B(eh,Pa);eh.prototype.message="Deferred was canceled";eh.prototype.name="CanceledError";var nh=function(a){this.ca=t.setTimeout(y(this.oi,this),0);this.cd=a};
|
|
nh.prototype.oi=function(){C(mh[this.ca],"Cannot throw an error that is not scheduled.");delete mh[this.ca];throw this.cd;};var mh={};var rh=function(a){var b={},c=b.document||document,d=ec(a).toString(),e=document.createElement("SCRIPT"),f={eh:e,Oc:void 0},g=new ch(f),h=null,m=null!=b.timeout?b.timeout:5E3;0<m&&(h=window.setTimeout(function(){oh(e,!0);dh(g,new ph(1,"Timeout reached for loading script "+d))},m),f.Oc=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(oh(e,b.Ai||!1,h),g.callback(null))};e.onerror=function(){oh(e,!0,h);dh(g,new ph(0,"Error while loading script "+
|
|
d))};f=b.attributes||{};Tb(f,{type:"text/javascript",charset:"UTF-8"});Tg(e,f);wc(e,a);qh(c).appendChild(e)},qh=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},bh=function(){if(this&&this.eh){var a=this.eh;a&&"SCRIPT"==a.tagName&&oh(a,!0,this.Oc)}},oh=function(a,b,c){null!=c&&t.clearTimeout(c);a.onload=Aa;a.onerror=Aa;a.onreadystatechange=Aa;b&&window.setTimeout(function(){Yg(a)},0)},ph=function(a,b){var c="Jsloader error (code #"+a+")";
|
|
b&&(c+=": "+b);Pa.call(this,c);this.code=a};B(ph,Pa);var th=function(a){return(new sh(void 0)).X(a)},sh=function(a){this.ud=a};sh.prototype.X=function(a){var b=[];uh(this,a,b);return b.join("")};
|
|
var uh=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(w(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],uh(a,a.ud?a.ud.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),vh(d,c),c.push(":"),uh(a,a.ud?a.ud.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":vh(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);}}},wh={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},xh=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,vh=function(a,b){b.push('"',a.replace(xh,function(c){var d=wh[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),
|
|
wh[c]=d);return d}),'"')};var yh=function(a,b,c){this.reset(a,b,c,void 0,void 0)};yh.prototype.dg=null;var zh=0;yh.prototype.reset=function(a,b,c,d,e){"number"==typeof e||zh++;d||La();this.Cc=a;delete this.dg};yh.prototype.gh=function(a){this.Cc=a};var Ah=function(a){this.bi=a;this.qg=this.Wd=this.Cc=this.R=null},Bh=function(a,b){this.name=a;this.value=b};Bh.prototype.toString=function(){return this.name};var Ch=new Bh("SEVERE",1E3),Dh=new Bh("INFO",800),Eh=new Bh("CONFIG",700),Fh=new Bh("FINE",500);Ah.prototype.getParent=function(){return this.R};Ah.prototype.ng=function(){this.Wd||(this.Wd={});return this.Wd};Ah.prototype.gh=function(a){this.Cc=a};
|
|
var Gh=function(a){if(a.Cc)return a.Cc;if(a.R)return Gh(a.R);Ta("Root logger has no level set.");return null};Ah.prototype.log=function(a,b,c){if(a.value>=Gh(this).value)for(Fa(b)&&(b=b()),a=new yh(a,String(b),this.bi),c&&(a.dg=c),c=this;c;){var d=c,e=a;if(d.qg)for(var f=0;b=d.qg[f];f++)b(e);c=c.getParent()}};Ah.prototype.info=function(a,b){this.log(Dh,a,b)};
|
|
var Hh={},Ih=null,Jh=function(a){Ih||(Ih=new Ah(""),Hh[""]=Ih,Ih.gh(Eh));var b;if(!(b=Hh[a])){b=new Ah(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Jh(a.substr(0,c));c.ng()[d]=b;b.R=c;Hh[a]=b}return b};var Kh=function(a,b){a&&a.log(Fh,b,void 0)};var Lh=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Mh=function(){};Mh.prototype.Kf=null;var Oh=function(a){var b;(b=a.Kf)||(b={},Nh(a)&&(b[0]=!0,b[1]=!0),b=a.Kf=b);return b};var Ph,Qh=function(){};B(Qh,Mh);var Rh=function(a){return(a=Nh(a))?new ActiveXObject(a):new XMLHttpRequest},Nh=function(a){if(!a.vg&&"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.vg=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.vg};Ph=new Qh;var Sh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Th=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 Uh=function(a){td.call(this);this.headers=new Ad;this.Ld=a||null;this.ya=!1;this.Kd=this.s=null;this.Bc=this.Dg=this.md="";this.Ab=this.ye=this.kd=this.je=!1;this.gc=0;this.Bd=null;this.cc="";this.Gd=this.fi=this.sh=!1};B(Uh,td);var Vh=Uh.prototype,Wh=Jh("goog.net.XhrIo");Vh.na=Wh;var Xh=/^https?$/i,Yh=["POST","PUT"],Zh=[];Uh.prototype.Jh=function(){this.Ja();kb(Zh,this)};
|
|
Uh.prototype.send=function(a,b,c,d){if(this.s)throw Error("[goog.net.XhrIo] Object is active with another request="+this.md+"; newUri="+a);b=b?b.toUpperCase():"GET";this.md=a;this.Bc="";this.Dg=b;this.je=!1;this.ya=!0;this.s=this.Ld?Rh(this.Ld):Rh(Ph);this.Kd=this.Ld?Oh(this.Ld):Oh(Ph);this.s.onreadystatechange=y(this.Pg,this);this.fi&&"onprogress"in this.s&&(this.s.onprogress=y(function(f){this.Og(f,!0)},this),this.s.upload&&(this.s.upload.onprogress=y(this.Og,this)));try{Kh(this.na,$h(this,"Opening Xhr")),
|
|
this.ye=!0,this.s.open(b,String(a),!0),this.ye=!1}catch(f){Kh(this.na,$h(this,"Error opening Xhr: "+f.message));this.cd(5,f);return}a=c||"";var e=this.headers.clone();d&&Hd(d,function(f,g){e.set(g,f)});d=gb(e.Ca());c=t.FormData&&a instanceof t.FormData;!hb(Yh,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.s.setRequestHeader(g,f)},this);this.cc&&(this.s.responseType=this.cc);"withCredentials"in this.s&&this.s.withCredentials!==this.sh&&
|
|
(this.s.withCredentials=this.sh);try{ai(this),0<this.gc&&(this.Gd=bi(this.s),Kh(this.na,$h(this,"Will abort after "+this.gc+"ms if incomplete, xhr2 "+this.Gd)),this.Gd?(this.s.timeout=this.gc,this.s.ontimeout=y(this.Oc,this)):this.Bd=Lg(this.Oc,this.gc,this)),Kh(this.na,$h(this,"Sending request")),this.kd=!0,this.s.send(a),this.kd=!1}catch(f){Kh(this.na,$h(this,"Send error: "+f.message)),this.cd(5,f)}};
|
|
var bi=function(a){return Ec&&Oc(9)&&xa(a.timeout)&&wa(a.ontimeout)},fb=function(a){return"content-type"==a.toLowerCase()};Uh.prototype.Oc=function(){"undefined"!=typeof va&&this.s&&(this.Bc="Timed out after "+this.gc+"ms, aborting",Kh(this.na,$h(this,this.Bc)),this.dispatchEvent("timeout"),this.abort(8))};Uh.prototype.cd=function(a,b){this.ya=!1;this.s&&(this.Ab=!0,this.s.abort(),this.Ab=!1);this.Bc=b;ci(this);ei(this)};var ci=function(a){a.je||(a.je=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
Uh.prototype.abort=function(){this.s&&this.ya&&(Kh(this.na,$h(this,"Aborting")),this.ya=!1,this.Ab=!0,this.s.abort(),this.Ab=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ei(this))};Uh.prototype.F=function(){this.s&&(this.ya&&(this.ya=!1,this.Ab=!0,this.s.abort(),this.Ab=!1),ei(this,!0));Uh.H.F.call(this)};Uh.prototype.Pg=function(){this.Ka||(this.ye||this.kd||this.Ab?fi(this):this.di())};Uh.prototype.di=function(){fi(this)};
|
|
var fi=function(a){if(a.ya&&"undefined"!=typeof va)if(a.Kd[1]&&4==a.gb()&&2==a.getStatus())Kh(a.na,$h(a,"Local request error detected and ignored"));else if(a.kd&&4==a.gb())Lg(a.Pg,0,a);else if(a.dispatchEvent("readystatechange"),4==a.gb()){Kh(a.na,$h(a,"Request complete"));a.ya=!1;try{var b=a.getStatus(),c;if(!(c=Lh(b))){var d;if(d=0===b){var e=String(a.md).match(Sh)[1]||null;if(!e&&t.self&&t.self.location){var f=t.self.location.protocol;e=f.substr(0,f.length-1)}d=!Xh.test(e?e.toLowerCase():"")}c=
|
|
d}if(c)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var g=2<a.gb()?a.s.statusText:""}catch(h){Kh(a.na,"Can not get status: "+h.message),g=""}a.Bc=g+" ["+a.getStatus()+"]";ci(a)}}finally{ei(a)}}};Uh.prototype.Og=function(a,b){C("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(gi(a,"progress"));this.dispatchEvent(gi(a,b?"downloadprogress":"uploadprogress"))};
|
|
var gi=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},ei=function(a,b){if(a.s){ai(a);var c=a.s,d=a.Kd[0]?Aa:null;a.s=null;a.Kd=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.na)&&a.log(Ch,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},ai=function(a){a.s&&a.Gd&&(a.s.ontimeout=null);a.Bd&&(t.clearTimeout(a.Bd),a.Bd=null)};Uh.prototype.Ag=function(){return!!this.s};
|
|
Uh.prototype.gb=function(){return this.s?this.s.readyState:0};Uh.prototype.getStatus=function(){try{return 2<this.gb()?this.s.status:-1}catch(a){return-1}};
|
|
var hi=function(a){try{if(!a.s)return null;if("response"in a.s)return a.s.response;switch(a.cc){case "":case "text":return a.s.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.s)return a.s.mozResponseArrayBuffer}var b=a.na;b&&b.log(Ch,"Response type "+a.cc+" is not supported on this browser",void 0);return null}catch(c){return Kh(a.na,"Can not get response: "+c.message),null}};
|
|
Uh.prototype.getResponseHeader=function(a){if(this.s&&4==this.gb())return a=this.s.getResponseHeader(a),null===a?void 0:a};Uh.prototype.getAllResponseHeaders=function(){return this.s&&4==this.gb()?this.s.getAllResponseHeaders()||"":""};
|
|
var ii=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=zc(a[c]),e=d[0];d=d[1];if(u(d)){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return Hb(b,function(g){return g.join(", ")})},$h=function(a,b){return b+" ["+a.Dg+" "+a.md+" "+a.getStatus()+"]"};var ji=function(a,b){this.Ta=this.Mb=this.ib="";this.$b=null;this.ub=this.Xa="";this.ua=this.Vh=!1;if(a instanceof ji){this.ua=wa(b)?b:a.ua;ki(this,a.ib);var c=a.Mb;li(this);this.Mb=c;c=a.Ta;li(this);this.Ta=c;mi(this,a.$b);this.setPath(a.getPath());ni(this,a.wa.clone());a=a.ub;li(this);this.ub=a}else a&&(c=String(a).match(Sh))?(this.ua=!!b,ki(this,c[1]||"",!0),a=c[2]||"",li(this),this.Mb=oi(a),a=c[3]||"",li(this),this.Ta=oi(a,!0),mi(this,c[4]),this.setPath(c[5]||"",!0),ni(this,c[6]||"",!0),a=c[7]||
|
|
"",li(this),this.ub=oi(a)):(this.ua=!!b,this.wa=new pi(null,this.ua))};
|
|
ji.prototype.toString=function(){var a=[],b=this.ib;b&&a.push(qi(b,ri,!0),":");var c=this.Ta;if(c||"file"==b)a.push("//"),(b=this.Mb)&&a.push(qi(b,ri,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.$b,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Ta&&"/"!=c.charAt(0)&&a.push("/"),a.push(qi(c,"/"==c.charAt(0)?si:ti,!0));(c=this.wa.toString())&&a.push("?",c);(c=this.ub)&&a.push("#",qi(c,ui));return a.join("")};
|
|
ji.prototype.resolve=function(a){var b=this.clone(),c=!!a.ib;c?ki(b,a.ib):c=!!a.Mb;if(c){var d=a.Mb;li(b);b.Mb=d}else c=!!a.Ta;c?(d=a.Ta,li(b),b.Ta=d):c=null!=a.$b;d=a.getPath();if(c)mi(b,a.$b);else if(c=!!a.Xa){if("/"!=d.charAt(0))if(this.Ta&&!this.Xa)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.wa.toString();c?ni(b,a.wa.clone()):c=!!a.ub;c&&(a=a.ub,li(b),b.ub=a);return b};ji.prototype.clone=function(){return new ji(this)};
|
|
var ki=function(a,b,c){li(a);a.ib=c?oi(b,!0):b;a.ib&&(a.ib=a.ib.replace(/:$/,""))},mi=function(a,b){li(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.$b=b}else a.$b=null};ji.prototype.getPath=function(){return this.Xa};ji.prototype.setPath=function(a,b){li(this);this.Xa=b?oi(a,!0):a;return this};var ni=function(a,b,c){li(a);b instanceof pi?(a.wa=b,a.wa.ef(a.ua)):(c||(b=qi(b,vi)),a.wa=new pi(b,a.ua))};ji.prototype.getQuery=function(){return this.wa.toString()};
|
|
ji.prototype.removeParameter=function(a){li(this);this.wa.remove(a);return this};var li=function(a){if(a.Vh)throw Error("Tried to modify a read-only Uri");};ji.prototype.ef=function(a){this.ua=a;this.wa&&this.wa.ef(a)};
|
|
var wi=function(a){return a instanceof ji?a.clone():new ji(a,void 0)},oi=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},qi=function(a,b,c){return u(a)?(a=encodeURI(a).replace(b,xi),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},xi=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},ri=/[#\/\?@]/g,ti=/[#\?:]/g,si=/[#\?]/g,vi=/[#\?@]/g,ui=/#/g,pi=function(a,b){this.L=this.O=null;this.qa=a||null;this.ua=!!b},yi=function(a){a.O||
|
|
(a.O=new Ad,a.L=0,a.qa&&Th(a.qa,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};k=pi.prototype;k.N=function(){yi(this);return this.L};k.add=function(a,b){yi(this);this.qa=null;a=zi(this,a);var c=this.O.get(a);c||this.O.set(a,c=[]);c.push(b);this.L=Ua(this.L)+1;return this};k.remove=function(a){yi(this);a=zi(this,a);return this.O.cb(a)?(this.qa=null,this.L=Ua(this.L)-this.O.get(a).length,this.O.remove(a)):!1};k.clear=function(){this.O=this.qa=null;this.L=0};
|
|
k.isEmpty=function(){yi(this);return 0==this.L};k.cb=function(a){yi(this);a=zi(this,a);return this.O.cb(a)};k.qc=function(a){var b=this.T();return hb(b,a)};k.forEach=function(a,b){yi(this);this.O.forEach(function(c,d){$a(c,function(e){a.call(b,e,d,this)},this)},this)};k.Ca=function(){yi(this);for(var a=this.O.T(),b=this.O.Ca(),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){yi(this);var b=[];if(u(a))this.cb(a)&&(b=lb(b,this.O.get(zi(this,a))));else{a=this.O.T();for(var c=0;c<a.length;c++)b=lb(b,a[c])}return b};k.set=function(a,b){yi(this);this.qa=null;a=zi(this,a);this.cb(a)&&(this.L=Ua(this.L)-this.O.get(a).length);this.O.set(a,[b]);this.L=Ua(this.L)+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.O.set(zi(this,a),mb(b)),this.L=Ua(this.L)+b.length)};k.toString=function(){if(this.qa)return this.qa;if(!this.O)return"";for(var a=[],b=this.O.Ca(),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 pi;a.qa=this.qa;this.O&&(a.O=this.O.clone(),a.L=this.L);return a};var zi=function(a,b){b=String(b);a.ua&&(b=b.toLowerCase());return b};pi.prototype.ef=function(a){a&&!this.ua&&(yi(this),this.qa=null,this.O.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ua=a};pi.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Hd(arguments[b],function(c,d){this.add(d,c)},this)};var Ai,J=function(a,b){Bi();this.callback=a;this.W=new Ci(!a,b)},K=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},Di=function(){return"projects/"+Ai};k=J.prototype;k.kc=function(){return new Sf(this.W)};k.P=function(){return new Uf(this.W)};k.Da=function(){return new $f(this.W)};k.value=function(){return new cg(this.W)};k.maps=function(){return new Zf(this.W)};k.map=function(){return new Yf(this.W)};
|
|
k.image=function(){return new Xf(this.W)};k.table=function(){return new ag(this.W)};k.video=function(){return new eg(this.W)};var Ci=function(a,b){this.sync=a=void 0===a?!1:a;this.$g=null!=b?b:a?5:10;return this};n(Ci,ie);
|
|
Ci.prototype.send=function(a,b){var c=this;he(a);var d=a.path||"",e=Ei()+d,f=L(a.A||{}),g=a.body?JSON.stringify(a.body):void 0;if(this.sync){d=N(e,f,void 0,a.B,g,this.$g);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){N(e,f,function(q,v){v?p(v):m(q)},a.B,g,c.$g)})).then(function(m){return b?Ud(b,m):m})};var Gi=function(a){J.call(this,a);this.W=new Fi};n(Gi,J);
|
|
Gi.prototype.send=function(a,b){var c=this,d=Ei()+"/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?(N(d,null,function(g,h){return c.callback(h?g:f(g),h)},"multipart/mixed; boundary=batch_EARTHENGINE_batch",e),null):f(N(d,null,void 0,"multipart/mixed; boundary=batch_EARTHENGINE_batch",e))};var Fi=function(){return ie.apply(this,arguments)||this};n(Fi,ie);
|
|
Fi.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=Hi();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 Ii=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"))}},Ei=function(){var a=Ji.replace(/\/api$/,"");return"window"in t&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},Pi=function(a,b,c){Ki&&Li&&Ki({client_id:String(Li),
|
|
immediate:!0,scope:Mi.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if(O&&"window"in t)try{Ni(function(){try{t.gapi.auth.setToken(d),Oi(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Oi(a,b,d)})},Hi=function(){Qi&&0<=La()-Qi&&(Qi=Ri=null);return Ri},Si=function(a,b){Li=a;Mi=b},Bi=function(a,b,c){null!=a?Ji=a:Ti||(Ji="https://earthengine.googleapis.com/api");null!=b?Ui=b:Ti||(Ui="https://earthengine.googleapis.com");void 0!==c&&(Vi=c);O&&(Ai=Ai||"earthengine-legacy");
|
|
Ti=!0},N=function(a,b,c,d,e,f){Bi();var g=Wi,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=Hi();if(null!=m)h.Authorization=m;else if(c&&Ki&&Li)return Pi(function(){Xi(g,function(){N(a,b,c,d)})}),null;b=b?b.clone():new pi;null!=Yi&&b.add("key",Yi);O?(g&&(h["X-Earth-Engine-Computation-Profile"]="1"),Ai&&"earthengine-legacy"!==Ai&&(h["X-Goog-User-Project"]=Ai)):g&&b.add("profiling","1");b=Zi(b,a);null!=
|
|
Vi&&(h["X-XSRF-Token"]=Vi);null!=$i&&(h["X-Earth-Engine-App-ID-Token"]=$i);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("/")?Ji+a:a;if(c)return aj.push(bj(e,c,d,m,h,f)),cj.oe(),null;p=function(z,E){this.setRequestHeader&&this.setRequestHeader(E,z)};var q=0;for(f=null!=f?f:5;;){var v=Rh(Ph);v.open(d,e,!1);Fb(h,p,v);v.send(m);if(429!=v.status||q>f)break;q++}return dj(v.status,function(z){try{return v.getResponseHeader(z)}catch(E){return null}},
|
|
v.responseText,g)},bj=function(a,b,c,d,e,f){var g=0,h={url:a,method:c,content:d,headers:e},m=Wi,p=null!=f?f:10;h.callback=function(q){q=q.target;if(429==q.getStatus()&&g<p)return g++,setTimeout(function(){aj.push(h);cj.oe()},Math.min(12E4,1E3*Math.pow(2,g))),null;var v=dj,z=q.getStatus(),E=y(q.getResponseHeader,q);try{var M=q.s?q.s.responseText:""}catch(ba){Kh(q.na,"Can not get responseText: "+ba.message),M=""}return v(z,E,M,m,b)};return h},Xi=function(a,b){var c=Wi;try{Wi=a,b.call(void 0)}finally{Wi=
|
|
c}},dj=function(a,b,c,d,e){var f=d?b("X-Earth-Engine-Computation-Profile"):"";f&&d&&d(f);var g=function(E){return O?E:E.data},h=function(E){try{var M=JSON.parse(E);return x(M)&&"error"in M&&"message"in M.error?M.error.message:{parsed:M}}catch(ba){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 v=[];Ii(b,c,function(E,M,ba){ba=h(ba);ba.parsed&&(q[E]=g(ba.parsed));(M=(ba.parsed?"":ba)||m(M))&&v.push(E+": "+M)});v.length&&(p=v.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);},Ni=function(a){var b=function(){t.gapi.config.update("client/cors",
|
|
!0);Ki||(Ki=t.gapi.auth.authorize);a()};if(x(t.gapi)&&x(t.gapi.auth)&&Fa(t.gapi.auth.authorize))b();else{for(var c=La().toString(36);c in t;)c+="_";t[c]=function(){delete t[c];b()};rh(ic({onload:c}))}},Oi=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(Pi,.9*c);void 0!==d.unref&&d.unref();Qi=La()+c}Ri=b;a&&a()}else b&&b(c.error||"Unknown error.")},L=function(a){var b=new pi;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},aj=[],cj=new Mg(function(){var a=aj.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var f=ej,g=new Uh;Zh.push(g);c&&g.Ma("complete",c);g.Fc("ready",g.Jh);f&&(g.gc=Math.max(0,f));g.send(b,d,e,a)}0==aj.length||cj.oe()},350),Ji=null,Ui=null,Vi=null,$i=null,Zi=Vb,Ri=null,Qi=null,Li=null,Mi=[],Ki=null,fc=new Yb(Wb,"https://apis.google.com/js/client.js?onload=%{onload}"),Yi=null,
|
|
O=!1,Ti=!1,ej=0,Wi=null;var fj=function(){},gj=function(a){if(void 0===a||null===a)a=Qd;return new oe({pb:a})},hj=function(a){return new oe({$a:a})},ij=function(a){return new oe({nb:new ne({values:a})})},jj=function(a){return new oe({rb:new Ee({values:a})})},kj=function(a,b){return new oe({eb:new df({functionName:a,arguments:b})})},lj=function(a,b){return new oe({eb:new df({fb:a,arguments:b})})},mj=function(a,b){return new oe({vb:new cf({lc:a,body:b})})},nj=function(a){if(!a)return"AUTO_JPEG_PNG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";
|
|
case "AUTO":return"AUTO_JPEG_PNG";case "TIF":case "TIFF":case "GEOTIF":case "GEOTIFF":return"GEO_TIFF";case "TF_RECORD":case "TFRECORD":return"TF_RECORD_IMAGE";case "NUMPY":return"NPY";default:return a}},oj=function(a){if(!a)return"CSV";a=a.toUpperCase();switch(a){case "TF_RECORD":case "TFRECORD":return"TF_RECORD_TABLE";case "JSON":case "GEOJSON":return"GEO_JSON";default:return a}},pj=function(a){if(!a)return"VERTICAL";a=a.toUpperCase();if("HORIZONTAL"!==a||"VERTICAL"!==a)throw Error('Orientation must be "horizontal" or "vertical"');
|
|
return a},qj=function(a){if(!a)return[];if("string"===typeof a)return a.split(",");if(w(a))return a;throw Error("Invalid band list "+a);},tj=function(a){var b=new Ne,c=!1;"palette"in a&&(c=a.palette,b.Ic="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.Ic?b.Ic.length-1:255;d=rj(a,"bias","gain").map(function(f){var g=-f.bias/f.gain;return{min:g,max:e/f.gain+g}})}else if("min"in
|
|
a||"max"in a)d=rj(a,"min","max");0!==d.length&&(b.We=d.map(function(f){return new Fe(f)}),c=!0);a=sj(a.gamma);if(1<a.length)throw Error("Only one gamma value is supported");1===a.length&&(b.gamma=a[0],c=!0);return c?b:null},sj=function(a){return a?a.split(",").map(Number):[]},rj=function(a,b,c){var d=sj(a[b]),e=sj(a[c]);if(0===d.length)return e.map(function(f){var g={};return g[b]=0,g[c]=f,g});if(0===e.length)return d.map(function(f){var g={};return g[b]=f,g[c]=1,g});if(d.length!==e.length)throw Error("Length of "+
|
|
b+" and "+c+" must match.");return d.map(function(f,g){var h={};return h[b]=f,h[c]=e[g],h})},yj=function(a){var b=function(g){var h={};h.description=g.description||"";h.type=g.type||"";null!=g.Wc&&(h.name=g.Wc);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.$e||"";null!=g.hidden&&(h.hidden=g.hidden);g.deprecated&&(h.deprecated=g.fe);return h},
|
|
d={};a=l(a.kc||[]);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},zj=function(a){return(a=/^(projects\/[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.+/.exec(a))?a[1]:"projects/earthengine-legacy"},Aj=function(a){return/^projects\/[a-z][a-z0-9\-]{4,28}[a-z0-9]\/assets\/.*/.exec(a)?a:/^(users|projects)\/.*/.exec(a)?"projects/earthengine-legacy/assets/"+a:"projects/earthengine-public/assets/"+a},Cj=function(a){return(a.P||[]).map(Bj)},Ej=function(a){return(a.images||
|
|
[]).map(Dj)},Fj=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"}},Bj=function(a){var b=Gj(Fj(a.type),a.name),c=Object.assign({},a.properties||{});a.xa&&(c["system:asset_size"]=Number(a.xa));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.Ga&&(b.version=1E3*Date.parse(a.Ga));b.properties=c;a.bands&&(b.bands=a.bands.map(function(d){var e={id:d.id,crs:d.M.de,dimensions:void 0,crs_transform:void 0};if(d.M){if(null!=d.M.mb){var f=d.M.mb;e.crs_transform=[f.af||0,f.ff||0,f.vf||0,f.gf||0,f.bf||0,f.wf||0]}null!=d.M.dimensions&&(e.dimensions=[d.M.dimensions.width,d.M.dimensions.height])}d.dataType&&(f=
|
|
{type:"PixelType"},f.precision=(d.dataType.precision||"").toLowerCase(),d.dataType.Kc&&(f.min=d.dataType.Kc.min||0,f.max=d.dataType.Kc.max),e.data_type=f);return e}));return b},Hj=function(a){var b=new He,c=Object.assign({},a),d;a=function(e){d=c[e];delete c[e];return d};a("system:asset_size")&&(b.xa=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},Dj=function(a){return Gj("Image",a.name)},Gj=function(a,b){var c={};c.type=a;null!=b&&(a=b.split("/"),c.id="projects"===a[0]&&"assets"===a[2]?a.slice(3).join("/"):b);return c},Jj=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=Ij(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},Ij=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("],[")+
|
|
"]]]}"},Kj=function(a){var b={};(a.Xc||[]).forEach(function(f){b[f.dc]=f.Db});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},Lj=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=[{dc:"roles/owner",Db:b("owners")},{dc:"roles/viewer",Db:b("readers").concat(c)},{dc:"roles/editor",Db:b("writers")}].map(function(d){return new se(d)});return new If({Xc:b.filter(function(d){return d.Db.length}),ke:null})},Mj=function(a){return"projects/earthengine-legacy/operations/"+a},Nj=function(a){var b=/^.*operations\/(.*)$/.exec(a);return b?b[1]:a},Oj=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(Hf,a.Le||{});null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.ce);c("update_timestamp_ms",e.Ga);c("start_timestamp_ms",e.startTime);a.done&&null!=a.error&&(b.error_message=a.error.message);
|
|
null!=a.name&&(b.id=Nj(a.name),b.name=a.name);b.task_type=e.type||"UNKNOWN";b.output_url=e.ge;b.source_url=e.cf;return b},Pj=function(a){var b={started:"OK"};a.name&&(b.taskId=Nj(a.name),b.name=a.name);a.error&&(b.note=a.error.message);return b},Qj=function(a){return a.primaryPath?[a.primaryPath].concat(ca(a.additionalPaths||[])):null},Tj=function(a){var b=function(d){var e=Ud(vf,d);e.Lb=Qj(d);return e},c=Ud(qf,a);c.name=Aj(a.id);c.tilesets=(a.tilesets||[]).map(function(d){var e=Ud(tf,d);e.sources=
|
|
(d.sources||[]).map(b);return e});c.bands=(a.bands||[]).map(function(d){var e=Ud(rf,d);e.missingData=Rj(d.missingData);return e});c.missingData=Rj(a.missingData);c.He=rb((a.tilesets||[]).map(Sj));c.pyramidingPolicy=a.pyramidingPolicy||null;return c},Sj=function(a){var b=[];if(!w(a.fileBands))return b;var c=function(d){var e=[];null!=d&&w(d.bandId)&&(e=d.bandId.map(function(f){return f||""}));return new sf({fc: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},Uj=function(a){var b=Ud(yf,a);b.name=Aj(a.id);b.sources=(a.sources||[]).map(function(c){var d=Ud(Mf,c);d.Lb=Qj(c);c.maxError&&(d.Bb=c.maxError);return d});return b},Rj=function(a){if(null==a)return null;var b=new of({values:[]});null!=a.value&&"number"===typeof a.value&&b.values.push(a.value);w(a.values)&&a.values.map(function(c){"number"===typeof c&&b.values.push(c)});return 0==b.values.length?null:b};var Vj=function(){this.bb=-1};var Wj=function(){this.bb=64;this.Y=Array(4);this.Fh=Array(this.bb);this.Dd=this.oc=0;this.reset()};B(Wj,Vj);Wj.prototype.reset=function(){this.Y[0]=1732584193;this.Y[1]=4023233417;this.Y[2]=2562383102;this.Y[3]=271733878;this.Dd=this.oc=0};
|
|
var Xj=function(a,b,c){c||(c=0);var d=Array(16);if(u(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};
|
|
Wj.prototype.update=function(a,b){wa(b)||(b=a.length);for(var c=b-this.bb,d=this.Fh,e=this.oc,f=0;f<b;){if(0==e)for(;f<=c;)Xj(this,a,f),f+=this.bb;if(u(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.bb){Xj(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.bb){Xj(this,d);e=0;break}}this.oc=e;this.Dd+=b};
|
|
Wj.prototype.digest=function(){var a=Array((56>this.oc?this.bb:2*this.bb)-this.oc);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.Dd;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 Yj=function(a){this.Tc="__ee_hash__";this.ld=!1!==a;this.Na=[];this.ta={};this.xf=[];this.hd=new WeakMap};A("ee.Serializer",Yj);var Zj=new sh,ak=new Wj,ck=function(a,b){return bk(new Yj(void 0!==b?b:!0),a)};A("ee.Serializer.encode",ck);var dk=function(a){return Zj.X(ck(a))};A("ee.Serializer.toJSON",dk);var fk=function(a){return ek(ck(a,!1))};A("ee.Serializer.toReadableJSON",fk);
|
|
var ek=function(a){return"JSON"in t?t.JSON.stringify(a,null," "):Zj.X(a)},bk=function(a,b){b=a.bd(b);a.ld&&(b=x(b)&&"ValueRef"==b.type&&1==a.Na.length?a.Na[0][1]:{type:"CompoundValue",scope:a.Na,value:b},a.Na=[],$a(a.xf,y(function(c){delete c[this.Tc]},a)),a.xf=[],a.ta={});return b};
|
|
Yj.prototype.bd=function(a){if(void 0===a)throw Error("Can't encode an undefined value.");var b=x(a)?a[this.Tc]:null;if(this.ld&&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(Ea(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof fj){var c=a.encode(y(this.bd,this));if(!(w(c)||x(c)&&"ArgumentRef"!=c.type))return c}else if(w(a))c=bb(a,function(e){return this.bd(e)},
|
|
this);else if(x(a)&&!Fa(a))c=Hb(a,function(e){if(!Fa(e))return this.bd(e)},this),Pb(c,this.Tc),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.ld){b=gk(c);if(this.ta[b])var d=this.ta[b];else d=String(this.Na.length),this.Na.push([d,c]),this.ta[b]=d;a[this.Tc]=b;this.xf.push(a);return{type:"ValueRef",value:d}}return c};var gk=function(a){ak.reset();ak.update(Zj.X(a));return ak.digest().toString()},ik=function(a){return hk(new Yj(!0),a)};
|
|
A("ee.Serializer.encodeCloudApi",ik);
|
|
var jk=function(a){a=hk(new Yj(!1),a);var b=a.values,c=function(d){if(!x(d))return d;var e=w(d)?[]:{},f=d instanceof Object.getPrototypeOf(oe);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.lc,body:c(b[h.body])}:"functionInvocationValue"===g&&null!=h.fb?{arguments:Hb(h.arguments,c),functionReference:c(b[h.fb])}:"constantValue"===g?h===Qd?null:h:c(h)):
|
|
e[g]=c(h)}return e};return a.result&&c(b[a.result])};A("ee.Serializer.encodeCloudApiPretty",jk);var kk=function(a){return ek(jk(a))};A("ee.Serializer.toReadableCloudApiJSON",kk);
|
|
var hk=function(a,b){try{var c=lk(a,b),d=new mk(c,a.Na,a.ld),e=nk(d,d.dh);return new ye({result:e,values:d.Rg})}finally{a.hd=new WeakMap,a.ta={},a.Na=[]}},lk=function(a,b){var c=function(e){var f=gk(e);if(a.ta[f])return a.ta[f];var g=String(a.Na.length);a.Na.push([g,e]);a.ta[f]=g;x(b)&&a.hd.set(b,f);return g};if(x(b)&&a.ta[a.hd.get(b)])return a.ta[a.hd.get(b)];if(null===b||"boolean"===typeof b||"string"===typeof b||"number"===typeof b)return c(gj(b));if(Ea(b))return c(kj("Date",{value:gj(Math.floor(b.getTime()))}));
|
|
if(b instanceof fj)return c(b.pa(function(e){return lk(a,e)}));if(w(b))return c(ij(b.map(function(e){return hj(lk(a,e))})));if(x(b)&&!Fa(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=hj(lk(a,b[e]))});return c(jj(d))}throw Error("Can't encode object: "+b);},mk=function(a,b,c){var d=this;this.dh=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.Wg=c?ok(this):null;this.Rg={};this.Xe={};this.ci=0},nk=function(a,b){if(b in a.Xe)return a.Xe[b];var c=String(a.ci++);a.Xe[b]=
|
|
c;a.Rg[c]=pk(a,a.values[b],0);return c},pk=function(a,b,c){var d=function(p){return null!==p.pb},e=function(p){return p===Qd?null:p};if(d(b)||null!=b.Be||null!=b.Vd||null!=b.mc)return b;if(null!=b.$a)return d=a.values[b.$a],null===a.Wg||50>c&&1===a.Wg[b.$a]?pk(a,d,c):qk(d)?d:hj(nk(a,b.$a));if(null!=b.nb){var f=b.nb.values.map(function(p){return pk(a,p,c+3)});return f.every(d)?gj(f.map(function(p){return e(p.pb)})):ij(f)}if(null!=b.rb){f={};var g={};b=l(Object.entries(b.rb.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]=pk(a,m,c+3);null!==g&&d(f[h])?g[h]=e(f[h].pb):g=null}return null!==g?gj(g):jj(f)}if(null!=b.vb)return d=b.vb,mj(d.lc||[],nk(a,d.body||""));if(null!=b.eb){d=b.eb;f={};g=l(Object.keys(d.arguments||{}));for(b=g.next();!b.done;b=g.next())b=b.value,f[b]=pk(a,d.arguments[b],c+3);return d.functionName?kj(d.functionName,f):lj(nk(a,d.fb||""),f)}throw Error("Can't optimize value: "+b);},qk=function(a){var b=a.pb;return null!==b?b===Qd||"number"===
|
|
typeof b||"boolean"===typeof b:null!=a.mc},ok=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.nb?e.nb.values.forEach(d):null!=e.rb?Object.values(e.rb.values).forEach(d):null!=e.vb?c(e.vb.body):null!=e.eb?(e=e.eb,null!=e.fb&&c(e.fb),Object.values(e.arguments).forEach(d)):null!=e.$a&&c(e.$a)};c(a.dh);return b};var uk=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=new Pe({m:ik(a.element),description:rk(a.description),ha:null,Ra:null,M:null,Ke:rk(a.maxPixels),K:rk(a.id)}),c=sk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":b.ha=tk(a,c);break;case "ASSET":c=a.pyramidingPolicy||{};try{c=JSON.parse(c)}catch(e){}var d="PYRAMIDING_POLICY_UNSPECIFIED";"string"===typeof c?(d=c,c={}):c[".default"]&&(d=c[".default"],delete c[".default"]);a=new Qe({sb:new Le({name:Aj(a.assetId)}),
|
|
pyramidingPolicy:d,Ve:Ob(c)?null:c});b.Ra=a;break;default:throw Error('Export destination "'+c+'" unknown');}return b},yk=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 Ve({m:ik(a.element),description:rk(a.description),ha:null,Ra:null,selectors:b,Bb:vk(a.maxErrorMeters),K:rk(a.id)});var c=sk(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d=new Xe({ia:null,ga:null,I:oj(a.fileFormat)});
|
|
"GOOGLE_CLOUD_STORAGE"===c?d.ia=wk(a):d.ga=xk(a);b.ha=d;break;case "ASSET":b.Ra=new We({sb:new Le({name:Aj(a.assetId)})});break;default:throw Error('Export destination "'+c+'" unknown');}return b},Ak=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=new af({m:ik(a.element),description:rk(a.description),Ha:new $e({framesPerSecond:vk(a.framesPerSecond),maxFrames:vk(a.maxFrames),maxPixelsPerFrame:rk(a.maxPixels)}),ha:null,K:rk(a.id)});b.ha=zk(a,sk(a));return b},Ck=
|
|
function(a){if(null==a.element)throw Error('"element" not found in params '+a);return new Te({m:ik(a.element),description:rk(a.description),Jb:Bk(a),Ib:tk(a,"GOOGLE_CLOUD_STORAGE"),K:rk(a.id)})},Dk=function(a){if(null==a.element)throw Error('"element" not found in params '+a);return new Ye({m:ik(a.element),description:rk(a.description),Ha:new $e({framesPerSecond:vk(a.framesPerSecond),maxFrames:vk(a.maxFrames),maxPixelsPerFrame:null}),Jb:Bk(a),Ib:zk(a,"GOOGLE_CLOUD_STORAGE"),K:rk(a.id),version:rk(a.version)})};
|
|
function rk(a){return null!=a?String(a):null}function vk(a){return null!=a?Number(a):null}
|
|
var sk=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},Fk=function(a){var b=new pf({Zd:!!a.tfrecordCompressed,Cb:rk(a.tfrecordMaxFileSize),df:!!a.tfrecordSequenceData,Yd:!!a.tfrecordCollapseBands,Je:vk(a.tfrecordMaskedThreshold),defaultValue:vk(a.tfrecordDefaultValue),Fa:Ek(a.tfrecordPatchDimensions),Ge:Ek(a.tfrecordKernelSize),zd:null});a=a.tfrecordTensorDepths;if(null!=a)if(x(a)){var c={};Fb(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.zd=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},tk=function(a,b){var c=new Re({ia:null,ga:null,dd:null,Ad:null,I:nj(a.fileFormat)});"GEO_TIFF"===c.I?c.dd=new ff({Xd:!!a.tiffCloudOptimized,jf:!!a.tiffSkipEmptyFiles,Fa:Ek(a.tiffFileDimensions)}):"TF_RECORD_IMAGE"===c.I&&(c.Ad=Fk(a));"GOOGLE_CLOUD_STORAGE"===
|
|
b?c.ia=wk(a):c.ga=xk(a);return c},zk=function(a,b){var c=new Ze({ia:null,ga:null,I:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ia=wk(a):c.ga=xk(a);return c},Bk=function(a){return new Ue({maxZoom:vk(a.maxZoom),scale:vk(a.scale),minZoom:vk(a.minZoom),kf:!!a.skipEmptyTiles,Fe:rk(a.mapsApiKey),Fa:Ek(a.tileDimensions),mf:vk(a.stride)})},Ek=function(a){if(null==a)return null;var b=new gf({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(w(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(x(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},wk=function(a){return new ef({Td:rk(a.outputBucket),tb:rk(a.outputPrefix),Ud:null,permissions:null})},xk=function(a){return new Ge({qe:rk(a.driveFolder),tb:rk(a.driveFileNamePrefix)})};var Hk=function(a,b){this.Qa=a;this.Hd=b;this.o={};this.nc=!0;if(0<this.Qa.length){for(a=0;a<this.Qa.length;a++){b=this.Qa[a];var c=b[0];this.o[c.toString()]=new Gk(c,b[1])}this.nc=!0}},Ik=function(a){if(a.nc){if(a.Hd){var b=a.o,c;for(c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c].ic;d&&Ik(d)}}}else{a.Qa.length=0;b=Jk(a);b.sort();for(c=0;c<b.length;c++){var e=a.o[b[c]];(d=e.ic)&&Ik(d);a.Qa.push([e.key,e.value])}a.nc=!0}return a.Qa},Kk=function(a){this.ug=0;this.Qa=a};
|
|
Kk.prototype.next=function(){return this.ug<this.Qa.length?{done:!1,value:this.Qa[this.ug++]}:{done:!0,value:void 0}};"undefined"!=typeof Symbol&&(Kk.prototype[Symbol.iterator]=function(){return this});k=Hk.prototype;k.getLength=function(){return Jk(this).length};k.clear=function(){this.o={};this.nc=!1};k.entries=function(){var a=[],b=Jk(this);b.sort();for(var c=0;c<b.length;c++){var d=this.o[b[c]];a.push([d.key,Lk(this,d)])}return new Kk(a)};
|
|
k.keys=function(){var a=[],b=Jk(this);b.sort();for(var c=0;c<b.length;c++)a.push(this.o[b[c]].key);return new Kk(a)};k.values=function(){var a=[],b=Jk(this);b.sort();for(var c=0;c<b.length;c++)a.push(Lk(this,this.o[b[c]]));return new Kk(a)};k.forEach=function(a,b){var c=Jk(this);c.sort();for(var d=0;d<c.length;d++){var e=this.o[c[d]];a.call(b,Lk(this,e),e.key,this)}};k.set=function(a,b){var c=new Gk(a);this.Hd?(c.ic=b,c.value=Ik(b)):c.value=b;this.o[a.toString()]=c;this.nc=!1;return this};
|
|
var Lk=function(a,b){return a.Hd?(b.ic||(b.ic=new a.Hd(b.value)),b.ic):b.value};Hk.prototype.get=function(a){if(a=this.o[a.toString()])return Lk(this,a)};Hk.prototype.has=function(a){return a.toString()in this.o};var Jk=function(a){a=a.o;var b=[],c;for(c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.push(c);return b},Gk=function(a,b){this.key=a;this.value=b;this.ic=void 0};Object.freeze&&Object.freeze([]);var Nk=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];O&&f.push("https://www.googleapis.com/auth/cloud-platform");d&&(nb(f,d),pb(f));Si(a,f);null===a?Qi=Ri=null:Ni(function(){Pi(b,c,e||Ka(Mk,b,c))})};A("ee.data.authenticateViaOauth",Nk);var Ok=function(a,b,c,d,e){Nk(a,b,c,d,e)};A("ee.data.authenticate",Ok);var Mk=function(a,b){t.gapi.auth.authorize({client_id:Li,immediate:!1,scope:Mi.join(" ")},Ka(Oi,a,b))};A("ee.data.authenticateViaPopup",Mk);
|
|
var Pk=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"];O&&e.push("https://www.googleapis.com/auth/cloud-platform");d&&(nb(e,d),pb(e));Si(a.client_email,e);var f=new google.auth.JWT(a.client_email,null,a.private_key,e,null);Ki=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})})};Pi(b,c)};A("ee.data.authenticateViaPrivateKey",Pk);var Qk=[];Qk.push("setApiKey");Qk.push("setProject");Qk.push("getProject");Qk.push("setCloudApiEnabled");Qk.push("getCloudApiEnabled");A("ee.data.setExpressionAugmenter",function(a){Rk=a||Vb});var Rk=Vb;A("ee.data.setDeadline",function(a){ej=a});A("ee.data.setParamAugmenter",function(a){Zi=a||Vb});
|
|
var Sk=function(a){if(O)return a=new J(a),K(a,a.kc().list(Di(),{prettyPrint:!1}).then(yj));var b=N("/algorithms",null,a,"GET");return a?null:b},Uk=function(a,b){if(O){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 Me({name:null,m:Rk(ik(a.image)),I:nj(a.format),ea:qj(a.bands),Nb:tj(a)});var c=new J(b);return K(c,c.maps().create(Di(),a,{fields:["name"]}).then(function(e){var f=Yi;return Tk(e.name,
|
|
"","/v1alpha/{}/tiles",f?"?key="+f:"")}))}a=Qb(a);"string"!==typeof a.image&&(a.image=a.image.X());var d=function(e){return Tk(e.mapid,e.token,"/map/{}","?token={}")};return b?(N("/mapid",L(a),function(e,f){return b(e&&d(e),f)}),null):d(N("/mapid",L(a)))};A("ee.data.getMapId",Uk);var Vk=function(a,b,c,d){return a.formatTileUrl(b,c,d)};A("ee.data.getTileUrl",Vk);
|
|
var Tk=function(a,b,c,d){c=Ui+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}}},Wk=function(a,b){a=Qb(a);return N("/value",L(a),b)};A("ee.data.getValue",Wk);
|
|
var Xk=function(a,b){if(O)return a=Rk(ik(a)),b=new J(b),K(b,dg(b.value(),Di(),new xe({m:a})).then(function(c){return c.result}));a={json:dk(a)};return N("/value",L(a),b)},Yk=function(a,b){if(O){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 Nf({name:null,m:Rk(ik(a.image)),
|
|
I:nj(a.format),ea:qj(a.bands),Nb:tj(a),M:null});b=new J(b);return K(b,(new bg(b.W)).create(Di(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))}a=Qb(a);w(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=L(a).add("getid","1");return N("/thumb",a,b)};A("ee.data.getThumbId",Yk);
|
|
var Zk=function(a,b){if(!O)throw Error("getVideoThumbId is only supported in Cloud API mode.");var c=new $e({framesPerSecond:a.framesPerSecond||null,maxFrames:a.maxFrames||null,maxPixelsPerFrame:a.maxPixelsPerFrame||null});a=new Rf({name:null,m:Rk(ik(a.imageCollection)),I:nj(a.format),Ha:c,M:null});b=new J(b);return K(b,(new gg(b.W)).create(Di(),a,{fields:["name"]}).then(function(d){return{thumbid:d.name,token:""}}))};A("ee.data.getVideoThumbId",Zk);Qk.push("getVideoThumbId");
|
|
var $k=function(a,b){if(!O)throw Error("getFilmstripThumbId is only supported in Cloud API mode.");a=new bf({name:null,m:Rk(ik(a.imageCollection)),I:nj(a.format),orientation:pj(a.orientation),M:null});b=new J(b);return K(b,(new Wf(b.W)).create(Di(),a,{fields:["name"]}).then(function(c){return{thumbid:c.name,token:""}}))};A("ee.data.getFilmstripThumbId",$k);Qk.push("getFilmstripThumbId");
|
|
var al=function(a){if(O){var b=Yi;return Ui+"/v1alpha/"+a.thumbid+":getPixels"+(b?"?key="+b:"")}return Ui+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};A("ee.data.makeThumbUrl",al);var bl=function(a,b){if(O&&b){var c=b;b=function(d,e){return c((d||{}).data||d,e)}}a=Qb(a);a=N("/download",L(a),b);return O?(a||{}).data||a:a};A("ee.data.getDownloadId",bl);var cl=function(a){return Ui+"/api/download?docid="+a.docid+"&token="+a.token};A("ee.data.makeDownloadUrl",cl);
|
|
var dl=function(a,b){if(O&&b){var c=b;b=function(d,e){return c((d||{}).data||d,e)}}a=Qb(a);a=N("/table",L(a),b);return O?(a||{}).data||a:a};A("ee.data.getTableDownloadId",dl);var el=function(a){return Ui+"/api/table?docid="+a.docid+"&token="+a.token};A("ee.data.makeTableDownloadUrl",el);
|
|
var fl=function(a,b){if(O){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=qb(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 N("/newtaskid",L(d),b)};A("ee.data.newTaskId",fl);
|
|
var hl=function(a,b){if(O){var c=gl(a).map(Mj);if(1===c.length)return b=new J(b),K(b,b.Da().get(c[0]).then(function(e){return[Oj(e)]}));b=new Gi(b);var d=b.Da();return b.send(c.map(function(e){return[e,d.get(e)]}),function(e){return c.map(function(f){return Oj(e[f])})})}a="/taskstatus?q="+gl(a).join();return N(a,null,b,"GET")};A("ee.data.getTaskStatus",hl);
|
|
var gl=function(a){if("string"===typeof a)return[a];if(w(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},jl=function(a){return il(void 0,a)};A("ee.data.getTaskList",jl);
|
|
var il=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);N("/tasklist",L(m),function(p,q){q?h(e,q):(nb(e.tasks,p.tasks),!p.next_page_token||a&&e.tasks.length>=a?h(e):d(h,p.next_page_token))},"GET")}if(O)return b?(kl(a,function(h,m){return b(h?{tasks:h.map(Oj)}:null,m)}),null):{tasks:kl(a).map(Oj)};var e={tasks:[]};if(b)return d(b),null;for(var f="";;){f=c(f);var g=N("/tasklist",L(f),void 0,"GET");
|
|
nb(e.tasks,g.tasks);f=g.next_page_token;if(!g.next_page_token||a&&e.tasks.length>=a)break}return e};A("ee.data.getTaskListWithLimit",il);var kl=function(a,b){var c=[],d={pageSize:500},e=function(h){nb(c,h.Da||[]);!h.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.nextPageToken,K(f,g.list(Di(),d).then(e)));return null},f=new J(b?function(h,m){return m&&b(h,m)}:void 0),g=f.Da();K(f,g.list(Di(),d).then(e));return b?null:a?c.slice(0,a):c};Qk.push("listOperations");
|
|
var ll=function(a,b){a=gl(a);var c=new ue;if(1===a.length)b=new J(b),K(b,b.Da().cancel(a[0],c));else{b=new Gi(b);var d=b.Da();b.send(a.map(function(e){return[e,d.cancel(e,c)]}))}};A("ee.data.cancelOperation",ll);Qk.push("cancelOperation");var ml=function(a,b){var c=gl(a).map(Mj);if(!w(a))return a=new J(b),K(a,a.Da().get(c[0]));a=new Gi(b);var d=a.Da();return a.send(c.map(function(e){return[e,d.get(e)]}))};A("ee.data.getOperation",ml);Qk.push("getOperation");
|
|
var ol=function(a,b){return nl(a,"CANCEL",b)};A("ee.data.cancelTask",ol);var nl=function(a,b,c){if(!Lb(pl,b))throw Error("Invalid action: "+b);a=gl(a);return O?(a=a.map(Mj),ll(a,c),null):N("/updatetask",L({id:a,action:b}),c,"POST")};A("ee.data.updateTask",nl);
|
|
var sl=function(a,b,c){if(O){b.id=a;var d=b.type;a=null!=b.sourceUrl?{__source_url__:b.sourceUrl}:{};var e=new J(c);c=function(f){return K(e,f.then(Pj))};switch(d){case "EXPORT_IMAGE":return b=ql(b),b=uk(b),b.m=Rk(b.m,a),c(e.image().Ua(Di(),b));case "EXPORT_FEATURES":return b=yk(b),b.m=Rk(b.m,a),c(e.table().Ua(Di(),b));case "EXPORT_VIDEO":return b=rl(b),b=Ak(b),b.m=Rk(b.m,a),c(e.video().Ua(Di(),b));case "EXPORT_TILES":return b=Ck(b),b.m=Rk(b.m,a),c(e.map().Ua(Di(),b));case "EXPORT_VIDEO_MAP":return b=
|
|
Dk(b),b.m=Rk(b.m,a),c((new fg(e.W)).Ua(Di(),b));default:throw Error("Unable to start processing for task of type "+d);}}b=Qb(b);null!=b.element&&(b.json=b.element.X(),delete b.element);w(b.crs_transform)&&(b.crs_transform=b.crs_transform.toString());b.id=a;return N("/processingrequest",L(b),c)};A("ee.data.startProcessing",sl);
|
|
var ul=function(a,b,c){if(O){b=Tj(b);var d=function(e){return e?Pj(e):null};return d(tl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,request:th(b)};return N("/ingestionrequest",L(a),c)};A("ee.data.startIngestion",ul);
|
|
var tl=function(a,b,c){b=new wf({xe:b,K:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.image()["import"](Di(),b))},vl=function(a,b,c){b=new xf({qf:b,K:a,overwrite:null,description:null});a=new J(c,a?void 0:0);return K(a,a.table()["import"](Di(),b))},wl=function(a,b,c){if(O){b=Uj(b);var d=function(e){return e?Pj(e):null};return d(vl(a,b,c&&function(e,f){return c(d(e),f)}))}a={id:a,tableRequest:th(b)};return N("/ingestionrequest",L(a),c)};A("ee.data.startTableIngestion",wl);
|
|
var xl=function(a,b){return O?(b=new J(b),a=Aj(a),K(b,b.P().get(a,{prettyPrint:!1}).then(Bj))):N("/info",(new pi).add("id",a),b)};A("ee.data.getAsset",xl);Qk.push("getAsset");A("ee.data.getInfo",xl);var yl=function(a,b){if(O){var c=Aj(a.id);if(Object.keys(a).every(function(d){return"id"===d||"num"===d}))return b=new J(b),K(b,b.P().Dc(c,{pageSize:a.num}).then(Cj));a=Jj(a);b=new J(b);return K(b,Vf(b.P(),c,a).then(Ej))}c=L(a);return N("/list",c,b)};A("ee.data.getList",yl);
|
|
var zl=function(a,b,c){b=void 0===b?{}:b;c=new J(c);return K(c,c.P().Dc(a,b))};A("ee.data.listAssets",zl);Qk.push("listAssets");var Al=function(a,b,c){b=void 0===b?{}:b;c=new J(c);return K(c,Vf(c.P(),a,b))};A("ee.data.listImages",Al);Qk.push("listImages");var Bl=function(a,b){b=new J(b);return K(b,(new Tf(b.W)).Dc(a||Di()))};A("ee.data.listBuckets",Bl);Qk.push("listBuckets");var Cl=function(a){return O?(a=new J(a),K(a,(new Tf(a.W)).Dc(Di()).then(Cj))):N("/buckets",null,a,"GET")};
|
|
A("ee.data.getAssetRoots",Cl);var Dl=function(a,b){if(O){var c=zj(a);a="projects/earthengine-legacy"===c?a:void 0;var d=new He({type:"Folder"});b=new J(b);K(b,b.P().create(c,d,{assetId:a}).then(Bj))}else c=L({id:a}),N("/createbucket",c,b)};A("ee.data.createAssetHome",Dl);
|
|
var El=function(a,b,c,d,e){if(O){if(c)throw Error("Asset overwrite not supported.");if("string"===typeof a)throw Error("Asset cannot be specified as string.");c=a.name||b&&Aj(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 He(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 J(e);return K(e,e.P().create(b,a,{assetId:c}).then(Bj))}"string"!==typeof a&&(a=th(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=th(d));return N("/create",L(a),e)};A("ee.data.createAsset",El);var Fl=function(a,b,c){return O?(b=zj(a),a=new He({name:Aj(a),type:"Folder"}),c=new J(c),K(c,c.P().create(b,a).then(Bj))):N("/createfolder",L({id:a,force:b||!1}),c)};A("ee.data.createFolder",Fl);
|
|
var Gl=function(a,b,c){O?(a=Aj(a),b=new Ff({qb:Aj(b)}),c=new J(c),K(c,c.P().move(a,b).then(Bj))):N("/rename",L({sourceId:a,destinationId:b}),c)};A("ee.data.renameAsset",Gl);
|
|
var Hl=function(a,b,c,d){if(O){a=Aj(a);c=new Be({qb:Aj(b),overwrite:null!=c?c:null});d=new J(d);b=Bj;var e=d.P();H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(e.u,{body:c,B:"POST",D:"earthengine.projects.assets.copy",path:"/"+e.w+"/"+a+":copy",A:{"$.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},G:He});K(d,a.then(b))}else a={sourceId:a,destinationId:b},c&&(a.allowOverwrite=
|
|
c),N("/copy",L(a),d)};A("ee.data.copyAsset",Hl);var Il=function(a,b){O?(b=new J(b),K(b,b.P()["delete"](Aj(a)))):N("/delete",L({id:a}),b)};A("ee.data.deleteAsset",Il);
|
|
var Jl=function(a,b){if(O){a=Aj(a);var c=new hf;b=new J(b);var d=b.P(),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,v=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;H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(d.u,{body:c,B:"POST",D:"earthengine.projects.assets.getIamPolicy",path:"/"+d.w+"/"+a+":getIamPolicy",A:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:v,prettyPrint:z,quotaUser:E,uploadType:M,upload_protocol:f},
|
|
G:If});return K(b,a.then(Kj))}return N("/getacl",L({id:a}),b,"GET")};A("ee.data.getAssetAcl",Jl);
|
|
var Kl=function(a,b,c,d){b=new Qf({Pd:b,hc:(c||[]).join(",")});d=new J(d);c=Bj;var e=d.P();a=Aj(a);H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(e.u,{body:b,B:"PATCH",D:"earthengine.projects.assets.patch",path:"/"+e.w+"/"+a,A:{"$.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},G:He});return K(d,a.then(c))};A("ee.data.updateAsset",Kl);
|
|
var Ll=function(a,b,c){if(O){a=Aj(a);b=Lj(b);b=new Lf({Pe:b});c=new J(c);var d=c.P(),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,v=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;H(a,/^projects\/[^/]+\/assets\/.+$/);a=I(d.u,{body:b,B:"POST",D:"earthengine.projects.assets.setIamPolicy",path:"/"+d.w+"/"+a+":setIamPolicy",A:{"$.xgafv":e,access_token:g,alt:h,callback:m,fields:p,key:q,oauth_token:v,prettyPrint:z,quotaUser:E,uploadType:M,
|
|
upload_protocol:f},G:If});K(c,a)}else b={readers:b.readers,writers:b.writers,all_users_can_read:b.all_users_can_read},a={id:a,value:th(b)},N("/setacl",L(a),c)};A("ee.data.setAssetAcl",Ll);
|
|
var Ml=function(a,b,c){if(O){var d=Hj(b);b=d.f().keys.filter(function(e){return"properties"!==e&&G(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+'"'}));Kl(a,d,b,c)}else a={id:a,properties:th(b)},N("/setproperties",L(a),c)};A("ee.data.setAssetProperties",Ml);
|
|
var Nl=function(a,b){if(O){var c=Aj(a);b=new J(b);return K(b,b.P().get(c,{prettyPrint:!1}).then(function(d){if(!(d instanceof He&&d.quota))throw Error(a+" is not a root folder.");d=d.quota;return{asset_count:{usage:Number(d.Qd||0),limit:Number(d.Ie||0)},asset_size:{usage:Number(d.xa||0),limit:Number(d.Cb||0)}}}))}return N("/quota",L({id:a}),b,"GET")};A("ee.data.getAssetRootQuota",Nl);var pl={ti:"CANCEL",zi:"UPDATE"};var P=function(a,b,c){if(!(this instanceof P))return Ol(P,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.C=a;this.args=b;this.S=c||null};B(P,fj);A("ee.ComputedObject",P);P.prototype.evaluate=function(a){if(!a||!Fa(a))throw Error("evaluate() requires a callback function.");Xk(this,a)};P.prototype.evaluate=P.prototype.evaluate;
|
|
P.prototype.V=function(a){return Xk(this,a)};P.prototype.getInfo=P.prototype.V;P.prototype.encode=function(a){if(null===this.C&&null===this.args)return{type:"ArgumentRef",value:this.S};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.C);b["string"===typeof a?"functionName":"function"]=a;return b};
|
|
P.prototype.pa=function(a){if(null===this.C&&null===this.args){if(null===this.S)throw Error("Internal error: function argument not initialized.");return new oe({mc:this.S})}var b={},c;for(c in this.args)void 0!==this.args[c]&&(b[c]=hj(a(this.args[c])));return"string"===typeof this.C?kj(String(this.C),b):this.C.ie(a,b)};P.prototype.X=function(){return dk(this)};P.prototype.serialize=P.prototype.X;P.prototype.toString=function(){return"ee."+this.name()+"("+fk(this)+")"};
|
|
A("ee.ComputedObject.prototype.toString",P.prototype.toString);P.prototype.name=function(){return"ComputedObject"};P.prototype.yf=function(a,b){var c=mb(arguments);c[0]=this;a.apply(t,c);return this};P.prototype.aside=P.prototype.yf;var Pl=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.C=b.C;a.args=b.args;a.S=b.S;return a},Ol=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Ql={},Rl=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}},Sl=function(a){return"number"===typeof a||a instanceof P&&"Number"==a.name()},Tl=function(a){return"string"===typeof a||a instanceof P&&"String"==a.name()},Ul=function(a){return x(a)&&
|
|
!Fa(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1},Vl=function(a,b,c){c=void 0===c?!1:c;return 1===a.length&&Ul(a[0])&&(a=b.args,c&&(a=a.slice(1)),a.length)?!(1===a.length||a[1].optional)||"Dictionary"!==a[0].type:!1};var Wl=function(){if(!(this instanceof Wl))return new Wl};B(Wl,fj);A("ee.Function",Wl);var Xl=Vb;Wl.prototype.call=function(a){return this.apply(Yl(this,Array.prototype.slice.call(arguments,0)))};Wl.prototype.call=Wl.prototype.call;Wl.prototype.apply=function(a){a=new P(this,Zl(this,a));return Xl(a,this.Z().returns)};Wl.prototype.apply=Wl.prototype.apply;
|
|
var $l=function(a,b,c){var d=void 0!==b,e=a.Z();if(Vl(c,e,d)){if(c=Qb(c[0]),d){d=e.args[0].name;if(d in c)throw Error("Named args for "+e.name+" can't contain keyword "+d);c[d]=b}}else c=Yl(a,d?[b].concat(c):c);return a.apply(c)},Zl=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]=Xl(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},Yl=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};
|
|
Wl.prototype.toString=function(a,b){var c=this.Z(),d=[];d.push(a||c.name);d.push("(");d.push(bb(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("")};Wl.prototype.X=function(){return dk(this)};var Q=function(a,b){if(void 0===b)return am(a);if(!(this instanceof Q))return Ol(Q,arguments);this.Oa=Rb(b);this.Oa.name=a};B(Q,Wl);A("ee.ApiFunction",Q);var R=function(a,b){return Wl.prototype.call.apply(am(a),Array.prototype.slice.call(arguments,1))};A("ee.ApiFunction._call",R);var bm=function(a,b){return am(a).apply(b)};A("ee.ApiFunction._apply",bm);Q.prototype.encode=function(){return this.Oa.name};Q.prototype.ie=function(a,b){return kj(this.Oa.name,b)};Q.prototype.Z=function(){return this.Oa};
|
|
var cm=null,dm={},fm=function(){em();return Hb(cm,function(a){return a.Z()})},gm=function(){em();return Gb(cm,function(a,b){return!dm[b]})},am=function(a){var b=hm(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};A("ee.ApiFunction.lookup",am);
|
|
var hm=function(a){em();return cm[a]||null},em=function(a,b){if(cm)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(cm=Hb(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 Q(g,f)}),a&&a())};a?Sk(c):c(Sk())}},im=function(a,b,c,d){em();var e=d||"";Fb(cm,function(f,g){var h=g.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var m=f.Z();dm[g]=!0;var p=!1;m.args.length&&(g=m.args[0].type,p="Object"!=g&&Rl(g,c));
|
|
g=p?a.prototype:a;h in g&&!g[h].signature||(g[h]=function(q){return $l(f,p?this:void 0,Array.prototype.slice.call(arguments,0))},g[h].toString=y(f.toString,f,h,p),g[h].signature=m)}})},jm=function(a){var b=function(c){for(var d in c)Fa(c[d])&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var S=function(a,b){var c=km(a),d=bb(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=x(f)&&!Fa(f)&&!w(f)&&!(f instanceof P);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 Jd(Kb(f));var h=new Jd(d);if(h.zg(g).isEmpty())e[d[0]]=b[0];else{b=
|
|
g.he(h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.T().join(", "));e=Qb(f)}}b=new Jd(Kb(e));c=(new Jd(ab(c,function(m){return 0!=m.lastIndexOf("opt_",0)}))).he(b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.T().join(", "));return e},km=function(a){var b=lm,c=[];t.EXPORTED_FN_INFO?(a=t.EXPORTED_FN_INFO[a.toString()],x(a)||mm(),c=a.paramNames,w(c)||mm()):(a=a.toString().replace(nm,"").match(b),null===a&&mm(),c=(a[1].split(",")||[]).map(function(d){return d.replace(om,
|
|
"")}));return c},mm=function(){throw Error("Failed to locate function parameters.");},nm=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,lm=/^function[^\(]*\(([^\)]*)\)/m,om=/=.*$/;var T=function(a,b,c){P.call(this,a,b,c);pm()};B(T,P);A("ee.Element",T);var qm=!1,pm=function(){qm||(im(T,"Element","Element"),qm=!0)};T.prototype.name=function(){return"Element"};
|
|
T.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Ul(c))a:{b=Kb(c);var d=["properties"];if(Da(b)&&Da(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&&x(c.properties)&&(c=c.properties);if(Ul(c)){b=this;for(var g in c)d=c[g],b=R("Element.set",b,g,d)}else if(c instanceof P&&hm("Element.setMulti"))b=R("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=R("Element.set",b,g,d)}return Pl(this,b)};T.prototype.set=T.prototype.set;var U=function(a,b,c,d){if(!(this instanceof U))return Ol(U,arguments);if(!("type"in a)){var e=S(U,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}rm();e=null!=b||null!=c||null!=d;if(a instanceof P&&!(a instanceof U&&a.Za)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");P.call(this,a.C,a.args,a.S)}else{a instanceof U&&(a=a.encode());if(!sm(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));P.call(this,
|
|
null,null);this.Za=a.type;this.Qf=null!=a.coordinates?Rb(a.coordinates):null;this.mg=a.geometries||null;if(null!=b)this.Fb=b;else if("crs"in a)if(x(a.crs)&&"name"==a.crs.type&&x(a.crs.properties)&&"string"===typeof a.crs.properties.name)this.Fb=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new sh).X(a.crs));this.Wb=c;void 0===this.Wb&&"geodesic"in a&&(this.Wb=!!a.geodesic);this.Ub=d;void 0===this.Ub&&"evenOdd"in a&&(this.Ub=!!a.evenOdd)}};B(U,P);A("ee.Geometry",U);
|
|
var tm=!1,rm=function(){tm||(im(U,"Geometry","Geometry"),tm=!0)},um=function(a,b){if(!(this instanceof um))return vm(um,arguments);var c=wm(um,"Point",1,arguments);if(!(c instanceof P)){var d=c.coordinates;if(!w(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}U.call(this,c)};B(um,U);U.Point=um;var xm=function(a,b){if(!(this instanceof xm))return vm(xm,arguments);U.call(this,wm(xm,"MultiPoint",2,arguments))};B(xm,U);U.MultiPoint=xm;
|
|
var ym=function(a,b,c,d){if(!(this instanceof ym))return vm(ym,arguments);var e=wm(ym,"Rectangle",2,arguments);if(!(e instanceof P)){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"}U.call(this,e)};B(ym,U);U.Rectangle=ym;
|
|
var zm=function(a,b,c,d){if(!(this instanceof zm))return vm(zm,arguments);U.call(this,wm(zm,"LineString",2,arguments))};B(zm,U);U.LineString=zm;var Am=function(a,b,c,d){if(!(this instanceof Am))return vm(Am,arguments);U.call(this,wm(Am,"LinearRing",2,arguments))};B(Am,U);U.LinearRing=Am;var Bm=function(a,b,c,d){if(!(this instanceof Bm))return vm(Bm,arguments);U.call(this,wm(Bm,"MultiLineString",3,arguments))};B(Bm,U);U.MultiLineString=Bm;
|
|
var Cm=function(a,b,c,d,e){if(!(this instanceof Cm))return vm(Cm,arguments);U.call(this,wm(Cm,"Polygon",3,arguments))};B(Cm,U);U.Polygon=Cm;var Dm=function(a,b,c,d,e){if(!(this instanceof Dm))return vm(Dm,arguments);U.call(this,wm(Dm,"MultiPolygon",4,arguments))};B(Dm,U);U.MultiPolygon=Dm;
|
|
U.prototype.encode=function(a){if(!this.Za){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return P.prototype.encode.call(this,a)}a={type:this.Za};"GeometryCollection"==this.Za?a.geometries=this.mg:a.coordinates=this.Qf;null!=this.Fb&&(a.crs={type:"name",properties:{name:this.Fb}});null!=this.Wb&&(a.geodesic=this.Wb);null!=this.Ub&&(a.evenOdd=this.Ub);return a};
|
|
U.prototype.Pc=function(){if(this.C)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return this.encode()};U.prototype.toGeoJSON=U.prototype.Pc;U.prototype.uf=function(){if(this.C)throw Error("Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.");return(new sh).X(this.Pc())};U.prototype.toGeoJSONString=U.prototype.uf;U.prototype.X=function(){return dk(this)};U.prototype.serialize=U.prototype.X;
|
|
U.prototype.toString=function(){return"ee.Geometry("+this.uf()+")"};
|
|
U.prototype.pa=function(a){if(!this.Za){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return P.prototype.pa.call(this,a)}var b={},c="";"GeometryCollection"===this.Za?(b.geometries=this.mg.map(function(e){return new U(e)}),c="GeometryConstructors.MultiGeometry"):(b.coordinates=this.Qf,c="GeometryConstructors."+this.Za);null!=this.Fb&&(b.crs="string"===typeof this.Fb?(new Q("Projection")).call(this.Fb):this.Fb);var d="Point"!==this.Za&&"MultiPoint"!==this.Za;
|
|
null!=this.Wb&&d&&(b.geodesic=this.Wb);null!=this.Ub&&(b.evenOdd=this.Ub);return(new Q(c)).apply(b).pa(a)};
|
|
var sm=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!w(b))return!1;for(a=0;a<b.length;a++)if(!sm(b[a]))return!1;return!0}a=a.coordinates;var c=Em(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)},Em=function(a){if(!w(a))return-1;if(w(a[0])){for(var b=Em(a[0]),c=1;c<a.length;c++)if(Em(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},wm=function(a,b,c,d){db(d,Sl)?a={coordinates:mb(d)}:(a=S(a,d),a.coordinates=a.coords,delete a.coords,a.crs=a.proj,delete a.proj,a=Gb(a,Ca));if(Fm(a.coordinates)||null!=a.crs||null!=a.maxError)return(new Q("GeometryConstructors."+b)).apply(a);a.type=b;d=a.coordinates;if(1>c||4<c)throw Error("Unexpected nesting level.");if(db(d,xa)&&"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;w(e);)e=e[0],f++;for(;f<c;)d=[d],f++;if(Em(d)!=c)throw Error("Invalid geometry");for(e=d;w(e)&&1==e.length;)e=e[0];c=w(e)&&0==e.length?[]:d;a.coordinates=c;(b=hb(["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},Fm=function(a){return w(a)?cb(a,Fm):a instanceof P},vm=function(a,b){var c=function(){};
|
|
c.prototype=a.prototype;c=new c;a=a.apply(c,b);return void 0!==a?a:c};U.prototype.name=function(){return"Geometry"};var V=function(a){if(!(this instanceof V))return Ol(V,arguments);if(a instanceof V)return a;Gm();if(w(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new V(a[0]);P.call(this,new Q("Filter.and"),{filters:a})}else if(a instanceof P)P.call(this,a.C,a.args,a.S);else if(void 0===a)P.call(this,null,null);else throw Error("Invalid argument specified for ee.Filter(): "+a);};B(V,P);A("ee.Filter",V);
|
|
var Hm=!1,Gm=function(){Hm||(im(V,"Filter","Filter"),Hm=!0)},Im={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};V.prototype.Xb=function(){return R("Filter.not",this)};V.prototype.not=V.prototype.Xb;var Jm=function(a,b){var c=S(Jm,arguments);return R("Filter.equals",c.name,c.value)};V.eq=Jm;var Km=function(a,b){var c=S(Km,arguments);return Jm(c.name,c.value).Xb()};V.neq=Km;
|
|
var Lm=function(a,b){var c=S(Lm,arguments);return R("Filter.lessThan",c.name,c.value)};V.lt=Lm;var Mm=function(a,b){var c=S(Mm,arguments);return Lm(c.name,c.value).Xb()};V.gte=Mm;var Nm=function(a,b){var c=S(Nm,arguments);return R("Filter.greaterThan",c.name,c.value)};V.gt=Nm;var Om=function(a,b){var c=S(Om,arguments);return Nm(c.name,c.value).Xb()};V.lte=Om;var Pm=function(a){return R("Filter.and",Array.prototype.slice.call(arguments))};V.and=Pm;var Qm=function(a){return R("Filter.or",Array.prototype.slice.call(arguments))};
|
|
V.or=Qm;var Rm=function(a,b){var c=S(Rm,arguments);c=R("DateRange",c.start,c.end);return bm("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};V.date=Rm;var Sm=function(a,b,c,d){var e=S(Sm,arguments);return bm("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};V.inList=Sm;var Tm=function(a,b){return bm("Filter.intersects",{leftField:".all",rightValue:R("Feature",a),maxError:b})};V.bounds=Tm;
|
|
V.prototype.name=function(){return"Filter"};var Um=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Im))throw Error("Unknown filtering operator: "+b);a=R("Filter."+Im[b],a,c);return d?a.Xb():a};V.metadata=Um;var W=function(a,b,c){T.call(this,a,b,c);Vm()};B(W,T);A("ee.Collection",W);var Wm=!1,Vm=function(){Wm||(im(W,"Collection","Collection"),im(W,"AggregateFeatureCollection","Collection","aggregate_"),Wm=!0)};W.prototype.filter=function(a){a=S(W.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Pl(this,R("Collection.filter",this,a))};W.prototype.filter=W.prototype.filter;
|
|
W.prototype.ne=function(a,b,c){var d=S(W.prototype.ne,arguments);return this.filter(Um(d.name,d.operator,d.value))};W.prototype.filterMetadata=W.prototype.ne;W.prototype.gg=function(a){return this.filter(Tm(a))};W.prototype.filterBounds=W.prototype.gg;W.prototype.me=function(a,b){var c=S(W.prototype.me,arguments);return this.filter(Rm(c.start,c.end))};W.prototype.filterDate=W.prototype.me;
|
|
W.prototype.limit=function(a,b,c){var d=S(W.prototype.limit,arguments);return Pl(this,R("Collection.limit",this,d.max,d.property,d.ascending))};W.prototype.limit=W.prototype.limit;W.prototype.sort=function(a,b){var c=S(W.prototype.sort,arguments);return Pl(this,R("Collection.limit",this,void 0,c.property,c.ascending))};W.prototype.sort=W.prototype.sort;W.prototype.name=function(){return"Collection"};W.prototype.elementType=function(){return T};
|
|
W.prototype.map=function(a,b){var c=this.elementType();return Pl(this,R("Collection.map",this,function(d){return a(new c(d))},b))};W.prototype.map=W.prototype.map;W.prototype.Bg=function(a,b){b=void 0!==b?b:null;var c=this.elementType();return R("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};W.prototype.iterate=W.prototype.Bg;var Xm=function(a,b){if(!(this instanceof Xm))return Ol(Xm,arguments);if(a instanceof Xm){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)");Ym();if(a instanceof U||null===a)T.call(this,new Q("Feature"),{geometry:a,metadata:b||null});else if(a instanceof P)T.call(this,a.C,a.args,a.S);else if("Feature"==a.type){var c=a.properties||{};if("id"in a){if("system:index"in
|
|
c)throw Error('Can\'t specify both "id" and "system:index".');c=Qb(c);c["system:index"]=a.id}T.call(this,new Q("Feature"),{geometry:new U(a.geometry),metadata:c})}else T.call(this,new Q("Feature"),{geometry:new U(a),metadata:b||null})};B(Xm,T);A("ee.Feature",Xm);var Zm=!1,Ym=function(){Zm||(im(Xm,"Feature","Feature"),Zm=!0)};Xm.prototype.V=function(a){return Xm.H.V.call(this,a)};Xm.prototype.getInfo=Xm.prototype.V;
|
|
Xm.prototype.getMap=function(a,b){var c=S(Xm.prototype.getMap,arguments);return R("Collection",[this]).getMap(c.visParams,c.callback)};Xm.prototype.getMap=Xm.prototype.getMap;Xm.prototype.name=function(){return"Feature"};var ql=function(a){var b={},c=$m(a.element,a);c=an(c,a,b);b.element=c;return b},rl=function(a){var b={},c=a.element.map(function(d){d=$m(d,a);return an(d,a,b)});b.element=c;return b},an=function(a,b,c){var d={};Fb(b,function(e,f){switch(f){case "dimensions":f=u(e)?e.split("x").map(Number):w(e)?e:xa(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 ym)){f=e;if(u(e))try{f=JSON.parse(e)}catch(g){f=e.split(/\s*,\s*/).map(Number)}if(w(f)){if(f.some(isNaN))throw Error("Invalid bbox `{bboxArray}`, please specify a list of numbers.");e=new ym(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 U)){f=e;if(u(e))try{f=JSON.parse(e)}catch(g){throw Error('Region string "'+
|
|
e+'" is not valid GeoJSON.');}if(x(f))e=new U(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}});Ob(d)||(d.input=a,a=bm("Image.clipToBoundsAndScale",d));return a},$m=function(a,b){var c=b.crs||"",d=b.crsTransform||b.crs_transform;if(null!=d)a:{var e=d;if(u(e))try{e=JSON.parse(e)}catch(f){}if(w(e)){if(6===e.length&&db(e,xa)){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=bm("Image.reproject",{image:a,crs:c,crsTransform:d}),null!=b.dimensions&&null==b.scale&&null==b.region&&(e=b.dimensions,u(e)&&(e=e.split("x").map(Number)),2===e.length&&(delete b.dimensions,c=(new Q("Projection")).call(c,d),b.region=new ym([0,0,e[0],e[1]],c,!1)))):a=bm("Image.setDefaultProjection",{image:a,crs:c,crsTransform:[1,
|
|
0,0,0,-1,0]});return a},cn=function(a,b){var c={};b=bn(b,c);Ob(b)||(b.image=a,a=bm("Image.visualize",b));c.image=a;return c},bn=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};Fb(a,function(e,f){hb(c,f)?d[f]=e:b[f]=e});return d};var X=function(a){if(!(this instanceof X))return Ol(X,arguments);if(a instanceof X)return a;dn();var b=arguments.length;if(0==b||1==b&&void 0===a)T.call(this,new Q("Image.mask"),{image:new X(0),mask:new X(0)});else if(1==b)if(Sl(a))T.call(this,new Q("Image.constant"),{value:a});else if(Tl(a))T.call(this,new Q("Image.load"),{id:a});else{if(w(a))return en(bb(a,function(d){return new X(d)}));if(a instanceof P)"Array"==a.name()?T.call(this,new Q("Image.constant"),{value:a}):T.call(this,a.C,a.args,a.S);
|
|
else throw Error("Unrecognized argument type to convert to an Image: "+a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Tl(b)&&Sl(c))T.call(this,new Q("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)");};B(X,T);A("ee.Image",X);var fn=!1,dn=function(){fn||(im(X,"Image","Image"),im(X,"Window","Image","focal_"),fn=!0)};
|
|
X.prototype.V=function(a){return X.H.V.call(this,a)};X.prototype.getInfo=X.prototype.V;X.prototype.getMap=function(a,b){var c=this,d=S(X.prototype.getMap,arguments),e=cn(this,d.visParams);if(d.callback){var f=d.callback;Uk(e,function(g,h){g=g?Object.assign(g,{image:c}):void 0;f(g,h)})}else return d=Uk(e),d.image=this,d};X.prototype.getMap=X.prototype.getMap;
|
|
X.prototype.wb=function(a,b){var c=S(X.prototype.wb,arguments),d=c.params?Qb(c.params):{};d.image=this.X();if(c.callback){var e=c.callback;bl(d,function(f,g){f?e(cl(f)):e(null,g)})}else return cl(bl(d))};X.prototype.getDownloadURL=X.prototype.wb;
|
|
X.prototype.te=function(a,b){var c=S(X.prototype.te,arguments);if(O){var d={};var e=an(this,c.params,d);d=cn(e,d)}else if(d=cn(this,c.params),d.region)if(d.region instanceof U&&(d.region=d.region.Pc()),w(d.region)||Ul(d.region))d.region=th(d.region);else if("string"!==typeof d.region)throw Error("The region parameter must be an array or a GeoJSON object.");if(c.callback)Yk(d,function(f,g){var h="";if(void 0===g)try{h=al(f)}catch(m){g=String(m.message)}c.callback(h,g)});else return al(Yk(d))};
|
|
X.prototype.getThumbURL=X.prototype.te;var gn=function(a,b,c){var d=S(gn,arguments);return en([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};X.rgb=gn;var hn=function(a){return en(Array.prototype.slice.call(arguments),null)};X.cat=hn;var en=function(a,b){if(0==a.length)return R("Image.constant",[]);for(var c=new X(a[0]),d=1;d<a.length;d++)c=R("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
|
|
X.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Tl(b[0])||Sl(b[0])){for(var d=0;d<b.length;d++)if(!(Tl(b[d])||Sl(b[d])||b[d]instanceof P))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return bm("Image.select",c)};X.prototype.select=X.prototype.select;
|
|
X.prototype.m=function(a,b){var c=S(X.prototype.m,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 X(f[g])}var h=R("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new Wl;c.encode=function(m){return h.encode(m)};c.ie=function(m,p){return lj(m(h),p)};c.Z=function(){return{name:"",args:bb(d,function(m){return{name:m,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
|
|
X.prototype.expression=X.prototype.m;X.prototype.clip=function(a){try{a=new U(a)}catch(b){}return R("Image.clip",this,a)};X.prototype.clip=X.prototype.clip;X.prototype.Yg=function(a){var b=1!=arguments.length||Tl(arguments[0])?mb(arguments):arguments[0];return R("Image.rename",this,b)};X.prototype.rename=X.prototype.Yg;X.prototype.name=function(){return"Image"};var jn=function(a){if(this instanceof jn){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof jn)return a}else return Ol(jn,arguments);kn();if(w(a))P.call(this,null,null),this.Ec=a;else if(a instanceof P)P.call(this,a.C,a.args,a.S),this.Ec=null;else throw Error("Invalid argument specified for ee.List(): "+a);};B(jn,P);A("ee.List",jn);var ln=!1,kn=function(){ln||(im(jn,"List","List"),ln=!0)};
|
|
jn.prototype.encode=function(a){return w(this.Ec)?bb(this.Ec,function(b){return a(b)}):jn.H.encode.call(this,a)};jn.prototype.pa=function(a){return w(this.Ec)?hj(a(this.Ec)):jn.H.pa.call(this,a)};jn.prototype.name=function(){return"List"};var Y=function(a,b){if(!(this instanceof Y))return Ol(Y,arguments);if(a instanceof Y)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");mn();a instanceof U&&(a=new Xm(a));a instanceof Xm&&(a=[a]);if(Tl(a)){var c={tableId:a};b&&(c.geometryColumn=b);W.call(this,new Q("Collection.loadTable"),c)}else if(w(a))W.call(this,new Q("Collection"),{features:bb(a,function(d){return new Xm(d)})});else if(a instanceof jn)W.call(this,
|
|
new Q("Collection"),{features:a});else if(a instanceof P)W.call(this,a.C,a.args,a.S);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};B(Y,W);A("ee.FeatureCollection",Y);var nn=!1,mn=function(){nn||(im(Y,"FeatureCollection","FeatureCollection"),nn=!0)};Y.prototype.getMap=function(a,b){var c=S(Y.prototype.getMap,arguments),d=bm("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};
|
|
Y.prototype.getMap=Y.prototype.getMap;Y.prototype.V=function(a){return Y.H.V.call(this,a)};Y.prototype.getInfo=Y.prototype.V;Y.prototype.wb=function(a,b,c,d){var e=S(Y.prototype.wb,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;Da(g)&&(g=g.join(","));f.selectors=g}if(e.callback)dl(f,function(h,m){h?e.callback(el(h)):e.callback(null,m)});else return el(dl(f))};Y.prototype.getDownloadURL=Y.prototype.wb;
|
|
Y.prototype.select=function(a,b,c){if(Tl(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(f){return f.select(d)})}var e=S(Y.prototype.select,arguments);return this.map(function(f){return f.select(e)})};Y.prototype.select=Y.prototype.select;Y.prototype.name=function(){return"FeatureCollection"};Y.prototype.elementType=function(){return Xm};var Z=function(a){if(!(this instanceof Z))return Ol(Z,arguments);if(a instanceof Z)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");on();a instanceof X&&(a=[a]);if(Tl(a))W.call(this,new Q("ImageCollection.load"),{id:a});else if(w(a))W.call(this,new Q("ImageCollection.fromImages"),{images:bb(a,function(b){return new X(b)})});else if(a instanceof jn)W.call(this,new Q("ImageCollection.fromImages"),{images:a});else if(a instanceof
|
|
P)W.call(this,a.C,a.args,a.S);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};B(Z,W);A("ee.ImageCollection",Z);var pn=!1,on=function(){pn||(im(Z,"ImageCollection","ImageCollection"),im(Z,"reduce","ImageCollection"),pn=!0)};Z.prototype.re=function(a,b){var c=S(Z.prototype.re,arguments);return qn(this,c,["png","jpg","jpeg"],"filmstrip")};Z.prototype.getFilmstripThumbURL=Z.prototype.re;
|
|
Z.prototype.ue=function(a,b){var c=S(Z.prototype.ue,arguments);return qn(this,c,["gif"],"video")};Z.prototype.getVideoThumbURL=Z.prototype.ue;
|
|
var qn=function(a,b,c,d){var e={};a=a.map(function(h){h=$m(h,b.params);return an(h,b.params,e)});var f={},g=bn(e,f);f.imageCollection=a.map(function(h){g.image=h;return bm("Image.visualize",g)});null!=b.params.dimensions&&(f.dimensions=b.params.dimensions);if(f.format){if(!cb(c,function(h){return h.toLowerCase()==f.format.toLowerCase()}))throw Error("Invalid format specified.");}else f.format=c[0];c=Yk;if(O)switch(d){case "video":c=Zk;break;case "filmstrip":c=$k}if(b.callback)c(f,function(h,m){var p=
|
|
"";if(void 0===m)try{p=al(h)}catch(q){m=String(q.message)}b.callback(p,m)});else return al(c(f))};Z.prototype.getMap=function(a,b){var c=S(Z.prototype.getMap,arguments),d=R("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Z.prototype.getMap=Z.prototype.getMap;Z.prototype.V=function(a){return Z.H.V.call(this,a)};Z.prototype.getInfo=Z.prototype.V;
|
|
Z.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Z.prototype.select=Z.prototype.select;Z.prototype.first=function(){return new X(R("Collection.first",this))};Z.prototype.first=Z.prototype.first;Z.prototype.name=function(){return"ImageCollection"};Z.prototype.elementType=function(){return X};var rn=function(a){this.$d=a;this.id=null},tn=function(a){var b={element:sn(a)};Object.assign(b,a);b=Gb(b,Ca);return new rn(b)};rn.prototype.start=function(a,b){var c=this;C(this.$d,"Task config must be specified for tasks to be started.");if(a){var d=function(){Va(c.id);sl(c.id,c.$d,function(e,f){f?b(f):a()})};this.id?d():fl(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||fl(1)[0],Va(this.id,"Failed to obtain task ID."),sl(this.id,this.$d)};
|
|
rn.prototype.start=rn.prototype.start;var un=function(a,b,c,d,e,f,g,h,m,p){var q=S(un,arguments);q=vn(q,"ASSET","EXPORT_IMAGE");return tn(q)};A("ee.batch.Export.image.toAsset",un);var wn=function(a,b,c,d,e,f,g,h,m,p,q,v,z,E,M){var ba=S(wn,arguments);ba=vn(ba,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return tn(ba)};A("ee.batch.Export.image.toCloudStorage",wn);var xn=function(a,b,c,d,e,f,g,h,m,p,q,v,z,E,M){var ba=S(xn,arguments);ba=vn(ba,"DRIVE","EXPORT_IMAGE");return tn(ba)};
|
|
A("ee.batch.Export.image.toDrive",xn);var yn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(yn,arguments);z=vn(z,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return tn(z)};A("ee.batch.Export.map.toCloudStorage",yn);var zn=function(a,b,c,d,e,f){var g=S(zn,arguments);g=vn(g,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return tn(g)};A("ee.batch.Export.table.toCloudStorage",zn);var An=function(a,b,c,d,e,f){var g=S(An,arguments);g.type="EXPORT_FEATURES";g=vn(g,"DRIVE","EXPORT_FEATURES");return tn(g)};
|
|
A("ee.batch.Export.table.toDrive",An);var Bn=function(a,b,c){var d=S(Bn,arguments);d=vn(d,"ASSET","EXPORT_FEATURES");return tn(d)};A("ee.batch.Export.table.toAsset",Bn);var Cn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(Cn,arguments);z=vn(z,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return tn(z)};A("ee.batch.Export.video.toCloudStorage",Cn);var Dn=function(a,b,c,d,e,f,g,h,m,p,q,v){var z=S(Dn,arguments);z=vn(z,"DRIVE","EXPORT_VIDEO");return tn(z)};A("ee.batch.Export.video.toDrive",Dn);
|
|
var En=function(a,b,c,d,e,f,g,h,m,p,q,v,z,E,M,ba,uj,vj,wj,xj){var di=S(En,arguments);di=vn(di,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return tn(di)};A("ee.batch.Export.videoMap.toCloudStorage",En);
|
|
var sn=function(a){var b=function(d){return d in a},c=Fn.find(b);C(1===eb(Fn,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof X||b instanceof Y||b instanceof Z||b instanceof T))throw Error("Unknown element type provided: "+typeof b+". Expected: ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},vn=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=Gn(e,a),delete e.formatOptions,Object.assign(e,a));e=Hn(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
|
|
b=Hn(e,b);break;case "EXPORT_FEATURES":w(e.selectors)&&(e.selectors=e.selectors.join());e=Hn(e,b);break;case "EXPORT_VIDEO":e=In(e);e=Hn(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=In(e);e.version=e.version||"V2";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||1068,height:e.tileHeight||600};e=Hn(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof U)b=b.Pc();
|
|
else if("string"===typeof b)try{b=Xa(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(!(x(b)&&"type"in b))try{new zm(b)}catch(f){try{new Cm(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=th(b);
|
|
d.region=b}return e},Hn=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=Ba(a.folder);if(!hb(["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},
|
|
Jn={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},Kn={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},In=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},Gn=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=Kn[b];for(var d=Jn[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(!hb(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);w(h)?e[g]=h.join():e[g]=h}return e},Fn=["image","collection"];var Ln=function(a){if(!(this instanceof Ln))return Ol(Ln,arguments);if(a instanceof Ln)return a;Mn();if("number"===typeof a)P.call(this,null,null),this.Gc=a;else if(a instanceof P)P.call(this,a.C,a.args,a.S),this.Gc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};B(Ln,P);A("ee.Number",Ln);var Nn=!1,Mn=function(){Nn||(im(Ln,"Number","Number"),Nn=!0)};Ln.prototype.encode=function(a){return"number"===typeof this.Gc?this.Gc:Ln.H.encode.call(this,a)};
|
|
Ln.prototype.pa=function(a){return"number"===typeof this.Gc?hj(a(this.Gc)):Ln.H.pa.call(this,a)};Ln.prototype.name=function(){return"Number"};var On=function(a){if(!(this instanceof On))return Ol(On,arguments);if(a instanceof On)return a;Pn();if("string"===typeof a)P.call(this,null,null),this.Nc=a;else if(a instanceof P)this.Nc=null,a.C&&"String"==a.C.Z().returns?P.call(this,a.C,a.args,a.S):P.call(this,new Q("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};B(On,P);A("ee.String",On);var Qn=!1,Pn=function(){Qn||(im(On,"String","String"),Qn=!0)};
|
|
On.prototype.encode=function(a){return"string"===typeof this.Nc?this.Nc:On.H.encode.call(this,a)};On.prototype.pa=function(a){return"string"===typeof this.Nc?hj(a(this.Nc)):On.H.pa.call(this,a)};On.prototype.name=function(){return"String"};var Rn=function(a,b){if(!(this instanceof Rn))return Ol(Rn,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(Sn(g in Ql?Ql[g]:null,f.name))}if(void 0===b.apply(null,c))throw Error("User-defined methods must return a value.");this.Oa=Tn(a,c,b);this.Hf=b.apply(null,c)};B(Rn,Wl);A("ee.CustomFunction",Rn);Rn.prototype.encode=function(a){return{type:"Function",argumentNames:bb(this.Oa.args,function(b){return b.name}),body:a(this.Hf)}};
|
|
Rn.prototype.pa=function(a){return mj(this.Oa.args.map(function(b){return b.name}),a(this.Hf))};Rn.prototype.ie=function(a,b){return lj(a(this),b)};Rn.prototype.Z=function(){return this.Oa};
|
|
var Sn=function(a,b){a=a||Object;if(!(a.prototype instanceof P))if(a&&a!=Object)if(a==String)a=On;else if(a==Number)a=Ln;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=P;var c=function(d){this.args=this.C=null;this.S=d};c.prototype=a.prototype;return new c(b)},Un=function(a,b){b={name:"",returns:"Object",args:bb(b,function(c){return{name:null,type:"string"===typeof c?c:c.prototype instanceof P?c.prototype.name.call(null):c==Number?
|
|
"Number":c==String?"String":c==Array?"Array":c==Date?"Date":"Object"}})};return new Rn(b,a)},Tn=function(a,b,c){for(var d=[],e=0;e<b.length;e++)null===b[e].S&&d.push(e);if(0==d.length)return a;var f=function(m){var p=0;x(m)&&!Fa(m)&&("Function"==m.type&&p++,Fb(m,function(q){p+=f(q)}));return p};e=ck(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].S=h;a.args[g].name=h}return a};var Vn=function(a,b){if(!(this instanceof Vn))return Ol(Vn,arguments);if(a instanceof Vn)return a;Wn();var c=S(Vn,arguments);a=c.date;c=c.tz;var d=new Q("Date"),e={},f=null;if(Tl(a)){if(e.value=a,c)if(Tl(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Sl(a))e.value=a;else if(Ea(a))e.value=Math.floor(a.getTime());else if(a instanceof P)a.C&&"Date"==a.C.Z().returns?(d=a.C,e=a.args,f=a.S):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);P.call(this,d,e,f)};B(Vn,P);A("ee.Date",Vn);var Xn=!1,Wn=function(){Xn||(im(Vn,"Date","Date"),Xn=!0)};Vn.prototype.name=function(){return"Date"};A("ee.Deserializer",function(){});var Zn=function(a){return Yn(JSON.parse(a))};A("ee.Deserializer.fromJSON",Zn);var Yn=function(a){var b={};if(x(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]=$n(f,b)}a=a.value}return $n(a,b)};A("ee.Deserializer.decode",Yn);
|
|
var $n=function(a,b){if(null===a||"number"===typeof a||"boolean"===typeof a||"string"===typeof a)return a;if(w(a))return bb(a,function(f){return $n(f,b)});if(!x(a)||Fa(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 Sn(Object,c);case "Date":c=a.value;if("number"!==typeof c)throw Error("Invalid date value: "+
|
|
c);return new Vn(c/1E3);case "Bytes":return c=new fj,c.encode=function(){return a},c;case "Invocation":c="functionName"in a?am(a.functionName):$n(a["function"],b);var d=Hb(a.arguments,function(f){return $n(f,b)});if(c instanceof Wl)return c.apply(d);if(c instanceof P)return new P(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return Hb(a.value,function(f){return $n(f,b)});case "Function":var e=$n(a.body,b);c={name:"",args:bb(a.argumentNames,function(f){return{name:f,
|
|
type:"Object",optional:!1}}),returns:"Object"};return new Rn(c,function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new U(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var ao=function(a){if(!(this instanceof ao))return Ol(ao,arguments);if(a instanceof ao)return a;bo();Ul(a)?(P.call(this,null,null),this.tc=a):(a instanceof P&&a.C&&"Dictionary"==a.C.Z().returns?P.call(this,a.C,a.args,a.S):P.call(this,new Q("Dictionary"),{input:a},null),this.tc=null)};B(ao,P);A("ee.Dictionary",ao);var co=!1,bo=function(){co||(im(ao,"Dictionary","Dictionary"),co=!0)};ao.prototype.encode=function(a){return null!==this.tc?a(this.tc):ao.H.encode.call(this,a)};
|
|
ao.prototype.pa=function(a){return null!==this.tc?hj(a(this.tc)):ao.H.pa.call(this,a)};ao.prototype.name=function(){return"Dictionary"};var eo={};A("ee.Terrain",eo);eo.ze=!1;eo.Th=function(){eo.ze||(im(eo,"Terrain","Terrain"),eo.ze=!0)};eo.reset=function(){jm(eo);eo.ze=!1};var ko=function(a,b,c,d,e){if("ready"!=fo||a||b){var f=null!=c;if(d)if(f)go.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==fo&&f)ho.push(c);else if(fo="loading",Bi(a,b,e),f)ho.push(c),em(io,jo);else try{em(),io()}catch(g){throw jo(g),g;}}else c&&c()};A("ee.initialize",ko);
|
|
var no=function(){fo="not_ready";Vi=Ui=Ji=null;Ti=!1;cm=null;dm={};jm(Vn);Xn=!1;jm(ao);co=!1;jm(T);qm=!1;jm(X);fn=!1;jm(Xm);Zm=!1;jm(W);Wm=!1;jm(Z);pn=!1;jm(Y);nn=!1;jm(V);Hm=!1;jm(U);tm=!1;jm(jn);ln=!1;jm(Ln);Nn=!1;jm(On);Qn=!1;eo.reset();for(var a=t.ee,b=0;b<lo.length;b++){var c=lo[b];jm(a[c]);delete a[c]}lo=[];Ql=a;a=mo;for(var d in a)delete a[d]};A("ee.reset",no);var oo={vi:"not_ready",LOADING:"loading",xi:"ready"};A("ee.InitState",oo);A("ee.InitState.NOT_READY","not_ready");
|
|
A("ee.InitState.LOADING","loading");A("ee.InitState.READY","ready");var fo="not_ready",ho=[],go=[];A("ee.TILE_SIZE",256);var lo=[],mo={};A("ee.Algorithms",mo);var po=function(a,b){"string"===typeof a&&(a=new Q(a));return Wl.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};A("ee.call",po);var qo=function(a,b){"string"===typeof a&&(a=new Q(a));return a.apply(b)};A("ee.apply",qo);
|
|
var io=function(){if("loading"==fo){try{Wn();bo();pm();dn();Ym();Vm();on();mn();Gm();rm();kn();Mn();Pn();eo.Th();var a=fm(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=t.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=ro(g),lo.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,dm[g]=!0):f[g].signature={});Ql=f;so()}catch(h){jo(h);return}fo="ready";for(go=[];0<ho.length;)ho.shift()()}},jo=function(a){if("loading"==
|
|
fo)for(fo="not_ready",ho=[];0<go.length;)go.shift()(a)},so=function(){var a=gm();Kb(a).sort().forEach(function(b){var c=a[b],d=c.Z();if(!d.hidden){b=b.split(".");var e=mo;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=ob(b,1)}f=function(g){return $l(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=y(c.toString,c);e[b[0]]=f}})},ro=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 Ol(d,e);d=hm(a);var g=!(e[0]instanceof P),h=!1;d&&(f?g?h=!0:e[0].C&&e[0].C.Z().returns==d.Z().returns||(h=!0):h=!0);if(h)e=Vl(e,d.Z())?e[0]:Yl(d,e),P.call(this,d,Zl(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];P.call(this,e.C,e.args,e.S)}};B(b,P);b.prototype.name=function(){return a};im(b,a,a);return b};
|
|
Xl=function(a,b){if(null===a)return null;if(void 0!==a){var c=t.ee;switch(b){case "Image":return new X(a);case "Feature":return a instanceof W?R("Feature",R("Collection.geometry",a)):new Xm(a);case "Element":if(a instanceof T)return a;if(a instanceof U)return new Xm(a);if(a instanceof P)return new T(a.C,a.args,a.S);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof Y?R("Collection.geometry",a):new U(a);case "FeatureCollection":case "Collection":return a instanceof
|
|
W?a:new Y(a);case "ImageCollection":return new Z(a);case "Filter":return new V(a);case "Algorithm":if("string"===typeof a)return new Q(a);if(Fa(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Un(a,c)}if(a instanceof fj)return a;throw Error("Argument is not a function: "+a);case "String":return Tl(a)||a instanceof On||a instanceof P?new On(a):a;case "Dictionary":return Ul(a)?a:new ao(a);case "List":return new jn(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Ln(a);
|
|
default:if(b in c){d=hm(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if("string"===typeof a){if(a in c[b])return c[b][a].call();throw Error("Unknown algorithm: "+b+"."+a);}return new c[b](a)}return a}}};var to=function(a,b,c){Md.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.jg=new Ad;this.ig=new Ad};n(to,Md);to.prototype.getTile=function(a,b){var c=Nd(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.jb,this.token].join("/");this.lb.push(c);this.jb+=1;var d=Vg("DIV");uo(this,b,a,c,d);vo(this);return d};
|
|
var uo=function(a,b,c,d,e){var f=Rh(Ph);f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=y(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var g=f.response;if(g)g=new Float32Array(g),this.jg.set(c,g),this.ig.set(c,e),kb(this.lb,d),vo(this);else throw this.sf.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},vo=function(a){a.dispatchEvent(new Od(a.lb.length))};to.prototype.F=function(){this.ig=this.jg=null;Md.prototype.F.call(this)};
|
|
A("ee.FloatTileOverlay",to);var wo=function(){this.yd=new Map};wo.prototype.clear=function(){this.yd.clear()};var xo=function(a,b){a.yd.has(b)||a.yd.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.yd.get(b)};var yo=function(a){Ma.call(this);this.yb=a;this.J={}};B(yo,Ma);var zo=[];yo.prototype.Ma=function(a,b,c,d){w(b)||(b&&(zo[0]=b.toString()),b=zo);for(var e=0;e<b.length;e++){var f=hd(a,b[e],c||this.handleEvent,d||!1,this.yb||this);if(!f)break;this.J[f.key]=f}return this};yo.prototype.Fc=function(a,b,c,d){return Ao(this,a,b,c,d)};var Ao=function(a,b,c,d,e,f){if(w(c))for(var g=0;g<c.length;g++)Ao(a,b,c[g],d,e,f);else{b=gd(b,c,d||a.handleEvent,e,f||a.yb||a);if(!b)return a;a.J[b.key]=b}return a};
|
|
yo.prototype.Fd=function(a,b,c,d,e){if(w(b))for(var f=0;f<b.length;f++)this.Fd(a,b[f],c,d,e);else c=c||this.handleEvent,d=x(d)?!!d.capture:!!d,e=e||this.yb||this,c=id(c),d=!!d,b=Xc(a)?a.wc(b,c,d,e):a?(a=kd(a))?a.wc(b,c,d,e):null:null,b&&(pd(b),delete this.J[b.key])};yo.prototype.Lc=function(){Fb(this.J,function(a,b){this.J.hasOwnProperty(b)&&pd(a)},this);this.J={}};yo.prototype.F=function(){yo.H.F.call(this);this.Lc()};
|
|
yo.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Co=function(a,b){wa(a.name)?(this.name=a.name,this.code=Mb[a.name]):(this.code=a=Ua(a.code),this.name=Bo(a));Pa.call(this,xc("%s %s",this.name,b))};B(Co,Pa);var Bo=function(a){var b=Nb(function(c){return a==c});if(!wa(b))throw Error("Invalid code: "+a);return b},Mb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var Do=function(a,b){Oa.call(this,a.type,b);this.Aa=a};B(Do,Oa);var Eo=function(){td.call(this);this.aa=new FileReader;this.aa.onloadstart=y(this.Tb,this);this.aa.onprogress=y(this.Tb,this);this.aa.onload=y(this.Tb,this);this.aa.onabort=y(this.Tb,this);this.aa.onerror=y(this.Tb,this);this.aa.onloadend=y(this.Tb,this)};B(Eo,td);k=Eo.prototype;k.abort=function(){try{this.aa.abort()}catch(a){throw new Co(a,"aborting read");}};k.gb=function(){return this.aa.readyState};k.getError=function(){return this.aa.error&&new Co(this.aa.error,"reading file")};
|
|
k.Tb=function(a){this.dispatchEvent(new Do(a,this))};k.F=function(){Eo.H.F.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 Fo=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};k=Fo.prototype;k.clone=function(){return new Fo(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 Fo?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){x(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 Qg?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Ua(a),this.left+=a,this.right+=a,xa(b)&&(this.top+=b,this.bottom+=b));return this};k.scale=function(a,b){b=xa(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Go=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};k=Go.prototype;k.clone=function(){return new Go(this.left,this.top,this.width,this.height)};k.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
|
|
k.zg=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.he=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 Go(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 Go(this.left,this.top,this.width,a.top-this.top)),c=a.top,d-=a.top-this.top);h<f&&(b.push(new Go(this.left,
|
|
h,this.width,f-h)),d=h-c);a.left>this.left&&b.push(new Go(this.left,c,a.left-this.left,d));g<e&&b.push(new Go(g,c,e-g,d));a=b}else a=[this.clone()];return a};k.contains=function(a){return a instanceof Qg?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 Qg(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 Qg?(this.left+=a.x,this.top+=a.y):(this.left+=Ua(a),xa(b)&&(this.top+=b));return this};
|
|
k.scale=function(a,b){b=xa(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Ho=function(a,b){C(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 Io=function(a,b){td.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.xd=new wo;this.kb=new Ad;this.jb=0;this.rf=a;this.Va=new yo(this);this.projection=null;this.radius=0;this.alt=null};B(Io,td);A("ee.layers.AbstractOverlay",Io);
|
|
Io.prototype.Nd=function(a){return hd(this,"tile-load",a)};Io.prototype.addTileCallback=Io.prototype.Nd;Io.prototype.Ze=function(a){pd(a)};Io.prototype.removeTileCallback=Io.prototype.Ze;k=Io.prototype;k.se=function(){return Jo(this,"throttled")+Jo(this,"loading")+Jo(this,"new")};k.setOpacity=function(a){this.opacity=a;this.kb.forEach(function(b){Ho(b.oa,this.opacity)},this)};k.getStats=function(){return this.xd};
|
|
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.jb++].join("-"),this.rf.pg()].join("-");b=this.Tf(d,b,c,a);b.tileSize=this.tileSize;Ho(b.oa,this.opacity);this.kb.set(a,b);Ko(this,b);this.rf.Eg(b,(new Date).getTime()/1E3);return b.oa};k.releaseTile=function(a){var b=this.kb.get(a.id);this.kb.remove(a.id);b&&(b.abort(),Na(b))};
|
|
var Ko=function(a,b){a.Va.Ma(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Yh,d=(new Date).getTime();xo(this.xd,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Lo(this.se()));break;case "throttled":xo(this.xd,b.zoom).throttleCount++;this.dispatchEvent(new Mo(b.Ea));break;case "failed":xo(this.xd,b.zoom).errorCount++,this.dispatchEvent(new No(b.Ea,b.Mh))}})};
|
|
Io.prototype.F=function(){Io.H.F.call(this);this.kb.forEach(Na);this.kb.clear();this.kb=null;Na(this.Va);this.rf=this.Va=null};var Jo=function(a,b){return eb(a.kb.T(),function(c){return c.getStatus()==b})},Lo=function(){Oa.call(this,"tile-load")};B(Lo,Oa);var Mo=function(){Oa.call(this,"tile-throttle")};B(Mo,Oa);var No=function(a,b){Oa.call(this,"tile-fail");this.errorMessage=b};B(No,Oa);
|
|
var Oo=function(a,b,c,d){td.call(this);this.Sb=a;this.zoom=b;this.oa=c.createElement("div");this.oa.id=d;this.$h=5;this.td=function(){};this.lf="new";this.ah=0;this.Ce=!1};B(Oo,td);
|
|
var Qo=function(a){if(!a.Ce&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");Po(a,"loading");a.Yh=(new Date).getTime();a.Pa=new Uh;a.Pa.cc="blob";a.Pa.Ma("complete",function(){var b=hi(this.Pa),c=this.Pa.getStatus();429==c&&Po(this,"throttled");if(Lh(c)){var d={};Fb(ii(this.Pa),function(f,g){d[g.toLowerCase()]=f});this.mi=d;this.ih=b;this.vc()}else if(b){var e=new Eo;e.Ma("loadend",function(){this.Mc(e.aa.result)},void 0,this);
|
|
e.readAsText(b)}else this.Mc("Failed to load tile.")},!1,a);a.Pa.Fc("ready",Ka(Na,a.Pa));a.Ea&&a.Ea.endsWith("&profiling=1")&&O&&(a.Ea=a.Ea.replace("&profiling=1",""),a.Pa.headers.set("X-Earth-Engine-Computation-Profile","1"));a.Pa.send(a.Ea,"GET")};k=Oo.prototype;k.vc=function(){this.td(this);Po(this,"loaded")};k.pc=function(){Na(this.Pa)};
|
|
k.Mc=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.ah>=this.$h?(this.Mh=b(a),Po(this,"failed")):(this.pc(),setTimeout(y(function(){this.Ka||(this.Ce=!0,Qo(this),this.Ce=!1)},this),1E3*Math.pow(2,this.ah++)))};k.abort=function(){this.pc();Po(this,"aborted")};k.getStatus=function(){return this.lf};var Po=function(a,b){a.lf=b;a.dispatchEvent("status-changed")},Ro={aborted:!0,failed:!0,loaded:!0};
|
|
Oo.prototype.F=function(){Oo.H.F.call(this);this.pc();this.oa.remove();this.td=null};var So=function(){Ma.call(this)};B(So,Ma);var To=function(a,b){Io.call(this,a,b);this.Jf=new Ad;this.cg=new Ad};n(To,Io);To.prototype.Tf=function(a,b,c,d){var e=new Uo(a,b,c,d);this.Va.Ma(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Jf.set(a,new Float32Array(e.Gh)),this.cg.set(a,e.oa))});return e};To.prototype.F=function(){Io.prototype.F.call(this);this.cg=this.Jf=null};A("ee.layers.BinaryOverlay",To);var Uo=function(a,b,c,d){Oo.call(this,a,b,c,d)};n(Uo,Oo);
|
|
Uo.prototype.vc=function(){var a=new Eo;a.Ma("loadend",function(){this.Gh=a.aa.result;Oo.prototype.vc.call(this)},void 0,this);a.readAsArrayBuffer(this.ih)};var Vo=function(a){td.call(this);this.Ac={};this.zc={};this.yb=new yo(this);this.R=a};B(Vo,td);var Wo=[Ec&&!Oc("11")?"readystatechange":"load","abort","error"],Xo=function(a,b,c){(c=u(c)?c:c.src)&&(a.Ac[b]={src:c,Rf:wa(void 0)?void 0:null})},Yo=function(a,b){delete a.Ac[b];var c=a.zc[b];c&&(delete a.zc[b],a.yb.Fd(c,Wo,a.Ng),Ob(a.zc)&&Ob(a.Ac)&&a.dispatchEvent("complete"))};
|
|
Vo.prototype.start=function(){var a=this.Ac;$a(Kb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.Ka)){if(this.R){var d=this.R;d=(d?new ah($g(d)):Qa||(Qa=new ah)).Kh("IMG")}else d=new Image;c.Rf&&(d.crossOrigin=c.Rf);this.yb.Ma(d,Wo,this.Ng);this.zc[b]=d;d.id=b;d.src=c.src}},this)};
|
|
Vo.prototype.Ng=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.Ka||Yo(this,b.id)}};Vo.prototype.F=function(){delete this.Ac;delete this.zc;Na(this.yb);Vo.H.F.call(this)};var Zo=function(a,b){Io.call(this,a,b)};n(Zo,Io);Zo.prototype.Tf=function(a,b,c,d){return new $o(a,b,c,d)};A("ee.layers.ImageOverlay",Zo);var $o=function(a,b,c,d){Oo.call(this,a,b,c,d);this.td=ap;this.xg=this.da=this.jd=null;this.Hc=""};n($o,Oo);
|
|
$o.prototype.vc=function(){try{var a=oc(this.ih);this.Hc=mc(a).toString();var b="about:invalid#zClosurez"!==this.Hc?this.Hc:this.Ea}catch(c){b=this.Ea}this.da=new Vo;Xo(this.da,this.oa.id+"-image",b);this.xg=gd(this.da,bp,function(c){"load"==c.type?(this.jd=c.target,Oo.prototype.vc.call(this)):this.Mc()},void 0,this);this.da.start()};$o.prototype.pc=function(){Oo.prototype.pc.call(this);this.da&&(pd(this.xg),Na(this.da))};$o.prototype.F=function(){Oo.prototype.F.call(this);this.Hc&&URL.revokeObjectURL(this.Hc)};
|
|
var ap=function(a){a.oa.appendChild(a.jd)},bp=["load","abort","error"];var cp=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 dp=function(a,b,c,d){Ma.call(this);this.If=a;this.Xa=b;this.pf=d||"";this.od=c};B(dp,So);A("ee.layers.CloudStorageTileSource",dp);
|
|
dp.prototype.Eg=function(a){if(a.zoom<=this.od)a.Ea=this.ed(a.Sb,a.zoom);else{var b=a.zoom-this.od,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.Sb.x/c),Math.floor(a.Sb.y/c));a.Ea=this.ed(c,a.zoom-b);a.td=Ka(ep,this.od)}var d=y(a.Mc,a);a.Mc=y(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Po(a,"loaded"):d(e)},a);Qo(a)};dp.prototype.pg=function(){return[this.If,this.Xa,this.od,this.pf].join("-")};
|
|
dp.prototype.ed=function(a,b){a=cp("https://storage.googleapis.com",this.If,this.Xa,String(b),String(a.x),String(a.y));this.pf&&(a+=this.pf);return a};
|
|
var ep=function(a,b){if(!b.jd)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.jd,c/a*(b.Sb.x%a),c/a*(b.Sb.y%a),c/a,c/a,0,0,c,c)};var fp=function(){this.Ba=[];this.Ia=[]};k=fp.prototype;k.enqueue=function(a){this.Ia.push(a)};k.sc=function(){0==this.Ba.length&&(this.Ba=this.Ia,this.Ba.reverse(),this.Ia=[]);return this.Ba.pop()};k.N=function(){return this.Ba.length+this.Ia.length};k.isEmpty=function(){return 0==this.Ba.length&&0==this.Ia.length};k.clear=function(){this.Ba=[];this.Ia=[]};k.contains=function(a){return hb(this.Ba,a)||hb(this.Ia,a)};
|
|
k.remove=function(a){var b=this.Ba;var c=Za(b,a);0<=c?(jb(b,c),b=!0):b=!1;return b||kb(this.Ia,a)};k.T=function(){for(var a=[],b=this.Ba.length-1;0<=b;--b)a.push(this.Ba[b]);var c=this.Ia.length;for(b=0;b<c;++b)a.push(this.Ia[b]);return a};var gp=function(a,b){Ma.call(this);this.Kg=a||0;this.nd=b||10;if(this.Kg>this.nd)throw Error("[goog.structs.Pool] Min can not be greater than max");this.La=new fp;this.hb=new Jd;this.delay=0;this.De=null;this.Uc()};B(gp,Ma);gp.prototype.xc=function(){var a=La();if(!(null!=this.De&&a-this.De<this.delay)){for(var b;0<this.La.N()&&(b=this.La.sc(),!this.Me(b));)this.Uc();!b&&this.N()<this.nd&&(b=this.ae());b&&(this.De=a,this.hb.add(b));return b}};
|
|
var hp=function(a,b){return a.hb.remove(b)?(a.Md(b),!0):!1};k=gp.prototype;k.Md=function(a){this.hb.remove(a);this.Me(a)&&this.N()<this.nd?this.La.enqueue(a):this.$c(a)};k.Uc=function(){for(var a=this.La;this.N()<this.Kg;)a.enqueue(this.ae());for(;this.N()>this.nd&&0<this.La.N();)this.$c(a.sc())};k.ae=function(){return{}};k.$c=function(a){if("function"==typeof a.Ja)a.Ja();else for(var b in a)a[b]=null};k.Me=function(a){return"function"==typeof a.Ih?a.Ih():!0};
|
|
k.contains=function(a){return this.La.contains(a)||this.hb.contains(a)};k.N=function(){return this.La.N()+this.hb.N()};k.isEmpty=function(){return this.La.isEmpty()&&this.hb.isEmpty()};k.F=function(){gp.H.F.call(this);if(0<this.hb.N())throw Error("[goog.structs.Pool] Objects not released");delete this.hb;for(var a=this.La;!a.isEmpty();)this.$c(a.sc());delete this.La};var ip=function(a,b){this.Cg=a;this.Id=b};ip.prototype.getKey=function(){return this.Cg};ip.prototype.clone=function(){return new ip(this.Cg,this.Id)};var jp=function(a){this.va=[];if(a)a:{if(a instanceof jp){var b=a.Ca();a=a.T();if(0>=this.N()){for(var c=this.va,d=0;d<b.length;d++)c.push(new ip(b[d],a[d]));break a}}else b=Kb(a),a=Jb(a);for(d=0;d<b.length;d++)kp(this,b[d],a[d])}},kp=function(a,b,c){var d=a.va;d.push(new ip(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=jp.prototype;
|
|
k.remove=function(){var a=this.va,b=a.length,c=a[0];if(!(0>=b)){if(1==b)ib(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.Id}};k.T=function(){for(var a=this.va,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Id);return b};k.Ca=function(){for(var a=this.va,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
k.qc=function(a){return cb(this.va,function(b){return b.Id==a})};k.cb=function(a){return cb(this.va,function(b){return b.getKey()==a})};k.clone=function(){return new jp(this)};k.N=function(){return this.va.length};k.isEmpty=function(){return 0==this.va.length};k.clear=function(){ib(this.va)};var lp=function(){jp.call(this)};B(lp,jp);lp.prototype.enqueue=function(a,b){kp(this,a,b)};lp.prototype.sc=function(){return this.remove()};var mp=function(a,b){this.$f=void 0;this.vd=new lp;gp.call(this,a,b)};B(mp,gp);k=mp.prototype;k.xc=function(a,b){if(!a)return(a=mp.H.xc.call(this))&&this.delay&&(this.$f=t.setTimeout(y(this.gd,this),this.delay)),a;this.vd.enqueue(wa(b)?b:100,a);this.gd()};k.gd=function(){for(var a=this.vd;0<a.N();){var b=this.xc();if(b)a.sc().apply(this,[b]);else break}};k.Md=function(a){mp.H.Md.call(this,a);this.gd()};k.Uc=function(){mp.H.Uc.call(this);this.gd()};
|
|
k.F=function(){mp.H.F.call(this);t.clearTimeout(this.$f);this.vd.clear();this.vd=null};var np=function(a,b){Ma.call(this);this.Ee=a;this.ra=b||null};B(np,So);A("ee.layers.EarthEngineTileSource",np);np.prototype.Eg=function(a,b){var c=hd(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.mi["x-earth-engine-computation-profile"];this.ra&&e&&this.ra.Dh(a.oa.id,e);break;case "failed":case "aborted":this.ra&&""!==a.oa.id&&this.ra.gi(a.oa.id),pd(c)}},void 0,this);a.Ea=this.ed(a.Sb,a.zoom);var d=y(this.ve,this,a);op().xc(d,b)};
|
|
np.prototype.pg=function(){return this.Ee.mapid+"-"+this.Ee.token};np.prototype.ve=function(a,b){var c=op();if(a.Ka||"aborted"==a.getStatus())hp(c,b);else{var d=hd(a,"status-changed",function(){a.lf in Ro&&(pd(d),hp(c,b))});Qo(a)}};np.prototype.ed=function(a,b){a=this.Ee.formatTileUrl(a.x,a.y,b);return this.ra&&this.ra.isEnabled()?a+"&profiling=1":a};var op=function(){pp||(pp=new mp(0,4));return pp},pp=null;var rp=function(){td.call(this);this.Cd=new qp(0,60);this.bc=new Ad};B(rp,td);A("ee.MapTileManager",rp);rp.Ae=void 0;rp.og=function(){return rp.Ae?rp.Ae:rp.Ae=new rp};rp.prototype.send=function(a,b,c,d,e){if(this.bc.get(a))throw Error("[ee.MapTileManager] ID in use");b=new sp(a,b,d,y(this.Xg,this),void 0!==e?e:1);this.bc.set(a,b);a=y(this.ve,this,b);this.Cd.xc(a,c);return b};rp.prototype.abort=function(a){if(a=this.bc.get(a))a.Qb||(a.Qb=!0,a.Aa=new Oa("abort")),this.Xg(a)};
|
|
rp.prototype.ve=function(a,b){if(a.da||a.Qb)tp(this,b);else if(a.qh=b,b.setActive(!0),b=new Vo,a.da=b,!up(a))throw Error("Cannot dispatch first request!");};rp.prototype.Xg=function(a){this.bc.remove(a.getId());a.da&&(tp(this,a.qh),a.da.Ja());a.we&&a.we(a.Aa,a.Vg)};var tp=function(a,b){b.setActive(!1);if(!hp(a.Cd,b))throw Error("Object not released");};rp.prototype.F=function(){rp.H.F.call(this);this.Cd.Ja();this.Cd=null;var a=this.bc;$a(a.T(),function(b){b.Ja()});a.clear();this.bc=null};
|
|
var sp=function(a,b,c,d,e){Ma.call(this);this.ca=a;this.si=b;this.ai=void 0!==e?e:1;this.we=c;this.Hb=d};B(sp,Ma);k=sp.prototype;k.Bf=0;k.Qb=!1;k.da=null;k.qh=null;k.Aa=null;k.Vg=null;var vp=["load","abort","error"];sp.prototype.getId=function(){return this.ca};sp.prototype.getUrl=function(){return this.si};sp.prototype.Rh=function(a){if(this.Qb)this.Hb&&this.Hb(this);else switch(a.type){case "load":this.Aa=a;this.Hb&&this.Hb(this);break;case "error":case "abort":up(this)||(this.Aa=a,this.Hb&&this.Hb(this))}};
|
|
sp.prototype.F=function(){sp.H.F.call(this);delete this.we;delete this.Hb};var up=function(a){if(a.Bf>a.ai)return!1;a.Bf++;Yo(a.da,a.ca);setTimeout(y(a.ni,a),0);return!0};
|
|
sp.prototype.ni=function(){if(!this.Qb){var a=y(function(d){this.Qb||(Xo(this.da,this.ca,d),gd(this.da,vp,y(this.Rh,this)),this.da.start())},this),b=this.getUrl();if(wi(b).wa.cb("profiling")){var c=new Uh;c.cc="blob";c.Ma("complete",y(function(){this.Vg=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=mc(oc(hi(c))).toString();var e="about:invalid#zClosurez"!==d}catch(f){}a(e?d:b)},this));c.Fc("ready",y(c.Ja,c));c.send(b,"GET")}else a(b)}};
|
|
var wp=function(){Ma.call(this);this.ya=!1};B(wp,Ma);wp.prototype.setActive=function(a){this.ya=a};wp.prototype.Ag=function(){return this.ya};var qp=function(a,b){mp.call(this,a,b)};B(qp,mp);qp.prototype.ae=function(){return new wp};qp.prototype.$c=function(a){a.Ja()};qp.prototype.Me=function(a){return!a.Ka&&!a.Ag()};var xp=function(a,b,c,d,e){Md.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.tf=new Jd;this.Ne=1;this.ra=e||null};n(xp,Md);k=xp.prototype;k.Nd=function(a){return hd(this,"tileevent",a)};k.Ze=function(a){pd(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=Nd(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.ra&&this.ra.isEnabled()&&(a+="&profiling=1");b=[b,this.jb,this.token].join("/");this.jb+=1;c=Vg("DIV",{id:b});var d=(new Date).getTime()/1E3;this.lb.push(b);rp.og().send(b,a,d,y(this.Qh,this,c,b));vo(this);return c};k.se=function(){return this.lb.length};
|
|
k.releaseTile=function(a){rp.og().abort(a.id);this.tf.remove(wa(a.firstElementChild)?a.firstElementChild:Zg(a.firstChild));""!==a.id&&(this.sf.remove(a.id),this.ra&&this.ra.gi(a.id))};k.setOpacity=function(a){this.Ne=a;var b=this.tf.Pb();zd(b,function(c){Ho(c,a)})};
|
|
k.Qh=function(a,b,c,d){"error"==c.type?(kb(this.lb,b),this.sf.add(b),this.dispatchEvent(c)):(kb(this.lb,b),c.target&&"load"==c.type&&(c=c.target,this.tf.add(c),1!=this.Ne&&Ho(c,this.Ne),a.appendChild(c)),vo(this));this.ra&&null!==d&&this.ra.Dh(b,d)};A("ee.MapLayerOverlay",xp);xp.prototype.removeTileCallback=xp.prototype.Ze;xp.prototype.addTileCallback=xp.prototype.Nd;xp.prototype.getTile=xp.prototype.getTile;xp.prototype.setOpacity=xp.prototype.setOpacity;xp.prototype.releaseTile=xp.prototype.releaseTile;var yp=function(a,b){if(!(this instanceof yp))return new yp(a,b);this.Xa=a;this.Oa=b};B(yp,Wl);A("ee.SavedFunction",yp);yp.prototype.encode=function(a){return R("LoadAlgorithmById",this.Xa).encode(a)};yp.prototype.Z=function(){return this.Oa};(function(){var a={},b="ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.Collection.prototype.limit ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.sort ee.Collection.prototype.map ee.Collection.prototype.filter ee.Collection.prototype.iterate ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.data.listBuckets ee.data.makeTableDownloadUrl ee.data.setAssetProperties ee.data.getThumbId ee.data.newTaskId ee.data.getAssetRootQuota ee.data.getVideoThumbId ee.data.getAssetRoots ee.data.getTaskStatus ee.data.createAssetHome ee.data.getFilmstripThumbId ee.data.makeThumbUrl ee.data.createAsset ee.data.authenticateViaOauth ee.data.getDownloadId ee.data.getTaskList ee.data.getTaskListWithLimit ee.data.createFolder ee.data.getTableDownloadId ee.data.cancelOperation ee.data.makeDownloadUrl ee.data.renameAsset ee.data.getOperation ee.data.copyAsset ee.data.cancelTask ee.data.startTableIngestion ee.data.getMapId ee.data.getAsset ee.data.deleteAsset ee.data.getAssetAcl ee.data.updateTask ee.data.getTileUrl ee.data.startProcessing ee.data.getInfo ee.data.authenticate ee.data.startIngestion ee.data.getList ee.data.setAssetAcl ee.data.listAssets ee.data.listImages ee.data.authenticateViaPopup ee.data.getValue ee.data.authenticateViaPrivateKey ee.data.updateAsset ee.Date ee.Deserializer.fromJSON ee.Deserializer.decode ee.Dictionary ee.initialize ee.call ee.reset ee.apply ee.Algorithms ee.InitState ee.TILE_SIZE ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getInfo ee.Filter.or ee.Filter.gt ee.Filter.eq ee.Filter.prototype.not ee.Filter.and ee.Filter.bounds ee.Filter.neq ee.Filter ee.Filter.gte ee.Filter.metadata ee.Filter.lt ee.Filter.date ee.Filter.lte ee.Filter.inList ee.Function.prototype.call ee.Function.prototype.apply ee.Geometry.Point ee.Geometry.prototype.toGeoJSON ee.Geometry.MultiPoint ee.Geometry.LinearRing ee.Geometry ee.Geometry.prototype.toGeoJSONString ee.Geometry.Polygon ee.Geometry.prototype.serialize ee.Geometry.Rectangle ee.Geometry.MultiLineString ee.Geometry.LineString ee.Geometry.MultiPolygon ee.Image.prototype.getInfo ee.Image.prototype.rename ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.getDownloadURL ee.Image.cat ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image ee.Image.rgb ee.Image.prototype.getThumbURL ee.ImageCollection ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.List ee.Number ee.Serializer.toJSON ee.Serializer.encode ee.Serializer.toReadableCloudApiJSON ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.encodeCloudApiPretty ee.String ee.Terrain".split(" "),
|
|
c=[["name","var_args"],["name"],["name","namedArgs"],["collection","opt_description","opt_assetId"],"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(" "),"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),
|
|
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "),"image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "),
|
|
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_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(" "),"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),
|
|
["max","opt_property","opt_ascending"],["geometry"],["name","operator","value"],["start","opt_end"],["property","opt_ascending"],["algorithm","opt_dropNulls"],["filter"],["algorithm","opt_first"],["callback"],[],["func","var_args"],["opt_callback"],["project","opt_callback"],["id"],["assetId","properties","opt_callback"],["params","opt_callback"],["opt_count","opt_callback"],["rootId","opt_callback"],["params","opt_callback"],["opt_callback"],["taskId","opt_callback"],["requestedId","opt_callback"],
|
|
["params","opt_callback"],["id"],["value","opt_path","opt_force","opt_properties","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params","opt_callback"],["opt_callback"],["opt_limit","opt_callback"],["path","opt_force","opt_callback"],["params","opt_callback"],["operationName","opt_callback"],["id"],["sourceId","destinationId","opt_callback"],["operationName","opt_callback"],["sourceId","destinationId","opt_overwrite","opt_callback"],["taskId","opt_callback"],
|
|
["taskId","request","opt_callback"],["params","opt_callback"],["id","opt_callback"],["assetId","opt_callback"],["assetId","opt_callback"],["taskId","action","opt_callback"],["mapid","x","y","z"],["taskId","params","opt_callback"],["id","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["taskId","request","opt_callback"],["params","opt_callback"],["assetId","aclUpdate","opt_callback"],["parent","params","opt_callback"],["parent","params","opt_callback"],["opt_success",
|
|
"opt_error"],["params","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["assetId","asset","updateFields","opt_callback"],["date","opt_tz"],["json"],["json"],["opt_dict"],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["func","var_args"],[],["func","namedArgs"],[],[],[],["var_args"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["opt_format",
|
|
"opt_selectors","opt_filename","opt_callback"],["args","opt_column"],["opt_visParams","opt_callback"],["opt_callback"],["var_args"],["name","value"],["name","value"],[],["var_args"],["geometry","opt_errorMargin"],["name","value"],["opt_filter"],["name","value"],["name","operator","value"],["name","value"],["start","opt_end"],["name","value"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["var_args"],["namedArgs"],["coords","opt_proj"],[],["coords","opt_proj"],["coords","opt_proj",
|
|
"opt_geodesic","opt_maxError"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],[],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["opt_callback"],["var_args"],["var_args"],["expression","opt_map"],["params","opt_callback"],["var_args"],["geometry"],["opt_visParams",
|
|
"opt_callback"],["opt_args"],["r","g","b"],["params","opt_callback"],["args"],["opt_callback"],["selectors","opt_names"],[],["opt_visParams","opt_callback"],["params","opt_callback"],["params","opt_callback"],["list"],["number"],["obj"],["obj","opt_isCompound"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[R,am,bm,Bn,Dn,An,xn,En,wn,yn,Cn,zn,un,W.prototype.limit,W.prototype.gg,W.prototype.ne,W.prototype.me,W.prototype.sort,W.prototype.map,W.prototype.filter,W.prototype.Bg,P.prototype.evaluate,P.prototype.X,
|
|
P.prototype.yf,P.prototype.V,Bl,el,Ml,Yk,fl,Nl,Zk,Cl,hl,Dl,$k,al,El,Nk,bl,jl,il,Fl,dl,ll,cl,Gl,ml,Hl,ol,wl,Uk,xl,Il,Jl,nl,Vk,sl,xl,Ok,ul,yl,Ll,zl,Al,Mk,Wk,Pk,Kl,Vn,Zn,Yn,ao,ko,po,no,qo,mo,oo,256,T.prototype.set,Xm,Xm.prototype.getMap,Xm.prototype.V,Y.prototype.select,Y.prototype.wb,Y,Y.prototype.getMap,Y.prototype.V,Qm,Nm,Jm,V.prototype.Xb,Pm,Tm,Km,V,Mm,Um,Lm,Rm,Om,Sm,Wl.prototype.call,Wl.prototype.apply,um,U.prototype.Pc,xm,Am,U,U.prototype.uf,Cm,U.prototype.X,ym,Bm,zm,Dm,X.prototype.V,X.prototype.Yg,
|
|
X.prototype.select,X.prototype.m,X.prototype.wb,hn,X.prototype.clip,X.prototype.getMap,X,gn,X.prototype.te,Z,Z.prototype.V,Z.prototype.select,Z.prototype.first,Z.prototype.getMap,Z.prototype.re,Z.prototype.ue,jn,Ln,dk,ck,kk,fk,ik,jk,On,eo].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});t.EXPORTED_FN_INFO=a})();}).call(this);
|