Eduardo Poyart ccdcad46e9 v0.1.130
2018-01-16 10:18:46 -08:00

237 lines
126 KiB
JavaScript

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