mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
229 lines
123 KiB
JavaScript
229 lines
123 KiB
JavaScript
(function(){var h,aa=aa||{},k=this,m=function(a){return void 0!==a},n=function(a){return"string"==typeof a},p=function(a){return"number"==typeof a},ba=function(){},ca=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},da=function(a){return null!=a},q=function(a){return"array"==ca(a)},ea=function(a){var b=ca(a);return"array"==b||"object"==b&&"number"==typeof a.length},r=function(a){return"function"==ca(a)},t=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==
|
|
b},fa="closure_uid_"+(1E9*Math.random()>>>0),ga=0,ha=function(a,b,c){return a.call.apply(a.bind,arguments)},ia=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},u=function(a,b,c){u=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ha:ia;return u.apply(null,
|
|
arguments)},ja=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},ka=Date.now||function(){return+new Date},v=function(a,b){a=a.split(".");var c=k;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&m(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}},x=function(a,b){function c(){}c.prototype=b.prototype;a.j=b.prototype;a.prototype=new c;a.prototype.constructor=
|
|
a;a.Ke=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};var y=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,y);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};x(y,Error);y.prototype.name="CustomError";var la;var ma=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")},na=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},wa=function(a){if(!oa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(qa,"&"));-1!=a.indexOf("<")&&(a=a.replace(ra,"<"));-1!=a.indexOf(">")&&(a=a.replace(sa,">"));-1!=a.indexOf('"')&&(a=a.replace(ta,"""));-1!=a.indexOf("'")&&
|
|
(a=a.replace(ua,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(va,"�"));return a},qa=/&/g,ra=/</g,sa=/>/g,ta=/"/g,ua=/'/g,va=/\x00/g,oa=/[\x00&<>"']/,xa=function(a,b){return a<b?-1:a>b?1:0};var ya=function(a,b){b.unshift(a);y.call(this,ma.apply(null,b));b.shift()};x(ya,y);ya.prototype.name="AssertionError";
|
|
var za=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new ya(""+e,f||[]);},z=function(a,b,c){a||za("",null,b,Array.prototype.slice.call(arguments,2));return a},Aa=function(a,b){throw new ya("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Ba=function(a,b,c){p(a)||za("Expected number but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2));return a},Ca=function(a,b,c){r(a)||za("Expected function but got %s: %s.",[ca(a),
|
|
a],b,Array.prototype.slice.call(arguments,2))},Da=function(a,b,c){t(a)||za("Expected object but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2))},Ea=function(a,b,c){q(a)||za("Expected array but got %s: %s.",[ca(a),a],b,Array.prototype.slice.call(arguments,2))};var Fa=Array.prototype.indexOf?function(a,b,c){z(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(n(a))return n(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Ga=Array.prototype.lastIndexOf?function(a,b,c){z(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(n(a))return n(b)&&1==
|
|
b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Ha=Array.prototype.forEach?function(a,b,c){z(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Ia=Array.prototype.filter?function(a,b,c){z(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,g=n(a)?a.split(""):a,l=0;l<d;l++)if(l in g){var w=g[l];b.call(c,w,l,a)&&(e[f++]=
|
|
w)}return e},Ka=Array.prototype.map?function(a,b,c){z(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=n(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},La=Array.prototype.some?function(a,b,c){z(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1},Ma=Array.prototype.every?function(a,b,c){z(null!=a.length);
|
|
return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=n(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},Na=function(a,b){var c=0;Ha(a,function(a,e,f){b.call(void 0,a,e,f)&&++c},void 0);return c},Pa=function(a){a:{var b=Oa;for(var c=a.length,d=n(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:n(a)?a.charAt(b):a[b]},Qa=function(a){if(!q(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},Sa=
|
|
function(a,b){b=Fa(a,b);var c;(c=0<=b)&&Ra(a,b);return c},Ra=function(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)},Ta=function(a){return Array.prototype.concat.apply([],arguments)},Ua=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[]},Va=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ea(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},Wa=function(a,b,c){z(null!=a.length);
|
|
return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Xa=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=t(f)?"o"+(f[fa]||(f[fa]=++ga)):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};var A=function(){this.X=this.X;this.Ib=this.Ib};A.prototype.X=!1;A.prototype.W=function(){this.X||(this.X=!0,this.c())};A.prototype.c=function(){if(this.Ib)for(;this.Ib.length;)this.Ib.shift()()};var Ya=function(a){a&&"function"==typeof a.W&&a.W()};var B=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.wa=!1;this.Nd=!0};B.prototype.stopPropagation=function(){this.wa=!0};B.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Nd=!1};var Za;a:{var $a=k.navigator;if($a){var ab=$a.userAgent;if(ab){Za=ab;break a}}Za=""}var bb=function(a){return-1!=Za.indexOf(a)};var cb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},db=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},eb=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d},fb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},gb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},hb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},ib=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},kb=function(a){var b=
|
|
jb,c;for(c in b)if(a.call(void 0,b[c],c,b))return c},lb=function(a){for(var b in a)return!1;return!0},mb=function(a,b){b in a&&delete a[b]},nb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},ob=function(a){var b=ca(a);if("object"==b||"array"==b){if(r(a.clone))return a.clone();var b="array"==b?[]:{},c;for(c in a)b[c]=ob(a[c]);return b}return a},pb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),qb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=
|
|
arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<pb.length;f++)c=pb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var rb=function(a){rb[" "](a);return a};rb[" "]=ba;var tb=function(a,b){var c=sb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var ub=bb("Opera"),vb=bb("Trident")||bb("MSIE"),wb=bb("Edge"),xb=bb("Gecko")&&!(-1!=Za.toLowerCase().indexOf("webkit")&&!bb("Edge"))&&!(bb("Trident")||bb("MSIE"))&&!bb("Edge"),yb=-1!=Za.toLowerCase().indexOf("webkit")&&!bb("Edge"),zb=function(){var a=k.document;return a?a.documentMode:void 0},Ab;
|
|
a:{var Bb="",Cb=function(){var a=Za;if(xb)return/rv\:([^\);]+)(\)|;)/.exec(a);if(wb)return/Edge\/([\d\.]+)/.exec(a);if(vb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(yb)return/WebKit\/(\S+)/.exec(a);if(ub)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Cb&&(Bb=Cb?Cb[1]:"");if(vb){var Db=zb();if(null!=Db&&Db>parseFloat(Bb)){Ab=String(Db);break a}}Ab=Bb}
|
|
var Eb=Ab,sb={},Fb=function(a){return tb(a,function(){for(var b=0,c=na(String(Eb)).split("."),d=na(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var g=c[f]||"",l=d[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];if(0==g[0].length&&0==l[0].length)break;b=xa(0==g[1].length?0:parseInt(g[1],10),0==l[1].length?0:parseInt(l[1],10))||xa(0==g[2].length,0==l[2].length)||xa(g[2],l[2]);g=g[3];l=l[3]}while(0==b)}return 0<=b})},Gb;var Hb=k.document;
|
|
Gb=Hb&&vb?zb()||("CSS1Compat"==Hb.compatMode?parseInt(Eb,10):5):void 0;var Ib=!vb||9<=Number(Gb),Jb=vb&&!Fb("9");!yb||Fb("528");xb&&Fb("1.9b")||vb&&Fb("8")||ub&&Fb("9.5")||yb&&Fb("528");xb&&!Fb("8")||vb&&Fb("9");var Kb=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.R=this.state=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(xb){a:{try{rb(b.nodeName);var e=!0;
|
|
break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.offsetX=yb||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=yb||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.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.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.state=a.state;this.R=a;a.defaultPrevented&&this.preventDefault()}};x(Kb,B);Kb.prototype.stopPropagation=function(){Kb.j.stopPropagation.call(this);this.R.stopPropagation?this.R.stopPropagation():this.R.cancelBubble=!0};
|
|
Kb.prototype.preventDefault=function(){Kb.j.preventDefault.call(this);var a=this.R;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Jb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Lb="closure_listenable_"+(1E6*Math.random()|0),Mb=function(a){return!(!a||!a[Lb])},Nb=0;var Ob=function(a,b,c,d,e){this.listener=a;this.Kb=null;this.src=b;this.type=c;this.capture=!!d;this.ca=e;this.key=++Nb;this.La=this.pb=!1},Pb=function(a){a.La=!0;a.listener=null;a.Kb=null;a.src=null;a.ca=null};var Qb=function(a){this.src=a;this.C={};this.kb=0};Qb.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.C[f];a||(a=this.C[f]=[],this.kb++);var g=Rb(a,b,d,e);-1<g?(b=a[g],c||(b.pb=!1)):(b=new Ob(b,this.src,f,!!d,e),b.pb=c,a.push(b));return b};Qb.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.C))return!1;var e=this.C[a];b=Rb(e,b,c,d);return-1<b?(Pb(e[b]),Ra(e,b),0==e.length&&(delete this.C[a],this.kb--),!0):!1};
|
|
var Sb=function(a,b){var c=b.type;c in a.C&&Sa(a.C[c],b)&&(Pb(b),0==a.C[c].length&&(delete a.C[c],a.kb--))};Qb.prototype.gb=function(a){a=a&&a.toString();var b=0,c;for(c in this.C)if(!a||c==a){for(var d=this.C[c],e=0;e<d.length;e++)++b,Pb(d[e]);delete this.C[c];this.kb--}return b};Qb.prototype.Wa=function(a,b,c,d){a=this.C[a.toString()];var e=-1;a&&(e=Rb(a,b,c,d));return-1<e?a[e]:null};
|
|
Qb.prototype.hasListener=function(a,b){var c=m(a),d=c?a.toString():"",e=m(b);return fb(this.C,function(a){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};var Rb=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.La&&f.listener==b&&f.capture==!!c&&f.ca==d)return e}return-1};var Tb="closure_lm_"+(1E6*Math.random()|0),Ub={},Vb=0,Wb=function(a,b,c,d,e){if(q(b)){for(var f=0;f<b.length;f++)Wb(a,b[f],c,d,e);return null}c=Xb(c);return Mb(a)?a.$(b,c,d,e):Yb(a,b,c,!1,d,e)},Yb=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=!!e,l=Zb(a);l||(a[Tb]=l=new Qb(a));c=l.add(b,c,d,e,f);if(c.Kb)return c;d=$b();c.Kb=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,g);else if(a.attachEvent)a.attachEvent(ac(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");
|
|
Vb++;return c},$b=function(){var a=bc,b=Ib?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},cc=function(a,b,c,d,e){if(q(b)){for(var f=0;f<b.length;f++)cc(a,b[f],c,d,e);return null}c=Xb(c);return Mb(a)?a.eb(b,c,d,e):Yb(a,b,c,!0,d,e)},dc=function(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)dc(a,b[f],c,d,e);else c=Xb(c),Mb(a)?a.Xb(b,c,d,e):a&&(a=Zb(a))&&(b=a.Wa(b,c,!!d,e))&&ec(b)},ec=function(a){if(!p(a)&&a&&!a.La){var b=a.src;if(Mb(b))Sb(b.P,
|
|
a);else{var c=a.type,d=a.Kb;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(ac(c),d);Vb--;(c=Zb(b))?(Sb(c,a),0==c.kb&&(c.src=null,b[Tb]=null)):Pb(a)}}},ac=function(a){return a in Ub?Ub[a]:Ub[a]="on"+a},gc=function(a,b,c,d){var e=!0;if(a=Zb(a))if(b=a.C[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.La&&(f=fc(f,d),e=e&&!1!==f)}return e},fc=function(a,b){var c=a.listener,d=a.ca||a.src;a.pb&&ec(a);return c.call(d,b)},bc=function(a,
|
|
b){if(a.La)return!0;if(!Ib){if(!b)a:{b=["window","event"];for(var c=k,d;d=b.shift();)if(null!=c[d])c=c[d];else{b=null;break a}b=c}d=b;b=new Kb(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.currentTarget;e;e=e.parentNode)d.push(e);for(var e=a.type,f=d.length-1;!b.wa&&0<=f;f--)b.currentTarget=d[f],a=gc(d[f],e,!0,b),c=c&&a;for(f=0;!b.wa&&f<d.length;f++)b.currentTarget=
|
|
d[f],a=gc(d[f],e,!1,b),c=c&&a}return c}return fc(a,new Kb(b,this))},Zb=function(a){a=a[Tb];return a instanceof Qb?a:null},hc="__closure_events_fn_"+(1E9*Math.random()>>>0),Xb=function(a){z(a,"Listener can not be null.");if(r(a))return a;z(a.handleEvent,"An object listener must have handleEvent method.");a[hc]||(a[hc]=function(b){return a.handleEvent(b)});return a[hc]};var ic=function(a){A.call(this);this.ta=a;this.f={}};x(ic,A);var jc=[];ic.prototype.$=function(a,b,c,d){q(b)||(b&&(jc[0]=b.toString()),b=jc);for(var e=0;e<b.length;e++){var f=Wb(a,b[e],c||this.handleEvent,d||!1,this.ta||this);if(!f)break;this.f[f.key]=f}return this};ic.prototype.eb=function(a,b,c,d){return kc(this,a,b,c,d)};var kc=function(a,b,c,d,e,f){if(q(c))for(var g=0;g<c.length;g++)kc(a,b,c[g],d,e,f);else{b=cc(b,c,d||a.handleEvent,e,f||a.ta||a);if(!b)return a;a.f[b.key]=b}return a};
|
|
ic.prototype.Xb=function(a,b,c,d,e){if(q(b))for(var f=0;f<b.length;f++)this.Xb(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.ta||this,c=Xb(c),d=!!d,b=Mb(a)?a.Wa(b,c,d,e):a?(a=Zb(a))?a.Wa(b,c,d,e):null:null,b&&(ec(b),delete this.f[b.key]);return this};ic.prototype.gb=function(){cb(this.f,function(a,b){this.f.hasOwnProperty(b)&&ec(a)},this);this.f={}};ic.prototype.c=function(){ic.j.c.call(this);this.gb()};
|
|
ic.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var C=function(){A.call(this);this.P=new Qb(this);this.Wd=this;this.Ic=null};x(C,A);C.prototype[Lb]=!0;h=C.prototype;h.addEventListener=function(a,b,c,d){Wb(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){dc(this,a,b,c,d)};
|
|
h.dispatchEvent=function(a){lc(this);var b=this.Ic;if(b){var c=[];for(var d=1;b;b=b.Ic)c.push(b),z(1E3>++d,"infinite loop")}b=this.Wd;d=a.type||a;if(n(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);qb(a,e)}var e=!0;if(c)for(var f=c.length-1;!a.wa&&0<=f;f--){var g=a.currentTarget=c[f];e=mc(g,d,!0,a)&&e}a.wa||(g=a.currentTarget=b,e=mc(g,d,!0,a)&&e,a.wa||(e=mc(g,d,!1,a)&&e));if(c)for(f=0;!a.wa&&f<c.length;f++)g=a.currentTarget=c[f],e=mc(g,d,!1,a)&&e;return e};
|
|
h.c=function(){C.j.c.call(this);this.P&&this.P.gb(void 0);this.Ic=null};h.$=function(a,b,c,d){lc(this);return this.P.add(String(a),b,!1,c,d)};h.eb=function(a,b,c,d){return this.P.add(String(a),b,!0,c,d)};h.Xb=function(a,b,c,d){return this.P.remove(String(a),b,c,d)};var mc=function(a,b,c,d){b=a.P.C[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.La&&g.capture==c){var l=g.listener,w=g.ca||g.src;g.pb&&Sb(a.P,g);e=!1!==l.call(w,d)&&e}}return e&&0!=d.Nd};
|
|
C.prototype.Wa=function(a,b,c,d){return this.P.Wa(String(a),b,c,d)};C.prototype.hasListener=function(a,b){return this.P.hasListener(m(a)?String(a):void 0,b)};var lc=function(a){z(a.P,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var nc=function(a,b,c){this.oe=c;this.ge=a;this.ze=b;this.Hb=0;this.zb=null};nc.prototype.get=function(){if(0<this.Hb){this.Hb--;var a=this.zb;this.zb=a.next;a.next=null}else a=this.ge();return a};nc.prototype.put=function(a){this.ze(a);this.Hb<this.oe&&(this.Hb++,a.next=this.zb,this.zb=a)};var oc=function(a){return a};var pc=function(a){k.setTimeout(function(){throw a;},0)},qc,rc=function(){var a=k.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!bb("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
|
|
a=u(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!bb("Trident")&&!bb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(m(c.next)){c=c.next;var a=c.cd;c.cd=null;a()}};return function(a){d.next={cd:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
|
|
function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){k.setTimeout(a,0)}};var sc=function(){this.$b=this.Aa=null},uc=new nc(function(){return new tc},function(a){a.reset()},100);sc.prototype.add=function(a,b){var c=uc.get();c.set(a,b);this.$b?this.$b.next=c:(z(!this.Aa),this.Aa=c);this.$b=c};sc.prototype.remove=function(){var a=null;this.Aa&&(a=this.Aa,this.Aa=this.Aa.next,this.Aa||(this.$b=null),a.next=null);return a};var tc=function(){this.next=this.scope=this.tc=null};tc.prototype.set=function(a,b){this.tc=a;this.scope=b;this.next=null};
|
|
tc.prototype.reset=function(){this.next=this.scope=this.tc=null};var zc=function(a,b){vc||wc();xc||(vc(),xc=!0);yc.add(a,b)},vc,wc=function(){if(-1!=String(k.Promise).indexOf("[native code]")){var a=k.Promise.resolve(void 0);vc=function(){a.then(Ac)}}else vc=function(){var a=Ac;!r(k.setImmediate)||k.Window&&k.Window.prototype&&!bb("Edge")&&k.Window.prototype.setImmediate==k.setImmediate?(qc||(qc=rc()),qc(a)):k.setImmediate(a)}},xc=!1,yc=new sc,Ac=function(){for(var a;a=yc.remove();){try{a.tc.call(a.scope)}catch(b){pc(b)}uc.put(a)}xc=!1};var Cc=function(a,b){m(a.name)?(this.name=a.name,this.code=jb[a.name]):(this.code=Ba(a.code),this.name=Bc(a.code));y.call(this,ma("%s %s",this.name,b))};x(Cc,y);var Bc=function(a){var b=kb(function(b){return a==b});if(!m(b))throw Error("Invalid code: "+a);return b},jb={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 Dc=function(a,b){B.call(this,a.type,b);this.R=a};x(Dc,B);var Ec=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Fc=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Ic=function(a,b){this.L=0;this.fa=void 0;this.Da=this.aa=this.s=null;this.xb=this.oc=!1;if(a!=ba)try{var c=this;a.call(b,function(a){Gc(c,2,a)},function(a){if(!(a instanceof Hc))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(e){}Gc(c,3,a)})}catch(d){Gc(this,3,d)}},Jc=function(){this.next=this.context=this.Ja=this.va=this.qa=null;this.ob=!1};Jc.prototype.reset=function(){this.context=this.Ja=this.va=this.qa=null;this.ob=!1};
|
|
var Kc=new nc(function(){return new Jc},function(a){a.reset()},100),Lc=function(a,b,c){var d=Kc.get();d.va=a;d.Ja=b;d.context=c;return d};Ic.prototype.then=function(a,b,c){null!=a&&Ca(a,"opt_onFulfilled should be a function.");null!=b&&Ca(b,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");return Mc(this,r(a)?a:null,r(b)?b:null,c)};Ec(Ic);Ic.prototype.cancel=function(a){0==this.L&&zc(function(){var b=new Hc(a);Nc(this,b)},this)};
|
|
var Nc=function(a,b){if(0==a.L)if(a.s){var c=a.s;if(c.aa){for(var d=0,e=null,f=null,g=c.aa;g&&(g.ob||(d++,g.qa==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.L&&1==d?Nc(c,b):(f?(d=f,z(c.aa),z(null!=d),d.next==c.Da&&(c.Da=d),d.next=d.next.next):Oc(c),Pc(c,e,3,b)))}a.s=null}else Gc(a,3,b)},Rc=function(a,b){a.aa||2!=a.L&&3!=a.L||Qc(a);z(null!=b.va);a.Da?a.Da.next=b:a.aa=b;a.Da=b},Mc=function(a,b,c,d){var e=Lc(null,null,null);e.qa=new Ic(function(a,g){e.va=b?function(c){try{var e=b.call(d,c);a(e)}catch(pa){g(pa)}}:
|
|
a;e.Ja=c?function(b){try{var e=c.call(d,b);!m(e)&&b instanceof Hc?g(b):a(e)}catch(pa){g(pa)}}:g});e.qa.s=a;Rc(a,e);return e.qa};Ic.prototype.De=function(a){z(1==this.L);this.L=0;Gc(this,2,a)};Ic.prototype.Ee=function(a){z(1==this.L);this.L=0;Gc(this,3,a)};
|
|
var Gc=function(a,b,c){if(0==a.L){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.L=1;a:{var d=c,e=a.De,f=a.Ee;if(d instanceof Ic){null!=e&&Ca(e,"opt_onFulfilled should be a function.");null!=f&&Ca(f,"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?");Rc(d,Lc(e||ba,f||null,a));var g=!0}else if(Fc(d))d.then(e,f,a),g=!0;else{if(t(d))try{var l=d.then;if(r(l)){Sc(d,l,e,f,a);g=!0;break a}}catch(w){f.call(a,w);g=!0;break a}g=!1}}g||
|
|
(a.fa=c,a.L=b,a.s=null,Qc(a),3!=b||c instanceof Hc||Tc(a,c))}},Sc=function(a,b,c,d,e){var f=!1,g=function(a){f||(f=!0,c.call(e,a))},l=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,g,l)}catch(w){l(w)}},Qc=function(a){a.oc||(a.oc=!0,zc(a.he,a))},Oc=function(a){var b=null;a.aa&&(b=a.aa,a.aa=b.next,b.next=null);a.aa||(a.Da=null);null!=b&&z(null!=b.va);return b};Ic.prototype.he=function(){for(var a;a=Oc(this);)Pc(this,a,this.L,this.fa);this.oc=!1};
|
|
var Pc=function(a,b,c,d){if(3==c&&b.Ja&&!b.ob)for(;a&&a.xb;a=a.s)a.xb=!1;if(b.qa)b.qa.s=null,Uc(b,c,d);else try{b.ob?b.va.call(b.context):Uc(b,c,d)}catch(e){Vc.call(null,e)}Kc.put(b)},Uc=function(a,b,c){2==b?a.va.call(a.context,c):a.Ja&&a.Ja.call(a.context,c)},Tc=function(a,b){a.xb=!0;zc(function(){a.xb&&Vc.call(null,b)})},Vc=pc,Hc=function(a){y.call(this,a)};x(Hc,y);Hc.prototype.name="cancel";/*
|
|
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 Wc=function(a,b){this.Ob=[];this.Fd=a;this.gd=b||null;this.Za=this.Ha=!1;this.fa=void 0;this.Mc=this.Zc=this.fc=!1;this.Wb=0;this.s=null;this.gc=0};Wc.prototype.cancel=function(a){if(this.Ha)this.fa instanceof Wc&&this.fa.cancel();else{if(this.s){var b=this.s;delete this.s;a?b.cancel(a):(b.gc--,0>=b.gc&&b.cancel())}this.Fd?this.Fd.call(this.gd,this):this.Mc=!0;this.Ha||Xc(this,new Yc)}};Wc.prototype.dd=function(a,b){this.fc=!1;Zc(this,a,b)};
|
|
var Zc=function(a,b,c){a.Ha=!0;a.fa=c;a.Za=!b;$c(a)},bd=function(a){if(a.Ha){if(!a.Mc)throw new ad;a.Mc=!1}};Wc.prototype.hc=function(a){bd(this);cd(a);Zc(this,!0,a)};var Xc=function(a,b){bd(a);cd(b);Zc(a,!1,b)},cd=function(a){z(!(a instanceof Wc),"An execution sequence may not be initiated with a blocking Deferred.")},dd=function(a,b,c){z(!a.Zc,"Blocking Deferreds can not be re-used");a.Ob.push([b,c,void 0]);a.Ha&&$c(a)};
|
|
Wc.prototype.then=function(a,b,c){var d,e,f=new Ic(function(a,b){d=a;e=b});dd(this,d,function(a){a instanceof Yc?f.cancel():e(a)});return f.then(a,b,c)};Ec(Wc);
|
|
var ed=function(a){return La(a.Ob,function(a){return r(a[1])})},$c=function(a){if(a.Wb&&a.Ha&&ed(a)){var b=a.Wb,c=fd[b];c&&(k.clearTimeout(c.da),delete fd[b]);a.Wb=0}a.s&&(a.s.gc--,delete a.s);for(var b=a.fa,d=c=!1;a.Ob.length&&!a.fc;){var e=a.Ob.shift(),f=e[0],g=e[1],e=e[2];if(f=a.Za?g:f)try{var l=f.call(e||a.gd,b);m(l)&&(a.Za=a.Za&&(l==b||l instanceof Error),a.fa=b=l);if(Fc(b)||"function"===typeof k.Promise&&b instanceof k.Promise)d=!0,a.fc=!0}catch(w){b=w,a.Za=!0,ed(a)||(c=!0)}}a.fa=b;d&&(l=u(a.dd,
|
|
a,!0),d=u(a.dd,a,!1),b instanceof Wc?(dd(b,l,d),b.Zc=!0):b.then(l,d));c&&(b=new gd(b),fd[b.da]=b,a.Wb=b.da)},ad=function(){y.call(this)};x(ad,y);ad.prototype.message="Deferred has already fired";ad.prototype.name="AlreadyCalledError";var Yc=function(){y.call(this)};x(Yc,y);Yc.prototype.message="Deferred was canceled";Yc.prototype.name="CanceledError";var gd=function(a){this.da=k.setTimeout(u(this.Ce,this),0);this.tb=a};
|
|
gd.prototype.Ce=function(){z(fd[this.da],"Cannot throw an error that is not scheduled.");delete fd[this.da];throw this.tb;};var fd={};var hd=function(){C.call(this);this.D=new FileReader;this.D.onloadstart=u(this.Fa,this);this.D.onprogress=u(this.Fa,this);this.D.onload=u(this.Fa,this);this.D.onabort=u(this.Fa,this);this.D.onerror=u(this.Fa,this);this.D.onloadend=u(this.Fa,this)};x(hd,C);h=hd.prototype;h.abort=function(){try{this.D.abort()}catch(a){throw new Cc(a,"aborting read");}};h.ja=function(){return this.D.readyState};h.getError=function(){return this.D.error&&new Cc(this.D.error,"reading file")};
|
|
h.Fa=function(a){this.dispatchEvent(new Dc(a,this))};h.c=function(){hd.j.c.call(this);delete this.D};h.readAsBinaryString=function(a){this.D.readAsBinaryString(a)};h.readAsArrayBuffer=function(a){this.D.readAsArrayBuffer(a)};h.readAsText=function(a,b){this.D.readAsText(a,b)};var id=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var jd=function(a,b,c,d,e){this.reset(a,b,c,d,e)};jd.prototype.kd=null;var kd=0;jd.prototype.reset=function(a,b,c,d,e){"number"==typeof e||kd++;d||ka();this.cb=a;this.te=b;delete this.kd};jd.prototype.Qd=function(a){this.cb=a};var ld=function(a){this.Ed=a;this.td=this.ic=this.cb=this.s=null},md=function(a,b){this.name=a;this.value=b};md.prototype.toString=function(){return this.name};var nd=new md("SEVERE",1E3),od=new md("INFO",800),pd=new md("CONFIG",700),qd=new md("FINE",500);ld.prototype.getName=function(){return this.Ed};ld.prototype.getParent=function(){return this.s};ld.prototype.pd=function(){this.ic||(this.ic={});return this.ic};ld.prototype.Qd=function(a){this.cb=a};
|
|
var rd=function(a){if(a.cb)return a.cb;if(a.s)return rd(a.s);Aa("Root logger has no level set.");return null};ld.prototype.log=function(a,b,c){if(a.value>=rd(this).value)for(r(b)&&(b=b()),a=new jd(a,String(b),this.Ed),c&&(a.kd=c),c="log:"+a.te,k.console&&(k.console.timeStamp?k.console.timeStamp(c):k.console.markTimeline&&k.console.markTimeline(c)),k.msWriteProfilerMark&&k.msWriteProfilerMark(c),c=this;c;){var d=c,e=a;if(d.td)for(var f=0;b=d.td[f];f++)b(e);c=c.getParent()}};
|
|
ld.prototype.info=function(a,b){this.log(od,a,b)};var sd={},td=null,ud=function(a){td||(td=new ld(""),sd[""]=td,td.Qd(pd));var b;if(!(b=sd[a])){b=new ld(a);var c=a.lastIndexOf("."),d=a.substr(c+1),c=ud(a.substr(0,c));c.pd()[d]=b;b.s=c;sd[a]=b}return b};var vd="StopIteration"in k?k.StopIteration:{message:"StopIteration",stack:""},wd=function(){};wd.prototype.next=function(){throw vd;};wd.prototype.Ba=function(){return this};
|
|
var xd=function(a){if(a instanceof wd)return a;if("function"==typeof a.Ba)return a.Ba(!1);if(ea(a)){var b=0,c=new wd;c.next=function(){for(;;){if(b>=a.length)throw vd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},yd=function(a,b){if(ea(a))try{Ha(a,b,void 0)}catch(c){if(c!==vd)throw c;}else{a=xd(a);try{for(;;)b.call(void 0,a.next(),void 0,a)}catch(c){if(c!==vd)throw c;}}};var zd=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))},Ad=function(a){a=String(a);if(zd(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},Cd=function(a){return(new Bd(void 0)).w(a)},Bd=function(a){this.Mb=a};
|
|
Bd.prototype.w=function(a){var b=[];Dd(this,a,b);return b.join("")};
|
|
var Dd=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(q(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],Dd(a,a.Mb?a.Mb.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),Ed(d,c),c.push(":"),Dd(a,a.Mb?a.Mb.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":Ed(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);}}},Fd={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Gd=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Ed=function(a,b){b.push('"',a.replace(Gd,function(a){var b=Fd[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),
|
|
Fd[a]=b);return b}),'"')};var Hd=function(a,b){a&&a.log(qd,b,void 0)};var Id=function(){};Id.prototype.bd=null;Id.prototype.Ya=function(){var a;(a=this.bd)||(a={},Jd(this)&&(a[0]=!0,a[1]=!0),a=this.bd=a);return a};var Kd=function(a,b){this.Fe=a;this.we=b};x(Kd,Id);Kd.prototype.jc=function(){return this.Fe()};Kd.prototype.Ya=function(){return this.we()};var Ld=function(){return Ld.ld.jc()};Ld.Td=!1;Ld.Ya=function(){return Ld.ld.Ya()};Ld.Me=function(a,b){Ld.Pd(new Kd(z(a),z(b)))};Ld.Pd=function(a){Ld.ld=a};var Md=function(){};x(Md,Id);Md.prototype.jc=function(){var a=Jd(this);return a?new ActiveXObject(a):new XMLHttpRequest};
|
|
var Jd=function(a){if(Ld.Td)return"";if(!a.ud&&"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.ud=d}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return a.ud};Ld.Pd(new Md);var D=function(a,b){this.o={};this.f=[];this.lb=this.i=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=D.prototype;h.l=function(){return this.i};h.u=function(){Nd(this);for(var a=[],b=0;b<this.f.length;b++)a.push(this.o[this.f[b]]);return a};h.T=function(){Nd(this);return this.f.concat()};h.ia=function(a){return Od(this.o,a)};
|
|
h.Ta=function(a){for(var b=0;b<this.f.length;b++){var c=this.f[b];if(Od(this.o,c)&&this.o[c]==a)return!0}return!1};h.equals=function(a,b){if(this===a)return!0;if(this.i!=a.l())return!1;b=b||Pd;Nd(this);for(var c,d=0;c=this.f[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Pd=function(a,b){return a===b};D.prototype.isEmpty=function(){return 0==this.i};D.prototype.clear=function(){this.o={};this.lb=this.i=this.f.length=0};
|
|
D.prototype.remove=function(a){return Od(this.o,a)?(delete this.o[a],this.i--,this.lb++,this.f.length>2*this.i&&Nd(this),!0):!1};var Nd=function(a){var b,c;if(a.i!=a.f.length){for(b=c=0;c<a.f.length;){var d=a.f[c];Od(a.o,d)&&(a.f[b++]=d);c++}a.f.length=b}if(a.i!=a.f.length){var e={};for(b=c=0;c<a.f.length;)d=a.f[c],Od(e,d)||(a.f[b++]=d,e[d]=1),c++;a.f.length=b}};h=D.prototype;h.get=function(a,b){return Od(this.o,a)?this.o[a]:b};
|
|
h.set=function(a,b){Od(this.o,a)||(this.i++,this.f.push(a),this.lb++);this.o[a]=b};h.addAll=function(a){if(a instanceof D){var b=a.T();a=a.u()}else b=hb(a),a=gb(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};h.forEach=function(a,b){for(var c=this.T(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};h.clone=function(){return new D(this)};
|
|
h.Ba=function(a){Nd(this);var b=0,c=this.lb,d=this,e=new wd;e.next=function(){if(c!=d.lb)throw Error("The map has changed since the iterator was created");if(b>=d.f.length)throw vd;var e=d.f[b++];return a?e:d.o[e]};return e};var Od=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Qd=function(a){if(a.l&&"function"==typeof a.l)a=a.l();else if(ea(a)||n(a))a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},Rd=function(a){if(a.u&&"function"==typeof a.u)return a.u();if(n(a))return a.split("");if(ea(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return gb(a)},Sd=function(a){if(a.T&&"function"==typeof a.T)return a.T();if(!a.u||"function"!=typeof a.u){if(ea(a)||n(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return hb(a)}},Td=function(a,b,c){if(a.forEach&&
|
|
"function"==typeof a.forEach)a.forEach(b,c);else if(ea(a)||n(a))Ha(a,b,c);else for(var d=Sd(a),e=Rd(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)},Ud=function(a,b){if("function"==typeof a.every)return a.every(b,void 0);if(ea(a)||n(a))return Ma(a,b,void 0);for(var c=Sd(a),d=Rd(a),e=d.length,f=0;f<e;f++)if(!b.call(void 0,d[f],c&&c[f],a))return!1;return!0};var Vd=function(a,b,c){if(r(a))c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:k.setTimeout(a,b||0)};var Wd=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Xd=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var E=function(a){C.call(this);this.headers=new D;this.bc=a||null;this.O=!1;this.ac=this.a=null;this.bb=this.Ad=this.Db="";this.ua=this.yc=this.Bb=this.nc=!1;this.Qa=0;this.Rb=null;this.Na="";this.Yb=this.xe=this.Sd=!1};x(E,C);var Yd=E.prototype,Zd=ud("goog.net.XhrIo");Yd.H=Zd;var $d=/^https?$/i,ae=["POST","PUT"],be=[];E.prototype.ce=function(){this.W();Sa(be,this)};
|
|
E.prototype.send=function(a,b,c,d){if(this.a)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Db+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Db=a;this.bb="";this.Ad=b;this.nc=!1;this.O=!0;this.a=this.bc?this.bc.jc():Ld();this.ac=this.bc?this.bc.Ya():Ld.Ya();this.a.onreadystatechange=u(this.Id,this);this.xe&&"onprogress"in this.a&&(this.a.onprogress=u(function(a){this.Hd(a,!0)},this),this.a.upload&&(this.a.upload.onprogress=u(this.Hd,this)));try{Hd(this.H,ce(this,"Opening Xhr")),
|
|
this.yc=!0,this.a.open(b,String(a),!0),this.yc=!1}catch(f){Hd(this.H,ce(this,"Error opening Xhr: "+f.message));this.tb(5,f);return}a=c||"";var e=this.headers.clone();d&&Td(d,function(a,b){e.set(b,a)});d=Pa(e.T());c=k.FormData&&a instanceof k.FormData;!(0<=Fa(ae,b))||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(a,b){this.a.setRequestHeader(b,a)},this);this.Na&&(this.a.responseType=this.Na);"withCredentials"in this.a&&this.a.withCredentials!==this.Sd&&
|
|
(this.a.withCredentials=this.Sd);try{de(this),0<this.Qa&&(this.Yb=fe(this.a),Hd(this.H,ce(this,"Will abort after "+this.Qa+"ms if incomplete, xhr2 "+this.Yb)),this.Yb?(this.a.timeout=this.Qa,this.a.ontimeout=u(this.ib,this)):this.Rb=Vd(this.ib,this.Qa,this)),Hd(this.H,ce(this,"Sending request")),this.Bb=!0,this.a.send(a),this.Bb=!1}catch(f){Hd(this.H,ce(this,"Send error: "+f.message)),this.tb(5,f)}};
|
|
var fe=function(a){return vb&&Fb(9)&&p(a.timeout)&&m(a.ontimeout)},Oa=function(a){return"content-type"==a.toLowerCase()};E.prototype.ib=function(){"undefined"!=typeof aa&&this.a&&(this.bb="Timed out after "+this.Qa+"ms, aborting",Hd(this.H,ce(this,this.bb)),this.dispatchEvent("timeout"),this.abort(8))};E.prototype.tb=function(a,b){this.O=!1;this.a&&(this.ua=!0,this.a.abort(),this.ua=!1);this.bb=b;ge(this);he(this)};var ge=function(a){a.nc||(a.nc=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
E.prototype.abort=function(){this.a&&this.O&&(Hd(this.H,ce(this,"Aborting")),this.O=!1,this.ua=!0,this.a.abort(),this.ua=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),he(this))};E.prototype.c=function(){this.a&&(this.O&&(this.O=!1,this.ua=!0,this.a.abort(),this.ua=!1),he(this,!0));E.j.c.call(this)};E.prototype.Id=function(){this.X||(this.yc||this.Bb||this.ua?ie(this):this.ue())};E.prototype.ue=function(){ie(this)};
|
|
var ie=function(a){if(a.O&&"undefined"!=typeof aa)if(a.ac[1]&&4==a.ja()&&2==a.getStatus())Hd(a.H,ce(a,"Local request error detected and ignored"));else if(a.Bb&&4==a.ja())Vd(a.Id,0,a);else if(a.dispatchEvent("readystatechange"),4==a.ja()){Hd(a.H,ce(a,"Request complete"));a.O=!1;try{var b=a.getStatus(),c;if(!(c=id(b))){var d;if(d=0===b){var e=String(a.Db).match(Wd)[1]||null;if(!e&&k.self&&k.self.location)var f=k.self.location.protocol,e=f.substr(0,f.length-1);d=!$d.test(e?e.toLowerCase():"")}c=d}if(c)a.dispatchEvent("complete"),
|
|
a.dispatchEvent("success");else{try{var g=2<a.ja()?a.a.statusText:""}catch(l){Hd(a.H,"Can not get status: "+l.message),g=""}a.bb=g+" ["+a.getStatus()+"]";ge(a)}}finally{he(a)}}};E.prototype.Hd=function(a,b){z("progress"===a.type,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(je(a,"progress"));this.dispatchEvent(je(a,b?"downloadprogress":"uploadprogress"))};
|
|
var je=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},he=function(a,b){if(a.a){de(a);var c=a.a,d=a.ac[0]?ba:null;a.a=null;a.ac=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){(a=a.H)&&a.log(nd,"Problem encountered resetting onreadystatechange: "+e.message,void 0)}}},de=function(a){a.a&&a.Yb&&(a.a.ontimeout=null);p(a.Rb)&&(k.clearTimeout(a.Rb),a.Rb=null)};E.prototype.xd=function(){return!!this.a};
|
|
E.prototype.ja=function(){return this.a?this.a.readyState:0};E.prototype.getStatus=function(){try{return 2<this.ja()?this.a.status:-1}catch(a){return-1}};
|
|
var ke=function(a){try{if(!a.a)return null;if("response"in a.a)return a.a.response;switch(a.Na){case "":case "text":return a.a.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.a)return a.a.mozResponseArrayBuffer}var b=a.H;b&&b.log(nd,"Response type "+a.Na+" is not supported on this browser",void 0);return null}catch(c){return Hd(a.H,"Can not get response: "+c.message),null}};
|
|
E.prototype.getResponseHeader=function(a){if(this.a&&4==this.ja())return a=this.a.getResponseHeader(a),null===a?void 0:a};E.prototype.getAllResponseHeaders=function(){return this.a&&4==this.ja()?this.a.getAllResponseHeaders():""};
|
|
var le=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=2;for(var e=a[c].split(": "),f=[];0<d&&e.length;)f.push(e.shift()),d--;e.length&&f.push(e.join(": "));d=f;b[d[0]]=b[d[0]]?b[d[0]]+(", "+d[1]):d[1]}return b},ce=function(a,b){return b+" ["+a.Ad+" "+a.Db+" "+a.getStatus()+"]"};var me=!vb||9<=Number(Gb),ne=!xb&&!vb||vb&&9<=Number(Gb)||xb&&Fb("1.9.1");vb&&Fb("9");var pe=function(){this.Qb="";this.Ud=oe};pe.prototype.wd=!0;pe.prototype.rd=function(){return this.Qb};pe.prototype.toString=function(){return"Const{"+this.Qb+"}"};var qe=function(a){if(a instanceof pe&&a.constructor===pe&&a.Ud===oe)return a.Qb;Aa("expected object of type Const, got '"+a+"'");return"type_error:Const"},oe={},re=function(a){var b=new pe;b.Qb=a;return b};re("");var te=function(){this.Jb="";this.Vd=se};te.prototype.wd=!0;te.prototype.rd=function(){return this.Jb};te.prototype.toString=function(){return"TrustedResourceUrl{"+this.Jb+"}"};
|
|
var ue=function(a){if(a instanceof te&&a.constructor===te&&a.Vd===se)return a.Jb;Aa("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ca(a));return"type_error:TrustedResourceUrl"},ze=function(a){var b=qe(ve);if(!we.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(xe,function(c,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));c=a[e];
|
|
return c instanceof pe?qe(c):encodeURIComponent(String(c))});return ye(c)},xe=/%{(\w+)}/g,we=/^(?:https:)?\/\/[0-9a-z.:[\]-]+\/|^\/[^\/\\]|^about:blank(#|$)/i,se={},ye=function(a){var b=new te;b.Jb=a;return b};var Ae=function(a,b){var c=(c=a&&a.ownerDocument)&&(c.defaultView||c.parentWindow)||window;if("undefined"!=typeof c.HTMLScriptElement&&"undefined"!=typeof c.Element){c=a&&(a instanceof c.HTMLScriptElement||!(a instanceof c.Element));var d=t(a)?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):void 0===a?"undefined":null===a?"null":typeof a;z(c,"Argument is not a HTMLScriptElement (or a non-Element mock); got: %s",d)}a.src=ue(b)};var Ce=function(a,b){cb(b,function(b,d){b&&b.wd&&(b=b.rd());"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Be.hasOwnProperty(d)?a.setAttribute(Be[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},Be={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"},
|
|
Ee=function(a,b,c){return De(document,arguments)},De=function(a,b){var c=String(b[0]),d=b[1];if(!me&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',wa(d.name),'"');if(d.type){c.push(' type="',wa(d.type),'"');var e={};qb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(n(d)?c.className=d:q(d)?c.className=d.join(" "):Ce(c,d));2<b.length&&Fe(a,c,b,2);return c},Fe=function(a,b,c,d){function e(c){c&&b.appendChild(n(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];
|
|
!ea(f)||t(f)&&0<f.nodeType?e(f):Ha(Ge(f)?Ua(f):f,e)}},He=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Ie=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a},Je=function(a){z(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},Ge=function(a){if(a&&"number"==typeof a.length){if(t(a))return"function"==typeof a.item||"string"==typeof a.item;if(r(a))return"function"==typeof a.item}return!1},Ke=function(a){this.rb=a||k.document||document};
|
|
h=Ke.prototype;h.getElementsByTagName=function(a,b){return(b||this.rb).getElementsByTagName(String(a))};h.fe=function(a,b,c){return De(this.rb,arguments)};h.createElement=function(a){return this.rb.createElement(String(a))};h.createTextNode=function(a){return this.rb.createTextNode(String(a))};h.appendChild=function(a,b){a.appendChild(b)};h.append=function(a,b){Fe(Je(a),a,arguments,1)};h.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};
|
|
h.removeNode=He;h.pd=function(a){return ne&&void 0!=a.children?a.children:Ia(a.childNodes,function(a){return 1==a.nodeType})};h.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var Le=function(a,b){z(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};var Me=function(a,b){C.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.Cb="isPng"in b?b.Cb:!0;this.name=b.name;this.opacity="opacity"in b?b.opacity:1;this.oa=new D;this.na=0;this.Qc=a;this.ca=new ic(this);this.alt=this.radius=this.projection=void 0};x(Me,C);v("ee.layers.AbstractOverlay",Me);
|
|
Me.prototype.dc=function(a){return Wb(this,"tile-load",a)};Me.prototype.addTileCallback=Me.prototype.dc;Me.prototype.Kc=function(a){ec(a)};Me.prototype.removeTileCallback=Me.prototype.Kc;h=Me.prototype;h.uc=function(){return Ne(this,"throttled")+Ne(this,"loading")+Ne(this,"new")};h.setOpacity=function(a){this.opacity=a;this.oa.forEach(function(a){Le(a.I,this.opacity)},this)};
|
|
h.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.na].join("-"),this.Qc.sd()].join("-");var f=this.fd(d,b,c,a);f.tileSize=this.tileSize;Le(f.I,this.opacity);this.oa.set(a,f);this.ca.$(f,"status-changed",function(){switch(f.getStatus()){case "loaded":this.dispatchEvent(new Oe(this.uc()));break;case "throttled":this.dispatchEvent(new Pe);break;case "failed":this.dispatchEvent(new Qe)}});
|
|
this.Qc.Bd(f,(new Date).getTime()/1E3);return f.I};h.releaseTile=function(a){var b=this.oa.get(a.id);this.oa.remove(a.id);b&&(b.abort(),Ya(b))};h.c=function(){Me.j.c.call(this);this.oa.forEach(Ya);this.oa.clear();this.oa=null;Ya(this.ca);this.Qc=this.ca=null};var Ne=function(a,b){return Na(a.oa.u(),function(a){return a.getStatus()==b})},Oe=function(){B.call(this,"tile-load")};x(Oe,B);var Pe=function(){B.call(this,"tile-throttle")};x(Pe,B);var Qe=function(){B.call(this,"tile-fail")};x(Qe,B);
|
|
var Re=function(a,b,c,d){C.call(this);this.Ea=a;this.zoom=b;this.I=c.createElement("div");this.I.id=d;this.re=5;this.Lb=function(){};this.Nc="new";this.Md=0;this.Cc=!1};x(Re,C);
|
|
var Te=function(a){if(!a.Cc&&"loading"==a.getStatus())throw Error("startLoad() can only be invoked once. Use retryLoad() after the first attempt.");Se(a,"loading");a.ga=new E;a.ga.Na="blob";a.ga.$("complete",function(){var a=ke(this.ga),c=this.ga.getStatus();429==c&&Se(this,"throttled");if(id(c)){var d={};cb(le(this.ga),function(a,b){d[b.toLowerCase()]=a});this.Ae=d;this.Rd=a;this.Va()}else if(a){var e=new hd;e.$("loadend",function(){this.hb(e.D.result)},void 0,this);e.readAsText(a)}else this.hb("Failed to load tile.")},
|
|
!1,a);a.ga.eb("ready",ja(Ya,a.ga));a.ga.send(a.Pb,"GET")};h=Re.prototype;h.Va=function(){this.Lb(this);Se(this,"loaded")};h.Sa=function(){Ya(this.ga)};h.hb=function(a){if(this.Md>=this.re){try{JSON.parse(a)}catch(b){}Se(this,"failed")}else this.Sa(),setTimeout(u(function(){this.X||(this.Cc=!0,Te(this),this.Cc=!1)},this),1E3*Math.pow(2,this.Md++))};h.abort=function(){this.Sa();Se(this,"aborted")};h.getStatus=function(){return this.Nc};
|
|
var Se=function(a,b){a.Nc=b;a.dispatchEvent("status-changed")},Ue={aborted:!0,failed:!0,loaded:!0};Re.prototype.c=function(){Re.j.c.call(this);this.Sa();this.I.remove();this.Lb=null};var Ve=function(){A.call(this)};x(Ve,A);var We=function(a,b){Me.call(this,a,b);this.ad=new D;this.jd=new D};x(We,Me);v("ee.layers.BinaryOverlay",We);We.prototype.fd=function(a,b,c,d){var e=new Xe(a,b,c,d);this.ca.$(e,"status-changed",function(){"loaded"==e.getStatus()&&(this.ad.set(a,new Float32Array(e.$d)),this.jd.set(a,e.I))});return e};We.prototype.c=function(){We.j.c.call(this);this.jd=this.ad=null};var Xe=function(a,b,c,d){Re.call(this,a,b,c,d)};x(Xe,Re);
|
|
Xe.prototype.Va=function(){var a=new hd;a.$("loadend",function(){this.$d=a.D.result;Re.prototype.Va.call(this)},void 0,this);a.readAsArrayBuffer(this.Rd)};var Ye=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 Ze=function(a,b,c,d){A.call(this);this.$c=a;this.ea=b;this.Pc=d||"";this.Fb=c};x(Ze,Ve);v("ee.layers.CloudStorageTileSource",Ze);Ze.prototype.Bd=function(a){if(a.zoom<=this.Fb)a.Pb=this.wb(a.Ea,a.zoom);else{var b=a.zoom-this.Fb,c=Math.pow(2,b),c=new google.maps.Point(Math.floor(a.Ea.x/c),Math.floor(a.Ea.y/c));a.Pb=this.wb(c,a.zoom-b);a.Lb=ja($e,this.Fb)}var d=u(a.hb,a);a.hb=u(function(b){b&&-1!=b.indexOf("The specified key does not exist.")?Se(a,"loaded"):d(b)},a);Te(a)};
|
|
Ze.prototype.sd=function(){return[this.$c,this.ea,this.Fb,this.Pc].join("-")};Ze.prototype.wb=function(a,b){a=Ye("https://storage.googleapis.com",this.$c,this.ea,String(b),String(a.x),String(a.y));this.Pc&&(a+=this.Pc);return a};
|
|
var $e=function(a,b){if(!b.Ab)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.I.ownerDocument.createElement("canvas");d.setAttribute("width",c);d.setAttribute("height",c);b.I.appendChild(d);d=d.getContext("2d");d.imageSmoothingEnabled=!1;d.mozImageSmoothingEnabled=!1;d.webkitImageSmoothingEnabled=!1;d.drawImage(b.Ab,c/a*(b.Ea.x%a),c/a*(b.Ea.y%a),c/a,c/a,0,0,c,c)};var af=function(a,b,c){A.call(this);this.pe=null!=c?u(a,c):a;this.me=b;this.ae=u(this.ve,this);this.ec=[]};x(af,A);h=af.prototype;h.Pa=!1;h.fb=0;h.ya=null;h.sc=function(a){this.ec=arguments;this.ya||this.fb?this.Pa=!0:bf(this)};h.stop=function(){this.ya&&(k.clearTimeout(this.ya),this.ya=null,this.Pa=!1,this.ec=[])};h.pause=function(){this.fb++};h.resume=function(){this.fb--;this.fb||!this.Pa||this.ya||(this.Pa=!1,bf(this))};h.c=function(){af.j.c.call(this);this.stop()};
|
|
h.ve=function(){this.ya=null;this.Pa&&!this.fb&&(this.Pa=!1,bf(this))};var bf=function(a){a.ya=Vd(a.ae,a.me);a.pe.apply(null,a.ec)};var gf=function(a){var b={},c=b.document||document,d=ue(a),e=document.createElement("SCRIPT"),f={Od:e,ib:void 0},g=new Wc(cf,f),l=null,w=null!=b.timeout?b.timeout:5E3;0<w&&(l=window.setTimeout(function(){df(e,!0);Xc(g,new ef(1,"Timeout reached for loading script "+d))},w),f.ib=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(df(e,b.Le||!1,l),g.hc(null))};e.onerror=function(){df(e,!0,l);Xc(g,new ef(0,"Error while loading script "+d))};f=b.attributes||
|
|
{};qb(f,{type:"text/javascript",charset:"UTF-8"});Ce(e,f);Ae(e,a);ff(c).appendChild(e)},ff=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement},cf=function(){if(this&&this.Od){var a=this.Od;a&&"SCRIPT"==a.tagName&&df(a,!0,this.ib)}},df=function(a,b,c){null!=c&&k.clearTimeout(c);a.onload=ba;a.onerror=ba;a.onreadystatechange=ba;b&&window.setTimeout(function(){He(a)},0)},ef=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);y.call(this,
|
|
c);this.code=a};x(ef,y);var hf=function(a,b){this.ba=this.za=this.la="";this.Ka=null;this.ra=this.ea="";this.M=this.ne=!1;if(a instanceof hf){this.M=m(b)?b:a.M;jf(this,a.la);var c=a.za;kf(this);this.za=c;c=a.ba;kf(this);this.ba=c;lf(this,a.Ka);this.setPath(a.getPath());mf(this,a.U.clone());a=a.ra;kf(this);this.ra=a}else a&&(c=String(a).match(Wd))?(this.M=!!b,jf(this,c[1]||"",!0),a=c[2]||"",kf(this),this.za=nf(a),a=c[3]||"",kf(this),this.ba=nf(a,!0),lf(this,c[4]),this.setPath(c[5]||"",!0),mf(this,c[6]||"",!0),a=c[7]||"",
|
|
kf(this),this.ra=nf(a)):(this.M=!!b,this.U=new of(null,0,this.M))};
|
|
hf.prototype.toString=function(){var a=[],b=this.la;b&&a.push(pf(b,qf,!0),":");var c=this.ba;if(c||"file"==b)a.push("//"),(b=this.za)&&a.push(pf(b,qf,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Ka,null!=c&&a.push(":",String(c));if(c=this.getPath())this.ba&&"/"!=c.charAt(0)&&a.push("/"),a.push(pf(c,"/"==c.charAt(0)?rf:sf,!0));(c=this.U.toString())&&a.push("?",c);(c=this.ra)&&a.push("#",pf(c,tf));return a.join("")};
|
|
hf.prototype.resolve=function(a){var b=this.clone(),c=!!a.la;c?jf(b,a.la):c=!!a.za;if(c){var d=a.za;kf(b);b.za=d}else c=!!a.ba;c?(d=a.ba,kf(b),b.ba=d):c=null!=a.Ka;d=a.getPath();if(c)lf(b,a.Ka);else if(c=!!a.ea){if("/"!=d.charAt(0))if(this.ba&&!this.ea)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("/.")){for(var d=0==e.lastIndexOf("/",0),e=e.split("/"),f=[],g=0;g<e.length;){var l=e[g++];
|
|
"."==l?d&&g==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=""!==a.U.toString();c?mf(b,a.U.clone()):c=!!a.ra;c&&(a=a.ra,kf(b),b.ra=a);return b};hf.prototype.clone=function(){return new hf(this)};var jf=function(a,b,c){kf(a);a.la=c?nf(b,!0):b;a.la&&(a.la=a.la.replace(/:$/,""))},lf=function(a,b){kf(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.Ka=b}else a.Ka=null};
|
|
hf.prototype.getPath=function(){return this.ea};hf.prototype.setPath=function(a,b){kf(this);this.ea=b?nf(a,!0):a;return this};var mf=function(a,b,c){kf(a);b instanceof of?(a.U=b,a.U.Lc(a.M)):(c||(b=pf(b,uf)),a.U=new of(b,0,a.M))};hf.prototype.removeParameter=function(a){kf(this);this.U.remove(a);return this};var kf=function(a){if(a.ne)throw Error("Tried to modify a read-only Uri");};hf.prototype.Lc=function(a){this.M=a;this.U&&this.U.Lc(a);return this};
|
|
var vf=function(a){return a instanceof hf?a.clone():new hf(a,void 0)},nf=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},pf=function(a,b,c){return n(a)?(a=encodeURI(a).replace(b,wf),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},wf=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},qf=/[#\/\?@]/g,sf=/[\#\?:]/g,rf=/[\#\?]/g,uf=/[\#\?@]/g,tf=/#/g,of=function(a,b,c){this.i=this.m=null;this.J=a||null;this.M=!!c},xf=function(a){a.m||
|
|
(a.m=new D,a.i=0,a.J&&Xd(a.J,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};h=of.prototype;h.l=function(){xf(this);return this.i};h.add=function(a,b){xf(this);this.J=null;a=yf(this,a);var c=this.m.get(a);c||this.m.set(a,c=[]);c.push(b);this.i=Ba(this.i)+1;return this};h.remove=function(a){xf(this);a=yf(this,a);return this.m.ia(a)?(this.J=null,this.i=Ba(this.i)-this.m.get(a).length,this.m.remove(a)):!1};h.clear=function(){this.m=this.J=null;this.i=0};
|
|
h.isEmpty=function(){xf(this);return 0==this.i};h.ia=function(a){xf(this);a=yf(this,a);return this.m.ia(a)};h.Ta=function(a){var b=this.u();return 0<=Fa(b,a)};h.forEach=function(a,b){xf(this);this.m.forEach(function(c,d){Ha(c,function(c){a.call(b,c,d,this)},this)},this)};h.T=function(){xf(this);for(var a=this.m.u(),b=this.m.T(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
h.u=function(a){xf(this);var b=[];if(n(a))this.ia(a)&&(b=Ta(b,this.m.get(yf(this,a))));else{a=this.m.u();for(var c=0;c<a.length;c++)b=Ta(b,a[c])}return b};h.set=function(a,b){xf(this);this.J=null;a=yf(this,a);this.ia(a)&&(this.i=Ba(this.i)-this.m.get(a).length);this.m.set(a,[b]);this.i=Ba(this.i)+1;return this};h.get=function(a,b){a=a?this.u(a):[];return 0<a.length?String(a[0]):b};h.setValues=function(a,b){this.remove(a);0<b.length&&(this.J=null,this.m.set(yf(this,a),Ua(b)),this.i=Ba(this.i)+b.length)};
|
|
h.toString=function(){if(this.J)return this.J;if(!this.m)return"";for(var a=[],b=this.m.T(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.u(d),f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}return this.J=a.join("&")};h.clone=function(){var a=new of;a.J=this.J;this.m&&(a.m=this.m.clone(),a.i=this.i);return a};var yf=function(a,b){b=String(b);a.M&&(b=b.toLowerCase());return b};
|
|
of.prototype.Lc=function(a){a&&!this.M&&(xf(this),this.J=null,this.m.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.setValues(b,a))},this));this.M=a};of.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Td(arguments[b],function(a,b){this.add(b,a)},this)};var Ff=function(a,b,c,d,e){var f=["https://www.googleapis.com/auth/earthengine"];d&&(Va(f,d),Xa(f));zf=a;Af=f;null===a?Bf=null:Cf(function(){Df(b,c,e||ja(Ef,b,c))})};v("ee.data.authenticate",Ff);var Ef=function(a,b){k.gapi.auth.authorize({client_id:zf,immediate:!1,scope:Af.join(" ")},ja(Gf,a,b))};v("ee.data.authenticateViaPopup",Ef);
|
|
var Hf=function(a,b,c,d,e,f,g){var l=["https://www.googleapis.com/auth/earthengine"];e&&(Va(l,e),Xa(l));zf=a;Af=l;var w={token_type:b,access_token:c,state:l.join(" "),expires_in:d};Gf(void 0,void 0,w);!1===g?f&&f():Cf(function(){k.gapi.auth.setToken(w);f&&f()})};v("ee.data.setAuthToken",Hf);var Df=function(a,b,c){If&&zf&&If({client_id:String(zf),immediate:!0,scope:Af.join(" ")},function(d){"immediate_failed"==d.error&&c?c():Gf(a,b,d)})},Jf=function(a){If=a};v("ee.data.setAuthTokenRefresher",Jf);
|
|
var Mf=function(){Kf&&0<=ka()-Kf&&Lf();return Bf};v("ee.data.getAuthToken",Mf);var Lf=function(){Kf=Bf=null};v("ee.data.clearAuthToken",Lf);var Nf=function(){return zf};v("ee.data.getAuthClientId",Nf);var Of=function(){return Af};v("ee.data.getAuthScopes",Of);var Tf=function(a,b,c){null!=a?Pf=a:Qf||(Pf="https://earthengine.googleapis.com/api");null!=b?Rf=b:Qf||(Rf="https://earthengine.googleapis.com");m(c)&&(Sf=c);Qf=!0},Vf=function(a){Uf=a};v("ee.data.setDeadline",Vf);
|
|
v("ee.data.setParamAugmenter",function(a){Wf=a||oc});var Xf=function(){return Pf};v("ee.data.getApiBaseUrl",Xf);var Yf=function(){return Rf};v("ee.data.getTileBaseUrl",Yf);var Zf=function(){return Sf};v("ee.data.getXsrfToken",Zf);var $f=function(a,b){a=nb(a);return F("/mapid",G(a),b)};v("ee.data.getMapId",$f);var ag=function(a,b,c,d){var e=Math.pow(2,d);b%=e;0>b&&(b+=e);return[Rf,"map",a.mapid,d,b,c].join("/")+"?token="+a.token};v("ee.data.getTileUrl",ag);
|
|
var bg=function(a,b){a=nb(a);return F("/value",G(a),b)};v("ee.data.getValue",bg);var cg=function(a,b){a=nb(a);q(a.dimensions)&&(a.dimensions=a.dimensions.join("x"));a=G(a).add("getid","1");return F("/thumb",a,b)};v("ee.data.getThumbId",cg);var dg=function(a){return Rf+"/api/thumb?thumbid="+a.thumbid+"&token="+a.token};v("ee.data.makeThumbUrl",dg);var eg=function(a,b){a=nb(a);return F("/download",G(a),b)};v("ee.data.getDownloadId",eg);
|
|
var fg=function(a){return Rf+"/api/download?docid="+a.docid+"&token="+a.token};v("ee.data.makeDownloadUrl",fg);var gg=function(a,b){a=nb(a);return F("/table",G(a),b)};v("ee.data.getTableDownloadId",gg);var hg=function(a){return Rf+"/api/table?docid="+a.docid+"&token="+a.token};v("ee.data.makeTableDownloadUrl",hg);var jg=function(a,b,c){var d=ig;try{return ig=a,b.call(c)}finally{ig=d}};v("ee.data.withProfiling",jg);
|
|
v("ee.data.newTaskId",function(a,b){var c={};p(a)&&(c.count=a);return F("/newtaskid",G(c),b)});v("ee.data.getTaskStatus",function(a,b){if(n(a))a=[a];else if(!q(a))throw Error("Invalid taskId: expected a string or an array of strings.");return F("/taskstatus?q="+a.join(),null,b,"GET")});v("ee.data.getTaskList",function(a){return F("/tasklist",null,a,"GET")});v("ee.data.cancelTask",function(a,b){return kg(a,"CANCEL",b)});
|
|
var kg=function(a,b,c){if(n(a))a=[a];else if(!q(a))throw Error("Invalid taskId: expected a string or an array of strings.");if(!ib(lg,b))throw Error("Invalid action: "+b);return F("/updatetask",G({id:a,action:b}),c,"POST")};v("ee.data.updateTask",kg);v("ee.data.startProcessing",function(a,b,c){b=nb(b);b.id=a;return F("/processingrequest",G(b),c)});v("ee.data.startIngestion",function(a,b,c){a={id:a,request:Cd(b)};return F("/ingestionrequest",G(a),c)});
|
|
v("ee.data.startTableIngestion",function(a,b,c){a={id:a,tableRequest:Cd(b)};return F("/ingestionrequest",G(a),c)});var mg=function(a,b){return F("/info",(new of).add("id",a),b)};v("ee.data.getInfo",mg);var ng=function(a,b){a=G(a);return F("/list",a,b)};v("ee.data.getList",ng);v("ee.data.getAssetRoots",function(a){return F("/buckets",null,a,"GET")});v("ee.data.createAssetHome",function(a,b){a=G({id:a});F("/createbucket",a,b)});
|
|
v("ee.data.createAsset",function(a,b,c,d){n(a)||(a=Cd(a));a={value:a};void 0!==b&&(a.id=b);a.force=c||!1;return F("/create",G(a),d)});v("ee.data.createFolder",function(a,b,c){return F("/createfolder",G({id:a,force:b||!1}),c)});v("ee.data.renameAsset",function(a,b,c){F("/rename",G({sourceId:a,destinationId:b}),c)});v("ee.data.copyAsset",function(a,b,c){F("/copy",G({sourceId:a,destinationId:b}),c)});v("ee.data.deleteAsset",function(a,b){F("/delete",G({id:a}),b)});
|
|
v("ee.data.getAssetAcl",function(a,b){return F("/getacl",G({id:a}),b,"GET")});v("ee.data.setAssetAcl",function(a,b,c){a={id:a,value:Cd(b)};F("/setacl",G(a),c)});v("ee.data.setAssetProperties",function(a,b,c){a={id:a,properties:Cd(b)};F("/setproperties",G(a),c)});v("ee.data.getAssetRootQuota",function(a,b){return F("/quota",G({id:a}),b,"GET")});
|
|
var lg={Ge:"CANCEL",Je:"UPDATE"},F=function(a,b,c,d){Tf();var e=ig,f={"Content-Type":"application/x-www-form-urlencoded"},g=Mf();if(null!=g)f.Authorization=g;else if(c&&If&&zf)return Df(function(){jg(e,function(){F(a,b,c,d)})}),null;g=d||"POST";b=b?b.clone():new of;e&&b.add("profiling","1");b=Wf(b,a);null!=Sf&&(f["X-XSRF-Token"]=Sf);var l=b?b.toString():"";"GET"!=g||/^[\s\xa0]*$/.test(l)||(a+=-1!=a.indexOf("?")?"&":"?",a+=l,l=null);var w=Pf+a;if(c)return f=og(w,c,g,l,f),pg.push(f),qg.sc(),null;for(var pa=
|
|
function(a,b){this.setRequestHeader&&this.setRequestHeader(b,a)},Ja,Hg=0;;){Ja=Ld();Ja.open(g,w,!1);cb(f,pa,Ja);Ja.send(l);if(429!=Ja.status||5<Hg)break;Hg++}return rg(Ja.status,function(a){try{return Ja.getResponseHeader(a)}catch(mj){return null}},Ja.responseText,e)},og=function(a,b,c,d,e){var f=0,g={url:a,method:c,content:d,headers:e},l=ig;g.hc=function(a){a=a.target;if(429==a.getStatus()&&10>f)return f++,setTimeout(function(){pg.push(g);qg.sc()},Math.min(12E4,1E3*Math.pow(2,f))),null;var c=a.getStatus(),
|
|
d=u(a.getResponseHeader,a);try{var e=a.a?a.a.responseText:""}catch(Vi){Hd(a.H,"Can not get responseText: "+Vi.message),e=""}return rg(c,d,e,l,b)};return g},rg=function(a,b,c,d,e){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 g=JSON.parse(c);var l=g.data}catch(pa){var w="Invalid JSON: "+c}else w="Response was unexpectedly not JSON, but "+b;if(t(g))"error"in g&&"message"in g.error?
|
|
w=g.error.message:"data"in g||(w="Malformed response: "+c);else if(0===a)w="Failed to contact Earth Engine servers. Please check your connection, firewall, or browser extension settings.";else if(200>a||300<=a)w="Server returned HTTP code: "+a;if(e)return e(l,w),null;if(!w)return l;throw Error(w);},Cf=function(a){var b=function(){k.gapi.config.update("client/cors",!0);If||(If=k.gapi.auth.authorize);a()};if(t(k.gapi)&&t(k.gapi.auth)&&r(k.gapi.auth.authorize))b();else{for(var c=ka().toString(36);c in
|
|
k;)c+="_";k[c]=function(){delete k[c];b()};gf(ze({onload:c}))}},Gf=function(a,b,c){c.access_token?(b=c.token_type+" "+c.access_token,isFinite(c.expires_in)&&(c=900*c.expires_in,setTimeout(Df,.9*c),Kf=ka()+c),Bf=b,a&&a()):b&&b(c.error||"Unknown error.")},G=function(a){var b=new of,c;for(c in a)b.set(c,a[c]);return b},pg=[],qg=new af(function(){var a=pg.shift();if(a){var b=a.url,c=a.hc,d=a.method,e=a.content,a=a.headers,f=Uf,g=new E;be.push(g);c&&g.$("complete",c);g.eb("ready",g.ce);f&&(g.Qa=Math.max(0,
|
|
f));g.send(b,d,e,a)}0==pg.length||qg.sc()},350),Pf=null,Rf=null,Sf=null,Wf=oc,Bf=null,Kf=null,zf=null,Af=[],If=null,ve=re("https://apis.google.com/js/client.js?onload=%{onload}"),Qf=!1,Uf=0,ig=null;var sg=function(a,b){this.zd=a;this.Zb=b};sg.prototype.getKey=function(){return this.zd};sg.prototype.clone=function(){return new sg(this.zd,this.Zb)};var tg=function(a){this.N=[];if(a)a:{if(a instanceof tg){var b=a.T();a=a.u();if(0>=this.l()){for(var c=this.N,d=0;d<b.length;d++)c.push(new sg(b[d],a[d]));break a}}else b=hb(a),a=gb(a);for(d=0;d<b.length;d++)ug(this,b[d],a[d])}},ug=function(a,b,c){var d=a.N;d.push(new sg(b,c));b=d.length-1;a=a.N;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};h=tg.prototype;
|
|
h.remove=function(){var a=this.N,b=a.length,c=a[0];if(!(0>=b)){if(1==b)Qa(a);else{a[0]=a.pop();for(var a=0,b=this.N,d=b.length,e=b[a];a<d>>1;){var f=2*a+1,g=2*a+2,f=g<d&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.Zb}};h.u=function(){for(var a=this.N,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].Zb);return b};h.T=function(){for(var a=this.N,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getKey());return b};
|
|
h.Ta=function(a){return La(this.N,function(b){return b.Zb==a})};h.ia=function(a){return La(this.N,function(b){return b.getKey()==a})};h.clone=function(){return new tg(this)};h.l=function(){return this.N.length};h.isEmpty=function(){return 0==this.N.length};h.clear=function(){Qa(this.N)};var vg=function(){this.S=[];this.V=[]};h=vg.prototype;h.enqueue=function(a){this.V.push(a)};h.Ua=function(){0==this.S.length&&(this.S=this.V,this.S.reverse(),this.V=[]);return this.S.pop()};h.l=function(){return this.S.length+this.V.length};h.isEmpty=function(){return 0==this.S.length&&0==this.V.length};h.clear=function(){this.S=[];this.V=[]};h.contains=function(a){return 0<=Fa(this.S,a)||0<=Fa(this.V,a)};
|
|
h.remove=function(a){var b=this.S;var c=Ga(b,a);0<=c?(Ra(b,c),b=!0):b=!1;return b||Sa(this.V,a)};h.u=function(){for(var a=[],b=this.S.length-1;0<=b;--b)a.push(this.S[b]);for(var c=this.V.length,b=0;b<c;++b)a.push(this.V[b]);return a};var H=function(a){this.o=new D;a&&this.addAll(a)},wg=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[fa]||(a[fa]=++ga)):b.substr(0,1)+a};h=H.prototype;h.l=function(){return this.o.l()};h.add=function(a){this.o.set(wg(a),a)};h.addAll=function(a){a=Rd(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};h.gb=function(a){a=Rd(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};h.remove=function(a){return this.o.remove(wg(a))};h.clear=function(){this.o.clear()};h.isEmpty=function(){return this.o.isEmpty()};
|
|
h.contains=function(a){return this.o.ia(wg(a))};var xg=function(a,b){var c=new H;b=Rd(b);for(var d=0;d<b.length;d++){var e=b[d];a.contains(e)&&c.add(e)}return c},yg=function(a,b){a=a.clone();a.gb(b);return a};H.prototype.u=function(){return this.o.u()};H.prototype.clone=function(){return new H(this)};H.prototype.equals=function(a){return this.l()==Qd(a)&&zg(this,a)};
|
|
var zg=function(a,b){var c=Qd(b);if(a.l()>c)return!1;!(b instanceof H)&&5<c&&(b=new H(b));return Ud(a,function(a){var c=b;return c.contains&&"function"==typeof c.contains?c.contains(a):c.Ta&&"function"==typeof c.Ta?c.Ta(a):ea(c)||n(c)?0<=Fa(c,a):ib(c,a)})};H.prototype.Ba=function(){return this.o.Ba(!1)};var Ag=function(a,b){A.call(this);this.Dd=a||0;this.Eb=b||10;if(this.Dd>this.Eb)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Y=new vg;this.ka=new H;this.lc=0;this.Dc=null;this.nb()};x(Ag,A);Ag.prototype.Xa=function(){var a=ka();if(!(null!=this.Dc&&a-this.Dc<this.lc)){for(var b;0<this.Y.l()&&(b=this.Y.Ua(),!this.Gc(b));)this.nb();!b&&this.l()<this.Eb&&(b=this.kc());b&&(this.Dc=a,this.ka.add(b));return b}};var Bg=function(a,b){return a.ka.remove(b)?(a.cc(b),!0):!1};h=Ag.prototype;
|
|
h.cc=function(a){this.ka.remove(a);this.Gc(a)&&this.l()<this.Eb?this.Y.enqueue(a):this.qb(a)};h.nb=function(){for(var a=this.Y;this.l()<this.Dd;)a.enqueue(this.kc());for(;this.l()>this.Eb&&0<this.Y.l();)this.qb(a.Ua())};h.kc=function(){return{}};h.qb=function(a){if("function"==typeof a.W)a.W();else for(var b in a)a[b]=null};h.Gc=function(a){return"function"==typeof a.be?a.be():!0};h.contains=function(a){return this.Y.contains(a)||this.ka.contains(a)};h.l=function(){return this.Y.l()+this.ka.l()};
|
|
h.isEmpty=function(){return this.Y.isEmpty()&&this.ka.isEmpty()};h.c=function(){Ag.j.c.call(this);if(0<this.ka.l())throw Error("[goog.structs.Pool] Objects not released");delete this.ka;for(var a=this.Y;!a.isEmpty();)this.qb(a.Ua());delete this.Y};var Cg=function(){tg.call(this)};x(Cg,tg);Cg.prototype.enqueue=function(a,b){ug(this,a,b)};Cg.prototype.Ua=function(){return this.remove()};var Dg=function(a,b){this.hd=void 0;this.Nb=new Cg;Ag.call(this,a,b)};x(Dg,Ag);h=Dg.prototype;h.Xa=function(a,b){if(!a)return(a=Dg.j.Xa.call(this))&&this.lc&&(this.hd=k.setTimeout(u(this.yb,this),this.lc)),a;this.Nb.enqueue(m(b)?b:100,a);this.yb()};h.yb=function(){for(var a=this.Nb;0<a.l();){var b=this.Xa();if(b)a.Ua().apply(this,[b]);else break}};h.cc=function(a){Dg.j.cc.call(this,a);this.yb()};h.nb=function(){Dg.j.nb.call(this);this.yb()};
|
|
h.c=function(){Dg.j.c.call(this);k.clearTimeout(this.hd);this.Nb.clear();this.Nb=null};var Eg=function(a,b,c,d){A.call(this);this.Vc=a;this.Cd=b;this.jb=c;this.K=d||null};x(Eg,Ve);v("ee.layers.EarthEngineTileSource",Eg);Eg.prototype.Bd=function(a,b){var c=Wb(a,"status-changed",function(){switch(a.getStatus()){case "loaded":var b=a.Ae["x-earth-engine-computation-profile"];this.K&&b&&this.K.Xd(a.I.id,b);break;case "failed":case "aborted":this.K&&""!==a.I.id&&this.K.ye(a.I.id),ec(c)}},void 0,this);a.Pb=this.wb(a.Ea,a.zoom);var d=u(this.wc,this,a);Fg().Xa(d,b)};
|
|
Eg.prototype.sd=function(){return[this.Cd,this.jb].join("-")};Eg.prototype.wc=function(a,b){var c=Fg();if(a.X||"aborted"==a.getStatus())Bg(c,b);else{var d=Wb(a,"status-changed",function(){a.Nc in Ue&&(ec(d),Bg(c,b))});Te(a)}};Eg.prototype.wb=function(a,b){a=[this.Vc,this.Cd,b,a.x,a.y].join("/");a+="?token="+this.jb;this.K&&this.K.isEnabled()&&(a+="&profiling=1");return a};var Fg=function(){Gg||(Gg=new Dg(0,4));return Gg},Gg=null;var Ig=function(a){C.call(this);this.ab={};this.$a={};this.ta=new ic(this);this.s=a};x(Ig,C);var Jg=[vb&&!Fb("11")?"readystatechange":"load","abort","error"],Kg=function(a,b,c){(c=n(c)?c:c.src)&&(a.ab[b]={src:c,ed:m(void 0)?void 0:null})},Lg=function(a,b){delete a.ab[b];var c=a.$a[b];c&&(delete a.$a[b],a.ta.Xb(c,Jg,a.Gd),lb(a.$a)&&lb(a.ab)&&a.dispatchEvent("complete"))};
|
|
Ig.prototype.start=function(){var a=this.ab;Ha(hb(a),function(b){var c=a[b];if(c&&(delete a[b],!this.X)){if(this.s){var d=this.s;d=(d?new Ke(Je(d)):la||(la=new Ke)).fe("IMG")}else d=new Image;c.ed&&(d.crossOrigin=c.ed);this.ta.$(d,Jg,this.Gd);this.$a[b]=d;d.id=b;d.src=c.src}},this)};
|
|
Ig.prototype.Gd=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.X||Lg(this,b.id)}};Ig.prototype.c=function(){delete this.ab;delete this.$a;Ya(this.ta);Ig.j.c.call(this)};var Mg=function(a,b){Me.call(this,a,b)};x(Mg,Me);v("ee.layers.ImageOverlay",Mg);Mg.prototype.fd=function(a,b,c,d){return new Ng(a,b,c,d)};var Ng=function(a,b,c,d){Re.call(this,a,b,c,d);this.Lb=Og;this.vd=this.F=this.Ab=null;this.Gb=""};x(Ng,Re);
|
|
Ng.prototype.Va=function(){try{var a=this.Gb=URL.createObjectURL(this.Rd)}catch(b){a=this.Pb}this.F=new Ig;Kg(this.F,this.I.id+"-image",a);this.vd=cc(this.F,Pg,function(a){"load"==a.type?(this.Ab=a.target,Re.prototype.Va.call(this)):this.hb()},void 0,this);this.F.start()};Ng.prototype.Sa=function(){Ng.j.Sa.call(this);this.F&&(ec(this.vd),Ya(this.F))};Ng.prototype.c=function(){Ng.j.c.call(this);this.Gb&&URL.revokeObjectURL(this.Gb)};var Pg=["load","abort","error"],Og=function(a){a.I.appendChild(a.Ab)};var Qg=function(a,b,c){C.call(this);this.qe=b;this.Sb=c;this.pa=[];this.Rc=new H;this.na=0;this.url=a};x(Qg,C);v("ee.AbstractOverlay",Qg);var Rg=function(a,b,c){var d=1<<c,e=b.x%d;0>e&&(e+=d);return[a.qe,c,e,b.y].join("/")};Qg.prototype.uc=function(){return this.pa.length};var Sg=function(a){B.call(this,"tileevent");this.count=a};x(Sg,B);var Tg=function(){};var Ug=function(){this.ha=-1};var Vg=function(){this.ha=64;this.B=Array(4);this.Yd=Array(this.ha);this.Ub=this.Ra=0;this.reset()};x(Vg,Ug);Vg.prototype.reset=function(){this.B[0]=1732584193;this.B[1]=4023233417;this.B[2]=2562383102;this.B[3]=271733878;this.Ub=this.Ra=0};
|
|
var Wg=function(a,b,c){c||(c=0);var d=Array(16);if(n(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.B[0];c=a.B[1];var e=a.B[2],f=a.B[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&
|
|
(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|g>>>20);g=
|
|
e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<5&4294967295|
|
|
g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(g<<20&4294967295|
|
|
g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(g<<14&4294967295|
|
|
g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^
|
|
b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+3873151461&4294967295;
|
|
f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
|
|
(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&4294967295;
|
|
c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.B[0]=a.B[0]+b&4294967295;a.B[1]=a.B[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.B[2]=a.B[2]+e&4294967295;a.B[3]=a.B[3]+f&4294967295};
|
|
Vg.prototype.update=function(a,b){m(b)||(b=a.length);for(var c=b-this.ha,d=this.Yd,e=this.Ra,f=0;f<b;){if(0==e)for(;f<=c;)Wg(this,a,f),f+=this.ha;if(n(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.ha){Wg(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.ha){Wg(this,d);e=0;break}}this.Ra=e;this.Ub+=b};
|
|
Vg.prototype.digest=function(){var a=Array((56>this.Ra?this.ha:2*this.ha)-this.Ra);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.Ub,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.B[b]>>>d&255;return a};var Xg=function(a){this.mb="__ee_hash__";this.Bc=!1!==a;this.Oa=[];this.Ga={};this.Wc=[]};v("ee.Serializer",Xg);var Yg=new Bd,Zg=new Vg,ah=function(a,b){return $g(new Xg(m(b)?b:!0),a)};v("ee.Serializer.encode",ah);var bh=function(a){return Yg.w(ah(a))};v("ee.Serializer.toJSON",bh);var ch=function(a){a=$g(new Xg(!1),a);return"JSON"in k?k.JSON.stringify(a,null," "):Yg.w(a)};v("ee.Serializer.toReadableJSON",ch);
|
|
var $g=function(a,b){b=a.sb(b);a.Bc&&(b=t(b)&&"ValueRef"==b.type&&1==a.Oa.length?a.Oa[0][1]:{type:"CompoundValue",scope:a.Oa,value:b},a.Oa=[],Ha(a.Wc,u(function(a){delete a[this.mb]},a)),a.Wc=[],a.Ga={});return b};
|
|
Xg.prototype.sb=function(a){if(!m(a))throw Error("Can't encode an undefined value.");var b=t(a)?a[this.mb]:null;if(this.Bc&&null!=b&&this.Ga[b])return{type:"ValueRef",value:this.Ga[b]};if(null===a||"boolean"==typeof a||p(a)||n(a))return a;if(t(a)&&"function"==typeof a.getFullYear)return{type:"Invocation",functionName:"Date",arguments:{value:Math.floor(a.getTime())}};if(a instanceof Tg){var c=a.encode(u(this.sb,this));if(!(q(c)||t(c)&&"ArgumentRef"!=c.type))return c}else if(q(a))c=Ka(a,function(a){return this.sb(a)},
|
|
this);else if(t(a)&&!r(a))c=eb(a,function(a){if(!r(a))return this.sb(a)},this),mb(c,this.mb),c={type:"Dictionary",value:c};else throw Error("Can't encode object: "+a);if(this.Bc){Zg.reset();Zg.update(Yg.w(c));var b=Zg.digest().toString();if(this.Ga[b])var d=this.Ga[b];else d=String(this.Oa.length),this.Oa.push([d,c]),this.Ga[b]=d;a[this.mb]=b;this.Wc.push(a);return{type:"ValueRef",value:d}}return c};var I=function(a,b,c){if(!(this instanceof I))return J(I,arguments);if(c&&(a||b))throw Error('When "opt_varName" is specified, "func" and "args" must be null.');if(a&&!b)throw Error('When "func" is specified, "args" must not be null.');this.h=a;this.v=b;this.A=c||null};x(I,Tg);v("ee.ComputedObject",I);I.prototype.evaluate=function(a){if(!a||!r(a))throw Error("evaluate() requires a callback function.");bg({json:this.w()},a)};I.prototype.evaluate=I.prototype.evaluate;
|
|
I.prototype.Z=function(a){return bg({json:this.w()},a)};I.prototype.getInfo=I.prototype.Z;I.prototype.encode=function(a){if(null===this.h&&null===this.v)return{type:"ArgumentRef",value:this.A};var b={},c;for(c in this.v)m(this.v[c])&&(b[c]=a(this.v[c]));b={type:"Invocation",arguments:b};a=a(this.h);b[n(a)?"functionName":"function"]=a;return b};I.prototype.w=function(){return bh(this)};I.prototype.serialize=I.prototype.w;I.prototype.toString=function(){return"ee."+this.name()+"("+ch(this)+")"};
|
|
v("ee.ComputedObject.prototype.toString",I.prototype.toString);I.prototype.name=function(){return"ComputedObject"};I.prototype.Xc=function(a,b){var c=Ua(arguments);c[0]=this;a.apply(k,c);return this};I.prototype.aside=I.prototype.Xc;var dh=function(a,b){if(b instanceof a.constructor)return b;var c=function(){};c.prototype=a.constructor.prototype;a=new c;a.h=b.h;a.v=b.v;a.A=b.A;return a},J=function(a,b){function c(){return a.apply(this,b)}c.prototype=a.prototype;return new c};var eh={},fh=function(a){return a.prototype instanceof I?a.prototype.name.call(null):a==Number?"Number":a==String?"String":a==Array?"Array":a==Date?"Date":"Object"},gh=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}},hh=function(a){return p(a)||
|
|
a instanceof I&&"Number"==a.name()},ih=function(a){return n(a)||a instanceof I&&"String"==a.name()},jh=function(a){return t(a)&&!r(a)?(a=Object.getPrototypeOf(a),null!==a&&null===Object.getPrototypeOf(a)):!1};var K=function(){if(!(this instanceof K))return new K};x(K,Tg);v("ee.Function",K);var kh=oc;K.prototype.call=function(a){return this.apply(lh(this,Array.prototype.slice.call(arguments,0)))};K.prototype.call=K.prototype.call;K.prototype.apply=function(a){a=new I(this,mh(this,a));return kh(a,this.G().returns)};K.prototype.apply=K.prototype.apply;
|
|
var nh=function(a,b,c){var d=m(b),e=a.G(),f=!1;if(1==c.length&&jh(c[0])){var g=e.args;d&&(g=g.slice(1));g.length&&(f=!((1==g.length||g[1].optional)&&"Dictionary"==g[0].type))}if(f){if(c=nb(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=lh(a,d?[b].concat(c):c);return a.apply(c)},mh=function(a,b){for(var c=a.G().args,d={},e={},f=0;f<c.length;f++){var g=c[f].name;if(g in b&&m(b[g]))d[g]=kh(b[g],c[f].type);else if(!c[f].optional)throw Error("Required argument ("+
|
|
g+") missing to function: "+a);e[g]=!0}var c=[],l;for(l in b)e[l]||c.push(l);if(0<c.length)throw Error("Unrecognized arguments ("+c+") to function: "+a);return d},lh=function(a,b){var c=a.G().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};
|
|
K.prototype.toString=function(a,b){var c=this.G(),d=[];d.push(a||c.name);d.push("(");d.push(Ka(c.args.slice(b?1:0),function(a){return a.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("")};K.prototype.w=function(){return bh(this)};var L=function(a,b){if(!m(b))return oh(a);if(!(this instanceof L))return J(L,arguments);this.ma=ob(b);this.ma.name=a};x(L,K);v("ee.ApiFunction",L);var M=function(a,b){return K.prototype.call.apply(oh(a),Array.prototype.slice.call(arguments,1))};v("ee.ApiFunction._call",M);var ph=function(a,b){return oh(a).apply(b)};v("ee.ApiFunction._apply",ph);L.prototype.encode=function(){return this.ma.name};L.prototype.G=function(){return this.ma};
|
|
var qh=null,rh={},th=function(){sh();return eb(qh,function(a){return a.G()})},uh=function(){sh();return db(qh,function(a,b){return!rh[b]})},oh=function(a){var b=vh(a);if(!b)throw Error("Unknown built-in function name: "+a);return b};v("ee.ApiFunction.lookup",oh);
|
|
var vh=function(a){sh();return qh[a]||null},sh=function(a,b){if(qh)a&&a();else{var c=function(c,e){e?b&&b(Error(e)):(qh=eb(c,function(a,b){a.returns=a.returns.replace(/<.*>/,"");for(var c=0;c<a.args.length;c++)a.args[c].type=a.args[c].type.replace(/<.*>/,"");return new L(b,a)}),a&&a())};a?F("/algorithms",null,c,"GET"):c(F("/algorithms",null,void 0,"GET"))}},N=function(a,b,c,d){sh();var e=d||"";cb(qh,function(d,g){var f=g.split(".");if(2==f.length&&f[0]==b){var f=e+f[1],w=d.G();rh[g]=!0;var pa=!1;
|
|
w.args.length&&(g=w.args[0].type,pa="Object"!=g&&gh(g,c));g=pa?a.prototype:a;f in g&&!g[f].signature||(g[f]=function(a){return nh(d,pa?this:void 0,Array.prototype.slice.call(arguments,0))},g[f].toString=u(d.toString,d,f,pa),g[f].signature=w)}})},O=function(a){var b=function(a){for(var b in a)r(a[b])&&a[b].signature&&delete a[b]};b(a);b(a.prototype)};var P=function(a,b){var c=wh(a),d=Ka(c,function(a){return a.replace(/^opt_/,"")});a=(a=k.EXPORTED_FN_INFO?k.EXPORTED_FN_INFO[a.toString()].name.split(".").pop()+"()":null)?" to function "+a:"";var e={},f=b[0],g=t(f)&&!r(f)&&!q(f)&&!(f instanceof I);if(1<b.length||!g){if(b.length>d.length)throw Error("Received too many arguments"+a+". Expected at most "+d.length+" but got "+b.length+".");for(f=0;f<b.length;f++)e[d[f]]=b[f]}else{var g=new H(hb(f)),l=new H(d);if(xg(l,g).isEmpty())e[d[0]]=b[0];else{b=
|
|
yg(g,l);if(!b.isEmpty())throw Error("Unexpected arguments"+a+": "+b.u().join(", "));e=nb(f)}}b=new H(hb(e));c=yg(new H(Ia(c,function(a){return 0!=a.lastIndexOf("opt_",0)})),b);if(!c.isEmpty())throw Error("Missing required arguments"+a+": "+c.u().join(", "));return e},wh=function(a){k.EXPORTED_FN_INFO?(a=k.EXPORTED_FN_INFO[a.toString()],Da(a),a=a.paramNames,Ea(a)):a=a.toString().replace(xh,"").match(yh)[1].split(",")||[];return a},xh=/((\/\/.*$)|(\/\*[\s\S]*?\*\/)|(\s))/mg,yh=/^function\s*[^\(]*\(\s*([^\)]*)\)/m;var Q=function(a,b,c){I.call(this,a,b,c);zh()};x(Q,I);v("ee.Element",Q);var Ah=!1,zh=function(){Ah||(N(Q,"Element","Element"),Ah=!0)};Q.prototype.name=function(){return"Element"};
|
|
Q.prototype.set=function(a){var b;if(1>=arguments.length){var c=arguments[0];if(b=jh(c))a:{b=hb(c);var d=["properties"];if(ea(b)&&ea(d)&&b.length==d.length){for(var e=b.length,f=0;f<e;f++)if(b[f]!==d[f]){b=!1;break a}b=!0}else b=!1}b&&t(c.properties)&&(c=c.properties);if(jh(c))for(g in d=this,c)b=c[g],d=M("Element.set",d,g,b);else if(c instanceof I&&vh("Element.setMulti"))d=M("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.");d=this;for(c=0;c<arguments.length;c+=2){var g=arguments[c];b=arguments[c+1];d=M("Element.set",d,g,b)}}return dh(this,d)};Q.prototype.set=Q.prototype.set;var R=function(a){if(!(this instanceof R))return J(R,arguments);if(a instanceof R)return a;Bh();if(q(a)){if(0==a.length)throw Error("Empty list specified for ee.Filter().");if(1==a.length)return new R(a[0]);I.call(this,new L("Filter.and"),{filters:a})}else if(a instanceof I)I.call(this,a.h,a.v,a.A);else{if(m(a))throw Error("Invalid argument specified for ee.Filter(): "+a);I.call(this,null,null)}};x(R,I);v("ee.Filter",R);
|
|
var Ch=!1,Bh=function(){Ch||(N(R,"Filter","Filter"),Ch=!0)},Dh={equals:"equals",less_than:"lessThan",greater_than:"greaterThan",contains:"stringContains",starts_with:"stringStartsWith",ends_with:"stringEndsWith"};R.prototype.Ia=function(){return M("Filter.not",this)};R.prototype.not=R.prototype.Ia;var Eh=function(a,b){var c=P(Eh,arguments);return M("Filter.equals",c.name,c.value)};R.eq=Eh;var Fh=function(a,b){var c=P(Fh,arguments);return Eh(c.name,c.value).Ia()};R.neq=Fh;
|
|
var Gh=function(a,b){var c=P(Gh,arguments);return M("Filter.lessThan",c.name,c.value)};R.lt=Gh;var Hh=function(a,b){var c=P(Hh,arguments);return Gh(c.name,c.value).Ia()};R.gte=Hh;var Ih=function(a,b){var c=P(Ih,arguments);return M("Filter.greaterThan",c.name,c.value)};R.gt=Ih;var Jh=function(a,b){var c=P(Jh,arguments);return Ih(c.name,c.value).Ia()};R.lte=Jh;var Kh=function(a){return M("Filter.and",Array.prototype.slice.call(arguments))};R.and=Kh;var Lh=function(a){return M("Filter.or",Array.prototype.slice.call(arguments))};
|
|
R.or=Lh;var Mh=function(a,b){var c=P(Mh,arguments),c=M("DateRange",c.start,c.end);return ph("Filter.dateRangeContains",{leftValue:c,rightField:"system:time_start"})};R.date=Mh;var Nh=function(a,b,c,d){var e=P(Nh,arguments);return ph("Filter.listContains",{leftField:e.rightField,rightValue:e.leftValue,rightField:e.leftField,leftValue:e.rightValue})};R.inList=Nh;var Oh=function(a,b){return ph("Filter.intersects",{leftField:".all",rightValue:M("Feature",a),maxError:b})};R.bounds=Oh;
|
|
R.prototype.name=function(){return"Filter"};var Ph=function(a,b,c){b=b.toLowerCase();var d=!1;0==b.lastIndexOf("not_",0)&&(d=!0,b=b.substring(4));if(!(b in Dh))throw Error("Unknown filtering operator: "+b);a=M("Filter."+Dh[b],a,c);return d?a.Ia():a};R.metadata=Ph;var S=function(a,b,c){Q.call(this,a,b,c);Qh()};x(S,Q);v("ee.Collection",S);var Rh=!1,Qh=function(){Rh||(N(S,"Collection","Collection"),N(S,"AggregateFeatureCollection","Collection","aggregate_"),Rh=!0)};S.prototype.filter=function(a){if(!a)throw Error("Empty filters.");return dh(this,M("Collection.filter",this,a))};S.prototype.filter=S.prototype.filter;S.prototype.rc=function(a,b,c){var d=P(S.prototype.rc,arguments);return this.filter(Ph(d.name,d.operator,d.value))};S.prototype.filterMetadata=S.prototype.rc;
|
|
S.prototype.md=function(a){return this.filter(Oh(a))};S.prototype.filterBounds=S.prototype.md;S.prototype.qc=function(a,b){var c=P(S.prototype.qc,arguments);return this.filter(Mh(c.start,c.end))};S.prototype.filterDate=S.prototype.qc;S.prototype.limit=function(a,b,c){var d=P(S.prototype.limit,arguments);return dh(this,M("Collection.limit",this,d.max,d.property,d.ascending))};S.prototype.limit=S.prototype.limit;
|
|
S.prototype.sort=function(a,b){var c=P(S.prototype.sort,arguments);return dh(this,M("Collection.limit",this,void 0,c.property,c.ascending))};S.prototype.sort=S.prototype.sort;S.prototype.name=function(){return"Collection"};S.prototype.elementType=function(){return Q};S.prototype.map=function(a,b){var c=this.elementType();return dh(this,M("Collection.map",this,function(b){return a(new c(b))},b))};S.prototype.map=S.prototype.map;
|
|
S.prototype.yd=function(a,b){b=m(b)?b:null;var c=this.elementType();return M("Collection.iterate",this,function(b,e){return a(new c(b),e)},b)};S.prototype.iterate=S.prototype.yd;var Sh=function(a){if(!(this instanceof Sh))return J(Sh,arguments);if(a instanceof Sh)return a;Th();if(p(a))I.call(this,null,null),this.Fc=a;else if(a instanceof I)I.call(this,a.h,a.v,a.A),this.Fc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(Sh,I);v("ee.Number",Sh);var Uh=!1,Th=function(){Uh||(N(Sh,"Number","Number"),Uh=!0)};Sh.prototype.encode=function(a){return p(this.Fc)?this.Fc:Sh.j.encode.call(this,a)};Sh.prototype.name=function(){return"Number"};var Vh=function(a){if(!(this instanceof Vh))return J(Vh,arguments);if(a instanceof Vh)return a;Wh();if(n(a))I.call(this,null,null),this.Oc=a;else if(a instanceof I)this.Oc=null,a.h&&"String"==a.h.G().returns?I.call(this,a.h,a.v,a.A):I.call(this,new L("String"),{input:a},null);else throw Error("Invalid argument specified for ee.String(): "+a);};x(Vh,I);v("ee.String",Vh);var Xh=!1,Wh=function(){Xh||(N(Vh,"String","String"),Xh=!0)};
|
|
Vh.prototype.encode=function(a){return n(this.Oc)?this.Oc:Vh.j.encode.call(this,a)};Vh.prototype.name=function(){return"String"};var Yh=function(a,b){if(!(this instanceof Yh))return J(Yh,arguments);for(var c=[],d=a.args,e=0;e<d.length;e++){var f=d[e],g=f.type;c.push(Zh(g in eh?eh[g]:null,f.name))}if(!m(b.apply(null,c)))throw Error("User-defined methods must return a value.");this.ma=$h(a,c,b);this.Zd=b.apply(null,c)};x(Yh,K);v("ee.CustomFunction",Yh);Yh.prototype.encode=function(a){return{type:"Function",argumentNames:Ka(this.ma.args,function(a){return a.name}),body:a(this.Zd)}};Yh.prototype.G=function(){return this.ma};
|
|
var Zh=function(a,b){a=a||Object;if(!(a.prototype instanceof I))if(a&&a!=Object)if(a==String)a=Vh;else if(a==Number)a=Sh;else if(a==Array)a=k.ee.List;else throw Error("Variables must be of an EE type, e.g. ee.Image or ee.Number.");else a=I;var c=function(){};c.prototype=a.prototype;a=new c;a.h=null;a.v=null;a.A=b;return a},ai=function(a,b){b=Ka(b,function(a){return{name:null,type:n(a)?a:fh(a)}});b={name:"",returns:n("Object")?"Object":fh("Object"),args:b};return new Yh(b,a)},$h=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 f=function(a){var b=0;t(a)&&!r(a)&&("Function"==a.type&&b++,cb(a,function(a){b+=f(a)}));return b},e=ah(c.apply(null,b));c="_MAPPING_VAR_"+f(e)+"_";for(e=0;e<d.length;e++){var g=d[e],l=c+e;b[g].A=l;a.args[g].name=l}return a};var bi=function(a,b){if(!(this instanceof bi))return J(bi,arguments);if(a instanceof bi)return a;ci();var c=P(bi,arguments);a=c.date;var c=c.tz,d=new L("Date"),e={},f=null;if(ih(a)){if(e.value=a,c)if(ih(c))e.timeZone=c;else throw Error("Invalid argument specified for ee.Date(..., opt_tz): "+c);}else if(hh(a))e.value=a;else if(t(a)&&"function"==typeof a.getFullYear)e.value=Math.floor(a.getTime());else if(a instanceof I)a.h&&"Date"==a.h.G().returns?(d=a.h,e=a.v,f=a.A):e.value=a;else throw Error("Invalid argument specified for ee.Date(): "+
|
|
a);I.call(this,d,e,f)};x(bi,I);v("ee.Date",bi);var di=!1,ci=function(){di||(N(bi,"Date","Date"),di=!0)};bi.prototype.name=function(){return"Date"};var T=function(a,b,c,d){if(!(this instanceof T))return J(T,arguments);if(!("type"in a)){var e=P(T,arguments);a=e.geoJson;b=e.proj;c=e.geodesic;d=e.evenOdd}ei();e=null!=b||null!=c||null!=d;if(a instanceof I&&!(a instanceof T&&a.Vb)){if(e)throw Error("Setting the CRS, geodesic, or evenOdd flag on a computed Geometry is not supported. Use Geometry.transform().");I.call(this,a.h,a.v,a.A)}else{a instanceof T&&(a=a.encode());if(!fi(a))throw Error("Invalid GeoJSON geometry: "+JSON.stringify(a));I.call(this,
|
|
null,null);this.Vb=a.type;this.de=null!=a.coordinates?ob(a.coordinates):null;this.ie=a.geometries||null;if(null!=b)this.Jc=b;else if("crs"in a)if(t(a.crs)&&"name"==a.crs.type&&t(a.crs.properties)&&n(a.crs.properties.name))this.Jc=a.crs.properties.name;else throw Error("Invalid CRS declaration in GeoJSON: "+(new Bd).w(a.crs));this.vb=c;!m(this.vb)&&"geodesic"in a&&(this.vb=!!a.geodesic);this.ub=d;!m(this.ub)&&"evenOdd"in a&&(this.ub=!!a.evenOdd)}};x(T,I);v("ee.Geometry",T);
|
|
var gi=!1,ei=function(){gi||(N(T,"Geometry","Geometry"),gi=!0)},hi=function(a,b){if(!(this instanceof hi))return ii(hi,arguments);var c=ji(hi,"Point",1,arguments);if(!(c instanceof I)){var d=c.coordinates;if(!q(d)||2!=d.length)throw Error("The Geometry.Point constructor requires 2 coordinates.");}T.call(this,c)};x(hi,T);T.Point=hi;var ki=function(a,b){if(!(this instanceof ki))return ii(ki,arguments);T.call(this,ji(ki,"MultiPoint",2,arguments))};x(ki,T);T.MultiPoint=ki;
|
|
var li=function(a,b,c,d){if(!(this instanceof li))return ii(li,arguments);var e=ji(li,"Rectangle",2,arguments);if(!(e instanceof I)){var f=e.coordinates;if(2!=f.length)throw Error("The Geometry.Rectangle constructor requires 2 points or 4 coordinates.");var g=f[0][0],l=f[0][1],w=f[1][0],f=f[1][1];e.coordinates=[[[g,f],[g,l],[w,l],[w,f]]];e.type="Polygon"}T.call(this,e)};x(li,T);T.Rectangle=li;
|
|
var mi=function(a,b,c,d){if(!(this instanceof mi))return ii(mi,arguments);T.call(this,ji(mi,"LineString",2,arguments))};x(mi,T);T.LineString=mi;var ni=function(a,b,c,d){if(!(this instanceof ni))return ii(ni,arguments);T.call(this,ji(ni,"LinearRing",2,arguments))};x(ni,T);T.LinearRing=ni;var oi=function(a,b,c,d){if(!(this instanceof oi))return ii(oi,arguments);T.call(this,ji(oi,"MultiLineString",3,arguments))};x(oi,T);T.MultiLineString=oi;
|
|
var pi=function(a,b,c,d,e){if(!(this instanceof pi))return ii(pi,arguments);T.call(this,ji(pi,"Polygon",3,arguments))};x(pi,T);T.Polygon=pi;var qi=function(a,b,c,d,e){if(!(this instanceof qi))return ii(qi,arguments);T.call(this,ji(qi,"MultiPolygon",4,arguments))};x(qi,T);T.MultiPolygon=qi;
|
|
T.prototype.encode=function(a){if(!this.Vb){if(!a)throw Error("Must specify an encode function when encoding a computed geometry.");return I.prototype.encode.call(this,a)}a={type:this.Vb};"GeometryCollection"==this.Vb?a.geometries=this.ie:a.coordinates=this.de;null!=this.Jc&&(a.crs={type:"name",properties:{name:this.Jc}});null!=this.vb&&(a.geodesic=this.vb);null!=this.ub&&(a.evenOdd=this.ub);return a};
|
|
T.prototype.Tc=function(){if(this.h)throw Error("Can't convert a computed Geometry to GeoJSON. Use getInfo() instead.");return this.encode()};T.prototype.toGeoJSON=T.prototype.Tc;T.prototype.Uc=function(){if(this.h)throw Error("Can't convert a computed Geometry to GeoJSON. Use getInfo() instead.");return(new Bd).w(this.Tc())};T.prototype.toGeoJSONString=T.prototype.Uc;T.prototype.w=function(){return bh(this)};T.prototype.serialize=T.prototype.w;
|
|
T.prototype.toString=function(){return"ee.Geometry("+this.Uc()+")"};
|
|
var fi=function(a){var b=a.type;if("GeometryCollection"==b){b=a.geometries;if(!q(b))return!1;for(a=0;a<b.length;a++)if(!fi(b[a]))return!1;return!0}a=a.coordinates;var c=ri(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)},ri=function(a){if(!q(a))return-1;if(q(a[0])){for(var b=ri(a[0]),c=1;c<a.length;c++)if(ri(a[c])!=b)return-1;return b+
|
|
1}for(c=0;c<a.length;c++)if(!p(a[c]))return-1;return 0==a.length%2?1:-1},ji=function(a,b,c,d){Ma(d,hh)?a={coordinates:Ua(d)}:(a=P(a,d),a.coordinates=a.coords,delete a.coords,a.crs=a.proj,delete a.proj,a=db(a,da));if(si(a.coordinates)||null!=a.crs||null!=a.maxError)return(new L("GeometryConstructors."+b)).apply(a);a.type=b;d=a.coordinates;if(1>c||4<c)throw Error("Unexpected nesting level.");if(Ma(d,p)&&p(d[0])&&2!=d.length){if(0!=d.length%2)throw Error("Invalid number of coordinates: "+d.length);for(var e=
|
|
[],f=0;f<d.length;f+=2)e.push([d[f],d[f+1]]);d=e}e=d;for(f=0;q(e);)e=e[0],f++;for(;f<c;)d=[d],f++;if(ri(d)!=c)throw Error("Invalid geometry");for(e=d;q(e)&&1==e.length;)e=e[0];c=q(e)&&0==e.length?[]:d;a.coordinates=c;(b=0<=Fa(["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},si=function(a){return q(a)?La(a,si):a instanceof I},ii=function(a,b){var c=function(){};c.prototype=a.prototype;
|
|
c=new c;a=a.apply(c,b);return void 0!==a?a:c};T.prototype.name=function(){return"Geometry"};v("ee.Deserializer",function(){});var ui=function(a){return ti(Ad(a))};v("ee.Deserializer.fromJSON",ui);var ti=function(a){var b={};if(t(a)&&"CompoundValue"==a.type){for(var c=a.scope,d=0;d<c.length;d++){var e=c[d][0],f=c[d][1];if(e in b)throw Error('Duplicate scope key "'+e+'" in scope #'+d+".");b[e]=vi(f,b)}a=a.value}return vi(a,b)};v("ee.Deserializer.decode",ti);
|
|
var vi=function(a,b){if(null===a||p(a)||"boolean"==typeof a||n(a))return a;if(q(a))return Ka(a,function(a){return vi(a,b)});if(!t(a)||r(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(!n(c))throw Error("Invalid variable name: "+c);return Zh(Object,c);case "Date":c=a.value;if(!p(c))throw Error("Invalid date value: "+c);return new bi(c/1E3);case "Bytes":return c=new Tg,
|
|
c.encode=function(){return a},c;case "Invocation":var c="functionName"in a?oh(a.functionName):vi(a["function"],b),d=eb(a.arguments,function(a){return vi(a,b)});if(c instanceof K)return c.apply(d);if(c instanceof I)return new I(c,d);throw Error("Invalid function value: "+a["function"]);case "Dictionary":return eb(a.value,function(a){return vi(a,b)});case "Function":var e=vi(a.body,b),c={name:"",args:Ka(a.argumentNames,function(a){return{name:a,type:"Object",optional:!1}}),returns:"Object"};return new Yh(c,
|
|
function(){return e});case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":case "LinearRing":case "GeometryCollection":return new T(a);case "CompoundValue":throw Error("Nested CompoundValues are disallowed.");default:throw Error("Unknown encoded object type: "+c);}};var wi=function(a){if(!(this instanceof wi))return J(wi,arguments);if(a instanceof wi)return a;xi();jh(a)?(I.call(this,null,null),this.mc=a):(a instanceof I&&a.h&&"Dictionary"==a.h.G().returns?I.call(this,a.h,a.v,a.A):I.call(this,new L("Dictionary"),{input:a},null),this.mc=null)};x(wi,I);v("ee.Dictionary",wi);var yi=!1,xi=function(){yi||(N(wi,"Dictionary","Dictionary"),yi=!0)};wi.prototype.encode=function(a){return null===this.mc?wi.j.encode.call(this,a):a(this.mc)};wi.prototype.name=function(){return"Dictionary"};var U=function(a,b){if(!(this instanceof U))return J(U,arguments);if(a instanceof U){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)");zi();if(a instanceof T||null===a)Q.call(this,new L("Feature"),{geometry:a,metadata:b||null});else if(a instanceof I)Q.call(this,a.h,a.v,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=nb(c);c["system:index"]=a.id}Q.call(this,new L("Feature"),{geometry:new T(a.geometry),metadata:c})}else Q.call(this,new L("Feature"),{geometry:new T(a),metadata:b||null})};x(U,Q);v("ee.Feature",U);var Ai=!1,zi=function(){Ai||(N(U,"Feature","Feature"),Ai=!0)};U.prototype.getInfo=U.prototype.Z;U.prototype.getMap=function(a,b){var c=P(U.prototype.getMap,arguments);return M("Collection",[this]).getMap(c.visParams,c.callback)};
|
|
U.prototype.getMap=U.prototype.getMap;U.prototype.name=function(){return"Feature"};var Bi=function(a){if(this instanceof Bi){if(1<arguments.length)throw Error("ee.List() only accepts 1 argument.");if(a instanceof Bi)return a}else return J(Bi,arguments);Ci();if(q(a))I.call(this,null,null),this.Ec=a;else if(a instanceof I)I.call(this,a.h,a.v,a.A),this.Ec=null;else throw Error("Invalid argument specified for ee.List(): "+a);};x(Bi,I);v("ee.List",Bi);var Di=!1,Ci=function(){Di||(N(Bi,"List","List"),Di=!0)};
|
|
Bi.prototype.encode=function(a){return q(this.Ec)?Ka(this.Ec,function(b){return a(b)}):Bi.j.encode.call(this,a)};Bi.prototype.name=function(){return"List"};var V=function(a,b){if(!(this instanceof V))return J(V,arguments);if(a instanceof V)return a;if(2<arguments.length)throw Error("The FeatureCollection constructor takes at most 2 arguments ("+arguments.length+" given)");Ei();a instanceof T&&(a=new U(a));a instanceof U&&(a=[a]);if(hh(a)||ih(a)){var c={tableId:a};b&&(c.geometryColumn=b);S.call(this,new L("Collection.loadTable"),c)}else if(q(a))S.call(this,new L("Collection"),{features:Ka(a,function(a){return new U(a)})});else if(a instanceof Bi)S.call(this,
|
|
new L("Collection"),{features:a});else if(a instanceof I)S.call(this,a.h,a.v,a.A);else throw Error("Unrecognized argument type to convert to a FeatureCollection: "+a);};x(V,S);v("ee.FeatureCollection",V);var Fi=!1,Ei=function(){Fi||(N(V,"FeatureCollection","FeatureCollection"),Fi=!0)};V.prototype.getMap=function(a,b){var c=P(V.prototype.getMap,arguments),d=ph("Collection.draw",{collection:this,color:(c.visParams||{}).color||"000000"});if(c.callback)d.getMap(null,c.callback);else return d.getMap()};
|
|
V.prototype.getMap=V.prototype.getMap;V.prototype.getInfo=V.prototype.Z;V.prototype.sa=function(a,b,c,d){var e=P(V.prototype.sa,arguments),f={};f.table=this.w();e.format&&(f.format=e.format.toUpperCase());e.filename&&(f.filename=e.filename);if(e.selectors){var g=e.selectors;ea(g)&&(g=g.join(","));f.selectors=g}if(e.callback)gg(f,function(a,b){a?e.callback(hg(a)):e.callback(null,b)});else return hg(gg(f))};V.prototype.getDownloadURL=V.prototype.sa;
|
|
V.prototype.select=function(a,b){var c=arguments;return this.map(function(a){return a.select.apply(a,c)})};V.prototype.select=V.prototype.select;V.prototype.name=function(){return"FeatureCollection"};V.prototype.elementType=function(){return U};var W=function(a){if(!(this instanceof W))return J(W,arguments);if(a instanceof W)return a;Gi();var b=arguments.length;if(0==b||1==b&&!m(a))Q.call(this,new L("Image.mask"),{image:new W(0),mask:new W(0)});else if(1==b)if(hh(a))Q.call(this,new L("Image.constant"),{value:a});else if(ih(a))Q.call(this,new L("Image.load"),{id:a});else{if(q(a))return Hi(Ka(a,function(a){return new W(a)}));if(a instanceof I)"Array"==a.name()?Q.call(this,new L("Image.constant"),{value:a}):Q.call(this,a.h,a.v,a.A);else throw Error("Unrecognized argument type to convert to an Image: "+
|
|
a);}else if(2==b){var b=arguments[0],c=arguments[1];if(ih(b)&&hh(c))Q.call(this,new L("Image.load"),{id:b,version:c});else throw Error("Unrecognized argument types to convert to an Image: "+arguments);}else throw Error("The Image constructor takes at most 2 arguments ("+b+" given)");};x(W,Q);v("ee.Image",W);var Ii=!1,Gi=function(){Ii||(N(W,"Image","Image"),N(W,"Window","Image","focal_"),Ii=!0)};W.prototype.getInfo=W.prototype.Z;
|
|
W.prototype.getMap=function(a,b){var c=P(W.prototype.getMap,arguments),d=c.visParams?nb(c.visParams):{};d.image=this.w();if(c.callback)$f(d,u(function(a,b){a&&(a.image=this);c.callback(a,b)},this));else return d=$f(d),d.image=this,d};W.prototype.getMap=W.prototype.getMap;W.prototype.sa=function(a,b){var c=P(W.prototype.sa,arguments),d=c.params?nb(c.params):{};d.image=this.w();if(c.callback){var e=c.callback;eg(d,function(a,b){a?e(fg(a)):e(null,b)})}else return fg(eg(d))};
|
|
W.prototype.getDownloadURL=W.prototype.sa;W.prototype.vc=function(a,b){var c=P(W.prototype.vc,arguments),d=c.params?nb(c.params):{};d.image=this.w();if(d.region)if(q(d.region)||jh(d.region))d.region=Cd(d.region);else if(!n(d.region))throw Error("The region parameter must be an array or a GeoJSON object.");if(c.callback)cg(d,function(a,b){var d="";if(!m(b))try{d=dg(a)}catch(l){b=String(l.message)}c.callback(d,b)});else return dg(cg(d))};W.prototype.getThumbURL=W.prototype.vc;
|
|
var Ji=function(a,b,c){var d=P(Ji,arguments);return Hi([d.r,d.g,d.b],["vis-red","vis-green","vis-blue"])};W.rgb=Ji;var Ki=function(a){return Hi(Array.prototype.slice.call(arguments),null)};W.cat=Ki;var Hi=function(a,b){if(0==a.length)return M("Image.constant",[]);for(var c=new W(a[0]),d=1;d<a.length;d++)c=M("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||ih(b[0])||hh(b[0])){for(var d=0;d<b.length;d++)if(!(ih(b[d])||hh(b[d])||b[d]instanceof I))throw Error("Illegal argument to select(): "+b[d]);c.bandSelectors=b}else b[1]&&(c.newNames=b[1]);return ph("Image.select",c)};W.prototype.select=W.prototype.select;
|
|
W.prototype.pc=function(a,b){var c=P(W.prototype.pc,arguments),d=["DEFAULT_EXPRESSION_IMAGE"],e={DEFAULT_EXPRESSION_IMAGE:this};if(c.map){var f=c.map,g;for(g in f)d.push(g),e[g]=new W(f[g])}var l=M("Image.parseExpression",c.expression,"DEFAULT_EXPRESSION_IMAGE",d),c=new K;c.encode=function(a){return l.encode(a)};c.G=function(){return{name:"",args:Ka(d,function(a){return{name:a,type:"Image",optional:!1}},this),returns:"Image"}};return c.apply(e)};W.prototype.expression=W.prototype.pc;
|
|
W.prototype.clip=function(a){try{a=new T(a)}catch(b){}return M("Image.clip",this,a)};W.prototype.clip=W.prototype.clip;W.prototype.Ld=function(a){var b=1!=arguments.length||ih(arguments[0])?Ua(arguments):arguments[0];return M("Image.rename",this,b)};W.prototype.rename=W.prototype.Ld;W.prototype.name=function(){return"Image"};var X=function(a){if(!(this instanceof X))return J(X,arguments);if(a instanceof X)return a;if(1!=arguments.length)throw Error("The ImageCollection constructor takes exactly 1 argument ("+arguments.length+" given)");Li();a instanceof W&&(a=[a]);if(ih(a))S.call(this,new L("ImageCollection.load"),{id:a});else if(q(a))S.call(this,new L("ImageCollection.fromImages"),{images:Ka(a,function(a){return new W(a)})});else if(a instanceof Bi)S.call(this,new L("ImageCollection.fromImages"),{images:a});else if(a instanceof
|
|
I)S.call(this,a.h,a.v,a.A);else throw Error("Unrecognized argument type to convert to an ImageCollection: "+a);};x(X,S);v("ee.ImageCollection",X);var Mi=!1,Li=function(){Mi||(N(X,"ImageCollection","ImageCollection"),N(X,"reduce","ImageCollection"),Mi=!0)};X.prototype.getMap=function(a,b){var c=P(X.prototype.getMap,arguments),d=M("ImageCollection.mosaic",this);if(c.callback)d.getMap(c.visParams,c.callback);else return d.getMap(c.visParams)};X.prototype.getMap=X.prototype.getMap;
|
|
X.prototype.getInfo=X.prototype.Z;X.prototype.select=function(a,b){var c=arguments;return this.map(function(a){return a.select.apply(a,c)})};X.prototype.select=X.prototype.select;X.prototype.name=function(){return"ImageCollection"};X.prototype.elementType=function(){return W};var Ni={};v("ee.Terrain",Ni);Ni.zc=!1;Ni.le=function(){Ni.zc||(N(Ni,"Terrain","Terrain"),Ni.zc=!0)};Ni.reset=function(){O(Ni);Ni.zc=!1};var Ti=function(a,b,c,d,e){if("ready"!=Oi||a||b){var f=null!=c;if(d)if(f)Pi.push(d);else throw Error("Can't pass an error callback without a success callback.");if("loading"==Oi&&f)Qi.push(c);else if(Oi="loading",Tf(a,b,e),f)Qi.push(c),sh(Ri,Si);else try{sh(),Ri()}catch(g){throw Si(g),g;}}else c&&c()};v("ee.initialize",Ti);
|
|
var Xi=function(){Oi="not_ready";Sf=Rf=Pf=null;Qf=!1;qh=null;rh={};O(bi);di=!1;O(wi);yi=!1;O(Q);Ah=!1;O(W);Ii=!1;O(U);Ai=!1;O(S);Rh=!1;O(X);Mi=!1;O(V);Fi=!1;O(R);Ch=!1;O(T);gi=!1;O(Bi);Di=!1;O(Sh);Uh=!1;O(Vh);Xh=!1;Ni.reset();for(var a=k.ee,b=0;b<Ui.length;b++){var c=Ui[b];O(a[c]);delete a[c]}Ui=[];eh=a;var a=Wi,d;for(d in a)delete a[d]};v("ee.reset",Xi);var Yi={He:"not_ready",LOADING:"loading",Ie:"ready"};v("ee.InitState",Yi);v("ee.InitState.NOT_READY","not_ready");v("ee.InitState.LOADING","loading");
|
|
v("ee.InitState.READY","ready");var Oi="not_ready",Qi=[],Pi=[];v("ee.TILE_SIZE",256);var Ui=[],Wi={};v("ee.Algorithms",Wi);var Zi=function(a,b){n(a)&&(a=new L(a));return K.prototype.call.apply(a,Array.prototype.slice.call(arguments,1))};v("ee.call",Zi);var $i=function(a,b){n(a)&&(a=new L(a));return a.apply(b)};v("ee.apply",$i);
|
|
var Ri=function(){if("loading"==Oi){try{ci();xi();zh();Gi();zi();Qh();Li();Ei();Bh();ei();Ci();Th();Wh();Ni.le();var a=th(),b={},c={},d;for(d in a){b[-1!=d.indexOf(".")?d.slice(0,d.indexOf(".")):d]=!0;var e=a[d].returns.replace(/<.*>/,"");c[e]=!0}var f=k.ee,g;for(g in b)g in c&&!(g in f)&&(f[g]=aj(g),Ui.push(g),a[g]?(f[g].signature=a[g],f[g].signature.isConstructor=!0,rh[g]=!0):f[g].signature={});eh=f;bj()}catch(l){Si(l);return}Oi="ready";for(Pi=[];0<Qi.length;)Qi.shift()()}},Si=function(a){if("loading"==
|
|
Oi)for(Oi="not_ready",Qi=[];0<Pi.length;)Pi.shift()(a)},bj=function(){var a=uh();hb(a).sort().forEach(function(b){var c=a[b],d=c.G();if(!d.hidden){b=b.split(".");var e=Wi;for(e.signature={};1<b.length;){var f=b[0];f in e||(e[f]={signature:{}});e=e[f];b=Wa(b,1)}f=function(a){return nh(c,void 0,Array.prototype.slice.call(arguments,0))};f.signature=d;f.toString=u(c.toString,c);e[b[0]]=f}})},aj=function(a){var b=function(b){var c=k.ee[a],e=Array.prototype.slice.call(arguments),f=1==e.length;if(f&&e[0]instanceof
|
|
c)return e[0];if(!(this instanceof c))return J(c,e);var c=vh(a),g=!(e[0]instanceof I),l=!1;c&&(f?g?l=!0:e[0].h!=c&&(l=!0):l=!0);if(l)I.call(this,c,mh(c,lh(c,e)));else{if(!f)throw Error("Too many arguments for ee."+a+"(): "+e);if(g)throw Error("Invalid argument for ee."+a+"(): "+e+". Must be a ComputedObject.");e=e[0];I.call(this,e.h,e.v,e.A)}};x(b,I);b.prototype.name=function(){return a};N(b,a,a);return b},kh=function(a,b){if(null===a)return null;if(m(a)){var c=k.ee;switch(b){case "Image":return new W(a);
|
|
case "Feature":return a instanceof S?M("Feature",M("Collection.geometry",a)):new U(a);case "Element":if(a instanceof Q)return a;if(a instanceof T)return new U(a);if(a instanceof I)return new Q(a.h,a.v,a.A);throw Error("Cannot convert "+a+" to Element.");case "Geometry":return a instanceof V?M("Collection.geometry",a):new T(a);case "FeatureCollection":case "Collection":return a instanceof S?a:new V(a);case "ImageCollection":return new X(a);case "Filter":return new R(a);case "Algorithm":if(n(a))return new L(a);
|
|
if(r(a)){b=a.length;for(var c=[],d=0;d<b;d++)c[d]="Object";return ai(a,c)}if(a instanceof Tg)return a;throw Error("Argument is not a function: "+a);case "String":return ih(a)||a instanceof Vh||a instanceof I?new Vh(a):a;case "Dictionary":return jh(a)?a:new wi(a);case "List":return new Bi(a);case "Number":case "Float":case "Long":case "Integer":case "Short":case "Byte":return new Sh(a);default:if(b in c){d=vh(b);if(a instanceof c[b])return a;if(d)return new c[b](a);if(n(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 cj=function(a,b,c){Qg.call(this,a,b,c);this.tileSize=new google.maps.Size(256,256);this.od=new D;this.nd=new D};x(cj,Qg);v("ee.FloatTileOverlay",cj);cj.prototype.getTile=function(a,b){var c=Rg(this,a,b);b=[this.url,c].join("/")+"?token="+this.Sb;c=[c,this.na,this.Sb].join("/");this.pa.push(c);this.na+=1;var d=Ee("DIV");dj(this,b,a,c,d);ej(this);return d};
|
|
var dj=function(a,b,c,d,e){var f=Ld();f.open("GET",b,!0);f.responseType="arraybuffer";f.onreadystatechange=u(function(){if(f.readyState===XMLHttpRequest.DONE&&200===f.status){var a=f.response;if(a)a=new Float32Array(a),this.od.set(c,a),this.nd.set(c,e),Sa(this.pa,d),ej(this);else throw this.Rc.add(d),Error("Unable to request floating point array buffers.");}},a);f.send()},ej=function(a){a.dispatchEvent(new Sg(a.pa.length))};cj.prototype.c=function(){this.nd=this.od=null;cj.j.c.call(this)};var Y=function(){C.call(this);this.Tb=new fj(0,60);this.Ma=new D};x(Y,C);v("ee.MapTileManager",Y);Y.Ac=void 0;Y.qd=function(){return Y.Ac?Y.Ac:Y.Ac=new Y};Y.prototype.send=function(a,b,c,d,e){if(this.Ma.get(a))throw Error("[ee.MapTileManager] ID in use");b=new gj(a,b,d,u(this.Kd,this),m(e)?e:1);this.Ma.set(a,b);a=u(this.wc,this,b);this.Tb.Xa(a,c);return b};Y.prototype.abort=function(a){if(a=this.Ma.get(a))a.Ca||(a.Ca=!0,a.R=new B("abort")),this.Kd(a)};
|
|
Y.prototype.wc=function(a,b){if(a.F||a.Ca)hj(this,b);else if(a.jb=b,b.setActive(!0),b=new Ig,a.F=b,!ij(a))throw Error("Cannot dispatch first request!");};Y.prototype.Kd=function(a){this.Ma.remove(a.getId());a.F&&(hj(this,a.jb),a.F.W());a.xc&&a.xc(a.R,a.Jd)};var hj=function(a,b){b.setActive(!1);if(!Bg(a.Tb,b))throw Error("Object not released");};Y.prototype.c=function(){Y.j.c.call(this);this.Tb.W();this.Tb=null;var a=this.Ma;Ha(a.u(),function(a){a.W()});a.clear();this.Ma=null};
|
|
var gj=function(a,b,c,d,e){A.call(this);this.da=a;this.Vc=b;this.se=m(e)?e:1;this.xc=c;this.xa=d};x(gj,A);h=gj.prototype;h.Yc=0;h.Ca=!1;h.F=null;h.jb=null;h.R=null;h.Jd=null;var jj=["load","abort","error"];gj.prototype.getId=function(){return this.da};gj.prototype.getUrl=function(){return this.Vc};gj.prototype.ke=function(a){if(this.Ca)this.xa&&this.xa(this);else switch(a.type){case "load":this.R=a;this.xa&&this.xa(this);break;case "error":case "abort":ij(this)||(this.R=a,this.xa&&this.xa(this))}};
|
|
gj.prototype.c=function(){gj.j.c.call(this);delete this.xc;delete this.xa};var ij=function(a){if(a.Yc>a.se)return!1;a.Yc++;Lg(a.F,a.da);setTimeout(u(a.Be,a),0);return!0};
|
|
gj.prototype.Be=function(){if(!this.Ca){var a=u(function(a){this.Ca||(Kg(this.F,this.da,a),cc(this.F,jj,u(this.ke,this)),this.F.start())},this),b=this.getUrl();if(vf(b).U.ia("profiling")){var c=new E;c.Na="blob";c.$("complete",u(function(){this.Jd=c.getResponseHeader("X-Earth-Engine-Computation-Profile")||null;if(200<=c.getStatus()&&300>c.getStatus())try{var d=URL.createObjectURL(ke(c))}catch(e){}a(d||b)},this));c.eb("ready",u(c.W,c));c.send(b,"GET")}else a(b)}};var kj=function(){this.O=!1};
|
|
x(kj,A);kj.prototype.setActive=function(a){this.O=a};kj.prototype.xd=function(){return this.O};var fj=function(a,b){Dg.call(this,a,b)};x(fj,Dg);fj.prototype.kc=function(){return new kj};fj.prototype.qb=function(a){a.W()};fj.prototype.Gc=function(a){return!a.X&&!a.xd()};var Z=function(a,b,c,d,e){Qg.call(this,a,b,c);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.Cb=m(d.Cb)?d.Cb:!0;this.name=d.name;this.Sc=new H;this.Hc=1;this.K=e||null};x(Z,Qg);v("ee.MapLayerOverlay",Z);Z.prototype.dc=function(a){return Wb(this,"tileevent",a)};Z.prototype.addTileCallback=Z.prototype.dc;Z.prototype.Kc=function(a){ec(a)};
|
|
Z.prototype.removeTileCallback=Z.prototype.Kc;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=Rg(this,a,b);a=[this.url,b].join("/")+"?token="+this.Sb;this.K&&this.K.isEnabled()&&(a+="&profiling=1");b=[b,this.na,this.Sb].join("/");this.na+=1;c=Ee("DIV",{id:b});var d=(new Date).getTime()/1E3;this.pa.push(b);Y.qd().send(b,a,d,u(this.je,this,c,b));ej(this);return c};Z.prototype.uc=function(){return this.pa.length};
|
|
Z.prototype.releaseTile=function(a){Y.qd().abort(a.id);this.Sc.remove(m(a.firstElementChild)?a.firstElementChild:Ie(a.firstChild));""!==a.id&&(this.Rc.remove(a.id),this.K&&this.K.ye(a.id))};Z.prototype.setOpacity=function(a){this.Hc=a;var b=this.Sc.Ba();yd(b,function(b){Le(b,a)})};Z.prototype.getTile=Z.prototype.getTile;Z.prototype.setOpacity=Z.prototype.setOpacity;Z.prototype.releaseTile=Z.prototype.releaseTile;
|
|
Z.prototype.je=function(a,b,c,d){"error"==c.type?(Sa(this.pa,b),this.Rc.add(b),this.dispatchEvent(c)):(Sa(this.pa,b),c.target&&"load"==c.type&&(c=c.target,this.Sc.add(c),1!=this.Hc&&Le(c,this.Hc),a.appendChild(c)),ej(this));this.K&&null!==d&&this.K.Xd(b,d)};var lj=function(a,b){if(!(this instanceof lj))return new lj(a,b);this.ea=a;this.ma=b};x(lj,K);v("ee.SavedFunction",lj);lj.prototype.encode=function(a){return M("LoadAlgorithmById",this.ea).encode(a)};lj.prototype.G=function(){return this.ma};(function(){var a={},b="ee.ImageCollection.prototype.select ee.data.authenticate ee.data.setAuthToken ee.Image.prototype.getThumbURL ee.Image ee.Collection.prototype.filterBounds ee.Geometry.MultiPolygon ee.data.getList ee.String ee.data.getValue ee.data.getTableDownloadId ee.ComputedObject.prototype.aside ee.Geometry.prototype.toGeoJSON ee.ImageCollection.prototype.getInfo ee.Collection.prototype.map ee.Collection.prototype.filter ee.List ee.call ee.Filter.metadata ee.Date ee.Collection.prototype.filterMetadata ee.Serializer.toJSON ee.Filter.gt ee.Image.rgb ee.Deserializer.fromJSON ee.Feature ee.Geometry.LineString ee.Filter.lt ee.Collection.prototype.limit ee.Terrain ee.Geometry.MultiPoint ee.ApiFunction._apply ee.Number ee.data.getAuthClientId ee.Filter.and ee.Image.prototype.rename ee.Image.prototype.clip ee.data.makeTableDownloadUrl ee.reset ee.Serializer.toReadableJSON ee.Serializer.encode ee.Geometry.Point ee.data.getAuthScopes ee.Filter.bounds ee.Image.prototype.getMap ee.Filter ee.Filter.or ee.Filter.prototype.not ee.data.getDownloadId ee.Image.prototype.getInfo ee.Deserializer.decode ee.data.getXsrfToken ee.Collection.prototype.filterDate ee.data.getAuthToken ee.Function.prototype.apply ee.Geometry.MultiLineString ee.Algorithms ee.ComputedObject.prototype.getInfo ee.data.getThumbId ee.Function.prototype.call ee.Geometry.LinearRing ee.FeatureCollection.prototype.getInfo ee.Image.prototype.select ee.Geometry ee.FeatureCollection.prototype.select ee.Geometry.Rectangle ee.data.authenticateViaPopup ee.ApiFunction._call ee.Geometry.prototype.toGeoJSONString ee.data.makeThumbUrl ee.data.makeDownloadUrl ee.Filter.lte ee.Image.prototype.expression ee.Collection.prototype.iterate ee.data.getTileBaseUrl ee.Geometry.prototype.serialize ee.ComputedObject.prototype.serialize ee.Feature.prototype.getMap ee.ImageCollection.prototype.getMap ee.FeatureCollection.prototype.getMap ee.data.getMapId ee.Filter.gte ee.apply ee.FeatureCollection ee.data.clearAuthToken ee.Element.prototype.set ee.Image.cat ee.Geometry.Polygon ee.data.setAuthTokenRefresher ee.InitState ee.Feature.prototype.getInfo ee.data.getApiBaseUrl ee.Filter.date ee.TILE_SIZE ee.initialize ee.ComputedObject.prototype.evaluate ee.FeatureCollection.prototype.getDownloadURL ee.Filter.neq ee.ImageCollection ee.data.getInfo ee.Filter.eq ee.Dictionary ee.data.setDeadline ee.Collection.prototype.sort ee.Image.prototype.getDownloadURL ee.ApiFunction.lookup ee.data.getTileUrl ee.Filter.inList".split(" "),
|
|
c=[["selectors","opt_names"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],"clientId tokenType accessToken expiresIn opt_extraScopes opt_callback opt_updateAuthLibrary".split(" "),["params","opt_callback"],["opt_args"],["geometry"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["params","opt_callback"],["string"],["params","opt_callback"],["params","opt_callback"],["func","var_args"],[],["opt_callback"],["algorithm","opt_dropNulls"],["newFilter"],
|
|
["list"],["func","var_args"],["name","operator","value"],["date","opt_tz"],["name","operator","value"],["obj"],["name","value"],["r","g","b"],["json"],["geometry","opt_properties"],["coords","opt_proj","opt_geodesic","opt_maxError"],["name","value"],["max","opt_property","opt_ascending"],[],["coords","opt_proj"],["name","namedArgs"],["number"],[],["var_args"],["var_args"],["geometry"],["id"],[],["obj"],["obj","opt_isCompound"],["coords","opt_proj"],[],["geometry","opt_errorMargin"],["opt_visParams",
|
|
"opt_callback"],["opt_filter"],["var_args"],[],["params","opt_callback"],["opt_callback"],["json"],[],["start","opt_end"],[],["namedArgs"],["coords","opt_proj","opt_geodesic","opt_maxError"],[],["opt_callback"],["params","opt_callback"],["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError"],["opt_callback"],["var_args"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["selectors","opt_names"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["opt_success","opt_error"],["name","var_args"],
|
|
[],["id"],["id"],["name","value"],["expression","opt_map"],["algorithm","opt_first"],[],[],[],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["opt_visParams","opt_callback"],["params","opt_callback"],["name","value"],["func","namedArgs"],["args","opt_column"],[],["var_args"],["var_args"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["refresher"],[],["opt_callback"],[],["start","opt_end"],[],["opt_baseurl","opt_tileurl","opt_successCallback","opt_errorCallback",
|
|
"opt_xsrfToken"],["callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["name","value"],["args"],["id","opt_callback"],["name","value"],["opt_dict"],["milliseconds"],["property","opt_ascending"],["params","opt_callback"],["name"],["mapid","x","y","z"],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"]];[X.prototype.select,Ff,Hf,W.prototype.vc,W,S.prototype.md,qi,ng,Vh,bg,gg,I.prototype.Xc,T.prototype.Tc,X.prototype.Z,S.prototype.map,S.prototype.filter,Bi,Zi,Ph,
|
|
bi,S.prototype.rc,bh,Ih,Ji,ui,U,mi,Gh,S.prototype.limit,Ni,ki,ph,Sh,Nf,Kh,W.prototype.Ld,W.prototype.clip,hg,Xi,ch,ah,hi,Of,Oh,W.prototype.getMap,R,Lh,R.prototype.Ia,eg,W.prototype.Z,ti,Zf,S.prototype.qc,Mf,K.prototype.apply,oi,Wi,I.prototype.Z,cg,K.prototype.call,ni,V.prototype.Z,W.prototype.select,T,V.prototype.select,li,Ef,M,T.prototype.Uc,dg,fg,Jh,W.prototype.pc,S.prototype.yd,Yf,T.prototype.w,I.prototype.w,U.prototype.getMap,X.prototype.getMap,V.prototype.getMap,$f,Hh,$i,V,Lf,Q.prototype.set,
|
|
Ki,pi,Jf,Yi,U.prototype.Z,Xf,Mh,256,Ti,I.prototype.evaluate,V.prototype.sa,Fh,X,mg,Eh,wi,Vf,S.prototype.sort,W.prototype.sa,oh,ag,Nh].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});k.EXPORTED_FN_INFO=a})();}).call(this);
|