(function(){var l,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},da="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ea=function(a,b){if(b){var c=da;a=a.split(".");
for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ca(c,a,{configurable:!0,writable:!0,value:b})}};ea("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,g=0;g<e;g++){var f=d[g];if(b.call(c,f,g,d)){b=f;break a}}b=void 0}return b}});
var fa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};ea("String.prototype.repeat",function(a){return a?a:function(b){var c=fa(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 ha=function(){ha=function(){};da.Symbol||(da.Symbol=ia)},ja=function(a,b){this.ye=a;ca(this,"description",{configurable:!0,writable:!0,value:b})};ja.prototype.toString=function(){return this.ye};
var ia=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ja("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(),la=function(){ha();var a=da.Symbol.iterator;a||(a=da.Symbol.iterator=da.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ca(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ka(aa(this))}});la=function(){}},ka=function(a){la();a={next:a};a[da.Symbol.iterator]=function(){return this};return a},
ma=function(a,b){la();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};ea("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
ea("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});ea("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==fa(this,b,"includes").indexOf(b,c||0)}});var na=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
ea("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}});ea("Array.prototype.values",function(a){return a?a:function(){return ma(this,function(b,c){return c})}});ea("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}});
ea("Promise",function(a){function b(){this.ta=null}function c(f){return f instanceof e?f:new e(function(h){h(f)})}if(a)return a;b.prototype.ud=function(f){if(null==this.ta){this.ta=[];var h=this;this.vd(function(){h.Oe()})}this.ta.push(f)};var d=da.setTimeout;b.prototype.vd=function(f){d(f,0)};b.prototype.Oe=function(){for(;this.ta&&this.ta.length;){var f=this.ta;this.ta=[];for(var h=0;h<f.length;++h){var k=f[h];f[h]=null;try{k()}catch(m){this.Fe(m)}}}this.ta=null};b.prototype.Fe=function(f){this.vd(function(){throw f;
})};var e=function(f){this.C=0;this.T=void 0;this.ab=[];var h=this.Gc();try{f(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.Gc=function(){function f(m){return function(u){k||(k=!0,m.call(h,u))}}var h=this,k=!1;return{resolve:f(this.lf),reject:f(this.hd)}};e.prototype.lf=function(f){if(f===this)this.hd(new TypeError("A Promise cannot resolve to itself"));else if(f instanceof e)this.nf(f);else{a:switch(typeof f){case "object":var h=null!=f;break a;case "function":h=!0;break a;default:h=!1}h?
this.kf(f):this.Qd(f)}};e.prototype.kf=function(f){var h=void 0;try{h=f.then}catch(k){this.hd(k);return}"function"==typeof h?this.pf(h,f):this.Qd(f)};e.prototype.hd=function(f){this.ue(2,f)};e.prototype.Qd=function(f){this.ue(1,f)};e.prototype.ue=function(f,h){if(0!=this.C)throw Error("Cannot settle("+f+", "+h+"): Promise already settled in state"+this.C);this.C=f;this.T=h;this.Qe()};e.prototype.Qe=function(){if(null!=this.ab){for(var f=0;f<this.ab.length;++f)g.ud(this.ab[f]);this.ab=null}};var g=
new b;e.prototype.nf=function(f){var h=this.Gc();f.Mb(h.resolve,h.reject)};e.prototype.pf=function(f,h){var k=this.Gc();try{f.call(h,k.resolve,k.reject)}catch(m){k.reject(m)}};e.prototype.then=function(f,h){function k(I,oa){return"function"==typeof I?function(ec){try{m(I(ec))}catch(Ba){u(Ba)}}:oa}var m,u,Q=new e(function(I,oa){m=I;u=oa});this.Mb(k(f,m),k(h,u));return Q};e.prototype["catch"]=function(f){return this.then(void 0,f)};e.prototype.Mb=function(f,h){function k(){switch(m.C){case 1:f(m.T);
break;case 2:h(m.T);break;default:throw Error("Unexpected state: "+m.C);}}var m=this;null==this.ab?g.ud(k):this.ab.push(k)};e.resolve=c;e.reject=function(f){return new e(function(h,k){k(f)})};e.race=function(f){return new e(function(h,k){for(var m=ba(f),u=m.next();!u.done;u=m.next())c(u.value).Mb(h,k)})};e.all=function(f){var h=ba(f),k=h.next();return k.done?c([]):new e(function(m,u){function Q(ec){return function(Ba){I[ec]=Ba;oa--;0==oa&&m(I)}}var I=[],oa=0;do I.push(void 0),oa++,c(k.value).Mb(Q(I.length-
1),u),k=h.next();while(!k.done)})};return e});var pa="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)na(d,e)&&(a[e]=d[e])}return a};ea("Object.assign",function(a){return a||pa});ea("String.prototype.padStart",function(a){return a?a:function(b,c){var d=fa(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}});
ea("WeakMap",function(a){function b(){}function c(h){if(!na(h,e)){var k=new b;ca(h,e,{value:k})}}function d(h){var k=Object[h];k&&(Object[h]=function(m){if(m instanceof b)return m;c(m);return k(m)})}if(function(){if(!a||!Object.seal)return!1;try{var h=Object.seal({}),k=Object.seal({}),m=new a([[h,2],[k,3]]);if(2!=m.get(h)||3!=m.get(k))return!1;m["delete"](h);m.set(k,4);return!m.has(h)&&4==m.get(k)}catch(u){return!1}}())return a;var e="$jscomp_hidden_"+Math.random();d("freeze");d("preventExtensions");
d("seal");var g=0,f=function(h){this.J=(g+=Math.random()+1).toString();if(h){h=ba(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};f.prototype.set=function(h,k){c(h);if(!na(h,e))throw Error("WeakMap key fail: "+h);h[e][this.J]=k;return this};f.prototype.get=function(h){return na(h,e)?h[e][this.J]:void 0};f.prototype.has=function(h){return na(h,e)&&na(h[e],this.J)};f.prototype["delete"]=function(h){return na(h,e)&&na(h[e],this.J)?delete h[e][this.J]:!1};return f});
ea("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var h=Object.seal({x:4}),k=new a(ba([[h,"s"]]));if("s"!=k.get(h)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var m=k.entries(),u=m.next();if(u.done||u.value[0]!=h||"s"!=u.value[1])return!1;u=m.next();return u.done||4!=u.value[0].x||"t"!=u.value[1]||!m.next().done?!1:!0}catch(Q){return!1}}())return a;la();var b=new WeakMap,c=function(h){this.mb={};
this.M=g();this.size=0;if(h){h=ba(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=0===h?0:h;var m=d(this,h);m.list||(m.list=this.mb[m.id]=[]);m.I?m.I.value=k:(m.I={next:this.M,qa:this.M.qa,head:this.M,key:h,value:k},m.list.push(m.I),this.M.qa.next=m.I,this.M.qa=m.I,this.size++);return this};c.prototype["delete"]=function(h){h=d(this,h);return h.I&&h.list?(h.list.splice(h.index,1),h.list.length||delete this.mb[h.id],h.I.qa.next=h.I.next,h.I.next.qa=
h.I.qa,h.I.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.mb={};this.M=this.M.qa=g();this.size=0};c.prototype.has=function(h){return!!d(this,h).I};c.prototype.get=function(h){return(h=d(this,h).I)&&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,k){for(var m=this.entries(),
u;!(u=m.next()).done;)u=u.value,h.call(k,u[1],u[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,k){var m=k&&typeof k;"object"==m||"function"==m?b.has(k)?m=b.get(k):(m=""+ ++f,b.set(k,m)):m="p_"+k;var u=h.mb[m];if(u&&na(h.mb,m))for(h=0;h<u.length;h++){var Q=u[h];if(k!==k&&Q.key!==Q.key||k===Q.key)return{id:m,list:u,index:h,I:Q}}return{id:m,list:u,index:-1,I:void 0}},e=function(h,k){var m=h.M;return ka(function(){if(m){for(;m.head!=h.M;)m=m.qa;for(;m.next!=m.head;)return m=
m.next,{done:!1,value:k(m)};m=null}return{done:!0,value:void 0}})},g=function(){var h={};return h.qa=h.next=h.head=h},f=0;return c});
var qa=qa||{},n=this,p=function(a){return void 0!==a},q=function(a){return"string"==typeof a},ra=function(a){return"boolean"==typeof a},r=function(a){return"number"==typeof a},sa=/^[\w+/_-]+[=]{0,2}$/,ta=null,ua=function(a){a=a.split(".");for(var b=n,c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},va=function(){},wa=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},xa=function(a){return null!=a},t=function(a){return"array"==wa(a)},ya=
function(a){var b=wa(a);return"array"==b||"object"==b&&"number"==typeof a.length},za=function(a){return v(a)&&"function"==typeof a.getFullYear},w=function(a){return"function"==wa(a)},v=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},Aa="closure_uid_"+(1E9*Math.random()>>>0),Ca=0,Da=function(a,b,c){return a.call.apply(a.bind,arguments)},Ea=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);
Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},x=function(a,b,c){x=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?Da:Ea;return x.apply(null,arguments)},Fa=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)}},Ga=Date.now||function(){return+new Date},y=function(a,b){a=a.split(".");var c=n;a[0]in c||"undefined"==typeof c.execScript||
c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&p(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}},z=function(a,b){function c(){}c.prototype=b.prototype;a.f=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Cf=function(d,e,g){for(var f=Array(arguments.length-2),h=2;h<arguments.length;h++)f[h-2]=arguments[h];return b.prototype[e].apply(d,f)}};var A=function(){this.ea=this.ea;this.ac=this.ac};A.prototype.ea=!1;A.prototype.da=function(){this.ea||(this.ea=!0,this.h())};A.prototype.h=function(){if(this.ac)for(;this.ac.length;)this.ac.shift()()};var Ha=function(a){a&&"function"==typeof a.da&&a.da()};var B=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Ka=!1;this.pe=!0};B.prototype.stopPropagation=function(){this.Ka=!0};B.prototype.preventDefault=function(){this.defaultPrevented=!0;this.pe=!1};var Ia=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ia);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};z(Ia,Error);Ia.prototype.name="CustomError";var Ja;var Ka=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");Ia.call(this,c+a[d])};z(Ka,Ia);Ka.prototype.name="AssertionError";
var La=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var g=d}else a&&(e+=": "+a,g=b);throw new Ka(""+e,g||[]);},C=function(a,b,c){a||La("",null,b,Array.prototype.slice.call(arguments,2));return a},Ma=function(a,b){throw new Ka("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Na=function(a,b,c){r(a)||La("Expected number but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a},Oa=function(a,b,c){q(a)||La("Expected string but got %s: %s.",[wa(a),
a],b,Array.prototype.slice.call(arguments,2))},Pa=function(a,b,c){w(a)||La("Expected function but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2))},Qa=function(a,b,c){v(a)||La("Expected object but got %s: %s.",[wa(a),a],b,Array.prototype.slice.call(arguments,2));return a};var Ra=Array.prototype.indexOf?function(a,b){C(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(q(a))return q(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},Sa=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(q(a))return q(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in
a&&a[c]===b)return c;return-1},Ta=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=q(a)?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},Ua=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,g=q(a)?a.split(""):a,f=0;f<c;f++)if(f in g){var h=g[f];b.call(void 0,h,f,a)&&(d[e++]=h)}return d},Va=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),g=q(a)?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},Wa=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=q(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},Xa=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=q(a)?a.split(""):a,g=0;g<d;g++)if(g in e&&!b.call(c,e[g],g,a))return!1;return!0},Ya=function(a,b){var c=0;Ta(a,function(d,e,g){b.call(void 0,d,e,g)&&++c},void 0);return c},$a=function(a){a:{var b=Za;for(var c=a.length,d=q(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:q(a)?a.charAt(b):a[b]},ab=function(a,b){return 0<=Ra(a,b)},bb=function(a){if(!t(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},db=
function(a,b){b=Ra(a,b);var c;(c=0<=b)&&cb(a,b);return c},cb=function(a,b){C(null!=a.length);Array.prototype.splice.call(a,b,1)},eb=function(a){return Array.prototype.concat.apply([],arguments)},fb=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[]},gb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ya(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}},hb=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)},ib=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var g=e;g=v(g)?"o"+(g[Aa]||(g[Aa]=++Ca)):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(b,g)||(b[g]=!0,a[c++]=e)}a.length=c},jb=function(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b};var kb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},lb=/&/g,mb=/</g,nb=/>/g,ob=/"/g,pb=/'/g,qb=/\x00/g,rb=/[\x00&<>"']/,sb=function(a,b){return a<b?-1:a>b?1:0};var tb;a:{var ub=n.navigator;if(ub){var vb=ub.userAgent;if(vb){tb=vb;break a}}tb=""}var wb=function(a){return-1!=tb.indexOf(a)};var xb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},yb=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},zb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},Ab=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Bb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Cb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},Db=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Fb=function(a){var b=
Eb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},Gb=function(a){for(var b in a)return!1;return!0},Hb=function(a,b){b in a&&delete a[b]},Ib=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Jb=function(a){var b=wa(a);if("object"==b||"array"==b){if(w(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=Jb(a[c]);return b}return a},Kb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Lb=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 g=0;g<Kb.length;g++)c=Kb[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Mb=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")},Nb=function(a){rb.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(lb,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(mb,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(nb,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(ob,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(pb,"&#39;")),-1!=a.indexOf("\x00")&&(a=a.replace(qb,"&#0;")));return a},Ob=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 Pb=function(a){Pb[" "](a);return a};Pb[" "]=va;var Rb=function(a,b){var c=Qb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var Sb=wb("Opera"),Tb=wb("Trident")||wb("MSIE"),Ub=wb("Edge"),Vb=wb("Gecko")&&!(-1!=tb.toLowerCase().indexOf("webkit")&&!wb("Edge"))&&!(wb("Trident")||wb("MSIE"))&&!wb("Edge"),Wb=-1!=tb.toLowerCase().indexOf("webkit")&&!wb("Edge"),Xb=function(){var a=n.document;return a?a.documentMode:void 0},Yb;
a:{var Zb="",$b=function(){var a=tb;if(Vb)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ub)return/Edge\/([\d\.]+)/.exec(a);if(Tb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Wb)return/WebKit\/(\S+)/.exec(a);if(Sb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();$b&&(Zb=$b?$b[1]:"");if(Tb){var ac=Xb();if(null!=ac&&ac>parseFloat(Zb)){Yb=String(ac);break a}}Yb=Zb}
var bc=Yb,Qb={},cc=function(a){return Rb(a,function(){for(var b=0,c=kb(String(bc)).split("."),d=kb(String(a)).split("."),e=Math.max(c.length,d.length),g=0;0==b&&g<e;g++){var f=c[g]||"",h=d[g]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==f[0].length&&0==h[0].length)break;b=sb(0==f[1].length?0:parseInt(f[1],10),0==h[1].length?0:parseInt(h[1],10))||sb(0==f[2].length,0==h[2].length)||sb(f[2],h[2]);f=f[3];h=h[3]}while(0==b)}return 0<=b})},dc;var fc=n.document;
dc=fc&&Tb?Xb()||("CSS1Compat"==fc.compatMode?parseInt(bc,10):5):void 0;var gc=Object.freeze||function(a){return a};var hc=!Tb||9<=Number(dc),ic=Tb&&!cc("9"),jc=function(){if(!n.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{n.addEventListener("test",va,b),n.removeEventListener("test",va,b)}catch(c){}return a}();var kc=function(a,b){B.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.$=null;a&&this.init(a,b)};z(kc,B);var lc=gc({2:"touch",3:"pen",4:"mouse"});
kc.prototype.init=function(a,b){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(Vb){a:{try{Pb(b.nodeName);var e=!0;break a}catch(g){}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=Wb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Wb||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=q(a.pointerType)?a.pointerType:lc[a.pointerType]||"";this.state=a.state;this.$=a;a.defaultPrevented&&this.preventDefault()};kc.prototype.stopPropagation=function(){kc.f.stopPropagation.call(this);this.$.stopPropagation?this.$.stopPropagation():this.$.cancelBubble=!0};
kc.prototype.preventDefault=function(){kc.f.preventDefault.call(this);var a=this.$;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,ic)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var mc="closure_listenable_"+(1E6*Math.random()|0),nc=function(a){return!(!a||!a[mc])},oc=0;var pc=function(a,b,c,d,e){this.listener=a;this.ec=null;this.src=b;this.type=c;this.capture=!!d;this.na=e;this.key=++oc;this.cb=this.Lb=!1},qc=function(a){a.cb=!0;a.listener=null;a.ec=null;a.src=null;a.na=null};var rc=function(a){this.src=a;this.G={};this.Hb=0};rc.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.G[g];a||(a=this.G[g]=[],this.Hb++);var f=sc(a,b,d,e);-1<f?(b=a[f],c||(b.Lb=!1)):(b=new pc(b,this.src,g,!!d,e),b.Lb=c,a.push(b));return b};rc.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.G))return!1;var e=this.G[a];b=sc(e,b,c,d);return-1<b?(qc(e[b]),cb(e,b),0==e.length&&(delete this.G[a],this.Hb--),!0):!1};
var tc=function(a,b){var c=b.type;c in a.G&&db(a.G[c],b)&&(qc(b),0==a.G[c].length&&(delete a.G[c],a.Hb--))};rc.prototype.Db=function(a){a=a&&a.toString();var b=0,c;for(c in this.G)if(!a||c==a){for(var d=this.G[c],e=0;e<d.length;e++)++b,qc(d[e]);delete this.G[c];this.Hb--}};rc.prototype.qb=function(a,b,c,d){a=this.G[a.toString()];var e=-1;a&&(e=sc(a,b,c,d));return-1<e?a[e]:null};
rc.prototype.hasListener=function(a,b){var c=p(a),d=c?a.toString():"",e=p(b);return Ab(this.G,function(g){for(var f=0;f<g.length;++f)if(!(c&&g[f].type!=d||e&&g[f].capture!=b))return!0;return!1})};var sc=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.cb&&g.listener==b&&g.capture==!!c&&g.na==d)return e}return-1};var uc="closure_lm_"+(1E6*Math.random()|0),vc={},wc=0,yc=function(a,b,c,d,e){if(d&&d.once)return xc(a,b,c,d,e);if(t(b)){for(var g=0;g<b.length;g++)yc(a,b[g],c,d,e);return null}c=zc(c);return nc(a)?a.ga(b,c,v(d)?!!d.capture:!!d,e):Ac(a,b,c,!1,d,e)},Ac=function(a,b,c,d,e,g){if(!b)throw Error("Invalid event type");var f=v(e)?!!e.capture:!!e,h=Bc(a);h||(a[uc]=h=new rc(a));c=h.add(b,c,d,f,g);if(c.ec)return c;d=Cc();c.ec=d;d.src=a;d.listener=c;if(a.addEventListener)jc||(e=f),void 0===e&&(e=!1),a.addEventListener(b.toString(),
d,e);else if(a.attachEvent)a.attachEvent(Dc(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.");wc++;return c},Cc=function(){var a=Ec,b=hc?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},xc=function(a,b,c,d,e){if(t(b)){for(var g=0;g<b.length;g++)xc(a,b[g],c,d,e);return null}c=zc(c);return nc(a)?
a.zb(b,c,v(d)?!!d.capture:!!d,e):Ac(a,b,c,!0,d,e)},Fc=function(a,b,c,d,e){if(t(b))for(var g=0;g<b.length;g++)Fc(a,b[g],c,d,e);else d=v(d)?!!d.capture:!!d,c=zc(c),nc(a)?a.qc(b,c,d,e):a&&(a=Bc(a))&&(b=a.qb(b,c,d,e))&&Gc(b)},Gc=function(a){if(!r(a)&&a&&!a.cb){var b=a.src;if(nc(b))tc(b.Z,a);else{var c=a.type,d=a.ec;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Dc(c),d):b.addListener&&b.removeListener&&b.removeListener(d);wc--;(c=Bc(b))?(tc(c,a),0==c.Hb&&(c.src=
null,b[uc]=null)):qc(a)}}},Dc=function(a){return a in vc?vc[a]:vc[a]="on"+a},Ic=function(a,b,c,d){var e=!0;if(a=Bc(a))if(b=a.G[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.cb&&(g=Hc(g,d),e=e&&!1!==g)}return e},Hc=function(a,b){var c=a.listener,d=a.na||a.src;a.Lb&&Gc(a);return c.call(d,b)},Ec=function(a,b){if(a.cb)return!0;if(!hc){var c=b||ua("window.event");b=new kc(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=
-1;break a}catch(f){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.Ka&&0<=e;e--){b.currentTarget=c[e];var g=Ic(c[e],a,!0,b);d=d&&g}for(e=0;!b.Ka&&e<c.length;e++)b.currentTarget=c[e],g=Ic(c[e],a,!1,b),d=d&&g}return d}return Hc(a,new kc(b,this))},Bc=function(a){a=a[uc];return a instanceof rc?a:null},Jc="__closure_events_fn_"+(1E9*Math.random()>>>0),zc=function(a){C(a,"Listener can not be null.");if(w(a))return a;C(a.handleEvent,
"An object listener must have handleEvent method.");a[Jc]||(a[Jc]=function(b){return a.handleEvent(b)});return a[Jc]};var D=function(){A.call(this);this.Z=new rc(this);this.De=this;this.bd=null};z(D,A);D.prototype[mc]=!0;l=D.prototype;l.addEventListener=function(a,b,c,d){yc(this,a,b,c,d)};l.removeEventListener=function(a,b,c,d){Fc(this,a,b,c,d)};
l.dispatchEvent=function(a){Kc(this);var b=this.bd;if(b){var c=[];for(var d=1;b;b=b.bd)c.push(b),C(1E3>++d,"infinite loop")}b=this.De;d=a.type||a;if(q(a))a=new B(a,b);else if(a instanceof B)a.target=a.target||b;else{var e=a;a=new B(d,b);Lb(a,e)}e=!0;if(c)for(var g=c.length-1;!a.Ka&&0<=g;g--){var f=a.currentTarget=c[g];e=Lc(f,d,!0,a)&&e}a.Ka||(f=a.currentTarget=b,e=Lc(f,d,!0,a)&&e,a.Ka||(e=Lc(f,d,!1,a)&&e));if(c)for(g=0;!a.Ka&&g<c.length;g++)f=a.currentTarget=c[g],e=Lc(f,d,!1,a)&&e;return e};
l.h=function(){D.f.h.call(this);this.Z&&this.Z.Db(void 0);this.bd=null};l.ga=function(a,b,c,d){Kc(this);return this.Z.add(String(a),b,!1,c,d)};l.zb=function(a,b,c,d){return this.Z.add(String(a),b,!0,c,d)};l.qc=function(a,b,c,d){this.Z.remove(String(a),b,c,d)};var Lc=function(a,b,c,d){b=a.Z.G[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,g=0;g<b.length;++g){var f=b[g];if(f&&!f.cb&&f.capture==c){var h=f.listener,k=f.na||f.src;f.Lb&&tc(a.Z,f);e=!1!==h.call(k,d)&&e}}return e&&0!=d.pe};
D.prototype.qb=function(a,b,c,d){return this.Z.qb(String(a),b,c,d)};D.prototype.hasListener=function(a,b){return this.Z.hasListener(p(a)?String(a):void 0,b)};var Kc=function(a){C(a.Z,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Mc=function(a){return a};var Nc="StopIteration"in n?n.StopIteration:{message:"StopIteration",stack:""},Oc=function(){};Oc.prototype.next=function(){throw Nc;};Oc.prototype.Ra=function(){return this};
var Pc=function(a){if(a instanceof Oc)return a;if("function"==typeof a.Ra)return a.Ra(!1);if(ya(a)){var b=0,c=new Oc;c.next=function(){for(;;){if(b>=a.length)throw Nc;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},Qc=function(a,b){if(ya(a))try{Ta(a,b,void 0)}catch(c){if(c!==Nc)throw c;}else{a=Pc(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==Nc)throw c;}}};var Rc=function(a,b){this.s={};this.j=[];this.Ib=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)};l=Rc.prototype;l.m=function(){return this.l};l.w=function(){Sc(this);for(var a=[],b=0;b<this.j.length;b++)a.push(this.s[this.j[b]]);return a};l.ba=function(){Sc(this);return this.j.concat()};l.ua=function(a){return Tc(this.s,a)};
l.lb=function(a){for(var b=0;b<this.j.length;b++){var c=this.j[b];if(Tc(this.s,c)&&this.s[c]==a)return!0}return!1};l.equals=function(a,b){if(this===a)return!0;if(this.l!=a.m())return!1;b=b||Uc;Sc(this);for(var c,d=0;c=this.j[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Uc=function(a,b){return a===b};Rc.prototype.isEmpty=function(){return 0==this.l};Rc.prototype.clear=function(){this.s={};this.Ib=this.l=this.j.length=0};
Rc.prototype.remove=function(a){return Tc(this.s,a)?(delete this.s[a],this.l--,this.Ib++,this.j.length>2*this.l&&Sc(this),!0):!1};var Sc=function(a){if(a.l!=a.j.length){for(var b=0,c=0;b<a.j.length;){var d=a.j[b];Tc(a.s,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],Tc(e,d)||(a.j[c++]=d,e[d]=1),b++;a.j.length=c}};l=Rc.prototype;l.get=function(a,b){return Tc(this.s,a)?this.s[a]:b};
l.set=function(a,b){Tc(this.s,a)||(this.l++,this.j.push(a),this.Ib++);this.s[a]=b};l.addAll=function(a){if(a instanceof Rc)for(var b=a.ba(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};l.forEach=function(a,b){for(var c=this.ba(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};l.clone=function(){return new Rc(this)};
l.Ra=function(a){Sc(this);var b=0,c=this.Ib,d=this,e=new Oc;e.next=function(){if(c!=d.Ib)throw Error("The map has changed since the iterator was created");if(b>=d.j.length)throw Nc;var g=d.j[b++];return a?g:d.s[g]};return e};var Tc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Vc=function(a){if(a.m&&"function"==typeof a.m)a=a.m();else if(ya(a)||q(a))a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Wc=function(a){if(a.w&&"function"==typeof a.w)return a.w();if(q(a))return a.split("");if(ya(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Bb(a)},Xc=function(a){if(a.ba&&"function"==typeof a.ba)return a.ba();if(!a.w||"function"!=typeof a.w){if(ya(a)||q(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Cb(a)}},Yc=function(a,b,
c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(ya(a)||q(a))Ta(a,b,c);else for(var d=Xc(a),e=Wc(a),g=e.length,f=0;f<g;f++)b.call(c,e[f],d&&d[f],a)},Zc=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(ya(a)||q(a))return Xa(a,b,void 0);for(var c=Xc(a),d=Wc(a),e=d.length,g=0;g<e;g++)if(!b.call(void 0,d[g],c&&c[g],a))return!1;return!0};var $c=function(a){this.s=new Rc;a&&this.addAll(a)},ad=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[Aa]||(a[Aa]=++Ca)):b.substr(0,1)+a};l=$c.prototype;l.m=function(){return this.s.m()};l.add=function(a){this.s.set(ad(a),a)};l.addAll=function(a){a=Wc(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};l.Db=function(a){a=Wc(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};l.remove=function(a){return this.s.remove(ad(a))};l.clear=function(){this.s.clear()};l.isEmpty=function(){return this.s.isEmpty()};
l.contains=function(a){return this.s.ua(ad(a))};var bd=function(a,b){var c=new $c;b=Wc(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},cd=function(a,b){a=a.clone();a.Db(b);return a};$c.prototype.w=function(){return this.s.w()};$c.prototype.clone=function(){return new $c(this)};$c.prototype.equals=function(a){return this.m()==Vc(a)&&dd(this,a)};
var dd=function(a,b){var c=Vc(b);if(a.m()>c)return!1;!(b instanceof $c)&&5<c&&(b=new $c(b));return Zc(a,function(d){var e=b;return e.contains&&"function"==typeof e.contains?e.contains(d):e.lb&&"function"==typeof e.lb?e.lb(d):ya(e)||q(e)?ab(e,d):Db(e,d)})};$c.prototype.Ra=function(){return this.s.Ra(!1)};var ed=function(a,b,c){D.call(this);this.$e=b;this.token=c;this.Aa=[];this.qd=new $c;this.ya=0;this.url=a};z(ed,D);y("ee.AbstractOverlay",ed);var fd=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.$e,c,e,b.y].join("/")};ed.prototype.Pc=function(){return this.Aa.length};var gd=function(a){B.call(this,"tileevent");this.count=a};z(gd,B);var hd={kind:"discovery#restDescription",name:"earthengine",version:"v1",rootUrl:"https://earthengine.googleapis.com/",servicePath:"",batchPath:"batch",id:"earthengine:v1",parameters:{"$.xgafv":{location:"query",required:!1},access_token:{location:"query",required:!1},alt:{location:"query",required:!1},callback:{location:"query",required:!1},fields:{location:"query",required:!1},key:{location:"query",required:!1},oauth_token:{location:"query",required:!1},prettyPrint:{location:"query",required:!1},
quotaUser:{location:"query",required:!1},uploadType:{location:"query",required:!1},upload_protocol:{location:"query",required:!1}},resources:{algorithms:{methods:{list:{id:"earthengine.algorithms.list",path:"v1/algorithms",httpMethod:"GET"}}},assets:{methods:{copy:{id:"earthengine.assets.copy",path:"v1/{+sourceName}:copy",httpMethod:"POST",request:{$ref:"CopyAssetRequest"},parameters:{sourceName:{location:"path",required:!0}}},create:{id:"earthengine.assets.create",path:"v1/assets",httpMethod:"POST",
request:{$ref:"EarthEngineAsset"},parameters:{parent:{location:"query",required:!1},assetId:{location:"query",required:!1},overwrite:{location:"query",required:!1}}},"delete":{id:"earthengine.assets.delete",path:"v1/{+name}",httpMethod:"DELETE",parameters:{name:{location:"path",required:!0}}},get:{id:"earthengine.assets.get",path:"v1/{+name}",httpMethod:"GET",parameters:{name:{location:"path",required:!0},path:{location:"query",required:!1}}},getPixels:{id:"earthengine.assets.getPixels",path:"v1/{+name}:getPixels",
httpMethod:"POST",request:{$ref:"GetPixelsRequest"},parameters:{name:{location:"path",required:!0}}},ingestImage:{id:"earthengine.assets.ingestImage",path:"v1/assets:ingestImage",httpMethod:"POST",request:{$ref:"IngestImageRequest"}},ingestTable:{id:"earthengine.assets.ingestTable",path:"v1/assets:ingestTable",httpMethod:"POST",request:{$ref:"IngestTableRequest"}},list:{id:"earthengine.assets.list",path:"v1/{+name}:list",httpMethod:"GET",parameters:{name:{location:"path",required:!0},parentPath:{location:"query",
required:!1},pageSize:{location:"query",required:!1},pageToken:{location:"query",required:!1}}},listFeatures:{id:"earthengine.assets.listFeatures",path:"v1/{+name}:listFeatures",httpMethod:"GET",parameters:{name:{location:"path",required:!0},pageSize:{location:"query",required:!1},pageToken:{location:"query",required:!1},region:{location:"query",required:!1},filter:{location:"query",required:!1}}},listImages:{id:"earthengine.assets.listImages",path:"v1/{+name}:listImages",httpMethod:"GET",parameters:{name:{location:"path",
required:!0},parentPath:{location:"query",required:!1},pageSize:{location:"query",required:!1},pageToken:{location:"query",required:!1},startTime:{location:"query",required:!1},endTime:{location:"query",required:!1},region:{location:"query",required:!1},filter:{location:"query",required:!1},view:{location:"query",required:!1}}},move:{id:"earthengine.assets.move",path:"v1/{+sourceName}:move",httpMethod:"POST",request:{$ref:"MoveAssetRequest"},parameters:{sourceName:{location:"path",required:!0}}},
patch:{id:"earthengine.assets.patch",path:"v1/{+name}",httpMethod:"PATCH",request:{$ref:"UpdateAssetRequest"},parameters:{name:{location:"path",required:!0}}}}},image:{methods:{compute:{id:"earthengine.image.compute",path:"v1/image:compute",httpMethod:"POST",request:{$ref:"ComputeImageRequest"}},"export":{id:"earthengine.image.export",path:"v1/image:export",httpMethod:"POST",request:{$ref:"ExportImageRequest"}},ingest:{id:"earthengine.image.ingest",path:"v1/image:ingest",httpMethod:"POST",request:{$ref:"IngestImageRequest"}}}},
map:{methods:{"export":{id:"earthengine.map.export",path:"v1/map:export",httpMethod:"POST",request:{$ref:"ExportMapRequest"}}}},operations:{methods:{cancel:{id:"earthengine.operations.cancel",path:"v1/{+name}:cancel",httpMethod:"POST",request:{$ref:"CancelOperationRequest"},parameters:{name:{location:"path",required:!0}}},"delete":{id:"earthengine.operations.delete",path:"v1/{+name}",httpMethod:"DELETE",parameters:{name:{location:"path",required:!0}}},get:{id:"earthengine.operations.get",path:"v1/{+name}",
httpMethod:"GET",parameters:{name:{location:"path",required:!0}}},list:{id:"earthengine.operations.list",path:"v1/{+name}",httpMethod:"GET",parameters:{name:{location:"path",required:!0},filter:{location:"query",required:!1},pageSize:{location:"query",required:!1},pageToken:{location:"query",required:!1}}},wait:{id:"earthengine.operations.wait",path:"v1/{+name}:wait",httpMethod:"POST",request:{$ref:"WaitOperationRequest"},parameters:{name:{location:"path",required:!0}}}}},projects:{methods:{},resources:{assets:{methods:{copy:{id:"earthengine.projects.assets.copy",
path:"v1/{+sourceName}:copy",httpMethod:"POST",request:{$ref:"CopyAssetRequest"},parameters:{sourceName:{location:"path",required:!0}}},create:{id:"earthengine.projects.assets.create",path:"v1/{+parent}/assets",httpMethod:"POST",request:{$ref:"EarthEngineAsset"},parameters:{parent:{location:"path",required:!0},assetId:{location:"query",required:!1},overwrite:{location:"query",required:!1}}},"delete":{id:"earthengine.projects.assets.delete",path:"v1/{+name}",httpMethod:"DELETE",parameters:{name:{location:"path",
required:!0}}},get:{id:"earthengine.projects.assets.get",path:"v1/{+name}",httpMethod:"GET",parameters:{name:{location:"path",required:!0},path:{location:"query",required:!1}}},getIamPolicy:{id:"earthengine.projects.assets.getIamPolicy",path:"v1/{+resource}:getIamPolicy",httpMethod:"POST",request:{$ref:"GetIamPolicyRequest"},parameters:{resource:{location:"path",required:!0}}},getPixels:{id:"earthengine.projects.assets.getPixels",path:"v1/{+name}:getPixels",httpMethod:"POST",request:{$ref:"GetPixelsRequest"},
parameters:{name:{location:"path",required:!0}}},list:{id:"earthengine.projects.assets.list",path:"v1/{+name}:list",httpMethod:"GET",parameters:{name:{location:"path",required:!0},parentPath:{location:"query",required:!1},pageSize:{location:"query",required:!1},pageToken:{location:"query",required:!1}}},listFeatures:{id:"earthengine.projects.assets.listFeatures",path:"v1/{+name}:listFeatures",httpMethod:"GET",parameters:{name:{location:"path",required:!0},pageSize:{location:"query",required:!1},pageToken:{location:"query",
required:!1},region:{location:"query",required:!1},filter:{location:"query",required:!1}}},listImages:{id:"earthengine.projects.assets.listImages",path:"v1/{+name}:listImages",httpMethod:"GET",parameters:{name:{location:"path",required:!0},parentPath:{location:"query",required:!1},pageSize:{location:"query",required:!1},pageToken:{location:"query",required:!1},startTime:{location:"query",required:!1},endTime:{location:"query",required:!1},region:{location:"query",required:!1},filter:{location:"query",
required:!1},view:{location:"query",required:!1}}},move:{id:"earthengine.projects.assets.move",path:"v1/{+sourceName}:move",httpMethod:"POST",request:{$ref:"MoveAssetRequest"},parameters:{sourceName:{location:"path",required:!0}}},patch:{id:"earthengine.projects.assets.patch",path:"v1/{+name}",httpMethod:"PATCH",request:{$ref:"UpdateAssetRequest"},parameters:{name:{location:"path",required:!0}}},setIamPolicy:{id:"earthengine.projects.assets.setIamPolicy",path:"v1/{+resource}:setIamPolicy",httpMethod:"POST",
request:{$ref:"SetIamPolicyRequest"},parameters:{resource:{location:"path",required:!0}}},testIamPermissions:{id:"earthengine.projects.assets.testIamPermissions",path:"v1/{+resource}:testIamPermissions",httpMethod:"POST",request:{$ref:"TestIamPermissionsRequest"},parameters:{resource:{location:"path",required:!0}}}}},filmstripThumbnails:{methods:{create:{id:"earthengine.projects.filmstripThumbnails.create",path:"v1/{+parent}/filmstripThumbnails",httpMethod:"POST",request:{$ref:"FilmstripThumbnail"},
parameters:{parent:{location:"path",required:!0}}},getPixels:{id:"earthengine.projects.filmstripThumbnails.getPixels",path:"v1/{+name}:getPixels",httpMethod:"GET",parameters:{name:{location:"path",required:!0}}}}},maps:{methods:{create:{id:"earthengine.projects.maps.create",path:"v1/{+parent}/maps",httpMethod:"POST",request:{$ref:"EarthEngineMap"},parameters:{parent:{location:"path",required:!0}}}},resources:{tiles:{methods:{get:{id:"earthengine.projects.maps.tiles.get",path:"v1/{+parent}/tiles/{zoom}/{x}/{y}",
httpMethod:"GET",parameters:{parent:{location:"path",required:!0},zoom:{location:"path",required:!0},x:{location:"path",required:!0},y:{location:"path",required:!0}}}}}}},thumbnails:{methods:{create:{id:"earthengine.projects.thumbnails.create",path:"v1/{+parent}/thumbnails",httpMethod:"POST",request:{$ref:"Thumbnail"},parameters:{parent:{location:"path",required:!0}}},getPixels:{id:"earthengine.projects.thumbnails.getPixels",path:"v1/{+name}:getPixels",httpMethod:"GET",parameters:{name:{location:"path",
required:!0}}}}},videoThumbnails:{methods:{create:{id:"earthengine.projects.videoThumbnails.create",path:"v1/{+parent}/videoThumbnails",httpMethod:"POST",request:{$ref:"VideoThumbnail"},parameters:{parent:{location:"path",required:!0}}},getPixels:{id:"earthengine.projects.videoThumbnails.getPixels",path:"v1/{+name}:getPixels",httpMethod:"GET",parameters:{name:{location:"path",required:!0}}}}}}},table:{methods:{compute:{id:"earthengine.table.compute",path:"v1/table:compute",httpMethod:"POST",request:{$ref:"ComputeTableRequest"}},
"export":{id:"earthengine.table.export",path:"v1/table:export",httpMethod:"POST",request:{$ref:"ExportTableRequest"}},ingest:{id:"earthengine.table.ingest",path:"v1/table:ingest",httpMethod:"POST",request:{$ref:"IngestTableRequest"}}}},v1:{methods:{computeImage:{id:"earthengine.computeImage",path:"v1:computeImage",httpMethod:"POST",request:{$ref:"ComputeImageRequest"}},computeTable:{id:"earthengine.computeTable",path:"v1:computeTable",httpMethod:"POST",request:{$ref:"ComputeTableRequest"}},computeValue:{id:"earthengine.computeValue",
path:"v1:computeValue",httpMethod:"POST",request:{$ref:"ComputeValueRequest"}},exportImage:{id:"earthengine.exportImage",path:"v1:exportImage",httpMethod:"POST",request:{$ref:"ExportImageRequest"}},exportMap:{id:"earthengine.exportMap",path:"v1:exportMap",httpMethod:"POST",request:{$ref:"ExportMapRequest"}},exportTable:{id:"earthengine.exportTable",path:"v1:exportTable",httpMethod:"POST",request:{$ref:"ExportTableRequest"}},exportVideo:{id:"earthengine.exportVideo",path:"v1:exportVideo",httpMethod:"POST",
request:{$ref:"ExportVideoRequest"}},exportVideoMap:{id:"earthengine.exportVideoMap",path:"v1:exportVideoMap",httpMethod:"POST",request:{$ref:"ExportVideoMapRequest"}},ingestImage:{id:"earthengine.ingestImage",path:"v1:ingestImage",httpMethod:"POST",request:{$ref:"IngestImageRequest"}},ingestTable:{id:"earthengine.ingestTable",path:"v1:ingestTable",httpMethod:"POST",request:{$ref:"IngestTableRequest"}},listBuckets:{id:"earthengine.listBuckets",path:"v1:listBuckets",httpMethod:"GET"}}},value:{methods:{compute:{id:"earthengine.value.compute",
path:"v1/value:compute",httpMethod:"POST",request:{$ref:"ComputeValueRequest"}}}},video:{methods:{"export":{id:"earthengine.video.export",path:"v1/video:export",httpMethod:"POST",request:{$ref:"ExportVideoRequest"}}}},videoMap:{methods:{"export":{id:"earthengine.videoMap.export",path:"v1/videoMap:export",httpMethod:"POST",request:{$ref:"ExportVideoMapRequest"}}}},videoThumbnails:{methods:{create:{id:"earthengine.videoThumbnails.create",path:"v1/videoThumbnails",httpMethod:"POST",request:{$ref:"VideoThumbnail"},
parameters:{parent:{location:"query",required:!1}}},getPixels:{id:"earthengine.videoThumbnails.getPixels",path:"v1/{+name}:getPixels",httpMethod:"GET",parameters:{name:{location:"path",required:!0}}}}}},methods:{}};var id=function(){},jd=function(a){return{constantValue:a}},kd=function(a){return{valueReference:a}},ld=function(a,b){return{functionInvocationValue:{functionName:a,arguments:b}}},md=function(a,b){return{functionInvocationValue:{arguments:b,functionReference:a}}},nd=function(a,b){return{functionDefinitionValue:{argumentNames:a,body:b}}},od=function(a){if(!a)return"AUTO_PNG_JPEG";a=a.toUpperCase();switch(a){case "JPG":return"JPEG";case "AUTO":return"AUTO_PNG_JPEG";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}},pd=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}},qd=function(a){if(!a)return[];if(q(a))return a.split(",");if(t(a))return a;throw Error("Invalid band list "+a);},td=function(a){var b={};if("palette"in a){var c=a.palette;b.paletteColors=q(c)?c.split(","):c}c=[];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 d=b.paletteColors?b.paletteColors.length-1:255;c=rd(a,"bias","gain").map(function(e){var g=-e.bias/e.gain;return{min:g,max:d/e.gain+g}})}else if("min"in a||"max"in a)c=rd(a,"min","max");0!==c.length&&(b.ranges=c);a=sd(a.gamma);if(1<a.length)throw Error("Only one gamma value is supported");1===a.length&&(b.gamma={value:a[0]});return Gb(b)?null:b},sd=function(a){return a?a.split(",").map(Number):
[]},rd=function(a,b,c){var d=sd(a[b]),e=sd(a[c]);if(0===d.length)return e.map(function(g){var f={};return f[b]=0,f[c]=g,f});if(0===e.length)return d.map(function(g){var f={};return f[b]=g,f[c]=1,f});if(d.length!==e.length)throw Error("Length of "+b+" and "+c+" must match.");return d.map(function(g,f){var h={};return h[b]=g,h[c]=e[f],h})},ud=function(a){var b=function(f){var h={};h.description=f.description||"";h.type=f.type||"";null!=f.argumentName&&(h.name=f.argumentName);void 0!==f.defaultValue&&
(h["default"]=f.defaultValue);null!=f.optional&&(h.optional=f.optional);return h},c=function(f){var h={};h.args=(f.arguments||[]).map(b);h.description=f.description||"";h.returns=f.returnType||"";null!=f.hidden&&(h.hidden=f.hidden);f.deprecated&&(h.deprecated=f.deprecationReason);return h},d={};a=ba(a.algorithms||[]);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=e.name.replace(/^algorithms\//,"");d[g]=c(e)}return d},vd=function(a){return(a=/^(projects\/[a-z][a-z0-9\-]{4,28}[a-z0-9])\/.*/.exec(a))?
a[1]:"projects/earthengine-legacy"},wd=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},xd=function(a){switch(a){case "ImageCollection":return"IMAGE_COLLECTION";case "Folder":return"FOLDER";default:return a}},yd=function(a){var b={};a.id&&(b.name=wd(a.id));a.num&&(b.pageSize=a.num);var c=["id","num"];a=ba(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");return b},Ad=function(a){return(a.assets||[]).map(zd)},Bd=function(a){return(a.assets||[]).map(zd)},Cd=function(a){return(a.buckets||[]).map(zd)},zd=function(a){var b={type:function(c){switch(c){case "IMAGE":return"Image";case "IMAGE_COLLECTION":return"ImageCollection";case "FOLDER":return"Folder";case "TABLE":return"Table";default:return"Unknown"}}(a.type)};null!=a.path&&(b.id=a.path);return b},Ed=function(a){var b=
{};a.id&&(b.name=wd(a.id));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=Dd(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=ba(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");return b},Dd=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("],[")+"]]]}"},Fd=function(a){var b={};(a.bindings||[]).forEach(function(e){b[e.role]=e.members});var c=function(e){return e.replace(/^group:|^user:/,"")};a=b["roles/viewer"]||[];var d=a.filter(function(e){return"allUsers"!==e});c={owners:(b["roles/owner"]||[]).map(c),writers:(b["roles/editor"]||[]).map(c),readers:d.map(c)};a.length!=
d.length&&(c.all_users_can_read=!0);return c},Gd=function(a){return{bindings:[{role:"roles/owner",members:a.owners||[]},{role:"roles/viewer",members:(a.readers||[]).concat(a.all_users_can_read?["allUsers"]:[])},{role:"roles/editor",members:a.writers||[]}].filter(function(b){return b.members.length}),etag:null}},Hd=function(a){return"operations/"+a},Id=function(a){var b={},c=function(g,f){null!=f&&(b[g]=Date.parse(f))},d=function(g){switch(g){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=a.metadata;null!=e.description&&(b.description=e.description);null!=e.state&&(b.state=d(e.state));c("creation_timestamp_ms",e.createTime);c("update_timestamp_ms",e.updateTime);c("start_timestamp_ms",e.startTime);a.done&&null!=a.error&&(b.error_message=a.error.message);null!=a.name&&(b.id=a.name.replace(/^operations\//,""));b.task_type=
"UNKNOWN";return b};var Jd=function(){this.ka=-1};var Kd=function(){this.ka=-1;this.ka=64;this.F=Array(4);this.Ge=Array(this.ka);this.oc=this.jb=0;this.reset()};z(Kd,Jd);Kd.prototype.reset=function(){this.F[0]=1732584193;this.F[1]=4023233417;this.F[2]=2562383102;this.F[3]=271733878;this.oc=this.jb=0};
var Ld=function(a,b,c){c||(c=0);var d=Array(16);if(q(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.F[0];c=a.F[1];e=a.F[2];var g=a.F[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&
(g^b))+d[3]+3250441966&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[4]+4118548399&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[5]+1200080426&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[6]+2821735955&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[7]+4249261313&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[8]+1770035416&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[9]+2336552879&4294967295;g=b+(f<<12&4294967295|f>>>20);f=
e+(c^g&(b^c))+d[10]+4294925233&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[11]+2304563134&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[12]+1804603682&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[13]+4254626195&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[14]+2792965006&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[15]+1236535329&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(e^g&(c^e))+d[1]+4129170786&4294967295;b=c+(f<<5&4294967295|
f>>>27);f=g+(c^e&(b^c))+d[6]+3225465664&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[11]+643717713&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[0]+3921069994&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[5]+3593408605&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[10]+38016083&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[15]+3634488961&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[4]+3889429448&4294967295;c=e+(f<<20&4294967295|
f>>>12);f=b+(e^g&(c^e))+d[9]+568446438&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[14]+3275163606&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[3]+4107603335&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[8]+1163531501&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[13]+2850285829&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[2]+4243563512&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[7]+1735328473&4294967295;e=g+(f<<14&4294967295|
f>>>18);f=c+(g^b&(e^g))+d[12]+2368359562&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(c^e^g)+d[5]+4294588738&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[8]+2272392833&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[11]+1839030562&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[14]+4259657740&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[1]+2763975236&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[4]+1272893353&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^
b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[10]+3200236656&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[13]+681279174&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[0]+3936430074&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[3]+3572445317&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[6]+76029189&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[9]+3654602809&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[12]+3873151461&4294967295;
g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[15]+530742520&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[2]+3299628645&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(e^(c|~g))+d[0]+4096336452&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[7]+1126891415&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[14]+2878612391&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[5]+4237533241&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[12]+1700485571&4294967295;b=c+
(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[3]+2399980690&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[10]+4293915773&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[1]+2240044497&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[8]+1873313359&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[15]+4264355552&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[6]+2734768916&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[13]+1309151649&4294967295;
c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.F[0]=a.F[0]+b&4294967295;a.F[1]=a.F[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.F[2]=a.F[2]+e&4294967295;a.F[3]=a.F[3]+g&4294967295};
Kd.prototype.update=function(a,b){p(b)||(b=a.length);for(var c=b-this.ka,d=this.Ge,e=this.jb,g=0;g<b;){if(0==e)for(;g<=c;)Ld(this,a,g),g+=this.ka;if(q(a))for(;g<b;){if(d[e++]=a.charCodeAt(g++),e==this.ka){Ld(this,d);e=0;break}}else for(;g<b;)if(d[e++]=a[g++],e==this.ka){Ld(this,d);e=0;break}}this.jb=e;this.oc+=b};
Kd.prototype.digest=function(){var a=Array((56>this.jb?this.ka:2*this.ka)-this.jb);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.oc;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.F[b]>>>d&255;return a};var Nd=function(a){return(new Md(void 0)).B(a)},Md=function(a){this.gc=a};Md.prototype.B=function(a){var b=[];Od(this,a,b);return b.join("")};
var Od=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(t(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],Od(a,a.gc?a.gc.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),Pd(d,c),c.push(":"),Od(a,a.gc?a.gc.call(b,d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":Pd(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);}}},Qd={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Rd=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,Pd=function(a,b){b.push('"',a.replace(Rd,function(c){var d=Qd[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),
Qd[c]=d);return d}),'"')};var Sd=function(a){this.sa="__ee_hash__";this.Wb=!1!==a;this.ha=[];this.U={};this.ib=[]};y("ee.Serializer",Sd);var Td=new Md,Ud=new Kd,Wd=function(a,b){return Vd(new Sd(p(b)?b:!0),a)};y("ee.Serializer.encode",Wd);var Xd=function(a){return Td.B(Wd(a))};y("ee.Serializer.toJSON",Xd);var Zd=function(a){return Yd(Wd(a,!1))};y("ee.Serializer.toReadableJSON",Zd);
var Yd=function(a){return"JSON"in n?n.JSON.stringify(a,null,"  "):Td.B(a)},Vd=function(a,b){b=a.Pb(b);a.Wb&&(b=v(b)&&"ValueRef"==b.type&&1==a.ha.length?a.ha[0][1]:{type:"CompoundValue",scope:a.ha,value:b},a.ha=[],Ta(a.ib,x(function(c){delete c[this.sa]},a)),a.ib=[],a.U={});return b};
Sd.prototype.Pb=function(a){if(!p(a))throw Error("Can't encode an undefined value.");var b=v(a)?a[this.sa]:null;if(this.Wb&&null!=b&&this.U[b])return{type:"ValueRef",value:this.U[b]};if(null===a||ra(a)||r(a)||q(a))return a;if(za(a))return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof id){var c=a.encode(x(this.Pb,this));if(!(t(c)||v(c)&&"ArgumentRef"!=c.type))return c}else if(t(a))c=Va(a,function(e){return this.Pb(e)},this);else if(v(a)&&!w(a))c=zb(a,
function(e){if(!w(e))return this.Pb(e)},this),Hb(c,this.sa),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Wb){b=$d(c);if(this.U[b])var d=this.U[b];else d=String(this.ha.length),this.ha.push([d,c]),this.U[b]=d;a[this.sa]=b;this.ib.push(a);return{type:"ValueRef",value:d}}return c};var $d=function(a){Ud.reset();Ud.update(Td.B(a));return Ud.digest().toString()},be=function(a){return ae(new Sd(!0),a)};y("ee.Serializer.encodeCloudApi",be);
var ce=function(a){a=ae(new Sd(!1),a);var b=a.values,c=function(d){if(!v(d))return d;var e=t(d)?[]:{};d=ba(Object.entries(d));for(var g=d.next();!g.done;g=d.next()){var f=ba(g.value);g=f.next().value;f=f.next().value;e[g]="functionDefinitionValue"===g&&null!=f.body?{argumentNames:f.argumentNames,body:c(b[f.body])}:"functionInvocationValue"===g&&null!=f.functionReference?{arguments:f.arguments.map(c),functionReference:c(b[f.functionReference])}:"constantValue"===g?f:c(f)}return e};return c(b[a.result])};
y("ee.Serializer.encodeCloudApiPretty",ce);var de=function(a){return Yd(ce(a))};y("ee.Serializer.toReadableCloudApiJSON",de);
var ae=function(a,b){try{var c=fe(a,b);return ge(new he(c,a.ha,a.Wb))}finally{a.ib.forEach(function(d){return delete d[a.sa]}),a.ib=[],a.U={},a.ha=[]}},fe=function(a,b){var c=function(e){var g=$d(e);if(a.U[g])return a.U[g];var f=String(a.ha.length);a.ha.push([f,e]);a.U[g]=f;v(b)&&(b[a.sa]=g,a.ib.push(b));return f};if(v(b)&&a.U[b[a.sa]])return a.U[b[a.sa]];if(null===b||ra(b)||q(b)||r(b))return c(jd(b));if(za(b))return c(ld("Date",{value:jd(Math.floor(b.getTime()))}));if(b instanceof id)return c(b.P(function(e){return fe(a,
e)}));if(t(b))return c({arrayValue:{values:b.map(function(e){return kd(fe(a,e))})}});if(v(b)&&!w(b)){var d={};Object.keys(b).sort().forEach(function(e){d[e]=kd(fe(a,b[e]))});return c({dictionaryValue:{values:d}})}throw Error("Can't encode object: "+b);},he=function(a,b,c){var d=this;this.qe=a;this.values={};b.forEach(function(e){return d.values[e[0]]=e[1]});this.le=c?ie(this):null;this.je={};this.gd={};this.cf=0},ge=function(a){return{result:je(a,a.qe),values:a.je}},je=function(a,b){if(b in a.gd)return a.gd[b];
var c=String(a.cf++);a.gd[b]=c;a.je[c]=ke(a,a.values[b]);return c},ke=function(a,b){var c=function(h){return void 0!==h.constantValue};if(c(b)||null!=b.integerValue||null!=b.bytesValue||null!=b.argumentReference)return b;if(null!=b.valueReference)return c=a.values[b.valueReference],null===a.le||1===a.le[b.valueReference]?ke(a,c):le(c)?c:kd(je(a,b.valueReference));if(null!=b.arrayValue){var d=b.arrayValue.values.map(function(h){return ke(a,h)});return d.every(c)?jd(d.map(function(h){return h.constantValue})):
{arrayValue:{values:d}}}if(null!=b.dictionaryValue){d={};var e={};b=ba(Object.entries(b.dictionaryValue.values||{}));for(var g=b.next();!g.done;g=b.next()){var f=ba(g.value);g=f.next().value;f=f.next().value;d[g]=ke(a,f);null!==e&&c(d[g])?e[g]=d[g].constantValue:e=null}return null!==e?jd(e):{dictionaryValue:{values:d}}}if(null!=b.functionDefinitionValue)return c=b.functionDefinitionValue,nd(c.argumentNames||[],je(a,c.body||""));if(null!=b.functionInvocationValue){c=b.functionInvocationValue;d={};
e=ba(Object.keys(c.arguments||{}));for(b=e.next();!b.done;b=e.next())b=b.value,d[b]=ke(a,c.arguments[b]);return c.functionName?ld(c.functionName,d):md(je(a,c.functionReference||""),d)}throw Error("Can't optimize value: "+b);},le=function(a){var b=a.constantValue;return void 0!==b?null===b||r(b)||ra(b):null!=a.argumentReference},ie=function(a){var b={},c=function(e){b[e]?b[e]++:(b[e]=1,d(a.values[e]))},d=function(e){null!=e.arrayValue?e.arrayValue.values.forEach(d):null!=e.dictionaryValue?Object.values(e.dictionaryValue.values).forEach(d):
null!=e.functionDefinitionValue?c(e.functionDefinitionValue.body):null!=e.functionInvocationValue?(e=e.functionInvocationValue,null!=e.functionReference&&c(e.functionReference),Object.values(e.arguments).forEach(d)):null!=e.valueReference&&c(e.valueReference)};c(a.qe);return b};var oe=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b={expression:be(a.element),description:E(a.description),fileExportOptions:null,assetExportOptions:null,grid:null,maxPixels:E(a.maxPixels),requestId:E(a.id)},c=me(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":b.fileExportOptions=ne(a,c);break;case "ASSET":b.assetExportOptions={destination:{name:E(a.assetId)},pyramidingPolicy:String(a.pyramidingPolicy||"PYRAMIDING_POLICY_UNSPECIFIED"),pyramidingPolicyOverrides:null};
break;default:throw Error('Export destination "'+c+'" unknown');}return b};y("ee.rpc_convert_batch.taskToExportImageRequest",oe);
var re=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b=a.selectors||null;null!=b&&q(b)&&(b=b.split(","));b={expression:be(a.element),description:E(a.description),fileExportOptions:null,assetExportOptions:null,selectors:b,requestId:E(a.id)};var c=me(a);switch(c){case "GOOGLE_CLOUD_STORAGE":case "DRIVE":var d={cloudStorageDestination:null,driveDestination:null,fileFormat:pd(a.fileFormat)};"GOOGLE_CLOUD_STORAGE"===c?d.cloudStorageDestination=pe(a):d.driveDestination=
qe(a);b.fileExportOptions=d;break;case "ASSET":b.assetExportOptions={destination:{name:E(a.assetId)}};break;default:throw Error('Export destination "'+c+'" unknown');}return b};y("ee.rpc_convert_batch.taskToExportTableRequest",re);var ue=function(a){if(null==a.element)throw Error('"element" not found in params '+a);var b={expression:be(a.element),description:E(a.description),videoOptions:se(a),fileExportOptions:null,requestId:E(a.id)};b.fileExportOptions=te(a,me(a));return b};
y("ee.rpc_convert_batch.taskToExportVideoRequest",ue);var we=function(a){if(null==a.element)throw Error('"element" not found in params '+a);return{expression:be(a.element),description:E(a.description),tileOptions:ve(a),tileExportOptions:ne(a,"GOOGLE_CLOUD_STORAGE"),requestId:E(a.id)}};y("ee.rpc_convert_batch.taskToExportMapRequest",we);
var xe=function(a){if(null==a.element)throw Error('"element" not found in params '+a);return{expression:be(a.element),description:E(a.description),videoOptions:se(a),tileOptions:ve(a),tileExportOptions:te(a,"GOOGLE_CLOUD_STORAGE"),requestId:E(a.id)}};y("ee.rpc_convert_batch.taskToExportVideoMapRequest",xe);function E(a){return null!=a?String(a):null}function ye(a){return null!=a?Number(a):null}
var me=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},Ae=function(a){var b={compress:!!a.tfrecordCompressed,maxSizeBytes:E(a.tfrecordMaxFileSize),sequenceData:!!a.tfrecordSequenceData,collapseBands:!!a.tfrecordCollapseBands,maxMaskedRatio:ye(a.tfrecordMaskedThreshold),defaultValue:ye(a.tfrecordDefaultValue),tileDimensions:ze(a.tfrecordFileDimensions),marginDimensions:ze(a.tfrecordKernelSize),
tensorDepths:null};a=a.tfrecordTensorDepths;if(null!=a)if(v(a)){var c={};xb(a,function(d,e){if(!q(e)||!r(d))throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.tensorDepths=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},ne=function(a,b){var c={cloudStorageDestination:null,driveDestination:null,geoTiffOptions:null,tfRecordOptions:null,fileFormat:od(a.fileFormat)};"GEO_TIFF"===c.fileFormat?c.geoTiffOptions=
{cloudOptimized:!!a.tiffCloudOptimized,skipEmptyFiles:!!a.tiffSkipEmptyFiles,tileDimensions:ze(a.tiffFileDimensions)}:"TF_RECORD_IMAGE"===c.fileFormat&&(c.tfRecordOptions=Ae(a));"GOOGLE_CLOUD_STORAGE"===b?c.cloudStorageDestination=pe(a):c.driveDestination=qe(a);return c},te=function(a,b){var c={cloudStorageDestination:null,driveDestination:null,fileFormat:"MP4"};"GOOGLE_CLOUD_STORAGE"===b?c.cloudStorageDestination=pe(a):c.driveDestination=qe(a);return c},se=function(a){return{framesPerSecond:ye(a.framesPerSecond),
maxFrames:ye(a.maxFrames),maxPixelsPerFrame:E(a.maxPixels)}},ve=function(a){return{maxZoom:ye(a.maxZoom),scale:ye(a.scale),minZoom:ye(a.minZoom),skipEmptyTiles:!!a.skipEmptyTiles,mapsApiKey:E(a.mapsApiKey),tileDimensions:ze(a.tileDimensions)}},ze=function(a){if(null==a)return null;var b={height:0,width:0};q(a)&&(a=a.split("x").map(Number));if(t(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(v(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);return b},pe=function(a){return{bucket:E(a.outputBucket),filenamePrefix:E(a.outputPrefix),bucketCorsUris:null,permissions:null}},qe=function(a){return{folder:E(a.driveFolder),filenamePrefix:E(a.driveFileNamePrefix)}};Object.freeze&&Object.freeze([]);var Be=function(a,b){this.Xe=100;this.Me=a;this.jf=b;this.$b=0;this.M=null};Be.prototype.get=function(){if(0<this.$b){this.$b--;var a=this.M;this.M=a.next;a.next=null}else a=this.Me();return a};Be.prototype.put=function(a){this.jf(a);this.$b<this.Xe&&(this.$b++,a.next=this.M,this.M=a)};var Ce=function(a){n.setTimeout(function(){throw a;},0)},De,Ee=function(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!wb("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";e.src="";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.write("");e.close();var f="callImmediate"+Math.random(),h="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;
e=x(function(k){if(("*"==h||k.origin==h)&&k.data==f)this.port1.onmessage()},this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(f,h)}}});if("undefined"!==typeof a&&!wb("Trident")&&!wb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(p(c.next)){c=c.next;var e=c.Cd;c.Cd=null;e()}};return function(e){d.next={Cd:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
function(e){var g=document.createElement("SCRIPT");g.onreadystatechange=function(){g.onreadystatechange=null;g.parentNode.removeChild(g);g=null;e();e=null};document.documentElement.appendChild(g)}:function(e){n.setTimeout(e,0)}};var Fe=function(){this.tc=this.Qa=null},He=new Be(function(){return new Ge},function(a){a.reset()});Fe.prototype.add=function(a,b){var c=He.get();c.set(a,b);this.tc?this.tc.next=c:(C(!this.Qa),this.Qa=c);this.tc=c};Fe.prototype.remove=function(){var a=null;this.Qa&&(a=this.Qa,this.Qa=this.Qa.next,this.Qa||(this.tc=null),a.next=null);return a};var Ge=function(){this.next=this.scope=this.Nc=null};Ge.prototype.set=function(a,b){this.Nc=a;this.scope=b;this.next=null};
Ge.prototype.reset=function(){this.next=this.scope=this.Nc=null};var Me=function(a,b){Ie||Je();Ke||(Ie(),Ke=!0);Le.add(a,b)},Ie,Je=function(){if(n.Promise&&n.Promise.resolve){var a=n.Promise.resolve(void 0);Ie=function(){a.then(Ne)}}else Ie=function(){var b=Ne;!w(n.setImmediate)||n.Window&&n.Window.prototype&&!wb("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(De||(De=Ee()),De(b)):n.setImmediate(b)}},Ke=!1,Le=new Fe,Ne=function(){for(var a;a=Le.remove();){try{a.Nc.call(a.scope)}catch(b){Ce(b)}He.put(a)}Ke=!1};var Oe=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Re=function(a){this.C=0;this.T=void 0;this.Ta=this.la=this.u=null;this.Sb=this.Jc=!1;if(a!=va)try{var b=this;a.call(void 0,function(c){Pe(b,2,c)},function(c){if(!(c instanceof Qe))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Pe(b,3,c)})}catch(c){Pe(this,3,c)}},Se=function(){this.next=this.context=this.$a=this.Ia=this.Ba=null;this.Kb=!1};Se.prototype.reset=function(){this.context=this.$a=this.Ia=this.Ba=null;this.Kb=!1};
var Te=new Be(function(){return new Se},function(a){a.reset()}),Ue=function(a,b,c){var d=Te.get();d.Ia=a;d.$a=b;d.context=c;return d};Re.prototype.then=function(a,b,c){null!=a&&Pa(a,"opt_onFulfilled should be a function.");null!=b&&Pa(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Ve(this,w(a)?a:null,w(b)?b:null,c)};Re.prototype.$goog_Thenable=!0;
Re.prototype.cancel=function(a){0==this.C&&Me(function(){var b=new Qe(a);We(this,b)},this)};
var We=function(a,b){if(0==a.C)if(a.u){var c=a.u;if(c.la){for(var d=0,e=null,g=null,f=c.la;f&&(f.Kb||(d++,f.Ba==a&&(e=f),!(e&&1<d)));f=f.next)e||(g=f);e&&(0==c.C&&1==d?We(c,b):(g?(d=g,C(c.la),C(null!=d),d.next==c.Ta&&(c.Ta=d),d.next=d.next.next):Xe(c),Ye(c,e,3,b)))}a.u=null}else Pe(a,3,b)},$e=function(a,b){a.la||2!=a.C&&3!=a.C||Ze(a);C(null!=b.Ia);a.Ta?a.Ta.next=b:a.la=b;a.Ta=b},Ve=function(a,b,c,d){var e=Ue(null,null,null);e.Ba=new Re(function(g,f){e.Ia=b?function(h){try{var k=b.call(d,h);g(k)}catch(m){f(m)}}:
g;e.$a=c?function(h){try{var k=c.call(d,h);!p(k)&&h instanceof Qe?f(h):g(k)}catch(m){f(m)}}:f});e.Ba.u=a;$e(a,e);return e.Ba};Re.prototype.tf=function(a){C(1==this.C);this.C=0;Pe(this,2,a)};Re.prototype.uf=function(a){C(1==this.C);this.C=0;Pe(this,3,a)};
var Pe=function(a,b,c){if(0==a.C){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.C=1;a:{var d=c,e=a.tf,g=a.uf;if(d instanceof Re){null!=e&&Pa(e,"opt_onFulfilled should be a function.");null!=g&&Pa(g,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");$e(d,Ue(e||va,g||null,a));var f=!0}else if(Oe(d))d.then(e,g,a),f=!0;else{if(v(d))try{var h=d.then;if(w(h)){af(d,h,e,g,a);f=!0;break a}}catch(k){g.call(a,k);f=!0;break a}f=!1}}f||
(a.T=c,a.C=b,a.u=null,Ze(a),3!=b||c instanceof Qe||bf(a,c))}},af=function(a,b,c,d,e){var g=!1,f=function(k){g||(g=!0,c.call(e,k))},h=function(k){g||(g=!0,d.call(e,k))};try{b.call(a,f,h)}catch(k){h(k)}},Ze=function(a){a.Jc||(a.Jc=!0,Me(a.Pe,a))},Xe=function(a){var b=null;a.la&&(b=a.la,a.la=b.next,b.next=null);a.la||(a.Ta=null);null!=b&&C(null!=b.Ia);return b};Re.prototype.Pe=function(){for(var a;a=Xe(this);)Ye(this,a,this.C,this.T);this.Jc=!1};
var Ye=function(a,b,c,d){if(3==c&&b.$a&&!b.Kb)for(;a&&a.Sb;a=a.u)a.Sb=!1;if(b.Ba)b.Ba.u=null,cf(b,c,d);else try{b.Kb?b.Ia.call(b.context):cf(b,c,d)}catch(e){df.call(null,e)}Te.put(b)},cf=function(a,b,c){2==b?a.Ia.call(a.context,c):a.$a&&a.$a.call(a.context,c)},bf=function(a,b){a.Sb=!0;Me(function(){a.Sb&&df.call(null,b)})},df=Ce,Qe=function(a){Ia.call(this,a)};z(Qe,Ia);Qe.prototype.name="cancel";var ef=function(a,b,c){if(w(a))c&&(a=x(a,c));else if(a&&"function"==typeof a.handleEvent)a=x(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:n.setTimeout(a,b||0)};var ff=function(a,b,c){A.call(this);this.Ye=null!=c?x(a,c):a;this.Ue=b;this.Ie=x(this.ef,this);this.zc=[]};z(ff,A);l=ff.prototype;l.gb=!1;l.Cb=0;l.Na=null;l.Mc=function(a){this.zc=arguments;this.Na||this.Cb?this.gb=!0:gf(this)};l.stop=function(){this.Na&&(n.clearTimeout(this.Na),this.Na=null,this.gb=!1,this.zc=[])};l.pause=function(){this.Cb++};l.resume=function(){this.Cb--;this.Cb||!this.gb||this.Na||(this.gb=!1,gf(this))};l.h=function(){ff.f.h.call(this);this.stop()};
l.ef=function(){this.Na=null;this.gb&&!this.Cb&&(this.gb=!1,gf(this))};var gf=function(a){a.Na=ef(a.Ie,a.Ue);a.Ye.apply(null,a.zc)};var kf=function(a,b){this.nd=a===hf&&b||"";this.Be=jf};kf.prototype.Ga=!0;kf.prototype.Ea=function(){return this.nd};kf.prototype.toString=function(){return"Const{"+this.nd+"}"};var lf=function(a){if(a instanceof kf&&a.constructor===kf&&a.Be===jf)return a.nd;Ma("expected object of type Const, got '"+a+"'");return"type_error:Const"},jf={},hf={};var nf=function(){this.dc="";this.Ce=mf};nf.prototype.Ga=!0;nf.prototype.Ea=function(){return this.dc.toString()};nf.prototype.toString=function(){return"TrustedResourceUrl{"+this.dc+"}"};
var of=function(a){if(a instanceof nf&&a.constructor===nf&&a.Ce===mf)return a.dc;Ma("expected object of type TrustedResourceUrl, got '"+a+"' of type "+wa(a));return"type_error:TrustedResourceUrl"},tf=function(a){var b=lf(pf);if(!qf.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(rf,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 kf?lf(d):encodeURIComponent(String(d))});return sf(c)},rf=/%{(\w+)}/g,qf=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,mf={},sf=function(a){var b=new nf;b.dc=a;return b};var uf=!Tb||9<=Number(dc),vf=!Vb&&!Tb||Tb&&9<=Number(dc)||Vb&&cc("1.9.1");var wf=function(){this.dd=""};wf.prototype.Ga=!0;wf.prototype.Ea=function(){return this.dd.toString()};wf.prototype.toString=function(){return"SafeScript{"+this.dd+"}"};wf.prototype.oa=function(a){this.dd=a};(new wf).oa("");var yf=function(){this.cc="";this.Ae=xf};yf.prototype.Ga=!0;yf.prototype.Ea=function(){return this.cc.toString()};yf.prototype.toString=function(){return"SafeUrl{"+this.cc+"}"};
var zf=function(a){if(a instanceof yf&&a.constructor===yf&&a.Ae===xf)return a.cc;Ma("expected object of type SafeUrl, got '"+a+"' of type "+wa(a));return"type_error:SafeUrl"},Af=/^(?: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))$/i,Cf=function(a){if(Af.test(a.type)){var b=p(n.URL)&&p(n.URL.createObjectURL)?n.URL:p(n.webkitURL)&&p(n.webkitURL.createObjectURL)?n.webkitURL:
p(n.createObjectURL)?n: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 Bf(a)},xf={},Bf=function(a){var b=new yf;b.cc=a;return b};Bf("about:blank");var Df=function(){this.fd=""};Df.prototype.Ga=!0;Df.prototype.Ea=function(){return this.fd};Df.prototype.toString=function(){return"SafeStyle{"+this.fd+"}"};Df.prototype.oa=function(a){this.fd=a};(new Df).oa("");var Ef=function(){this.ed=""};Ef.prototype.Ga=!0;Ef.prototype.Ea=function(){return this.ed};Ef.prototype.toString=function(){return"SafeStyleSheet{"+this.ed+"}"};Ef.prototype.oa=function(a){this.ed=a};(new Ef).oa("");var Ff=function(){this.cd=""};Ff.prototype.Ga=!0;Ff.prototype.Ea=function(){return this.cd.toString()};Ff.prototype.toString=function(){return"SafeHtml{"+this.cd+"}"};Ff.prototype.oa=function(a){this.cd=a};(new Ff).oa("<!DOCTYPE html>");(new Ff).oa("");(new Ff).oa("<br>");var Gf=function(a,b){var c=(c=a&&a.ownerDocument)&&(c.defaultView||c.parentWindow)||n;if("undefined"!=typeof c.HTMLScriptElement&&"undefined"!=typeof c.Location&&"undefined"!=typeof c.Element){c=a&&(a instanceof c.HTMLScriptElement||!(a instanceof c.Location||a instanceof c.Element));var d=v(a)?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):void 0===a?"undefined":null===a?"null":typeof a;C(c,"Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLScriptElement",
d)}a.src=of(b);if(null===ta)b:{b=n.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&sa.test(b)){ta=b;break b}ta=""}b=ta;b&&a.setAttribute("nonce",b)};var If=function(a,b){xb(b,function(c,d){c&&"object"==typeof c&&c.Ga&&(c=c.Ea());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Hf.hasOwnProperty(d)?a.setAttribute(Hf[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Hf={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"},Kf=function(a,b,c){return Jf(document,arguments)},Jf=function(a,b){var c=String(b[0]),d=b[1];if(!uf&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',Nb(d.name),'"');if(d.type){c.push(' type="',Nb(d.type),'"');var e={};Lb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(q(d)?c.className=d:t(d)?c.className=d.join(" "):If(c,d));2<b.length&&Lf(a,c,b,2);return c},Lf=function(a,b,c,d){function e(f){f&&b.appendChild(q(f)?a.createTextNode(f):f)}for(;d<c.length;d++){var g=
c[d];!ya(g)||v(g)&&0<g.nodeType?e(g):Ta(Mf(g)?fb(g):g,e)}},Nf=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Of=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},Pf=function(a){C(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Mf=function(a){if(a&&"number"==typeof a.length){if(v(a))return"function"==typeof a.item||"string"==typeof a.item;if(w(a))return"function"==typeof a.item}return!1},Qf=function(a){this.Ob=a||n.document||
document};l=Qf.prototype;l.getElementsByTagName=function(a,b){return(b||this.Ob).getElementsByTagName(String(a))};l.Le=function(a,b,c){return Jf(this.Ob,arguments)};l.createElement=function(a){return this.Ob.createElement(String(a))};l.createTextNode=function(a){return this.Ob.createTextNode(String(a))};l.appendChild=function(a,b){C(null!=a&&null!=b,"goog.dom.appendChild expects non-null arguments");a.appendChild(b)};l.append=function(a,b){Lf(Pf(a),a,arguments,1)};
l.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};l.removeNode=Nf;
l.Sd=function(){return vf&&void 0!=(void 0).children?(void 0).children:Ua((void 0).childNodes,function(a){return 1==a.nodeType})};l.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 Sf=function(a){var b=Rf;this.ic=[];this.fe=b;this.Hd=a||null;this.tb=this.Xa=!1;this.T=void 0;this.ld=this.xd=this.Ac=!1;this.pc=0;this.u=null;this.Bc=0};Sf.prototype.cancel=function(a){if(this.Xa)this.T instanceof Sf&&this.T.cancel();else{if(this.u){var b=this.u;delete this.u;a?b.cancel(a):(b.Bc--,0>=b.Bc&&b.cancel())}this.fe?this.fe.call(this.Hd,this):this.ld=!0;this.Xa||Tf(this,new Uf(this))}};Sf.prototype.Dd=function(a,b){this.Ac=!1;Vf(this,a,b)};
var Vf=function(a,b,c){a.Xa=!0;a.T=c;a.tb=!b;Wf(a)},Yf=function(a){if(a.Xa){if(!a.ld)throw new Xf(a);a.ld=!1}};Sf.prototype.callback=function(a){Yf(this);Zf(a);Vf(this,!0,a)};var Tf=function(a,b){Yf(a);Zf(b);Vf(a,!1,b)},Zf=function(a){C(!(a instanceof Sf),"An execution sequence may not be initiated with a blocking Deferred.")},$f=function(a,b,c){C(!a.xd,"Blocking Deferreds can not be re-used");a.ic.push([b,c,void 0]);a.Xa&&Wf(a)};
Sf.prototype.then=function(a,b,c){var d,e,g=new Re(function(f,h){d=f;e=h});$f(this,d,function(f){f instanceof Uf?g.cancel():e(f)});return g.then(a,b,c)};Sf.prototype.$goog_Thenable=!0;
var ag=function(a){return Wa(a.ic,function(b){return w(b[1])})},Wf=function(a){if(a.pc&&a.Xa&&ag(a)){var b=a.pc,c=bg[b];c&&(n.clearTimeout(c.J),delete bg[b]);a.pc=0}a.u&&(a.u.Bc--,delete a.u);b=a.T;for(var d=c=!1;a.ic.length&&!a.Ac;){var e=a.ic.shift(),g=e[0],f=e[1];e=e[2];if(g=a.tb?f:g)try{var h=g.call(e||a.Hd,b);p(h)&&(a.tb=a.tb&&(h==b||h instanceof Error),a.T=b=h);if(Oe(b)||"function"===typeof n.Promise&&b instanceof n.Promise)d=!0,a.Ac=!0}catch(k){b=k,a.tb=!0,ag(a)||(c=!0)}}a.T=b;d&&(h=x(a.Dd,
a,!0),d=x(a.Dd,a,!1),b instanceof Sf?($f(b,h,d),b.xd=!0):b.then(h,d));c&&(b=new cg(b),bg[b.J]=b,a.pc=b.J)},Xf=function(){Ia.call(this)};z(Xf,Ia);Xf.prototype.message="Deferred has already fired";Xf.prototype.name="AlreadyCalledError";var Uf=function(){Ia.call(this)};z(Uf,Ia);Uf.prototype.message="Deferred was canceled";Uf.prototype.name="CanceledError";var cg=function(a){this.J=n.setTimeout(x(this.sf,this),0);this.Qb=a};
cg.prototype.sf=function(){C(bg[this.J],"Cannot throw an error that is not scheduled.");delete bg[this.J];throw this.Qb;};var bg={};var gg=function(a){var b={},c=b.document||document,d=of(a).toString(),e=document.createElement("SCRIPT"),g={re:e,Gb:void 0},f=new Sf(g),h=null,k=null!=b.timeout?b.timeout:5E3;0<k&&(h=window.setTimeout(function(){dg(e,!0);Tf(f,new eg(1,"Timeout reached for loading script "+d))},k),g.Gb=h);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(dg(e,b.Df||!1,h),f.callback(null))};e.onerror=function(){dg(e,!0,h);Tf(f,new eg(0,"Error while loading script "+
d))};g=b.attributes||{};Lb(g,{type:"text/javascript",charset:"UTF-8"});If(e,g);Gf(e,a);fg(c).appendChild(e)},fg=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},Rf=function(){if(this&&this.re){var a=this.re;a&&"SCRIPT"==a.tagName&&dg(a,!0,this.Gb)}},dg=function(a,b,c){null!=c&&n.clearTimeout(c);a.onload=va;a.onerror=va;a.onreadystatechange=va;b&&window.setTimeout(function(){Nf(a)},0)},eg=function(a,b){var c="Jsloader error (code #"+a+")";
b&&(c+=": "+b);Ia.call(this,c);this.code=a};z(eg,Ia);var hg=function(a,b,c){this.reset(a,b,c,void 0,void 0)};hg.prototype.Kd=null;var ig=0;hg.prototype.reset=function(a,b,c,d,e){"number"==typeof e||ig++;d||Ga();this.xb=a;delete this.Kd};hg.prototype.te=function(a){this.xb=a};var jg=function(a){this.de=a;this.Vd=this.Cc=this.xb=this.u=null},kg=function(a,b){this.name=a;this.value=b};kg.prototype.toString=function(){return this.name};var lg=new kg("SEVERE",1E3),mg=new kg("INFO",800),ng=new kg("CONFIG",700),og=new kg("FINE",500);jg.prototype.getName=function(){return this.de};jg.prototype.getParent=function(){return this.u};jg.prototype.Sd=function(){this.Cc||(this.Cc={});return this.Cc};jg.prototype.te=function(a){this.xb=a};
var pg=function(a){if(a.xb)return a.xb;if(a.u)return pg(a.u);Ma("Root logger has no level set.");return null};jg.prototype.log=function(a,b,c){if(a.value>=pg(this).value)for(w(b)&&(b=b()),a=new hg(a,String(b),this.de),c&&(a.Kd=c),c=this;c;){var d=c,e=a;if(d.Vd)for(var g=0;b=d.Vd[g];g++)b(e);c=c.getParent()}};jg.prototype.info=function(a,b){this.log(mg,a,b)};
var qg={},rg=null,sg=function(a){rg||(rg=new jg(""),qg[""]=rg,rg.te(ng));var b;if(!(b=qg[a])){b=new jg(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=sg(a.substr(0,c));c.Sd()[d]=b;b.u=c;qg[a]=b}return b};var tg=function(a,b){a&&a.log(og,b,void 0)};var ug=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var vg=function(){};vg.prototype.Bd=null;vg.prototype.sb=function(){var a;(a=this.Bd)||(a={},wg(this)&&(a[0]=!0,a[1]=!0),a=this.Bd=a);return a};var xg=function(a,b){this.wf=a;this.ff=b};z(xg,vg);xg.prototype.Ec=function(){return this.wf()};xg.prototype.sb=function(){return this.ff()};var yg=function(){return yg.Ld.Ec()};yg.ze=!1;yg.sb=function(){return yg.Ld.sb()};yg.Ff=function(a,b){yg.se(new xg(C(a),C(b)))};yg.se=function(a){yg.Ld=a};var zg=function(){};z(zg,vg);zg.prototype.Ec=function(){var a=wg(this);return a?new ActiveXObject(a):new XMLHttpRequest};
var wg=function(a){if(yg.ze)return"";if(!a.Wd&&"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.Wd=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.Wd};yg.se(new zg);var Ag=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Bg=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 g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var F=function(a){D.call(this);this.headers=new Rc;this.vc=a||null;this.Y=!1;this.uc=this.a=null;this.wb=this.ae=this.Xb="";this.Ha=this.Uc=this.Vb=this.Ic=!1;this.hb=0;this.lc=null;this.fb="";this.rc=this.gf=this.xe=!1};z(F,D);var Cg=F.prototype,Dg=sg("goog.net.XhrIo");Cg.N=Dg;var Eg=/^https?$/i,Fg=["POST","PUT"],Gg=[];F.prototype.Ke=function(){this.da();db(Gg,this)};
F.prototype.send=function(a,b,c,d){if(this.a)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Xb+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Xb=a;this.wb="";this.ae=b;this.Ic=!1;this.Y=!0;this.a=this.vc?this.vc.Ec():yg();this.uc=this.vc?this.vc.sb():yg.sb();this.a.onreadystatechange=x(this.ie,this);this.gf&&"onprogress"in this.a&&(this.a.onprogress=x(function(g){this.he(g,!0)},this),this.a.upload&&(this.a.upload.onprogress=x(this.he,this)));try{tg(this.N,Hg(this,"Opening Xhr")),
this.Uc=!0,this.a.open(b,String(a),!0),this.Uc=!1}catch(g){tg(this.N,Hg(this,"Error opening Xhr: "+g.message));this.Qb(5,g);return}a=c||"";var e=this.headers.clone();d&&Yc(d,function(g,f){e.set(f,g)});d=$a(e.ba());c=n.FormData&&a instanceof n.FormData;!ab(Fg,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(g,f){this.a.setRequestHeader(f,g)},this);this.fb&&(this.a.responseType=this.fb);"withCredentials"in this.a&&this.a.withCredentials!==this.xe&&
(this.a.withCredentials=this.xe);try{Ig(this),0<this.hb&&(this.rc=Jg(this.a),tg(this.N,Hg(this,"Will abort after "+this.hb+"ms if incomplete, xhr2 "+this.rc)),this.rc?(this.a.timeout=this.hb,this.a.ontimeout=x(this.Gb,this)):this.lc=ef(this.Gb,this.hb,this)),tg(this.N,Hg(this,"Sending request")),this.Vb=!0,this.a.send(a),this.Vb=!1}catch(g){tg(this.N,Hg(this,"Send error: "+g.message)),this.Qb(5,g)}};
var Jg=function(a){return Tb&&cc(9)&&r(a.timeout)&&p(a.ontimeout)},Za=function(a){return"content-type"==a.toLowerCase()};F.prototype.Gb=function(){"undefined"!=typeof qa&&this.a&&(this.wb="Timed out after "+this.hb+"ms, aborting",tg(this.N,Hg(this,this.wb)),this.dispatchEvent("timeout"),this.abort(8))};F.prototype.Qb=function(a,b){this.Y=!1;this.a&&(this.Ha=!0,this.a.abort(),this.Ha=!1);this.wb=b;Kg(this);Lg(this)};var Kg=function(a){a.Ic||(a.Ic=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
F.prototype.abort=function(){this.a&&this.Y&&(tg(this.N,Hg(this,"Aborting")),this.Y=!1,this.Ha=!0,this.a.abort(),this.Ha=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Lg(this))};F.prototype.h=function(){this.a&&(this.Y&&(this.Y=!1,this.Ha=!0,this.a.abort(),this.Ha=!1),Lg(this,!0));F.f.h.call(this)};F.prototype.ie=function(){this.ea||(this.Uc||this.Vb||this.Ha?Mg(this):this.df())};F.prototype.df=function(){Mg(this)};
var Mg=function(a){if(a.Y&&"undefined"!=typeof qa)if(a.uc[1]&&4==a.va()&&2==a.getStatus())tg(a.N,Hg(a,"Local request error detected and ignored"));else if(a.Vb&&4==a.va())ef(a.ie,0,a);else if(a.dispatchEvent("readystatechange"),4==a.va()){tg(a.N,Hg(a,"Request complete"));a.Y=!1;try{var b=a.getStatus(),c;if(!(c=ug(b))){var d;if(d=0===b){var e=String(a.Xb).match(Ag)[1]||null;if(!e&&n.self&&n.self.location){var g=n.self.location.protocol;e=g.substr(0,g.length-1)}d=!Eg.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
a.dispatchEvent("success");else{try{var f=2<a.va()?a.a.statusText:""}catch(h){tg(a.N,"Can not get status: "+h.message),f=""}a.wb=f+" ["+a.getStatus()+"]";Kg(a)}}finally{Lg(a)}}};F.prototype.he=function(a,b){C("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(Ng(a,"progress"));this.dispatchEvent(Ng(a,b?"downloadprogress":"uploadprogress"))};
var Ng=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},Lg=function(a,b){if(a.a){Ig(a);var c=a.a,d=a.uc[0]?va:null;a.a=null;a.uc=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.N)&&a.log(lg,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},Ig=function(a){a.a&&a.rc&&(a.a.ontimeout=null);a.lc&&(n.clearTimeout(a.lc),a.lc=null)};F.prototype.Yd=function(){return!!this.a};
F.prototype.va=function(){return this.a?this.a.readyState:0};F.prototype.getStatus=function(){try{return 2<this.va()?this.a.status:-1}catch(a){return-1}};
var Og=function(a){try{if(!a.a)return null;if("response"in a.a)return a.a.response;switch(a.fb){case "":case "text":return a.a.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.a)return a.a.mozResponseArrayBuffer}var b=a.N;b&&b.log(lg,"Response type "+a.fb+" is not supported on this browser",void 0);return null}catch(c){return tg(a.N,"Can not get response: "+c.message),null}};
F.prototype.getResponseHeader=function(a){if(this.a&&4==this.va())return a=this.a.getResponseHeader(a),null===a?void 0:a};F.prototype.getAllResponseHeaders=function(){return this.a&&4==this.va()?this.a.getAllResponseHeaders()||"":""};
var Pg=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=Ob(a[c]),e=d[0];d=d[1];if(q(d)){d=d.trim();var g=b[e]||[];b[e]=g;g.push(d)}}return zb(b,function(f){return f.join(", ")})},Hg=function(a,b){return b+" ["+a.ae+" "+a.Xb+" "+a.getStatus()+"]"};var Qg=function(a,b){this.ma=this.Pa=this.xa="";this.bb=null;this.Ca=this.pa="";this.V=this.Ve=!1;if(a instanceof Qg){this.V=p(b)?b:a.V;Rg(this,a.xa);var c=a.Pa;Sg(this);this.Pa=c;c=a.ma;Sg(this);this.ma=c;Tg(this,a.bb);this.setPath(a.getPath());Ug(this,a.X.clone());a=a.Ca;Sg(this);this.Ca=a}else a&&(c=String(a).match(Ag))?(this.V=!!b,Rg(this,c[1]||"",!0),a=c[2]||"",Sg(this),this.Pa=Vg(a),a=c[3]||"",Sg(this),this.ma=Vg(a,!0),Tg(this,c[4]),this.setPath(c[5]||"",!0),Ug(this,c[6]||"",!0),a=c[7]||"",
Sg(this),this.Ca=Vg(a)):(this.V=!!b,this.X=new Wg(null,this.V))};
Qg.prototype.toString=function(){var a=[],b=this.xa;b&&a.push(Xg(b,Yg,!0),":");var c=this.ma;if(c||"file"==b)a.push("//"),(b=this.Pa)&&a.push(Xg(b,Yg,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.bb,null!=c&&a.push(":",String(c));if(c=this.getPath())this.ma&&"/"!=c.charAt(0)&&a.push("/"),a.push(Xg(c,"/"==c.charAt(0)?Zg:$g,!0));(c=this.X.toString())&&a.push("?",c);(c=this.Ca)&&a.push("#",Xg(c,ah));return a.join("")};
Qg.prototype.resolve=function(a){var b=this.clone(),c=!!a.xa;c?Rg(b,a.xa):c=!!a.Pa;if(c){var d=a.Pa;Sg(b);b.Pa=d}else c=!!a.ma;c?(d=a.ma,Sg(b),b.ma=d):c=null!=a.bb;d=a.getPath();if(c)Tg(b,a.bb);else if(c=!!a.pa){if("/"!=d.charAt(0))if(this.ma&&!this.pa)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 g=[],f=0;f<e.length;){var h=e[f++];
"."==h?d&&f==e.length&&g.push(""):".."==h?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&f==e.length&&g.push("")):(g.push(h),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=""!==a.X.toString();c?Ug(b,a.X.clone()):c=!!a.Ca;c&&(a=a.Ca,Sg(b),b.Ca=a);return b};Qg.prototype.clone=function(){return new Qg(this)};var Rg=function(a,b,c){Sg(a);a.xa=c?Vg(b,!0):b;a.xa&&(a.xa=a.xa.replace(/:$/,""))},Tg=function(a,b){Sg(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.bb=b}else a.bb=null};
Qg.prototype.getPath=function(){return this.pa};Qg.prototype.setPath=function(a,b){Sg(this);this.pa=b?Vg(a,!0):a;return this};var Ug=function(a,b,c){Sg(a);b instanceof Wg?(a.X=b,a.X.kd(a.V)):(c||(b=Xg(b,bh)),a.X=new Wg(b,a.V))};Qg.prototype.getQuery=function(){return this.X.toString()};Qg.prototype.removeParameter=function(a){Sg(this);this.X.remove(a);return this};var Sg=function(a){if(a.Ve)throw Error("Tried to modify a read-only Uri");};Qg.prototype.kd=function(a){this.V=a;this.X&&this.X.kd(a)};
var ch=function(a){return a instanceof Qg?a.clone():new Qg(a,void 0)},Vg=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Xg=function(a,b,c){return q(a)?(a=encodeURI(a).replace(b,dh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},dh=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Yg=/[#\/\?@]/g,$g=/[#\?:]/g,Zg=/[#\?]/g,bh=/[#\?@]/g,ah=/#/g,Wg=function(a,b){this.l=this.o=null;this.R=a||null;this.V=!!b},eh=function(a){a.o||
(a.o=new Rc,a.l=0,a.R&&Bg(a.R,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};l=Wg.prototype;l.m=function(){eh(this);return this.l};l.add=function(a,b){eh(this);this.R=null;a=fh(this,a);var c=this.o.get(a);c||this.o.set(a,c=[]);c.push(b);this.l=Na(this.l)+1;return this};l.remove=function(a){eh(this);a=fh(this,a);return this.o.ua(a)?(this.R=null,this.l=Na(this.l)-this.o.get(a).length,this.o.remove(a)):!1};l.clear=function(){this.o=this.R=null;this.l=0};
l.isEmpty=function(){eh(this);return 0==this.l};l.ua=function(a){eh(this);a=fh(this,a);return this.o.ua(a)};l.lb=function(a){var b=this.w();return ab(b,a)};l.forEach=function(a,b){eh(this);this.o.forEach(function(c,d){Ta(c,function(e){a.call(b,e,d,this)},this)},this)};l.ba=function(){eh(this);for(var a=this.o.w(),b=this.o.ba(),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
l.w=function(a){eh(this);var b=[];if(q(a))this.ua(a)&&(b=eb(b,this.o.get(fh(this,a))));else{a=this.o.w();for(var c=0;c<a.length;c++)b=eb(b,a[c])}return b};l.set=function(a,b){eh(this);this.R=null;a=fh(this,a);this.ua(a)&&(this.l=Na(this.l)-this.o.get(a).length);this.o.set(a,[b]);this.l=Na(this.l)+1;return this};l.get=function(a,b){if(!a)return b;a=this.w(a);return 0<a.length?String(a[0]):b};
l.setValues=function(a,b){this.remove(a);0<b.length&&(this.R=null,this.o.set(fh(this,a),fb(b)),this.l=Na(this.l)+b.length)};l.toString=function(){if(this.R)return this.R;if(!this.o)return"";for(var a=[],b=this.o.ba(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.w(d);for(var g=0;g<d.length;g++){var f=e;""!==d[g]&&(f+="="+encodeURIComponent(String(d[g])));a.push(f)}}return this.R=a.join("&")};
l.clone=function(){var a=new Wg;a.R=this.R;this.o&&(a.o=this.o.clone(),a.l=this.l);return a};var fh=function(a,b){b=String(b);a.V&&(b=b.toLowerCase());return b};Wg.prototype.kd=function(a){a&&!this.V&&(eh(this),this.R=null,this.o.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.V=a};Wg.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Yc(arguments[b],function(c,d){this.add(d,c)},this)};var gh,nh=function(a,b,c,d,e){var g=["https://www.googleapis.com/auth/earthengine"];d&&(gb(g,d),ib(g));hh=a;ih=g;null===a?jh=null:kh(function(){lh(b,c,e||Fa(mh,b,c))})};y("ee.data.authenticateViaOauth",nh);var oh=function(a,b,c,d,e){nh(a,b,c,d,e)};y("ee.data.authenticate",oh);var mh=function(a,b){n.gapi.auth.authorize({client_id:hh,immediate:!1,scope:ih.join(" ")},Fa(ph,a,b))};y("ee.data.authenticateViaPopup",mh);
var rh=function(a,b,c,d){if("window"in n)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"];d&&(gb(e,d),ib(e));hh=a.client_email;ih=e;var g=new googleapis.auth.JWT(a.client_email,null,a.private_key,e,null);qh=function(f,h){g.authorize(function(k,m){k?h({error:k}):h({access_token:m.access_token,token_type:m.token_type,expires_in:(m.expiry_date-
Date.now())/1E3})})};lh(b,c)};y("ee.data.authenticateViaPrivateKey",rh);var sh=[],uh=function(a){th=a};y("ee.data.setApiKey",uh);sh.push("setApiKey");var vh=function(a){gh=a};y("ee.data.setProject",vh);sh.push("setProject");sh.push("getProject");var wh=function(a){if(a&&!ua("gapi"))throw Error('Cloud API requires <script src="https://apis.google.com/js/api.js">');G=a};y("ee.data.setCloudApiEnabled",wh);sh.push("setCloudApiEnabled");var xh=function(){return G};y("ee.data.getCloudApiEnabled",xh);sh.push("getCloudApiEnabled");
var yh=function(a,b,c,d,e,g,f){var h=["https://www.googleapis.com/auth/earthengine"];e&&(gb(h,e),ib(h));hh=a;ih=h;var k={token_type:b,access_token:c,state:h.join(" "),expires_in:d};ph(void 0,void 0,k);!1===f?g&&g():kh(function(){n.gapi.auth.setToken(k);g&&g()})};y("ee.data.setAuthToken",yh);var lh=function(a,b,c){qh&&hh&&qh({client_id:String(hh),immediate:!0,scope:ih.join(" ")},function(d){"immediate_failed"==d.error&&c?c():ph(a,b,d)})},zh=function(a){qh=a};y("ee.data.setAuthTokenRefresher",zh);
var Ch=function(){Ah&&0<=Ga()-Ah&&Bh();return jh};y("ee.data.getAuthToken",Ch);var Bh=function(){Ah=jh=null};y("ee.data.clearAuthToken",Bh);var Dh=function(){return hh};y("ee.data.getAuthClientId",Dh);var Eh=function(){return ih};y("ee.data.getAuthScopes",Eh);
var Lh=function(a,b,c){null!=a?Fh=a:Gh||(Fh="https://earthengine.googleapis.com/api");null!=b?Hh=b:Gh||(Hh="https://earthengine.googleapis.com");p(c)&&(Ih=c);!G||Jh&&null==a||(Jh=new Promise(function(d,e){gapi.load("client",{callback:function(){var g=Object.assign({},hd,{rootUrl:Fh.replace(/\/api$/,"")});gapi.client.init({apiKey:th,discoveryDocs:[g]}).then(function(){Kh=!0;gapi.config.update("client/headers/request",["X-Earth-Engine-Computation-Profiling"]);d()})},onerror:e})}),gh="earthengine-legacy");
Gh=!0},H=function(a,b,c){Lh();var d=Mh?function(){var f=a();Nh(f)["X-Earth-Engine-Computation-Profiling"]="1";return f}:a;if(c){var e=function(f){return Oh(f.status,function(h){return f.headers[h.toLowerCase()]},f.body,null,c,b||Mc)};Jh.then(function(){d().then(e,e)});return null}if(!Kh)throw Error("Cloud API not ready");var g=Ph(function(){d().then(function(){return null},function(){return null})});return Oh(g.status,function(f){try{return g.getResponseHeader(f)}catch(h){return null}},g.responseText,
null,void 0,b||Mc)},Nh=function(a){var b=function(d){return v(d)&&v(d.headers)},c=[];Object.values(a).filter(v).forEach(function(d){gb(c,Object.values(d).filter(b))});if(1===c.length)return c[0].headers;console.error("NO HEADERS:",a);throw Error("Incompatible GAPI version: cannot find headers");},Ph=function(a){if(XMLHttpRequest.prototype.wc)throw Error("Cannot initialize synchronous request mode");var b=function(){this.ja=new this.wc;XMLHttpRequest.We=this.ja};b.prototype.open=function(c,d,e,g,f){this.ja.open(c,
d,!1,g,f)};b.prototype.send=function(c){this.ja.send(c)};b.prototype.abort=function(){this.ja.abort()};b.prototype.overrideMimeType=function(c){this.ja.overrideMimeType(c)};b.prototype.setRequestHeader=function(c,d){this.ja.setRequestHeader(c,d)};b.prototype.getResponseHeader=function(c){return this.ja.getResponseHeader(c)};b.prototype.getAllResponseHeaders=function(){return this.ja.getAllResponseHeaders()};"onabort onerror onload onloadstart onloadend onprogress onreadystatechange readyState responseText responseType responseXML status statusText upload withCredentials DONE UNSENT HEADERS_RECEIVED LOADING OPENED".split(" ").forEach(function(c){return Object.defineProperty(b.prototype,
c,{get:function(){return this.ja[c]},set:function(d){this.ja[c]=d}})});b.prototype.wc=XMLHttpRequest;XMLHttpRequest=b;try{return a(),XMLHttpRequest.We}finally{XMLHttpRequest=XMLHttpRequest.prototype.wc}},Rh=function(a){Qh=a};y("ee.data.setDeadline",Rh);var Th=function(a){Sh=a||Mc};y("ee.data.setParamAugmenter",Th);var Uh=function(){return Fh};y("ee.data.getApiBaseUrl",Uh);var Vh=function(){return Hh};y("ee.data.getTileBaseUrl",Vh);var Wh=function(){return Ih};y("ee.data.getXsrfToken",Wh);
var Xh=function(a){if(G)return H(function(){return gapi.client.earthengine.algorithms.list({bc:!1})},ud,a);var b=J("/algorithms",null,a,"GET");return a?null:b},Zh=function(a,b){if(G){if(q(a.image))throw Error("Image as JSON string not supported.");if(p(a.version))throw Error("Image version specification not supported.");var c={name:null,expression:be(a.image),fileFormat:od(a.format),bandIds:qd(a.bands),visualizationOptions:td(a)},d="projects/"+gh,e=["name"];return H(function(){return gapi.client.earthengine.projects.maps.create({parent:d,
Md:e},c)},function(f){return Yh(f.name,"","/v1/{}/tiles",th?"?key="+th:"")},b)}a=Ib(a);q(a.image)||(a.image=a.image.B());var g=function(f){return Yh(f.mapid,f.token,"/map/{}","?token={}")};return b?(J("/mapid",K(a),function(f,h){return b(f&&g(f),h)}),null):g(J("/mapid",K(a)))};y("ee.data.getMapId",Zh);var $h=function(a,b,c,d){return a.formatTileUrl(b,c,d)};y("ee.data.getTileUrl",$h);
var Yh=function(a,b,c,d){c=Hh+c.replace("{}",a);d=d.replace("{}",b);return{mapid:a,token:b,formatTileUrl:function(e,g,f){var h=Math.pow(2,f);e%=h;0>e&&(e+=h);return[c,f,e,g].join("/")+d}}},ai=function(a,b){a=Ib(a);return J("/value",K(a),b)};y("ee.data.getValue",ai);
var bi=function(a,b){if(G){var c=be(a);return H(function(){return gapi.client.earthengine.value.compute({expression:c})},function(d){return d.result},b)}a={json:Xd(a)};return J("/value",K(a),b)},ci=function(a,b){if(G){if(q(a.image))throw Error("Image as JSON string not supported.");if(p(a.version))throw Error("Image version specification not supported.");if(p(a.region))throw Error('"region" not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');var c={name:null,expression:be(a.image),
fileFormat:od(a.format),bandIds:qd(a.bands),visualizationOptions:td(a),grid:null},d=["name"],e="projects/"+gh;return H(function(){return gapi.client.earthengine.projects.thumbnails.create({parent:e,Md:d},c)},function(g){return{thumbid:g.name,token:""}},b)}a=Ib(a);q(a.image)||(a.image=a.image.B());t(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));a=K(a).add("getid","1");return J("/thumb",a,b)};y("ee.data.getThumbId",ci);
var di=function(a){return G?Hh+"/v1/"+a.thumbid+":getPixels"+(th?"?key="+th:""):Hh+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};y("ee.data.makeThumbUrl",di);var ei=function(a,b){a=Ib(a);return J("/download",K(a),b)};y("ee.data.getDownloadId",ei);var fi=function(a){return Hh+"/api/download?docid="+a.docid+"&token="+a.token};y("ee.data.makeDownloadUrl",fi);var gi=function(a,b){a=Ib(a);return J("/table",K(a),b)};y("ee.data.getTableDownloadId",gi);
var hi=function(a){return Hh+"/api/table?docid="+a.docid+"&token="+a.token};y("ee.data.makeTableDownloadUrl",hi);var ii=function(a,b,c){var d=Mh;try{return Mh=a,b.call(c)}finally{Mh=d}};y("ee.data.withProfiling",ii);
var ji=function(a,b){if(G){var c=function(e){return Math.floor(Math.random()*Math.pow(2,4*e)).toString(16).padStart(e,"0")};a=jb(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={};r(a)&&(d.count=a);return J("/newtaskid",K(d),b)};y("ee.data.newTaskId",ji);
var mi=function(a,b){if(G){var c=function(e){return gapi.client.earthengine.operations.get({name:Hd(e)})};return H(function(){return ki(a,c)},function(e){return 1===a.length?Id(e):a.map(function(g){return Id(e[g])})},b)}var d="/taskstatus?q="+li(a).join();return J(d,null,b,"GET")};y("ee.data.getTaskStatus",mi);var li=function(a){if(q(a))return[a];if(t(a))return a;throw Error("Invalid value: expected a string or an array of strings.");},oi=function(a){return ni(void 0,a)};y("ee.data.getTaskList",oi);
var ni=function(a,b){function c(h){var k={pagesize:500};a&&(k.pagesize=Math.min(k.pagesize,a-e.tasks.length));h&&(k.pagetoken=h);return k}function d(h,k){k=c(k);J("/tasklist",K(k),function(m,u){u?h(e,u):(gb(e.tasks,m.tasks),!m.next_page_token||a&&e.tasks.length>=a?h(e):d(h,m.next_page_token))},"GET")}if(G)return b?(pi(a,function(h,k){return b(h?{tasks:h.map(Id)}:null,k)}),null):{tasks:pi(a).map(Id)};var e={tasks:[]};if(b)return d(b),null;for(var g="";;){g=c(g);var f=J("/tasklist",K(g),void 0,"GET");
gb(e.tasks,f.tasks);g=f.next_page_token;if(!f.next_page_token||a&&e.tasks.length>=a)break}return e};y("ee.data.getTaskListWithLimit",ni);
var pi=function(a,b){var c=[],d={name:"operations",pageSize:500,filter:null,pageToken:null},e=function(){return gapi.client.earthengine.operations.list(d)},g=b?function(){return 0}:void 0,f=function(h){gb(c,h.operations||[]);!h.nextPageToken||a&&c.length>=a?b&&b(a?c.slice(0,a):c):(d.pageToken=h.nextPageToken,H(e,f,g));return null};H(e,f,g);return b?null:a?c.slice(0,a):c},qi=function(a,b){var c=function(d){return gapi.client.earthengine.operations.cancel({name:d})};H(function(){return ki(a,c)},null,
b)};y("ee.data.cancelOperation",qi);var ri=function(a,b){var c=function(d){return gapi.client.earthengine.operations.get({name:Hd(d)})};return H(function(){return ki(a,c)},null,b)};y("ee.data.getOperation",ri);var ki=function(a,b){a=li(a);if(1===a.length)return b(a[0]);var c=gapi.client.newBatch();a.forEach(function(d){c.add(b(d),{id:d})});return c},ti=function(a,b){return si(a,"CANCEL",b)};y("ee.data.cancelTask",ti);
var si=function(a,b,c){if(!Db(ui,b))throw Error("Invalid action: "+b);a=li(a);return G?(a=a.map(Hd),qi(a,c),null):J("/updatetask",K({id:a,action:b}),c,"POST")};y("ee.data.updateTask",si);
var vi=function(a,b,c){if(G){b.id=a;a=b.type;switch(a){case "EXPORT_IMAGE":var d=oe(b);b=function(){return gapi.client.earthengine.exportImage(d)};break;case "EXPORT_FEATURES":var e=re(b);b=function(){return gapi.client.earthengine.exportTable(e)};break;case "EXPORT_VIDEO":var g=ue(b);b=function(){return gapi.client.earthengine.exportVideo(g)};break;case "EXPORT_TILES":var f=we(b);b=function(){return gapi.client.earthengine.exportMap(f)};break;case "EXPORT_VIDEO_MAP":var h=xe(b);b=function(){return gapi.client.earthengine.exportVideoMap(h)};
break;default:throw Error("Unable to start processing for task of type "+a);}return H(b,function(k){var m={started:"OK"};k.name&&(m.taskId=k.name.replace(/^operations\//,""));k.error&&(m.note=k.error.message);return m},c)}b=Ib(b);null!=b.element&&(b.json=b.element.B(),delete b.element);b.id=a;return J("/processingrequest",K(b),c)};y("ee.data.startProcessing",vi);var wi=function(a,b,c){a={id:a,request:Nd(b)};return J("/ingestionrequest",K(a),c)};y("ee.data.startIngestion",wi);
var xi=function(a,b,c){a={id:a,tableRequest:Nd(b)};return J("/ingestionrequest",K(a),c)};y("ee.data.startTableIngestion",xi);var yi=function(a,b){if(G){var c={name:wd(a),bc:!1};return H(function(){return gapi.client.earthengine.assets.get(c)},null,b)}return J("/info",(new Wg).add("id",a),b)};y("ee.data.getAsset",yi);sh.push("getAsset");y("ee.data.getInfo",yi);
var zi=function(a,b){if(G){if(Object.keys(a).every(function(e){return"id"===e||"num"===e})){var c=yd(a);return H(function(){return gapi.client.earthengine.projects.assets.list(c)},Ad,b)}var d=Ed(a);return H(function(){return gapi.client.earthengine.projects.assets.listImages({Md:"assets(type,path)"},d)},Bd,b)}a=K(a);return J("/list",a,b)};y("ee.data.getList",zi);var Ai=function(a,b){return H(function(){return gapi.client.earthengine.assets.list(a)},null,b)};y("ee.data.listAssets",Ai);sh.push("listAssets");
var Bi=function(a,b){return H(function(){return gapi.client.earthengine.assets.listImages(a)},null,b)};y("ee.data.listImages",Bi);sh.push("listImages");var Ci=function(a){return H(function(){return gapi.client.earthengine.listBuckets({})},null,a)};y("ee.data.listBuckets",Ci);sh.push("listBuckets");var Di=function(a){return G?H(function(){return gapi.client.earthengine.listBuckets({})},Cd,a):J("/buckets",null,a,"GET")};y("ee.data.getAssetRoots",Di);
var Ei=function(a,b){if(G){var c={parent:vd(a),type:"Folder",name:wd(a)};H(function(){return gapi.client.earthengine.projects.assets.create(c)},null,b)}else a=K({id:a}),J("/createbucket",a,b)};y("ee.data.createAssetHome",Ei);
var Fi=function(a,b,c,d,e){if(G){if(c)throw Error("Asset overwrite not supported.");if(q(a))throw Error("Asset cannot be specified as string.");b=a.name||b&&wd(b);if(!b)throw Error("Either asset name or opt_path must be specified.");var g=b.indexOf("/assets/");if(-1===g)throw Error("Asset name must contain /assets/.");a=Object.assign({},a);delete a.name;d&&!a.properties&&(a.properties=d);a.type=xd(a.type);var f={asset:a,parent:b.slice(0,g),assetId:b.slice(g+8),overwrite:c||!1};return H(function(){return gapi.client.earthengine.projects.assets.create(f)},
null,e)}q(a)||(a=Nd(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;void 0!=d&&(a.properties=Nd(d));return J("/create",K(a),e)};y("ee.data.createAsset",Fi);var Gi=function(a,b,c){if(G){var d={parent:vd(a),type:"Folder",name:wd(a)};return H(function(){return gapi.client.earthengine.projects.assets.create(d)},null,c)}return J("/createfolder",K({id:a,force:b||!1}),c)};y("ee.data.createFolder",Gi);
var Hi=function(a,b,c){if(G){var d={sourceName:wd(a),destinationName:wd(b),sourcePath:null,destinationPath:null};H(function(){return gapi.client.earthengine.assets.move(d)},null,c)}else J("/rename",K({sourceId:a,destinationId:b}),c)};y("ee.data.renameAsset",Hi);
var Ii=function(a,b,c){if(G){var d={sourceName:wd(a),destinationName:wd(b),overwrite:!1,sourcePath:null,destinationPath:null,bandIds:null};H(function(){return gapi.client.earthengine.assets.copy(d)},null,c)}else J("/copy",K({sourceId:a,destinationId:b}),c)};y("ee.data.copyAsset",Ii);var Ji=function(a,b){if(G){var c={name:wd(a)};H(function(){return gapi.client.earthengine.assets["delete"](c)},null,b)}else J("/delete",K({id:a}),b)};y("ee.data.deleteAsset",Ji);
var Ki=function(a,b){if(G){var c={mf:wd(a),bc:!1};return H(function(){return gapi.client.earthengine.projects.assets.getIamPolicy(c)},Fd,b)}return J("/getacl",K({id:a}),b,"GET")};y("ee.data.getAssetAcl",Ki);var Li=function(a,b,c,d){var e={name:wd(a),asset:b,updateMask:{paths:c||[]}};H(function(){return gapi.client.earthengine.assets.patch(e)},null,d)};y("ee.data.updateAsset",Li);
var Mi=function(a,b,c){if(G){var d={mf:wd(a),policy:Gd(b),bc:!1};H(function(){return gapi.client.earthengine.projects.assets.setIamPolicy(d)},null,c)}else a={id:a,value:Nd(b)},J("/setacl",K(a),c)};y("ee.data.setAssetAcl",Mi);var Ni=function(a,b,c){if(G){var d=Object.keys(b).map(function(e){return"properties."+e});Li(a,{properties:b},d,c)}else a={id:a,properties:Nd(b)},J("/setproperties",K(a),c)};y("ee.data.setAssetProperties",Ni);
var Oi=function(a,b){if(G){var c={name:wd(a),bc:!1};return H(function(){return gapi.client.earthengine.assets.get(c)},function(d){if(!d.quota)throw Error(a+" is not a root folder.");var e=function(g){return Number(d.quota[g]||0)};return{assetCount:{usage:e("assetCount"),limit:e("maxAssetCount")},Bf:{usage:e("sizeBytes"),limit:e("maxSizeBytes")}}},b)}return J("/quota",K({id:a}),b,"GET")};y("ee.data.getAssetRootQuota",Oi);
var ui={xf:"CANCEL",Af:"UPDATE"},J=function(a,b,c,d){Lh();var e=Mh,g={"Content-Type":"application/x-www-form-urlencoded"},f=Ch();if(null!=f)g.Authorization=f;else if(c&&qh&&hh)return lh(function(){ii(e,function(){J(a,b,c,d)})}),null;f=d||"POST";b=b?b.clone():new Wg;e&&b.add("profiling","1");null!=th&&b.add("key",th);b=Sh(b,a);null!=Ih&&(g["X-XSRF-Token"]=Ih);var h=b?b.toString():"";"GET"!=f||/^[\s\xa0]*$/.test(h)||(a+=-1!=a.indexOf("?")?"&":"?",a+=h,h=null);var k=Fh+a;if(c)return Pi.push(Qi(k,c,f,
h,g)),Ri.Mc(),null;for(var m=function(I,oa){this.setRequestHeader&&this.setRequestHeader(oa,I)},u,Q=0;;){u=yg();u.open(f,k,!1);xb(g,m,u);u.send(h);if(429!=u.status||5<Q)break;Q++}return Oh(u.status,function(I){try{return u.getResponseHeader(I)}catch(oa){return null}},u.responseText,e)},Qi=function(a,b,c,d,e){var g=0,f={url:a,method:c,content:d,headers:e},h=Mh;f.callback=function(k){k=k.target;if(429==k.getStatus()&&10>g)return g++,setTimeout(function(){Pi.push(f);Ri.Mc()},Math.min(12E4,1E3*Math.pow(2,
g))),null;var m=Oh,u=k.getStatus(),Q=x(k.getResponseHeader,k);try{var I=k.a?k.a.responseText:""}catch(oa){tg(k.N,"Can not get responseText: "+oa.message),I=""}return m(u,Q,I,h,b)};return f},Oh=function(a,b,c,d,e,g){g=void 0===g?function(u){return u.data}:g;var f=b("X-Earth-Engine-Computation-Profile");f&&d&&d(f);b=(b=b("Content-Type"))?b.replace(/;.*/,""):"application/json";if("application/json"==b||"text/json"==b)try{var h=JSON.parse(c);var k=g(h)}catch(u){var m="Invalid JSON: "+c}else m="Response was unexpectedly not JSON, but "+
b;if(v(h))"error"in h&&"message"in h.error?m=h.error.message:void 0===k&&(m="Malformed response: "+c);else if(0===a)m="Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";else if(200>a||300<=a)m="Server returned HTTP code: "+a;if(e)return e(k,m),null;if(!m)return k;throw Error(m);},kh=function(a){var b=function(){n.gapi.config.update("client/cors",!0);qh||(qh=n.gapi.auth.authorize);a()};if(v(n.gapi)&&v(n.gapi.auth)&&w(n.gapi.auth.authorize))b();
else{for(var c=Ga().toString(36);c in n;)c+="_";n[c]=function(){delete n[c];b()};gg(tf({onload:c}))}},ph=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,setTimeout(lh,.9*c),Ah=Ga()+c;jh=b;a&&a()}else b&&b(c.error||"Unknown error.")},K=function(a){var b=new Wg;a=ba(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=ba(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}return b},Pi=[],Ri=new ff(function(){var a=
Pi.shift();if(a){var b=a.url,c=a.callback,d=a.method,e=a.content;a=a.headers;var g=Qh,f=new F;Gg.push(f);c&&f.ga("complete",c);f.zb("ready",f.Ke);g&&(f.hb=Math.max(0,g));f.send(b,d,e,a)}0==Pi.length||Ri.Mc()},350),Fh=null,Hh=null,Ih=null,Sh=Mc,jh=null,Ah=null,hh=null,ih=[],qh=null,pf=new kf(hf,"https://apis.google.com/js/client.js?onload=%{onload}"),th=null,G=!1,Jh=null,Kh=!1,Gh=!1,Qh=0,Mh=null;var L=function(a,b,c){if(!(this instanceof L))return Si(L,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.i=a;this.args=b;this.A=c||null};z(L,id);y("ee.ComputedObject",L);L.prototype.evaluate=function(a){if(!a||!w(a))throw Error("evaluate() requires a callback function.");bi(this,a)};L.prototype.evaluate=L.prototype.evaluate;
L.prototype.D=function(a){return bi(this,a)};L.prototype.getInfo=L.prototype.D;L.prototype.encode=function(a){if(null===this.i&&null===this.args)return{type:"ArgumentRef",value:this.A};var b={},c;for(c in this.args)p(this.args[c])&&(b[c]=a(this.args[c]));b={type:"Invocation",arguments:b};a=a(this.i);b[q(a)?"functionName":"function"]=a;return b};
L.prototype.P=function(a){if(null===this.i&&null===this.args)return{argumentReference:this.A||"uninitializedVar"};var b={},c;for(c in this.args)p(this.args[c])&&(b[c]=kd(a(this.args[c])));return q(this.i)?ld(String(this.i),b):this.i.Hc(a,b)};L.prototype.B=function(){return Xd(this)};L.prototype.serialize=L.prototype.B;L.prototype.toString=function(){return"ee."+this.name()+"("+Zd(this)+")"};y("ee.ComputedObject.prototype.toString",L.prototype.toString);L.prototype.name=function(){return"ComputedObject"};
L.prototype.td=function(a,b){var c=fb(arguments);c[0]=this;a.apply(n,c);return this};L.prototype.aside=L.prototype.td;var Ti=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.i=b.i;a.args=b.args;a.A=b.A;return a},Si=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var Ui={},Vi=function(a){return a.prototype instanceof L?a.prototype.name.call(null):a==Number?"Number":a==String?"String":a==Array?"Array":a==Date?"Date":"Object"},Wi=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}},Xi=function(a){return r(a)||
a instanceof L&&"Number"==a.name()},Yi=function(a){return q(a)||a instanceof L&&"String"==a.name()},Zi=function(a){return v(a)&&!w(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1};var M=function(){if(!(this instanceof M))return new M};z(M,id);y("ee.Function",M);var $i=Mc;M.prototype.call=function(a){return this.apply(aj(this,Array.prototype.slice.call(arguments,0)))};M.prototype.call=M.prototype.call;M.prototype.apply=function(a){a=new L(this,bj(this,a));return $i(a,this.L().returns)};M.prototype.apply=M.prototype.apply;
var cj=function(a,b,c){var d=p(b),e=a.L(),g=!1;if(1==c.length&&Zi(c[0])){var f=e.args;d&&(f=f.slice(1));f.length&&(g=!((1==f.length||f[1].optional)&&"Dictionary"==f[0].type))}if(g){if(c=Ib(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=aj(a,d?[b].concat(c):c);return a.apply(c)},bj=function(a,b){for(var c=a.L().args,d={},e={},g=0;g<c.length;g++){var f=c[g].name;if(f in b&&p(b[f]))d[f]=$i(b[f],c[g].type);else if(!c[g].optional)throw Error("Required argument ("+
f+") missing to function: "+a);e[f]=!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},aj=function(a,b){var c=a.L().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};
M.prototype.toString=function(a,b){var c=this.L(),d=[];d.push(a||c.name);d.push("(");d.push(Va(c.args.slice(b?1:0),function(g){return g.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("")};M.prototype.B=function(){return Xd(this)};var N=function(a,b){if(!p(b))return dj(a);if(!(this instanceof N))return Si(N,arguments);this.ia=Jb(b);this.ia.name=a};z(N,M);y("ee.ApiFunction",N);var O=function(a,b){return M.prototype.call.apply(dj(a),Array.prototype.slice.call(arguments,1))};y("ee.ApiFunction._call",O);var ej=function(a,b){return dj(a).apply(b)};y("ee.ApiFunction._apply",ej);N.prototype.encode=function(){return this.ia.name};N.prototype.Hc=function(a,b){return ld(this.ia.name,b)};N.prototype.L=function(){return this.ia};
var fj=null,gj={},ij=function(){hj();return zb(fj,function(a){return a.L()})},jj=function(){hj();return yb(fj,function(a,b){return!gj[b]})},dj=function(a){var b=kj(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};y("ee.ApiFunction.lookup",dj);
var kj=function(a){hj();return fj[a]||null},hj=function(a,b){if(fj)a&&a();else{var c=function(d,e){e?b&&b(Error(e)):(fj=zb(d,function(g,f){g.returns=g.returns.replace(/<.*>/,"");for(var h=0;h<g.args.length;h++)g.args[h].type=g.args[h].type.replace(/<.*>/,"");return new N(f,g)}),a&&a())};a?Xh(c):c(Xh())}},lj=function(a,b,c,d){hj();var e=d||"";xb(fj,function(g,f){var h=f.split(".");if(2==h.length&&h[0]==b){h=e+h[1];var k=g.L();gj[f]=!0;var m=!1;k.args.length&&(f=k.args[0].type,m="Object"!=f&&Wi(f,c));
f=m?a.prototype:a;h in f&&!f[h].signature||(f[h]=function(u){return cj(g,m?this:void 0,Array.prototype.slice.call(arguments,0))},f[h].toString=x(g.toString,g,h,m),f[h].signature=k)}})},mj=function(a){var b=function(c){for(var d in c)w(c[d])&&c[d].signature&&delete c[d]};b(a);b(a.prototype||{})};var P=function(a,b){var c=nj(a),d=Va(c,function(k){return k.replace(/^opt_/,"")});a=(a=n.EXPORTED_FN_INFO?n.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},g=b[0],f=v(g)&&!w(g)&&!t(g)&&!(g instanceof L);if(1<b.length||!f){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(g=0;g<b.length;g++)e[d[g]]=b[g]}else{f=new $c(Cb(g));var h=new $c(d);if(bd(h,f).isEmpty())e[d[0]]=b[0];else{b=
cd(f,h);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.w().join(", "));e=Ib(g)}}b=new $c(Cb(e));c=cd(new $c(Ua(c,function(k){return 0!=k.lastIndexOf("opt_",0)})),b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.w().join(", "));return e},nj=function(a){var b=oj,c=[];n.EXPORTED_FN_INFO?(a=n.EXPORTED_FN_INFO[a.toString()],v(a)||pj(),c=a.paramNames,t(c)||pj()):(a=a.toString().replace(qj,"").match(b),null===a&&pj(),c=(a[1].split(",")||[]).map(function(d){return d.replace(rj,
"")}));return c},pj=function(){throw Error("Failed to locate function parameters.");},qj=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,oj=/^function[^\(]*\(([^\)]*)\)/m,rj=/=.*$/;var R=function(a,b,c){L.call(this,a,b,c);sj()};z(R,L);y("ee.Element",R);var tj=!1,sj=function(){tj||(lj(R,"Element","Element"),tj=!0)};R.prototype.name=function(){return"Element"};
R.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=Zi(c))a:{b=Cb(c);var d=["properties"];if(ya(b)&&ya(d)&&b.length==d.length){for(var e=b.length,g=0;g<e;g++)if(b[g]!==d[g]){b=!1;break a}b=!0}else b=!1}b&&v(c.properties)&&(c=c.properties);if(Zi(c)){b=this;for(var f in c)d=c[f],b=O("Element.set",b,f,d)}else if(c instanceof L&&kj("Element.setMulti"))b=O("Element.setMulti",this,c);else throw Error("When Element.set() is passed one argument, it must be a dictionary.");}else{if(0!=
arguments.length%2)throw Error("When Element.set() is passed multiple arguments, there must be an even number of them.");b=this;for(c=0;c<arguments.length;c+=2)f=arguments[c],d=arguments[c+1],b=O("Element.set",b,f,d)}return Ti(this,b)};R.prototype.set=R.prototype.set;var S=function(a,b,c,d){if(!(this instanceof S))return Si(S,arguments);if(!("type"in a)){var e=P(S,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}uj();e=null!=b||null!=c||null!=d;if(a instanceof L&&!(a instanceof S&&a.Oa)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported.  Use Geometry.transform().");L.call(this,a.i,a.args,a.A)}else{a instanceof S&&(a=a.encode());if(!vj(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));L.call(this,
null,null);this.Oa=a.type;this.Ed=null!=a.coordinates?Jb(a.coordinates):null;this.Rd=a.geometries||null;if(null!=b)this.Ja=b;else if("crs"in a)if(v(a.crs)&&"name"==a.crs.type&&v(a.crs.properties)&&q(a.crs.properties.name))this.Ja=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Md).B(a.crs));this.Ya=c;!p(this.Ya)&&"geodesic"in a&&(this.Ya=!!a.geodesic);this.Wa=d;!p(this.Wa)&&"evenOdd"in a&&(this.Wa=!!a.evenOdd)}};z(S,L);y("ee.Geometry",S);
var wj=!1,uj=function(){wj||(lj(S,"Geometry","Geometry"),wj=!0)},xj=function(a,b){if(!(this instanceof xj))return yj(xj,arguments);var c=zj(xj,"Point",1,arguments);if(!(c instanceof L)){var d=c.coordinates;if(!t(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}S.call(this,c)};z(xj,S);S.Point=xj;var Aj=function(a,b){if(!(this instanceof Aj))return yj(Aj,arguments);S.call(this,zj(Aj,"MultiPoint",2,arguments))};z(Aj,S);S.MultiPoint=Aj;
var Bj=function(a,b,c,d){if(!(this instanceof Bj))return yj(Bj,arguments);var e=zj(Bj,"Rectangle",2,arguments);if(!(e instanceof L)){var g=e.coordinates;if(2!=g.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var f=g[0][0],h=g[0][1],k=g[1][0];g=g[1][1];e.coordinates=[[[f,g],[f,h],[k,h],[k,g]]];e.type="Polygon"}S.call(this,e)};z(Bj,S);S.Rectangle=Bj;
var Cj=function(a,b,c,d){if(!(this instanceof Cj))return yj(Cj,arguments);S.call(this,zj(Cj,"LineString",2,arguments))};z(Cj,S);S.LineString=Cj;var Dj=function(a,b,c,d){if(!(this instanceof Dj))return yj(Dj,arguments);S.call(this,zj(Dj,"LinearRing",2,arguments))};z(Dj,S);S.LinearRing=Dj;var Ej=function(a,b,c,d){if(!(this instanceof Ej))return yj(Ej,arguments);S.call(this,zj(Ej,"MultiLineString",3,arguments))};z(Ej,S);S.MultiLineString=Ej;
var Fj=function(a,b,c,d,e){if(!(this instanceof Fj))return yj(Fj,arguments);S.call(this,zj(Fj,"Polygon",3,arguments))};z(Fj,S);S.Polygon=Fj;var Gj=function(a,b,c,d,e){if(!(this instanceof Gj))return yj(Gj,arguments);S.call(this,zj(Gj,"MultiPolygon",4,arguments))};z(Gj,S);S.MultiPolygon=Gj;
S.prototype.encode=function(a){if(!this.Oa){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return L.prototype.encode.call(this,a)}a={type:this.Oa};"GeometryCollection"==this.Oa?a.geometries=this.Rd:a.coordinates=this.Ed;null!=this.Ja&&(a.crs={type:"name",properties:{name:this.Ja}});null!=this.Ya&&(a.geodesic=this.Ya);null!=this.Wa&&(a.evenOdd=this.Wa);return a};
S.prototype.mc=function(){if(this.i)throw Error("Can't convert a computed Geometry to GeoJSON. Use getInfo() instead.");return this.encode()};S.prototype.toGeoJSON=S.prototype.mc;S.prototype.sd=function(){if(this.i)throw Error("Can't convert a computed Geometry to GeoJSON. Use getInfo() instead.");return(new Md).B(this.mc())};S.prototype.toGeoJSONString=S.prototype.sd;S.prototype.B=function(){return Xd(this)};S.prototype.serialize=S.prototype.B;
S.prototype.toString=function(){return"ee.Geometry("+this.sd()+")"};S.prototype.P=function(a){if(!this.Oa){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return L.prototype.P.call(this,a)}var b="GeometryConstructors."+this.Oa,c={};"GeometryCollection"===this.Oa?c.geometries=this.Rd:c.coordinates=this.Ed;null!=this.Ja&&(c.crs=q(this.Ja)?(new N("Projection")).call(this.Ja):this.Ja);null!=this.Ya&&(c.geodesic=this.Ya);null!=this.Wa&&(c.evenOdd=this.Wa);return(new N(b)).apply(c).P(a)};
var vj=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!t(b))return!1;for(a=0;a<b.length;a++)if(!vj(b[a]))return!1;return!0}a=a.coordinates;var c=Hj(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)},Hj=function(a){if(!t(a))return-1;if(t(a[0])){for(var b=Hj(a[0]),c=1;c<a.length;c++)if(Hj(a[c])!=b)return-1;return b+
1}for(c=0;c<a.length;c++)if(!r(a[c]))return-1;return 0==a.length%2?1:-1},zj=function(a,b,c,d){Xa(d,Xi)?a={coordinates:fb(d)}:(a=P(a,d),a.coordinates=a.coords,delete a.coords,a.crs=a.proj,delete a.proj,a=yb(a,xa));if(Ij(a.coordinates)||null!=a.crs||null!=a.maxError)return(new N("GeometryConstructors."+b)).apply(a);a.type=b;d=a.coordinates;if(1>c||4<c)throw Error("Unexpected nesting level.");if(Xa(d,r)&&r(d[0])&&2!=d.length){if(0!=d.length%2)throw Error("Invalid number of coordinates: "+d.length);for(var e=
[],g=0;g<d.length;g+=2)e.push([d[g],d[g+1]]);d=e}e=d;for(g=0;t(e);)e=e[0],g++;for(;g<c;)d=[d],g++;if(Hj(d)!=c)throw Error("Invalid geometry");for(e=d;t(e)&&1==e.length;)e=e[0];c=t(e)&&0==e.length?[]:d;a.coordinates=c;(b=ab(["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},Ij=function(a){return t(a)?Wa(a,Ij):a instanceof L},yj=function(a,b){var c=function(){};c.prototype=a.prototype;
c=new c;a=a.apply(c,b);return void 0!==a?a:c};S.prototype.name=function(){return"Geometry"};var T=function(a){if(!(this instanceof T))return Si(T,arguments);if(a instanceof T)return a;Jj();if(t(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new T(a[0]);L.call(this,new N("Filter.and"),{filters:a})}else if(a instanceof L)L.call(this,a.i,a.args,a.A);else{if(p(a))throw Error("Invalid argument specified for ee.Filter(): "+a);L.call(this,null,null)}};z(T,L);y("ee.Filter",T);
var Kj=!1,Jj=function(){Kj||(lj(T,"Filter","Filter"),Kj=!0)},Lj={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};T.prototype.Za=function(){return O("Filter.not",this)};T.prototype.not=T.prototype.Za;var Mj=function(a,b){var c=P(Mj,arguments);return O("Filter.equals",c.name,c.value)};T.eq=Mj;var Nj=function(a,b){var c=P(Nj,arguments);return Mj(c.name,c.value).Za()};T.neq=Nj;
var Oj=function(a,b){var c=P(Oj,arguments);return O("Filter.lessThan",c.name,c.value)};T.lt=Oj;var Pj=function(a,b){var c=P(Pj,arguments);return Oj(c.name,c.value).Za()};T.gte=Pj;var Qj=function(a,b){var c=P(Qj,arguments);return O("Filter.greaterThan",c.name,c.value)};T.gt=Qj;var Rj=function(a,b){var c=P(Rj,arguments);return Qj(c.name,c.value).Za()};T.lte=Rj;var Sj=function(a){return O("Filter.and",Array.prototype.slice.call(arguments))};T.and=Sj;var Tj=function(a){return O("Filter.or",Array.prototype.slice.call(arguments))};
T.or=Tj;var Uj=function(a,b){var c=P(Uj,arguments);c=O("DateRange",c.start,c.end);return ej("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};T.date=Uj;var Vj=function(a,b,c,d){var e=P(Vj,arguments);return ej("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};T.inList=Vj;var Wj=function(a,b){return ej("Filter.intersects",{leftField:".all",rightValue:O("Feature",a),maxError:b})};T.bounds=Wj;
T.prototype.name=function(){return"Filter"};var Xj=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Lj))throw Error("Unknown filtering operator: "+b);a=O("Filter."+Lj[b],a,c);return d?a.Za():a};T.metadata=Xj;var U=function(a,b,c){R.call(this,a,b,c);Yj()};z(U,R);y("ee.Collection",U);var Zj=!1,Yj=function(){Zj||(lj(U,"Collection","Collection"),lj(U,"AggregateFeatureCollection","Collection","aggregate_"),Zj=!0)};U.prototype.filter=function(a){a=P(U.prototype.filter,arguments).filter;if(!a)throw Error("Empty filters.");return Ti(this,O("Collection.filter",this,a))};U.prototype.filter=U.prototype.filter;
U.prototype.Lc=function(a,b,c){var d=P(U.prototype.Lc,arguments);return this.filter(Xj(d.name,d.operator,d.value))};U.prototype.filterMetadata=U.prototype.Lc;U.prototype.Nd=function(a){return this.filter(Wj(a))};U.prototype.filterBounds=U.prototype.Nd;U.prototype.Kc=function(a,b){var c=P(U.prototype.Kc,arguments);return this.filter(Uj(c.start,c.end))};U.prototype.filterDate=U.prototype.Kc;
U.prototype.limit=function(a,b,c){var d=P(U.prototype.limit,arguments);return Ti(this,O("Collection.limit",this,d.max,d.property,d.ascending))};U.prototype.limit=U.prototype.limit;U.prototype.sort=function(a,b){var c=P(U.prototype.sort,arguments);return Ti(this,O("Collection.limit",this,void 0,c.property,c.ascending))};U.prototype.sort=U.prototype.sort;U.prototype.name=function(){return"Collection"};U.prototype.elementType=function(){return R};
U.prototype.map=function(a,b){var c=this.elementType();return Ti(this,O("Collection.map",this,function(d){return a(new c(d))},b))};U.prototype.map=U.prototype.map;U.prototype.Zd=function(a,b){b=p(b)?b:null;var c=this.elementType();return O("Collection.iterate",this,function(d,e){return a(new c(d),e)},b)};U.prototype.iterate=U.prototype.Zd;var V=function(a,b){if(!(this instanceof V))return Si(V,arguments);if(a instanceof V){if(b)throw Error("Can't create Feature out of a Feature and properties.");return a}if(2<arguments.length)throw Error("The Feature constructor takes at most 2 arguments ("+arguments.length+" given)");ak();if(a instanceof S||null===a)R.call(this,new N("Feature"),{geometry:a,metadata:b||null});else if(a instanceof L)R.call(this,a.i,a.args,a.A);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=Ib(c);c["system:index"]=a.id}R.call(this,new N("Feature"),{geometry:new S(a.geometry),metadata:c})}else R.call(this,new N("Feature"),{geometry:new S(a),metadata:b||null})};z(V,R);y("ee.Feature",V);var bk=!1,ak=function(){bk||(lj(V,"Feature","Feature"),bk=!0)};V.prototype.D=function(a){return V.f.D.call(this,a)};V.prototype.getInfo=V.prototype.D;
V.prototype.getMap=function(a,b){var c=P(V.prototype.getMap,arguments);return O("Collection",[this]).getMap(c.visParams,c.callback)};V.prototype.getMap=V.prototype.getMap;V.prototype.name=function(){return"Feature"};var ck=function(a,b,c){var d={};xb(b,function(e,g){switch(g){case "dimensions":g=q(e)?e.split("x").map(Number):t(e)?e:r(e)?[e]:[];if(1===g.length)d.maxDimension=g[0];else if(2===g.length)d.width=g[0],d.height=g[1];else throw Error("Invalid dimensions "+e);break;case "region":e=q(e)?JSON.parse(e):e;d.geometry=new S(e);break;case "scale":d.scale=e;default:c[g]=e}});Gb(d)||(d.input=a,a=ej("Image.clipToBoundsAndScale",d));return a},ek=function(a,b){var c={};b=dk(b,c);Gb(b)||(b.image=a,a=ej("Image.visualize",
b));c.image=a;return c},dk=function(a,b){var c="bands gain bias min max gamma palette opacity forceRgbOutput".split(" "),d={};xb(a,function(e,g){ab(c,g)?d[g]=e:b[g]=e});return d};var W=function(a){if(!(this instanceof W))return Si(W,arguments);if(a instanceof W)return a;fk();var b=arguments.length;if(0==b||1==b&&!p(a))R.call(this,new N("Image.mask"),{image:new W(0),mask:new W(0)});else if(1==b)if(Xi(a))R.call(this,new N("Image.constant"),{value:a});else if(Yi(a))R.call(this,new N("Image.load"),{id:a});else{if(t(a))return gk(Va(a,function(d){return new W(d)}));if(a instanceof L)"Array"==a.name()?R.call(this,new N("Image.constant"),{value:a}):R.call(this,a.i,a.args,a.A);else throw Error("Unrecognized argument type to convert to an Image: "+
a);}else if(2==b){b=arguments[0];var c=arguments[1];if(Yi(b)&&Xi(c))R.call(this,new N("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};z(W,R);y("ee.Image",W);var hk=!1,fk=function(){hk||(lj(W,"Image","Image"),lj(W,"Window","Image","focal_"),hk=!0)};W.prototype.D=function(a){return W.f.D.call(this,a)};W.prototype.getInfo=W.prototype.D;
W.prototype.getMap=function(a,b){var c=this,d=P(W.prototype.getMap,arguments),e=ek(this,d.visParams);if(d.callback){var g=d.callback;Zh(e,function(f,h){f=f?Object.assign(f,{image:c}):void 0;g(f,h)})}else return d=Zh(e),d.image=this,d};W.prototype.getMap=W.prototype.getMap;W.prototype.Da=function(a,b){var c=P(W.prototype.Da,arguments),d=c.params?Ib(c.params):{};d.image=this.B();if(c.callback){var e=c.callback;ei(d,function(g,f){g?e(fi(g)):e(null,f)})}else return fi(ei(d))};
W.prototype.getDownloadURL=W.prototype.Da;W.prototype.Qc=function(a,b){var c=P(W.prototype.Qc,arguments);if(G){var d={};var e=ck(this,c.params,d);d=ek(e,d)}else if(d=ek(this,c.params),d.region)if(t(d.region)||Zi(d.region))d.region=Nd(d.region);else if(!q(d.region))throw Error("The region parameter must be an array or a GeoJSON object.");if(c.callback)ci(d,function(g,f){var h="";if(!p(f))try{h=di(g)}catch(k){f=String(k.message)}c.callback(h,f)});else return di(ci(d))};W.prototype.getThumbURL=W.prototype.Qc;
var ik=function(a,b,c){var d=P(ik,arguments);return gk([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};W.rgb=ik;var jk=function(a){return gk(Array.prototype.slice.call(arguments),null)};W.cat=jk;var gk=function(a,b){if(0==a.length)return O("Image.constant",[]);for(var c=new W(a[0]),d=1;d<a.length;d++)c=O("Image.addBands",c,a[d]);b&&(c=c.select([".*"],b));return c};
W.prototype.select=function(a){var b=Array.prototype.slice.call(arguments),c={input:this,bandSelectors:b[0]||[]};if(2<b.length||Yi(b[0])||Xi(b[0])){for(var d=0;d<b.length;d++)if(!(Yi(b[d])||Xi(b[d])||b[d]instanceof L))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return ej("Image.select",c)};W.prototype.select=W.prototype.select;
W.prototype.expression=function(a,b){var c=P(W.prototype.expression,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var g=c.map,f;for(f in g)d.push(f),e[f]=new W(g[f])}var h=O("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d);c=new M;c.encode=function(k){return h.encode(k)};c.Hc=function(k,m){return md(k(h),m)};c.L=function(){return{name:"",args:Va(d,function(k){return{name:k,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};
W.prototype.expression=W.prototype.expression;W.prototype.clip=function(a){try{a=new S(a)}catch(b){}return O("Image.clip",this,a)};W.prototype.clip=W.prototype.clip;W.prototype.ne=function(a){var b=1!=arguments.length||Yi(arguments[0])?fb(arguments):arguments[0];return O("Image.rename",this,b)};W.prototype.rename=W.prototype.ne;W.prototype.name=function(){return"Image"};var kk=function(a){if(this instanceof kk){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof kk)return a}else return Si(kk,arguments);lk();if(t(a))L.call(this,null,null),this.yb=a;else if(a instanceof L)L.call(this,a.i,a.args,a.A),this.yb=null;else throw Error("Invalid argument specified for ee.List(): "+a);};z(kk,L);y("ee.List",kk);var mk=!1,lk=function(){mk||(lj(kk,"List","List"),mk=!0)};
kk.prototype.encode=function(a){return t(this.yb)?Va(this.yb,function(b){return a(b)}):kk.f.encode.call(this,a)};kk.prototype.P=function(a){return t(this.yb)?kd(a(this.yb)):kk.f.P.call(this,a)};kk.prototype.name=function(){return"List"};var X=function(a,b){if(!(this instanceof X))return Si(X,arguments);if(a instanceof X)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");nk();a instanceof S&&(a=new V(a));a instanceof V&&(a=[a]);if(Yi(a)){var c={tableId:a};b&&(c.geometryColumn=b);U.call(this,new N("Collection.loadTable"),c)}else if(t(a))U.call(this,new N("Collection"),{features:Va(a,function(d){return new V(d)})});else if(a instanceof kk)U.call(this,
new N("Collection"),{features:a});else if(a instanceof L)U.call(this,a.i,a.args,a.A);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};z(X,U);y("ee.FeatureCollection",X);var ok=!1,nk=function(){ok||(lj(X,"FeatureCollection","FeatureCollection"),ok=!0)};X.prototype.getMap=function(a,b){var c=P(X.prototype.getMap,arguments),d=ej("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(void 0,c.callback);else return d.getMap()};
X.prototype.getMap=X.prototype.getMap;X.prototype.D=function(a){return X.f.D.call(this,a)};X.prototype.getInfo=X.prototype.D;X.prototype.Da=function(a,b,c,d){var e=P(X.prototype.Da,arguments),g={};g.table=this.B();e.format&&(g.format=e.format.toUpperCase());e.filename&&(g.filename=e.filename);if(e.selectors){var f=e.selectors;ya(f)&&(f=f.join(","));g.selectors=f}if(e.callback)gi(g,function(h,k){h?e.callback(hi(h)):e.callback(null,k)});else return hi(gi(g))};X.prototype.getDownloadURL=X.prototype.Da;
X.prototype.select=function(a,b,c){if(Yi(a)){var d=Array.prototype.slice.call(arguments);return this.map(function(g){return g.select(d)})}var e=P(X.prototype.select,arguments);return this.map(function(g){return g.select(e)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"FeatureCollection"};X.prototype.elementType=function(){return V};var Y=function(a){if(!(this instanceof Y))return Si(Y,arguments);if(a instanceof Y)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");pk();a instanceof W&&(a=[a]);if(Yi(a))U.call(this,new N("ImageCollection.load"),{id:a});else if(t(a))U.call(this,new N("ImageCollection.fromImages"),{images:Va(a,function(b){return new W(b)})});else if(a instanceof kk)U.call(this,new N("ImageCollection.fromImages"),{images:a});else if(a instanceof
L)U.call(this,a.i,a.args,a.A);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};z(Y,U);y("ee.ImageCollection",Y);var qk=!1,pk=function(){qk||(lj(Y,"ImageCollection","ImageCollection"),lj(Y,"reduce","ImageCollection"),qk=!0)};Y.prototype.Oc=function(a,b){var c=P(Y.prototype.Oc,arguments);return rk(this,c,["png","jpg","jpeg"])};Y.prototype.getFilmstripThumbURL=Y.prototype.Oc;Y.prototype.Rc=function(a,b){var c=P(Y.prototype.Rc,arguments);return rk(this,c,["gif"])};
Y.prototype.getVideoThumbURL=Y.prototype.Rc;
var rk=function(a,b,c){var d={};a=a.map(function(f){var h=b.params,k=h.crs||"",m=h.crsTransform||h.crs_transform||"";if(k||m){if(m&&!k)throw Error('Must specify "crs" if "crsTransform" is specified.');m?(f=ej("Image.reproject",{image:f,crs:k,Ef:m}),null!=h.dimensions&&null==h.scale&&null==h.region&&(k=h.dimensions,delete h.dimensions,q(k)&&(k=k.split("x").map(Number)),m=ej("Image.projection",{image:f}),2===k.length&&(h.region=new Bj([0,0,k[0],k[1]],m,!0)))):f=ej("Image.setDefaultProjection",{image:f,
crs:k,crsTransform:[1,0,0,0,-1,0]})}return ck(f,b.params,d)});var e={},g=dk(d,e);null!=b.params.dimensions&&(e.dimensions=b.params.dimensions);a=a.map(function(f){g.image=f;return ej("Image.visualize",g)});e.image=a.B();if(e.format){if(!Wa(c,function(f){return f.toLowerCase()==e.format.toLowerCase()}))throw Error("Invalid format specified.");}else e.format=c[0];if(b.callback)ci(e,function(f,h){var k="";if(!p(h))try{k=di(f)}catch(m){h=String(m.message)}b.callback(k,h)});else return di(ci(e))};
Y.prototype.getMap=function(a,b){var c=P(Y.prototype.getMap,arguments),d=O("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};Y.prototype.getMap=Y.prototype.getMap;Y.prototype.D=function(a){return Y.f.D.call(this,a)};Y.prototype.getInfo=Y.prototype.D;Y.prototype.select=function(a,b){var c=arguments;return this.map(function(d){return d.select.apply(d,c)})};Y.prototype.select=Y.prototype.select;
Y.prototype.first=function(){return new W(O("Collection.first",this))};Y.prototype.first=Y.prototype.first;Y.prototype.name=function(){return"ImageCollection"};Y.prototype.elementType=function(){return W};var sk=function(a){this.Dc=a;this.id=null},uk=function(a){var b={element:tk(a)};Object.assign(b,a);b=yb(b,xa);return new sk(b)};sk.prototype.start=function(a,b){var c=this;C(this.Dc,"Task config must be specified for tasks to be started.");if(a){var d=function(){Oa(c.id);vi(c.id,c.Dc,function(e,g){g?b(g):a()})};this.id?d():ji(1,function(e){(e=e&&e[0])?(c.id=e,d()):b("Failed to obtain task ID.")})}else this.id=this.id||ji(1)[0],Oa(this.id,"Failed to obtain task ID."),vi(this.id,this.Dc)};
sk.prototype.start=sk.prototype.start;var vk=function(a,b,c,d,e,g,f,h,k,m){var u=P(vk,arguments);u=wk(u,"ASSET","EXPORT_IMAGE");return uk(u)};y("ee.batch.Export.image.toAsset",vk);var xk=function(a,b,c,d,e,g,f,h,k,m,u,Q,I,oa,ec){var Ba=P(xk,arguments);Ba=wk(Ba,"GOOGLE_CLOUD_STORAGE","EXPORT_IMAGE");return uk(Ba)};y("ee.batch.Export.image.toCloudStorage",xk);var yk=function(a,b,c,d,e,g,f,h,k,m,u,Q,I,oa,ec){var Ba=P(yk,arguments);Ba=wk(Ba,"DRIVE","EXPORT_IMAGE");return uk(Ba)};
y("ee.batch.Export.image.toDrive",yk);var zk=function(a,b,c,d,e,g,f,h,k,m,u,Q){var I=P(zk,arguments);I=wk(I,"GOOGLE_CLOUD_STORAGE","EXPORT_TILES");return uk(I)};y("ee.batch.Export.map.toCloudStorage",zk);var Ak=function(a,b,c,d,e,g){var f=P(Ak,arguments);f=wk(f,"GOOGLE_CLOUD_STORAGE","EXPORT_FEATURES");return uk(f)};y("ee.batch.Export.table.toCloudStorage",Ak);var Bk=function(a,b,c,d,e,g){var f=P(Bk,arguments);f.type="EXPORT_FEATURES";f=wk(f,"DRIVE","EXPORT_FEATURES");return uk(f)};
y("ee.batch.Export.table.toDrive",Bk);var Ck=function(a,b,c){var d=P(Ck,arguments);d=wk(d,"ASSET","EXPORT_FEATURES");return uk(d)};y("ee.batch.Export.table.toAsset",Ck);var Dk=function(a,b,c,d,e,g,f,h,k,m,u,Q){var I=P(Dk,arguments);I=wk(I,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO");return uk(I)};y("ee.batch.Export.video.toCloudStorage",Dk);var Ek=function(a,b,c,d,e,g,f,h,k,m,u,Q){var I=P(Ek,arguments);I=wk(I,"DRIVE","EXPORT_VIDEO");return uk(I)};y("ee.batch.Export.video.toDrive",Ek);
var Fk=function(a,b,c,d,e,g,f,h,k,m,u){var Q=P(Fk,arguments);Q=wk(Q,"GOOGLE_CLOUD_STORAGE","EXPORT_VIDEO_MAP");return uk(Q)};y("ee.batch.Export.videoMap.toCloudStorage",Fk);
var tk=function(a){var b=function(d){return d in a},c=Gk.find(b);C(1===Ya(Gk,b),'Expected a single "image" or "collection" key.');b=a[c];if(!(b instanceof W||b instanceof X||b instanceof Y||b instanceof R))throw Error("Unknown element type provided: "+typeof b+". Expected:  ee.Image, ee.ImageCollection, ee.FeatureCollection or ee.Element.");delete a[c];return b},wk=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=Hk(e,a),delete e.formatOptions,Object.assign(e,a));e=Ik(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_TILES":e=
b=Ik(e,b);break;case "EXPORT_FEATURES":t(e.selectors)&&(e.selectors=e.selectors.join());e=Ik(e,b);break;case "EXPORT_VIDEO":e=Jk(e);e=Ik(e,b);null!=e.crsTransform&&(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Jk(e);e=Ik(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.mc();else if(q(b))try{b=Qa(JSON.parse(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.");
}if(!(v(b)&&"type"in b))try{new Cj(b)}catch(g){try{new Fj(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.");}}b=Nd(b);d.region=b}return e},Ik=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=wa(a.folder);if(!ab(["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},Kk={GEO_TIFF:["cloudOptimized","fileDimensions"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},Lk={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},
Jk=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;a.fileFormat="MP4";return a},Hk=function(a,b){var c=a.formatOptions;if(null==c)return{};if(Object.keys(a).some(function(k){return null!==c&&k in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=Lk[b];for(var d=Kk[b],e={},g=ba(Object.entries(c)),f=g.next();!f.done;f=g.next()){var h=ba(f.value);f=h.next().value;h=h.next().value;if(!ab(d,
f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'"'+('"may have the following options: '+d.join(", ")+'".'));f=a+f[0].toUpperCase()+f.substring(1);t(h)?e[f]=h.join():e[f]=h}return e},Gk=["image","collection"];var Mk=function(a){if(!(this instanceof Mk))return Si(Mk,arguments);if(a instanceof Mk)return a;Nk();if(r(a))L.call(this,null,null),this.Ab=a;else if(a instanceof L)L.call(this,a.i,a.args,a.A),this.Ab=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};z(Mk,L);y("ee.Number",Mk);var Ok=!1,Nk=function(){Ok||(lj(Mk,"Number","Number"),Ok=!0)};Mk.prototype.encode=function(a){return r(this.Ab)?this.Ab:Mk.f.encode.call(this,a)};
Mk.prototype.P=function(a){return r(this.Ab)?kd(a(this.Ab)):Mk.f.P.call(this,a)};Mk.prototype.name=function(){return"Number"};var Pk=function(a){if(!(this instanceof Pk))return Si(Pk,arguments);if(a instanceof Pk)return a;Qk();if(q(a))L.call(this,null,null),this.Fb=a;else if(a instanceof L)this.Fb=null,a.i&&"String"==a.i.L().returns?L.call(this,a.i,a.args,a.A):L.call(this,new N("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};z(Pk,L);y("ee.String",Pk);var Rk=!1,Qk=function(){Rk||(lj(Pk,"String","String"),Rk=!0)};
Pk.prototype.encode=function(a){return q(this.Fb)?this.Fb:Pk.f.encode.call(this,a)};Pk.prototype.P=function(a){return q(this.Fb)?kd(a(this.Fb)):Pk.f.P.call(this,a)};Pk.prototype.name=function(){return"String"};var Sk=function(a,b){if(!(this instanceof Sk))return Si(Sk,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var g=d[e],f=g.type;c.push(Tk(f in Ui?Ui[f]:null,g.name))}if(!p(b.apply(null,c)))throw Error("User-defined methods must return a value.");this.ia=Uk(a,c,b);this.yd=b.apply(null,c)};z(Sk,M);y("ee.CustomFunction",Sk);Sk.prototype.encode=function(a){return{type:"Function",argumentNames:Va(this.ia.args,function(b){return b.name}),body:a(this.yd)}};
Sk.prototype.P=function(a){return nd(this.ia.args.map(function(b){return b.name}),a(this.yd))};Sk.prototype.Hc=function(a,b){return md(a(this),b)};Sk.prototype.L=function(){return this.ia};
var Tk=function(a,b){a=a||Object;if(!(a.prototype instanceof L))if(a&&a!=Object)if(a==String)a=Pk;else if(a==Number)a=Mk;else if(a==Array)a=n.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=L;var c=function(d){this.args=this.i=null;this.A=d};c.prototype=a.prototype;return new c(b)},Vk=function(a,b){b=Va(b,function(c){return{name:null,type:q(c)?c:Vi(c)}});b={name:"",returns:q("Object")?"Object":Vi("Object"),args:b};return new Sk(b,a)},Uk=function(a,b,
c){for(var d=[],e=0;e<b.length;e++)null===b[e].A&&d.push(e);if(0==d.length)return a;var g=function(k){var m=0;v(k)&&!w(k)&&("Function"==k.type&&m++,xb(k,function(u){m+=g(u)}));return m};e=Wd(c.apply(null,b));c="_MAPPING_VAR_"+g(e)+"_";for(e=0;e<d.length;e++){var f=d[e],h=c+e;b[f].A=h;a.args[f].name=h}return a};var Wk=function(a,b){if(!(this instanceof Wk))return Si(Wk,arguments);if(a instanceof Wk)return a;Xk();var c=P(Wk,arguments);a=c.date;c=c.tz;var d=new N("Date"),e={},g=null;if(Yi(a)){if(e.value=a,c)if(Yi(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(Xi(a))e.value=a;else if(za(a))e.value=Math.floor(a.getTime());else if(a instanceof L)a.i&&"Date"==a.i.L().returns?(d=a.i,e=a.args,g=a.A):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
a);L.call(this,d,e,g)};z(Wk,L);y("ee.Date",Wk);var Yk=!1,Xk=function(){Yk||(lj(Wk,"Date","Date"),Yk=!0)};Wk.prototype.name=function(){return"Date"};y("ee.Deserializer",function(){});var $k=function(a){return Zk(JSON.parse(a))};y("ee.Deserializer.fromJSON",$k);var Zk=function(a){var b={};if(v(a)&&"CompoundValue"==a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],g=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=al(g,b)}a=a.value}return al(a,b)};y("ee.Deserializer.decode",Zk);
var al=function(a,b){if(null===a||r(a)||ra(a)||q(a))return a;if(t(a))return Va(a,function(g){return al(g,b)});if(!v(a)||w(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(!q(c))throw Error("Invalid variable name: "+c);return Tk(Object,c);case "Date":c=a.value;if(!r(c))throw Error("Invalid date value: "+c);return new Wk(c/1E3);case "Bytes":return c=new id,c.encode=
function(){return a},c;case "Invocation":c="functionName"in a?dj(a.functionName):al(a["function"],b);var d=zb(a.arguments,function(g){return al(g,b)});if(c instanceof M)return c.apply(d);if(c instanceof L)return new L(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return zb(a.value,function(g){return al(g,b)});case "Function":var e=al(a.body,b);c={name:"",args:Va(a.argumentNames,function(g){return{name:g,type:"Object",optional:!1}}),returns:"Object"};return new Sk(c,
function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new S(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var bl=function(a){if(!(this instanceof bl))return Si(bl,arguments);if(a instanceof bl)return a;cl();Zi(a)?(L.call(this,null,null),this.ob=a):(a instanceof L&&a.i&&"Dictionary"==a.i.L().returns?L.call(this,a.i,a.args,a.A):L.call(this,new N("Dictionary"),{input:a},null),this.ob=null)};z(bl,L);y("ee.Dictionary",bl);var dl=!1,cl=function(){dl||(lj(bl,"Dictionary","Dictionary"),dl=!0)};bl.prototype.encode=function(a){return null===this.ob?bl.f.encode.call(this,a):a(this.ob)};
bl.prototype.P=function(a){return null===this.ob?bl.f.P.call(this,a):kd(a(this.ob))};bl.prototype.name=function(){return"Dictionary"};var el={};y("ee.Terrain",el);el.Vc=!1;el.Te=function(){el.Vc||(lj(el,"Terrain","Terrain"),el.Vc=!0)};el.reset=function(){mj(el);el.Vc=!1};var kl=function(a,b,c,d,e){if("ready"!=fl||a||b){var g=null!=c;if(d)if(g)gl.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==fl&&g)hl.push(c);else if(fl="loading",Lh(a,b,e),g)hl.push(c),hj(il,jl);else try{hj(),il()}catch(f){throw jl(f),f;}}else c&&c()};y("ee.initialize",kl);
var nl=function(){fl="not_ready";Jh=Ih=Hh=Fh=null;Kh=!1;ua("gapi")&&gapi.client&&delete gapi.client.earthengine;Gh=!1;fj=null;gj={};mj(Wk);Yk=!1;mj(bl);dl=!1;mj(R);tj=!1;mj(W);hk=!1;mj(V);bk=!1;mj(U);Zj=!1;mj(Y);qk=!1;mj(X);ok=!1;mj(T);Kj=!1;mj(S);wj=!1;mj(kk);mk=!1;mj(Mk);Ok=!1;mj(Pk);Rk=!1;el.reset();for(var a=n.ee,b=0;b<ll.length;b++){var c=ll[b];mj(a[c]);delete a[c]}ll=[];Ui=a;a=ml;for(var d in a)delete a[d]};y("ee.reset",nl);var ol={yf:"not_ready",LOADING:"loading",zf:"ready"};
y("ee.InitState",ol);y("ee.InitState.NOT_READY","not_ready");y("ee.InitState.LOADING","loading");y("ee.InitState.READY","ready");var fl="not_ready",hl=[],gl=[];y("ee.TILE_SIZE",256);var ll=[],ml={};y("ee.Algorithms",ml);var pl=function(a,b){q(a)&&(a=new N(a));return M.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};y("ee.call",pl);var ql=function(a,b){q(a)&&(a=new N(a));return a.apply(b)};y("ee.apply",ql);
var il=function(){if("loading"==fl){try{Xk();cl();sj();fk();ak();Yj();pk();nk();Jj();uj();lk();Nk();Qk();el.Te();var a=ij(),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 g=n.ee,f;for(f in b)f in c&&!(f in g)&&(g[f]=rl(f),ll.push(f),a[f]?(g[f].signature=a[f],g[f].signature.isConstructor=!0,gj[f]=!0):g[f].signature={});Ui=g;sl()}catch(h){jl(h);return}fl="ready";for(gl=[];0<hl.length;)hl.shift()()}},jl=function(a){if("loading"==
fl)for(fl="not_ready",hl=[];0<gl.length;)gl.shift()(a)},sl=function(){var a=jj();Cb(a).sort().forEach(function(b){var c=a[b],d=c.L();if(!d.hidden){b=b.split(".");var e=ml;for(e.signature={};1<b.length;){var g=b[0];g in e||(e[g]={signature:{}});e=e[g];b=hb(b,1)}g=function(f){return cj(c,void 0,Array.prototype.slice.call(arguments,0))};g.signature=d;g.toString=x(c.toString,c);e[b[0]]=g}})},rl=function(a){var b=function(c){var d=n.ee[a],e=Array.prototype.slice.call(arguments),g=1==e.length;if(g&&e[0]instanceof
d)return e[0];if(!(this instanceof d))return Si(d,e);d=kj(a);var f=!(e[0]instanceof L),h=!1;d&&(g?f?h=!0:e[0].i!=d&&(h=!0):h=!0);if(h)L.call(this,d,bj(d,aj(d,e)));else{if(!g)throw Error("Too many arguments for ee."+a+"(): "+e);if(f)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];L.call(this,e.i,e.args,e.A)}};z(b,L);b.prototype.name=function(){return a};lj(b,a,a);return b};
$i=function(a,b){if(null===a)return null;if(p(a)){var c=n.ee;switch(b){case "Image":return new W(a);case "Feature":return a instanceof U?O("Feature",O("Collection.geometry",a)):new V(a);case "Element":if(a instanceof R)return a;if(a instanceof S)return new V(a);if(a instanceof L)return new R(a.i,a.args,a.A);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof X?O("Collection.geometry",a):new S(a);case "FeatureCollection":case "Collection":return a instanceof U?a:new X(a);
case "ImageCollection":return new Y(a);case "Filter":return new T(a);case "Algorithm":if(q(a))return new N(a);if(w(a)){b=a.length;c=[];for(var d=0;d<b;d++)c[d]="Object";return Vk(a,c)}if(a instanceof id)return a;throw Error("Argument is not a function: "+a);case "String":return Yi(a)||a instanceof Pk||a instanceof L?new Pk(a):a;case "Dictionary":return Zi(a)?a:new bl(a);case "List":return new kk(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Mk(a);default:if(b in
c){d=kj(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if(q(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 tl=function(a,b,c){ed.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.Pd=new Rc;this.Od=new Rc};z(tl,ed);y("ee.FloatTileOverlay",tl);tl.prototype.getTile=function(a,b){var c=fd(this,a,b);b=[this.url,c].join("/")+"?token="+this.token;c=[c,this.ya,this.token].join("/");this.Aa.push(c);this.ya+=1;var d=Kf("DIV");ul(this,b,a,c,d);vl(this);return d};
var ul=function(a,b,c,d,e){var g=yg();g.open("GET",b,!0);g.responseType="arraybuffer";g.onreadystatechange=x(function(){if(g.readyState===XMLHttpRequest.DONE&&200===g.status){var f=g.response;if(f)f=new Float32Array(f),this.Pd.set(c,f),this.Od.set(c,e),db(this.Aa,d),vl(this);else throw this.qd.add(d),Error("Unable to request floating point array buffers.");}},a);g.send()},vl=function(a){a.dispatchEvent(new gd(a.Aa.length))};tl.prototype.h=function(){this.Od=this.Pd=null;tl.f.h.call(this)};var wl=function(){this.kc=new Map};wl.prototype.clear=function(){this.kc.clear()};var xl=function(a,b){a.kc.has(b)||a.kc.set(b,{throttleCount:0,errorCount:0,tileLatencies:[]});return a.kc.get(b)};var yl=function(a){A.call(this);this.Fa=a;this.j={}};z(yl,A);var zl=[];yl.prototype.ga=function(a,b,c,d){t(b)||(b&&(zl[0]=b.toString()),b=zl);for(var e=0;e<b.length;e++){var g=yc(a,b[e],c||this.handleEvent,d||!1,this.Fa||this);if(!g)break;this.j[g.key]=g}return this};yl.prototype.zb=function(a,b,c,d){return Al(this,a,b,c,d)};var Al=function(a,b,c,d,e,g){if(t(c))for(var f=0;f<c.length;f++)Al(a,b,c[f],d,e,g);else{b=xc(b,c,d||a.handleEvent,e,g||a.Fa||a);if(!b)return a;a.j[b.key]=b}return a};
yl.prototype.qc=function(a,b,c,d,e){if(t(b))for(var g=0;g<b.length;g++)this.qc(a,b[g],c,d,e);else c=c||this.handleEvent,d=v(d)?!!d.capture:!!d,e=e||this.Fa||this,c=zc(c),d=!!d,b=nc(a)?a.qb(b,c,d,e):a?(a=Bc(a))?a.qb(b,c,d,e):null:null,b&&(Gc(b),delete this.j[b.key])};yl.prototype.Db=function(){xb(this.j,function(a,b){this.j.hasOwnProperty(b)&&Gc(a)},this);this.j={}};yl.prototype.h=function(){yl.f.h.call(this);this.Db()};
yl.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Cl=function(a,b){p(a.name)?(this.name=a.name,this.code=Eb[a.name]):(this.code=a=Na(a.code),this.name=Bl(a));Ia.call(this,Mb("%s %s",this.name,b))};z(Cl,Ia);var Bl=function(a){var b=Fb(function(c){return a==c});if(!p(b))throw Error("Invalid code: "+a);return b},Eb={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 Dl=function(a,b){B.call(this,a.type,b);this.$=a};z(Dl,B);var El=function(){D.call(this);this.H=new FileReader;this.H.onloadstart=x(this.Va,this);this.H.onprogress=x(this.Va,this);this.H.onload=x(this.Va,this);this.H.onabort=x(this.Va,this);this.H.onerror=x(this.Va,this);this.H.onloadend=x(this.Va,this)};z(El,D);l=El.prototype;l.abort=function(){try{this.H.abort()}catch(a){throw new Cl(a,"aborting read");}};l.va=function(){return this.H.readyState};l.getError=function(){return this.H.error&&new Cl(this.H.error,"reading file")};
l.Va=function(a){this.dispatchEvent(new Dl(a,this))};l.h=function(){El.f.h.call(this);delete this.H};l.readAsBinaryString=function(a){this.H.readAsBinaryString(a)};l.readAsArrayBuffer=function(a){this.H.readAsArrayBuffer(a)};l.readAsText=function(a,b){this.H.readAsText(a,b)};var Fl=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 Gl=function(a,b){D.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.jc=new wl;this.za=new Rc;this.ya=0;this.pd=a;this.na=new yl(this);this.alt=this.radius=this.projection=void 0};z(Gl,D);y("ee.layers.AbstractOverlay",Gl);
Gl.prototype.yc=function(a){return yc(this,"tile-load",a)};Gl.prototype.addTileCallback=Gl.prototype.yc;Gl.prototype.jd=function(a){Gc(a)};Gl.prototype.removeTileCallback=Gl.prototype.jd;l=Gl.prototype;l.Pc=function(){return Hl(this,"throttled")+Hl(this,"loading")+Hl(this,"new")};l.setOpacity=function(a){this.opacity=a;this.za.forEach(function(b){Fl(b.O,this.opacity)},this)};l.getStats=function(){return this.jc};
l.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.ya++].join("-"),this.pd.Ud()].join("-");b=this.Gd(d,b,c,a);b.tileSize=this.tileSize;Fl(b.O,this.opacity);this.za.set(a,b);Il(this,b);this.pd.be(b,(new Date).getTime()/1E3);return b.O};l.releaseTile=function(a){var b=this.za.get(a.id);this.za.remove(a.id);b&&(b.abort(),Ha(b))};
var Il=function(a,b){a.na.ga(b,"status-changed",function(){switch(b.getStatus()){case "loaded":var c=b.Ze,d=(new Date).getTime();xl(this.jc,b.zoom).tileLatencies.push(d-c);this.dispatchEvent(new Jl(this.Pc()));break;case "throttled":xl(this.jc,b.zoom).throttleCount++;this.dispatchEvent(new Kl(b.Ma));break;case "failed":xl(this.jc,b.zoom).errorCount++,this.dispatchEvent(new Ll(b.Ma,b.Ne))}})};
Gl.prototype.h=function(){Gl.f.h.call(this);this.za.forEach(Ha);this.za.clear();this.za=null;Ha(this.na);this.pd=this.na=null};var Hl=function(a,b){return Ya(a.za.w(),function(c){return c.getStatus()==b})},Jl=function(){B.call(this,"tile-load")};z(Jl,B);var Kl=function(){B.call(this,"tile-throttle")};z(Kl,B);var Ll=function(a,b){B.call(this,"tile-fail");this.errorMessage=b};z(Ll,B);
var Ml=function(a,b,c,d){D.call(this);this.Ua=a;this.zoom=b;this.O=c.createElement("div");this.O.id=d;this.af=5;this.fc=function(){};this.md="new";this.oe=0;this.Xc=!1};z(Ml,D);
var Ol=function(a){if(!a.Xc&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");Nl(a,"loading");a.Ze=(new Date).getTime();a.ra=new F;a.ra.fb="blob";a.ra.ga("complete",function(){var b=Og(this.ra),c=this.ra.getStatus();429==c&&Nl(this,"throttled");if(ug(c)){var d={};xb(Pg(this.ra),function(g,f){d[f.toLowerCase()]=g});this.qf=d;this.ve=b;this.pb()}else if(b){var e=new El;e.ga("loadend",function(){this.Eb(e.H.result)},void 0,this);e.readAsText(b)}else this.Eb("Failed to load tile.")},
!1,a);a.ra.zb("ready",Fa(Ha,a.ra));a.ra.send(a.Ma,"GET")};l=Ml.prototype;l.pb=function(){this.fc(this);Nl(this,"loaded")};l.kb=function(){Ha(this.ra)};l.Eb=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.oe>=this.af?(this.Ne=b(a),Nl(this,"failed")):(this.kb(),setTimeout(x(function(){this.ea||(this.Xc=!0,Ol(this),this.Xc=!1)},this),1E3*Math.pow(2,this.oe++)))};l.abort=function(){this.kb();Nl(this,"aborted")};
l.getStatus=function(){return this.md};var Nl=function(a,b){a.md=b;a.dispatchEvent("status-changed")},Pl={aborted:!0,failed:!0,loaded:!0};Ml.prototype.h=function(){Ml.f.h.call(this);this.kb();this.O.remove();this.fc=null};var Ql=function(){A.call(this)};z(Ql,A);var Rl=function(a,b){Gl.call(this,a,b);this.Ad=new Rc;this.Jd=new Rc};z(Rl,Gl);y("ee.layers.BinaryOverlay",Rl);Rl.prototype.Gd=function(a,b,c,d){var e=new Sl(a,b,c,d);this.na.ga(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.Ad.set(a,new Float32Array(e.He)),this.Jd.set(a,e.O))});return e};Rl.prototype.h=function(){Rl.f.h.call(this);this.Jd=this.Ad=null};var Sl=function(a,b,c,d){Ml.call(this,a,b,c,d)};z(Sl,Ml);
Sl.prototype.pb=function(){var a=new El;a.ga("loadend",function(){this.He=a.H.result;Ml.prototype.pb.call(this)},void 0,this);a.readAsArrayBuffer(this.ve)};var Tl=function(a){D.call(this);this.vb={};this.ub={};this.Fa=new yl(this);this.u=a};z(Tl,D);var Ul=[Tb&&!cc("11")?"readystatechange":"load","abort","error"],Vl=function(a,b,c){(c=q(c)?c:c.src)&&(a.vb[b]={src:c,Fd:p(void 0)?void 0:null})},Wl=function(a,b){delete a.vb[b];var c=a.ub[b];c&&(delete a.ub[b],a.Fa.qc(c,Ul,a.ge),Gb(a.ub)&&Gb(a.vb)&&a.dispatchEvent("complete"))};
Tl.prototype.start=function(){var a=this.vb;Ta(Cb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.ea)){if(this.u){var d=this.u;d=(d?new Qf(Pf(d)):Ja||(Ja=new Qf)).Le("IMG")}else d=new Image;c.Fd&&(d.crossOrigin=c.Fd);this.Fa.ga(d,Ul,this.ge);this.ub[b]=d;d.id=b;d.src=c.src}},this)};
Tl.prototype.ge=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.ea||Wl(this,b.id)}};Tl.prototype.h=function(){delete this.vb;delete this.ub;Ha(this.Fa);Tl.f.h.call(this)};var Xl=function(a,b){Gl.call(this,a,b)};z(Xl,Gl);y("ee.layers.ImageOverlay",Xl);Xl.prototype.Gd=function(a,b,c,d){return new Yl(a,b,c,d)};var Yl=function(a,b,c,d){Ml.call(this,a,b,c,d);this.fc=Zl;this.Xd=this.K=this.Ub=null;this.Bb=""};z(Yl,Ml);
Yl.prototype.pb=function(){try{var a=Cf(this.ve);this.Bb=zf(a).toString();var b="about:invalid#zClosurez"!==this.Bb?this.Bb:this.Ma}catch(c){b=this.Ma}this.K=new Tl;Vl(this.K,this.O.id+"-image",b);this.Xd=xc(this.K,$l,function(c){"load"==c.type?(this.Ub=c.target,Ml.prototype.pb.call(this)):this.Eb()},void 0,this);this.K.start()};Yl.prototype.kb=function(){Yl.f.kb.call(this);this.K&&(Gc(this.Xd),Ha(this.K))};Yl.prototype.h=function(){Yl.f.h.call(this);this.Bb&&URL.revokeObjectURL(this.Bb)};
var $l=["load","abort","error"],Zl=function(a){a.O.appendChild(a.Ub)};var am=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 bm=function(a,b,c,d){A.call(this);this.zd=a;this.pa=b;this.od=d||"";this.Zb=c};z(bm,Ql);y("ee.layers.CloudStorageTileSource",bm);bm.prototype.be=function(a){if(a.zoom<=this.Zb)a.Ma=this.Rb(a.Ua,a.zoom);else{var b=a.zoom-this.Zb,c=Math.pow(2,b);c=new google.maps.Point(Math.floor(a.Ua.x/c),Math.floor(a.Ua.y/c));a.Ma=this.Rb(c,a.zoom-b);a.fc=Fa(cm,this.Zb)}var d=x(a.Eb,a);a.Eb=x(function(e){e&&(e.includes("The specified key does not exist.")||e.includes("AccessDenied"))?Nl(a,"loaded"):d(e)},a);Ol(a)};
bm.prototype.Ud=function(){return[this.zd,this.pa,this.Zb,this.od].join("-")};bm.prototype.Rb=function(a,b){a=am("https://storage.googleapis.com",this.zd,this.pa,String(b),String(a.x),String(a.y));this.od&&(a+=this.od);return a};
var cm=function(a,b){if(!b.Ub)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.O.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.O.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Ub,c/a*(b.Ua.x%a),c/a*(b.Ua.y%a),c/a,c/a,0,0,c,c)};var dm=function(){this.aa=[];this.ca=[]};l=dm.prototype;l.enqueue=function(a){this.ca.push(a)};l.nb=function(){0==this.aa.length&&(this.aa=this.ca,this.aa.reverse(),this.ca=[]);return this.aa.pop()};l.m=function(){return this.aa.length+this.ca.length};l.isEmpty=function(){return 0==this.aa.length&&0==this.ca.length};l.clear=function(){this.aa=[];this.ca=[]};l.contains=function(a){return ab(this.aa,a)||ab(this.ca,a)};
l.remove=function(a){var b=this.aa;var c=Sa(b,a);0<=c?(cb(b,c),b=!0):b=!1;return b||db(this.ca,a)};l.w=function(){for(var a=[],b=this.aa.length-1;0<=b;--b)a.push(this.aa[b]);var c=this.ca.length;for(b=0;b<c;++b)a.push(this.ca[b]);return a};var em=function(a,b){A.call(this);this.ce=a||0;this.Yb=b||10;if(this.ce>this.Yb)throw Error("[goog.structs.Pool] Min can not be greater than max");this.fa=new dm;this.wa=new $c;this.delay=0;this.Yc=null;this.Jb()};z(em,A);em.prototype.rb=function(){var a=Ga();if(!(null!=this.Yc&&a-this.Yc<this.delay)){for(var b;0<this.fa.m()&&(b=this.fa.nb(),!this.$c(b));)this.Jb();!b&&this.m()<this.Yb&&(b=this.Fc());b&&(this.Yc=a,this.wa.add(b));return b}};
var fm=function(a,b){return a.wa.remove(b)?(a.xc(b),!0):!1};l=em.prototype;l.xc=function(a){this.wa.remove(a);this.$c(a)&&this.m()<this.Yb?this.fa.enqueue(a):this.Nb(a)};l.Jb=function(){for(var a=this.fa;this.m()<this.ce;)a.enqueue(this.Fc());for(;this.m()>this.Yb&&0<this.fa.m();)this.Nb(a.nb())};l.Fc=function(){return{}};l.Nb=function(a){if("function"==typeof a.da)a.da();else for(var b in a)a[b]=null};l.$c=function(a){return"function"==typeof a.Je?a.Je():!0};
l.contains=function(a){return this.fa.contains(a)||this.wa.contains(a)};l.m=function(){return this.fa.m()+this.wa.m()};l.isEmpty=function(){return this.fa.isEmpty()&&this.wa.isEmpty()};l.h=function(){em.f.h.call(this);if(0<this.wa.m())throw Error("[goog.structs.Pool] Objects not released");delete this.wa;for(var a=this.fa;!a.isEmpty();)this.Nb(a.nb());delete this.fa};var gm=function(a,b){this.$d=a;this.sc=b};gm.prototype.getKey=function(){return this.$d};gm.prototype.clone=function(){return new gm(this.$d,this.sc)};var hm=function(a){this.W=[];if(a)a:{if(a instanceof hm){var b=a.ba();a=a.w();if(0>=this.m()){for(var c=this.W,d=0;d<b.length;d++)c.push(new gm(b[d],a[d]));break a}}else b=Cb(a),a=Bb(a);for(d=0;d<b.length;d++)im(this,b[d],a[d])}},im=function(a,b,c){var d=a.W;d.push(new gm(b,c));b=d.length-1;a=a.W;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};l=hm.prototype;
l.remove=function(){var a=this.W,b=a.length,c=a[0];if(!(0>=b)){if(1==b)bb(a);else{a[0]=a.pop();a=0;b=this.W;for(var d=b.length,e=b[a];a<d>>1;){var g=2*a+1,f=2*a+2;g=f<d&&b[f].getKey()<b[g].getKey()?f:g;if(b[g].getKey()>e.getKey())break;b[a]=b[g];a=g}b[a]=e}return c.sc}};l.w=function(){for(var a=this.W,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].sc);return b};l.ba=function(){for(var a=this.W,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
l.lb=function(a){return Wa(this.W,function(b){return b.sc==a})};l.ua=function(a){return Wa(this.W,function(b){return b.getKey()==a})};l.clone=function(){return new hm(this)};l.m=function(){return this.W.length};l.isEmpty=function(){return 0==this.W.length};l.clear=function(){bb(this.W)};var jm=function(){hm.call(this)};z(jm,hm);jm.prototype.enqueue=function(a,b){im(this,a,b)};jm.prototype.nb=function(){return this.remove()};var km=function(a,b){this.Id=void 0;this.hc=new jm;em.call(this,a,b)};z(km,em);l=km.prototype;l.rb=function(a,b){if(!a)return(a=km.f.rb.call(this))&&this.delay&&(this.Id=n.setTimeout(x(this.Tb,this),this.delay)),a;this.hc.enqueue(p(b)?b:100,a);this.Tb()};l.Tb=function(){for(var a=this.hc;0<a.m();){var b=this.rb();if(b)a.nb().apply(this,[b]);else break}};l.xc=function(a){km.f.xc.call(this,a);this.Tb()};l.Jb=function(){km.f.Jb.call(this);this.Tb()};
l.h=function(){km.f.h.call(this);n.clearTimeout(this.Id);this.hc.clear();this.hc=null};var lm=function(a,b){A.call(this);this.Zc=a;this.S=b||null};z(lm,Ql);y("ee.layers.EarthEngineTileSource",lm);lm.prototype.be=function(a,b){var c=yc(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var e=a.qf["x-earth-engine-computation-profile"];this.S&&e&&this.S.Ee(a.O.id,e);break;case "failed":case "aborted":this.S&&""!==a.O.id&&this.S.hf(a.O.id),Gc(c)}},void 0,this);a.Ma=this.Rb(a.Ua,a.zoom);var d=x(this.Sc,this,a);mm().rb(d,b)};
lm.prototype.Ud=function(){return this.Zc.mapid+"-"+this.Zc.token};lm.prototype.Sc=function(a,b){var c=mm();if(a.ea||"aborted"==a.getStatus())fm(c,b);else{var d=yc(a,"status-changed",function(){a.md in Pl&&(Gc(d),fm(c,b))});Ol(a)}};lm.prototype.Rb=function(a,b){a=this.Zc.formatTileUrl(a.x,a.y,b);return this.S&&this.S.isEnabled()?a+"&profiling=1":a};var mm=function(){nm||(nm=new km(0,4));return nm},nm=null;var pm=function(){D.call(this);this.nc=new om(0,60);this.eb=new Rc};z(pm,D);y("ee.MapTileManager",pm);pm.Wc=void 0;pm.Td=function(){return pm.Wc?pm.Wc:pm.Wc=new pm};pm.prototype.send=function(a,b,c,d,e){if(this.eb.get(a))throw Error("[ee.MapTileManager] ID in use");b=new qm(a,b,d,x(this.me,this),p(e)?e:1);this.eb.set(a,b);a=x(this.Sc,this,b);this.nc.rb(a,c);return b};pm.prototype.abort=function(a){if(a=this.eb.get(a))a.Sa||(a.Sa=!0,a.$=new B("abort")),this.me(a)};
pm.prototype.Sc=function(a,b){if(a.K||a.Sa)rm(this,b);else if(a.setToken(b),b.setActive(!0),b=new Tl,a.K=b,!sm(a))throw Error("Cannot dispatch first request!");};pm.prototype.me=function(a){this.eb.remove(a.getId());a.K&&(rm(this,a.getToken()),a.K.da());a.Tc&&a.Tc(a.$,a.ke)};var rm=function(a,b){b.setActive(!1);if(!fm(a.nc,b))throw Error("Object not released");};pm.prototype.h=function(){pm.f.h.call(this);this.nc.da();this.nc=null;var a=this.eb;Ta(a.w(),function(b){b.da()});a.clear();this.eb=null};
var qm=function(a,b,c,d,e){A.call(this);this.J=a;this.vf=b;this.bf=p(e)?e:1;this.Tc=c;this.La=d};z(qm,A);l=qm.prototype;l.wd=0;l.Sa=!1;l.K=null;l.we=null;l.$=null;l.ke=null;var tm=["load","abort","error"];l=qm.prototype;l.getToken=function(){return this.we};l.setToken=function(a){this.we=a};l.getId=function(){return this.J};l.getUrl=function(){return this.vf};
l.Se=function(a){if(this.Sa)this.La&&this.La(this);else switch(a.type){case "load":this.$=a;this.La&&this.La(this);break;case "error":case "abort":sm(this)||(this.$=a,this.La&&this.La(this))}};l.h=function(){qm.f.h.call(this);delete this.Tc;delete this.La};var sm=function(a){if(a.wd>a.bf)return!1;a.wd++;Wl(a.K,a.J);setTimeout(x(a.rf,a),0);return!0};
qm.prototype.rf=function(){if(!this.Sa){var a=x(function(d){this.Sa||(Vl(this.K,this.J,d),xc(this.K,tm,x(this.Se,this)),this.K.start())},this),b=this.getUrl();if(ch(b).X.ua("profiling")){var c=new F;c.fb="blob";c.ga("complete",x(function(){this.ke=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=zf(Cf(Og(c))).toString();var e="about:invalid#zClosurez"!==d}catch(g){}a(e?d:b)},this));c.zb("ready",x(c.da,c));c.send(b,"GET")}else a(b)}};
var um=function(){this.Y=!1};z(um,A);um.prototype.setActive=function(a){this.Y=a};um.prototype.Yd=function(){return this.Y};var om=function(a,b){km.call(this,a,b)};z(om,km);om.prototype.Fc=function(){return new um};om.prototype.Nb=function(a){a.da()};om.prototype.$c=function(a){return!a.ea&&!a.Yd()};var Z=function(a,b,c,d,e){ed.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.rd=new $c;this.ad=1;this.S=e||null};z(Z,ed);y("ee.MapLayerOverlay",Z);Z.prototype.yc=function(a){return yc(this,"tileevent",a)};Z.prototype.addTileCallback=Z.prototype.yc;Z.prototype.jd=function(a){Gc(a)};
Z.prototype.removeTileCallback=Z.prototype.jd;Z.prototype.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=fd(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.S&&this.S.isEnabled()&&(a+="&profiling=1");b=[b,this.ya,this.token].join("/");this.ya+=1;c=Kf("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Aa.push(b);pm.Td().send(b,a,d,x(this.Re,this,c,b));vl(this);return c};Z.prototype.Pc=function(){return this.Aa.length};
Z.prototype.releaseTile=function(a){pm.Td().abort(a.id);this.rd.remove(p(a.firstElementChild)?a.firstElementChild:Of(a.firstChild));""!==a.id&&(this.qd.remove(a.id),this.S&&this.S.hf(a.id))};Z.prototype.setOpacity=function(a){this.ad=a;var b=this.rd.Ra();Qc(b,function(c){Fl(c,a)})};Z.prototype.getTile=Z.prototype.getTile;Z.prototype.setOpacity=Z.prototype.setOpacity;Z.prototype.releaseTile=Z.prototype.releaseTile;
Z.prototype.Re=function(a,b,c,d){"error"==c.type?(db(this.Aa,b),this.qd.add(b),this.dispatchEvent(c)):(db(this.Aa,b),c.target&&"load"==c.type&&(c=c.target,this.rd.add(c),1!=this.ad&&Fl(c,this.ad),a.appendChild(c)),vl(this));this.S&&null!==d&&this.S.Ee(b,d)};var vm=function(a,b){if(!(this instanceof vm))return new vm(a,b);this.pa=a;this.ia=b};z(vm,M);y("ee.SavedFunction",vm);vm.prototype.encode=function(a){return O("LoadAlgorithmById",this.pa).encode(a)};vm.prototype.L=function(){return this.ia};(function(){var a={},b="ee.reset ee.Geometry.MultiPoint ee.Filter ee.Image.prototype.rename ee.data.cancelTask ee.data.getTileUrl ee.FeatureCollection ee.Function.prototype.call ee.Filter.gte ee.data.authenticateViaPopup ee.data.getList ee.data.cancelOperation ee.data.listImages ee.data.setParamAugmenter ee.data.setApiKey ee.Geometry ee.data.makeThumbUrl ee.data.startProcessing ee.data.renameAsset ee.batch.Export.image.toDrive ee.ImageCollection ee.data.getXsrfToken ee.ComputedObject.prototype.getInfo ee.data.createAsset ee.Filter.date ee.Terrain ee.data.clearAuthToken ee.data.getThumbId ee.Geometry.MultiPolygon ee.Element.prototype.set ee.call ee.Serializer.encode ee.batch.Export.image.toAsset ee.Collection.prototype.filterDate ee.data.getTaskList ee.Collection.prototype.filterBounds ee.TILE_SIZE ee.Geometry.Point ee.Filter.metadata ee.Serializer.toJSON ee.rpc_convert_batch.taskToExportTableRequest ee.data.newTaskId ee.batch.Export.table.toCloudStorage ee.Collection.prototype.map ee.data.getAuthToken ee.data.getDownloadId ee.Collection.prototype.filterMetadata ee.rpc_convert_batch.taskToExportMapRequest ee.ApiFunction._call ee.batch.Export.image.toCloudStorage ee.FeatureCollection.prototype.getMap ee.rpc_convert_batch.taskToExportVideoRequest ee.batch.Export.video.toCloudStorage ee.List ee.data.deleteAsset ee.Serializer.encodeCloudApiPretty ee.data.setAssetAcl ee.Image.prototype.select ee.String ee.data.copyAsset ee.data.getValue ee.Geometry.prototype.toGeoJSONString ee.ImageCollection.prototype.getInfo ee.data.setAuthToken ee.data.createAssetHome ee.Geometry.Polygon ee.data.withProfiling ee.Collection.prototype.filter ee.FeatureCollection.prototype.getInfo ee.data.getAuthScopes ee.data.updateTask ee.Feature.prototype.getInfo ee.batch.Export.videoMap.toCloudStorage ee.data.setAuthTokenRefresher ee.Geometry.prototype.toGeoJSON ee.data.listBuckets ee.batch.Export.video.toDrive ee.Function.prototype.apply ee.data.startIngestion ee.Deserializer.decode ee.Image.prototype.getInfo ee.initialize ee.Feature ee.data.getTableDownloadId ee.Date ee.data.setProject ee.Serializer.toReadableCloudApiJSON ee.data.getCloudApiEnabled ee.data.setCloudApiEnabled ee.data.getTaskStatus ee.Filter.bounds ee.data.getAssetAcl ee.data.authenticateViaPrivateKey ee.data.listAssets ee.Collection.prototype.sort ee.Filter.or ee.data.getAssetRoots ee.Filter.inList ee.FeatureCollection.prototype.select ee.data.getAssetRootQuota ee.ComputedObject.prototype.serialize ee.Image.cat ee.Filter.gt ee.data.getApiBaseUrl ee.ImageCollection.prototype.getMap ee.data.createFolder ee.Collection.prototype.iterate ee.Filter.and ee.Algorithms ee.FeatureCollection.prototype.getDownloadURL ee.data.setDeadline ee.Filter.lte ee.Geometry.prototype.serialize ee.batch.Export.table.toAsset ee.batch.Export.table.toDrive ee.ImageCollection.prototype.first ee.Image ee.Geometry.Rectangle ee.Serializer.encodeCloudApi ee.rpc_convert_batch.taskToExportVideoMapRequest ee.ComputedObject.prototype.aside ee.Image.rgb ee.ImageCollection.prototype.select ee.Geometry.LinearRing ee.Image.prototype.getDownloadURL ee.ApiFunction._apply ee.ComputedObject.prototype.evaluate ee.data.makeTableDownloadUrl ee.Image.prototype.getMap ee.Filter.neq ee.data.getAsset ee.data.getInfo ee.ApiFunction.lookup ee.Number ee.Image.prototype.getThumbURL ee.data.startTableIngestion ee.data.getTaskListWithLimit ee.data.setAssetProperties ee.Collection.prototype.limit ee.data.authenticateViaOauth ee.data.updateAsset ee.Dictionary ee.data.getTileBaseUrl ee.Filter.eq ee.Deserializer.fromJSON ee.Image.prototype.clip ee.data.makeDownloadUrl ee.InitState ee.data.getAuthClientId ee.data.getOperation ee.Feature.prototype.getMap ee.apply ee.ImageCollection.prototype.getVideoThumbURL ee.rpc_convert_batch.taskToExportImageRequest ee.data.authenticate ee.data.getMapId ee.Serializer.toReadableJSON ee.Image.prototype.expression ee.ImageCollection.prototype.getFilmstripThumbURL ee.batch.Export.map.toCloudStorage ee.Filter.prototype.not ee.Geometry.MultiLineString ee.Geometry.LineString ee.Filter.lt".split(" "),
c=[[],["coords","opt_proj"],["opt_filter"],["var_args"],["taskId","opt_callback"],["mapid","x","y","z"],["args","opt_column"],["var_args"],["name","value"],["opt_success","opt_error"],["params","opt_callback"],["operationName","opt_callback"],["body","opt_callback"],["augmenter"],["apiKey"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["id"],["taskId","params","opt_callback"],["sourceId","destinationId","opt_callback"],"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(" "),
["args"],[],["opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["start","opt_end"],[],[],["params","opt_callback"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["var_args"],["func","var_args"],["obj","opt_isCompound"],"image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels".split(" "),["start","opt_end"],["opt_callback"],["geometry"],[],["coords","opt_proj"],["name","operator",
"value"],["obj"],["params"],["opt_count","opt_callback"],"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),["algorithm","opt_dropNulls"],[],["params","opt_callback"],["name","operator","value"],["params"],["name","var_args"],"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(" "),["opt_visParams",
"opt_callback"],["params"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),["list"],["assetId","opt_callback"],["obj"],["assetId","aclUpdate","opt_callback"],["var_args"],["string"],["sourceId","destinationId","opt_callback"],["params","opt_callback"],[],["opt_callback"],"clientId tokenType accessToken expiresIn opt_extraScopes opt_callback opt_updateAuthLibrary".split(" "),
["requestedId","opt_callback"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["hook","body","opt_this"],["filter"],["opt_callback"],[],["taskId","action","opt_callback"],["opt_callback"],"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles".split(" "),["refresher"],[],["opt_callback"],"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
["namedArgs"],["taskId","request","opt_callback"],["json"],["opt_callback"],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback","opt_xsrfToken"],["geometry","opt_properties"],["params","opt_callback"],["date","opt_tz"],["project"],["obj"],[],["enable"],["taskId","opt_callback"],["geometry","opt_errorMargin"],["assetId","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes"],["body","opt_callback"],["property","opt_ascending"],["var_args"],["opt_callback"],["opt_leftField",
"opt_rightValue","opt_rightField","opt_leftValue"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["rootId","opt_callback"],[],["var_args"],["name","value"],[],["opt_visParams","opt_callback"],["path","opt_force","opt_callback"],["algorithm","opt_first"],["var_args"],[],["opt_format","opt_selectors","opt_filename","opt_callback"],["milliseconds"],["name","value"],[],["collection","opt_description","opt_assetId"],"collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors".split(" "),
[],["opt_args"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["obj"],["params"],["func","var_args"],["r","g","b"],["selectors","opt_names"],["coords","opt_proj","opt_geodesic","opt_maxError"],["params","opt_callback"],["name","namedArgs"],["callback"],["id"],["opt_visParams","opt_callback"],["name","value"],["id","opt_callback"],["id","opt_callback"],["name"],["number"],["params","opt_callback"],["taskId","request","opt_callback"],["opt_limit","opt_callback"],["assetId","properties","opt_callback"],
["max","opt_property","opt_ascending"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["assetId","asset","updateMask","opt_callback"],["opt_dict"],[],["name","value"],["json"],["geometry"],["id"],[],[],["operationName","opt_callback"],["opt_visParams","opt_callback"],["func","namedArgs"],["params","opt_callback"],["params"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["params","opt_callback"],["obj"],["expression","opt_map"],["params",
"opt_callback"],"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey".split(" "),[],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError"],["name","value"]];[nl,Aj,T,W.prototype.ne,ti,$h,X,M.prototype.call,Pj,mh,zi,qi,Bi,Th,uh,S,di,vi,Hi,yk,Y,Wh,L.prototype.D,Fi,Uj,el,Bh,ci,Gj,R.prototype.set,pl,Wd,vk,U.prototype.Kc,oi,U.prototype.Nd,256,xj,Xj,Xd,
re,ji,Ak,U.prototype.map,Ch,ei,U.prototype.Lc,we,O,xk,X.prototype.getMap,ue,Dk,kk,Ji,ce,Mi,W.prototype.select,Pk,Ii,ai,S.prototype.sd,Y.prototype.D,yh,Ei,Fj,ii,U.prototype.filter,X.prototype.D,Eh,si,V.prototype.D,Fk,zh,S.prototype.mc,Ci,Ek,M.prototype.apply,wi,Zk,W.prototype.D,kl,V,gi,Wk,vh,de,xh,wh,mi,Wj,Ki,rh,Ai,U.prototype.sort,Tj,Di,Vj,X.prototype.select,Oi,L.prototype.B,jk,Qj,Uh,Y.prototype.getMap,Gi,U.prototype.Zd,Sj,ml,X.prototype.Da,Rh,Rj,S.prototype.B,Ck,Bk,Y.prototype.first,W,Bj,be,xe,L.prototype.td,
ik,Y.prototype.select,Dj,W.prototype.Da,ej,L.prototype.evaluate,hi,W.prototype.getMap,Nj,yi,yi,dj,Mk,W.prototype.Qc,xi,ni,Ni,U.prototype.limit,nh,Li,bl,Vh,Mj,$k,W.prototype.clip,fi,ol,Dh,ri,V.prototype.getMap,ql,Y.prototype.Rc,oe,oh,Zh,Zd,W.prototype.expression,Y.prototype.Oc,zk,T.prototype.Za,Ej,Cj,Oj].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});n.EXPORTED_FN_INFO=a})();}).call(this);
