UNPKG

@senx/discovery-plugin-marauder

Version:

Discovery plugin - Marauder's map

1 lines 117 kB
var __awaiter=this&&this.__awaiter||function(t,e,i,r){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,a){function o(t){try{l(r.next(t))}catch(t){a(t)}}function s(t){try{l(r["throw"](t))}catch(t){a(t)}}function l(t){t.done?i(t.value):n(t.value).then(o,s)}l((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return l([t,e])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-7d8b9e81.js";import{l as leafletSrc,L as Leaflet,d as domtoimage}from"./leaflet-src-a309271f.js";import{c as commonjsGlobal,G as GTSLib,L as Logger,l as lodash}from"./lodash-d98cd4b5.js";import"./index-fa9adbe6.js";import{P as Param,U as Utils}from"./utils-2db7dc60.js";import{a as DataModel}from"./types-7e267e33.js";import{C as ColorLib}from"./color-lib-3865b9f3.js";import{M as MapLib}from"./map-lib-24adbca8.js";var UPNG={};UPNG.toRGBA8=function(t){var e=t.width,i=t.height;if(t.tabs.acTL==null)return[UPNG.toRGBA8.decodeImage(t.data,e,i,t).buffer];var r=[];if(t.frames[0].data==null)t.frames[0].data=t.data;var n=e*i*4,a=new Uint8Array(n),o=new Uint8Array(n),s=new Uint8Array(n);for(var l=0;l<t.frames.length;l++){var f=t.frames[l];var u=f.rect.x,h=f.rect.y,d=f.rect.width,c=f.rect.height;var v=UPNG.toRGBA8.decodeImage(f.data,d,c,t);if(l!=0)for(var p=0;p<n;p++)s[p]=a[p];if(f.blend==0)UPNG._copyTile(v,d,c,a,e,i,u,h,0);else if(f.blend==1)UPNG._copyTile(v,d,c,a,e,i,u,h,1);r.push(a.buffer.slice(0));if(f.dispose==0);else if(f.dispose==1)UPNG._copyTile(o,d,c,a,e,i,u,h,0);else if(f.dispose==2)for(var p=0;p<n;p++)a[p]=s[p]}return r};UPNG.toRGBA8.decodeImage=function(t,e,i,r){var n=e*i,a=UPNG.decode._getBPP(r);var o=Math.ceil(e*a/8);var s=new Uint8Array(n*4),l=new Uint32Array(s.buffer);var f=r.ctype,u=r.depth;var h=UPNG._bin.readUshort;if(f==6){var d=n<<2;if(u==8)for(var c=0;c<d;c+=4){s[c]=t[c];s[c+1]=t[c+1];s[c+2]=t[c+2];s[c+3]=t[c+3]}if(u==16)for(var c=0;c<d;c++){s[c]=t[c<<1]}}else if(f==2){var v=r.tabs["tRNS"];if(v==null){if(u==8)for(var c=0;c<n;c++){var p=c*3;l[c]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p]}if(u==16)for(var c=0;c<n;c++){var p=c*6;l[c]=255<<24|t[p+4]<<16|t[p+2]<<8|t[p]}}else{var b=v[0],m=v[1],g=v[2];if(u==8)for(var c=0;c<n;c++){var w=c<<2,p=c*3;l[c]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p];if(t[p]==b&&t[p+1]==m&&t[p+2]==g)s[w+3]=0}if(u==16)for(var c=0;c<n;c++){var w=c<<2,p=c*6;l[c]=255<<24|t[p+4]<<16|t[p+2]<<8|t[p];if(h(t,p)==b&&h(t,p+2)==m&&h(t,p+4)==g)s[w+3]=0}}}else if(f==3){var x=r.tabs["PLTE"],U=r.tabs["tRNS"],y=U?U.length:0;if(u==1)for(var N=0;N<i;N++){var k=N*o,A=N*e;for(var c=0;c<e;c++){var w=A+c<<2,S=t[k+(c>>3)]>>7-((c&7)<<0)&1,P=3*S;s[w]=x[P];s[w+1]=x[P+1];s[w+2]=x[P+2];s[w+3]=S<y?U[S]:255}}if(u==2)for(var N=0;N<i;N++){var k=N*o,A=N*e;for(var c=0;c<e;c++){var w=A+c<<2,S=t[k+(c>>2)]>>6-((c&3)<<1)&3,P=3*S;s[w]=x[P];s[w+1]=x[P+1];s[w+2]=x[P+2];s[w+3]=S<y?U[S]:255}}if(u==4)for(var N=0;N<i;N++){var k=N*o,A=N*e;for(var c=0;c<e;c++){var w=A+c<<2,S=t[k+(c>>1)]>>4-((c&1)<<2)&15,P=3*S;s[w]=x[P];s[w+1]=x[P+1];s[w+2]=x[P+2];s[w+3]=S<y?U[S]:255}}if(u==8)for(var c=0;c<n;c++){var w=c<<2,S=t[c],P=3*S;s[w]=x[P];s[w+1]=x[P+1];s[w+2]=x[P+2];s[w+3]=S<y?U[S]:255}}else if(f==4){if(u==8)for(var c=0;c<n;c++){var w=c<<2,M=c<<1,z=t[M];s[w]=z;s[w+1]=z;s[w+2]=z;s[w+3]=t[M+1]}if(u==16)for(var c=0;c<n;c++){var w=c<<2,M=c<<2,z=t[M];s[w]=z;s[w+1]=z;s[w+2]=z;s[w+3]=t[M+2]}}else if(f==0){var b=r.tabs["tRNS"]?r.tabs["tRNS"]:-1;for(var N=0;N<i;N++){var G=N*o,E=N*e;if(u==1)for(var T=0;T<e;T++){var z=255*(t[G+(T>>>3)]>>>7-(T&7)&1),L=z==b*255?0:255;l[E+T]=L<<24|z<<16|z<<8|z}else if(u==2)for(var T=0;T<e;T++){var z=85*(t[G+(T>>>2)]>>>6-((T&3)<<1)&3),L=z==b*85?0:255;l[E+T]=L<<24|z<<16|z<<8|z}else if(u==4)for(var T=0;T<e;T++){var z=17*(t[G+(T>>>1)]>>>4-((T&1)<<2)&15),L=z==b*17?0:255;l[E+T]=L<<24|z<<16|z<<8|z}else if(u==8)for(var T=0;T<e;T++){var z=t[G+T],L=z==b?0:255;l[E+T]=L<<24|z<<16|z<<8|z}else if(u==16)for(var T=0;T<e;T++){var z=t[G+(T<<1)],L=h(t,G+(T<<c))==b?0:255;l[E+T]=L<<24|z<<16|z<<8|z}}}return s};UPNG.decode=function(t){var e=new Uint8Array(t),i=8,r=UPNG._bin,n=r.readUshort,a=r.readUint;var o={tabs:{},frames:[]};var s=new Uint8Array(e.length),l=0;var f,u=0;var h=[137,80,78,71,13,10,26,10];for(var d=0;d<8;d++)if(e[d]!=h[d])throw"The input is not a PNG file!";while(i<e.length){var c=r.readUint(e,i);i+=4;var v=r.readASCII(e,i,4);i+=4;if(v=="IHDR"){UPNG.decode._IHDR(e,i,o)}else if(v=="CgBI"){o.tabs[v]=e.slice(i,i+4)}else if(v=="IDAT"){for(var d=0;d<c;d++)s[l+d]=e[i+d];l+=c}else if(v=="acTL"){o.tabs[v]={num_frames:a(e,i),num_plays:a(e,i+4)};f=new Uint8Array(e.length)}else if(v=="fcTL"){if(u!=0){var p=o.frames[o.frames.length-1];p.data=UPNG.decode._decompress(o,f.slice(0,u),p.rect.width,p.rect.height);u=0}var b={x:a(e,i+12),y:a(e,i+16),width:a(e,i+4),height:a(e,i+8)};var m=n(e,i+22);m=n(e,i+20)/(m==0?100:m);var g={rect:b,delay:Math.round(m*1e3),dispose:e[i+24],blend:e[i+25]};o.frames.push(g)}else if(v=="fdAT"){for(var d=0;d<c-4;d++)f[u+d]=e[i+d+4];u+=c-4}else if(v=="pHYs"){o.tabs[v]=[r.readUint(e,i),r.readUint(e,i+4),e[i+8]]}else if(v=="cHRM"){o.tabs[v]=[];for(var d=0;d<8;d++)o.tabs[v].push(r.readUint(e,i+d*4))}else if(v=="tEXt"||v=="zTXt"){if(o.tabs[v]==null)o.tabs[v]={};var w=r.nextZero(e,i);var x=r.readASCII(e,i,w-i);var U,y=i+c-w-1;if(v=="tEXt")U=r.readASCII(e,w+1,y);else{var N=UPNG.decode._inflate(e.slice(w+2,w+2+y));U=r.readUTF8(N,0,N.length)}o.tabs[v][x]=U}else if(v=="iTXt"){if(o.tabs[v]==null)o.tabs[v]={};var w=0,k=i;w=r.nextZero(e,k);var x=r.readASCII(e,k,w-k);k=w+1;var A=e[k];k+=2;w=r.nextZero(e,k);r.readASCII(e,k,w-k);k=w+1;w=r.nextZero(e,k);r.readUTF8(e,k,w-k);k=w+1;var U,y=c-(k-i);if(A==0)U=r.readUTF8(e,k,y);else{var N=UPNG.decode._inflate(e.slice(k,k+y));U=r.readUTF8(N,0,N.length)}o.tabs[v][x]=U}else if(v=="PLTE"){o.tabs[v]=r.readBytes(e,i,c)}else if(v=="hIST"){var S=o.tabs["PLTE"].length/3;o.tabs[v]=[];for(var d=0;d<S;d++)o.tabs[v].push(n(e,i+d*2))}else if(v=="tRNS"){if(o.ctype==3)o.tabs[v]=r.readBytes(e,i,c);else if(o.ctype==0)o.tabs[v]=n(e,i);else if(o.ctype==2)o.tabs[v]=[n(e,i),n(e,i+2),n(e,i+4)]}else if(v=="gAMA")o.tabs[v]=r.readUint(e,i)/1e5;else if(v=="sRGB")o.tabs[v]=e[i];else if(v=="bKGD"){if(o.ctype==0||o.ctype==4)o.tabs[v]=[n(e,i)];else if(o.ctype==2||o.ctype==6)o.tabs[v]=[n(e,i),n(e,i+2),n(e,i+4)];else if(o.ctype==3)o.tabs[v]=e[i]}else if(v=="IEND"){break}i+=c;r.readUint(e,i);i+=4}if(u!=0){var p=o.frames[o.frames.length-1];p.data=UPNG.decode._decompress(o,f.slice(0,u),p.rect.width,p.rect.height);u=0}o.data=UPNG.decode._decompress(o,s,o.width,o.height);delete o.compress;delete o.interlace;delete o.filter;return o};UPNG.decode._decompress=function(t,e,i,r){var n=UPNG.decode._getBPP(t),a=Math.ceil(i*n/8),o=new Uint8Array((a+1+t.interlace)*r);if(t.tabs["CgBI"])e=UPNG.inflateRaw(e,o);else e=UPNG.decode._inflate(e,o);if(t.interlace==0)e=UPNG.decode._filterZero(e,t,0,i,r);else if(t.interlace==1)e=UPNG.decode._readInterlace(e,t);return e};UPNG.decode._inflate=function(t,e){var i=UPNG["inflateRaw"](new Uint8Array(t.buffer,2,t.length-6),e);return i};UPNG.inflateRaw=function(){var t={};t.H={};t.H.N=function(e,i){var r=Uint8Array,n=0,a=0,o=0,s=0,l=0,f=0,u=0,h=0,d=0,c,v;if(e[0]==3&&e[1]==0)return i?i:new r(0);var p=t.H,b=p.b,m=p.e,g=p.R,w=p.n,x=p.A,U=p.Z,y=p.m,N=i==null;if(N)i=new r(e.length>>>2<<6);while(n==0){n=b(e,d,1);a=b(e,d+1,2);d+=3;if(a==0){if((d&7)!=0)d+=8-(d&7);var k=(d>>>3)+4,A=e[k-4]|e[k-3]<<8;if(N)i=t.H.W(i,h+A);i.set(new r(e.buffer,e.byteOffset+k,A),h);d=k+A<<3;h+=A;continue}if(N)i=t.H.W(i,h+(1<<17));if(a==1){c=y.J;v=y.h;f=(1<<9)-1;u=(1<<5)-1}if(a==2){o=m(e,d,5)+257;s=m(e,d+5,5)+1;l=m(e,d+10,4)+4;d+=14;var S=1;for(var P=0;P<38;P+=2){y.Q[P]=0;y.Q[P+1]=0}for(var P=0;P<l;P++){var M=m(e,d+P*3,3);y.Q[(y.X[P]<<1)+1]=M;if(M>S)S=M}d+=3*l;w(y.Q,S);x(y.Q,S,y.u);c=y.w;v=y.d;d=g(y.u,(1<<S)-1,o+s,e,d,y.v);var z=p.V(y.v,0,o,y.C);f=(1<<z)-1;var G=p.V(y.v,o,s,y.D);u=(1<<G)-1;w(y.C,z);x(y.C,z,c);w(y.D,G);x(y.D,G,v)}while(!0){var E=c[U(e,d)&f];d+=E&15;var T=E>>>4;if(T>>>8==0){i[h++]=T}else if(T==256){break}else{var L=h+T-254;if(T>264){var C=y.q[T-257];L=h+(C>>>3)+m(e,d,C&7);d+=C&7}var O=v[U(e,d)&u];d+=O&15;var D=O>>>4,I=y.c[D],_=(I>>>4)+b(e,d,I&15);d+=I&15;while(h<L){i[h]=i[h++-_];i[h]=i[h++-_];i[h]=i[h++-_];i[h]=i[h++-_]}h=L}}}return i.length==h?i:i.slice(0,h)};t.H.W=function(t,e){var i=t.length;if(e<=i)return t;var r=new Uint8Array(i<<1);r.set(t,0);return r};t.H.R=function(e,i,r,n,a,o){var s=t.H.e,l=t.H.Z,f=0;while(f<r){var u=e[l(n,a)&i];a+=u&15;var h=u>>>4;if(h<=15){o[f]=h;f++}else{var d=0,c=0;if(h==16){c=3+s(n,a,2);a+=2;d=o[f-1]}else if(h==17){c=3+s(n,a,3);a+=3}else if(h==18){c=11+s(n,a,7);a+=7}var v=f+c;while(f<v){o[f]=d;f++}}}return a};t.H.V=function(t,e,i,r){var n=0,a=0,o=r.length>>>1;while(a<i){var s=t[a+e];r[a<<1]=0;r[(a<<1)+1]=s;if(s>n)n=s;a++}while(a<o){r[a<<1]=0;r[(a<<1)+1]=0;a++}return n};t.H.n=function(e,i){var r=t.H.m,n=e.length,a,o,s,l,f,u=r.j;for(var l=0;l<=i;l++)u[l]=0;for(l=1;l<n;l+=2)u[e[l]]++;var h=r.K;a=0;u[0]=0;for(o=1;o<=i;o++){a=a+u[o-1]<<1;h[o]=a}for(s=0;s<n;s+=2){f=e[s+1];if(f!=0){e[s]=h[f];h[f]++}}};t.H.A=function(e,i,r){var n=e.length,a=t.H.m,o=a.r;for(var s=0;s<n;s+=2)if(e[s+1]!=0){var l=s>>1,f=e[s+1],u=l<<4|f,h=i-f,d=e[s]<<h,c=d+(1<<h);while(d!=c){var v=o[d]>>>15-i;r[v]=u;d++}}};t.H.l=function(e,i){var r=t.H.m.r,n=15-i;for(var a=0;a<e.length;a+=2){var o=e[a]<<i-e[a+1];e[a]=r[o]>>>n}};t.H.M=function(t,e,i){i=i<<(e&7);var r=e>>>3;t[r]|=i;t[r+1]|=i>>>8};t.H.I=function(t,e,i){i=i<<(e&7);var r=e>>>3;t[r]|=i;t[r+1]|=i>>>8;t[r+2]|=i>>>16};t.H.e=function(t,e,i){return(t[e>>>3]|t[(e>>>3)+1]<<8)>>>(e&7)&(1<<i)-1};t.H.b=function(t,e,i){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(e&7)&(1<<i)-1};t.H.Z=function(t,e){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(e&7)};t.H.i=function(t,e){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16|t[(e>>>3)+3]<<24)>>>(e&7)};t.H.m=function(){var t=Uint16Array,e=Uint32Array;return{K:new t(16),j:new t(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new t(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new e(32),J:new t(512),_:[],h:new t(32),$:[],w:new t(32768),C:[],v:[],d:new t(32768),D:[],u:new t(512),Q:[],r:new t(1<<15),s:new e(286),Y:new e(30),a:new e(19),t:new e(15e3),k:new t(1<<16),g:new t(1<<15)}}();(function(){var e=t.H.m,i=1<<15;for(var r=0;r<i;r++){var n=r;n=(n&2863311530)>>>1|(n&1431655765)<<1;n=(n&3435973836)>>>2|(n&858993459)<<2;n=(n&4042322160)>>>4|(n&252645135)<<4;n=(n&4278255360)>>>8|(n&16711935)<<8;e.r[r]=(n>>>16|n<<16)>>>17}function a(t,e,i){while(e--!=0)t.push(0,i)}for(var r=0;r<32;r++){e.q[r]=e.S[r]<<3|e.T[r];e.c[r]=e.p[r]<<4|e.z[r]}a(e._,144,8);a(e._,255-143,9);a(e._,279-255,7);a(e._,287-279,8);t.H.n(e._,9);t.H.A(e._,9,e.J);t.H.l(e._,9);a(e.$,32,5);t.H.n(e.$,5);t.H.A(e.$,5,e.h);t.H.l(e.$,5);a(e.Q,19,0);a(e.C,286,0);a(e.D,30,0);a(e.v,320,0)})();return t.H.N}();UPNG.decode._readInterlace=function(t,e){var i=e.width,r=e.height;var n=UPNG.decode._getBPP(e),a=n>>3,o=Math.ceil(i*n/8);var s=new Uint8Array(r*o);var l=0;var f=[0,0,4,0,2,0,1];var u=[0,4,0,2,0,1,0];var h=[8,8,8,4,4,2,2];var d=[8,8,4,4,2,2,1];var c=0;while(c<7){var v=h[c],p=d[c];var b=0,m=0;var g=f[c];while(g<r){g+=v;m++}var w=u[c];while(w<i){w+=p;b++}var x=Math.ceil(b*n/8);UPNG.decode._filterZero(t,e,l,b,m);var U=0,y=f[c];while(y<r){var N=u[c];var k=l+U*x<<3;while(N<i){if(n==1){var A=t[k>>3];A=A>>7-(k&7)&1;s[y*o+(N>>3)]|=A<<7-((N&7)<<0)}if(n==2){var A=t[k>>3];A=A>>6-(k&7)&3;s[y*o+(N>>2)]|=A<<6-((N&3)<<1)}if(n==4){var A=t[k>>3];A=A>>4-(k&7)&15;s[y*o+(N>>1)]|=A<<4-((N&1)<<2)}if(n>=8){var S=y*o+N*a;for(var P=0;P<a;P++)s[S+P]=t[(k>>3)+P]}k+=n;N+=p}U++;y+=v}if(b*m!=0)l+=m*(1+x);c=c+1}return s};UPNG.decode._getBPP=function(t){var e=[1,null,3,1,2,null,4][t.ctype];return e*t.depth};UPNG.decode._filterZero=function(t,e,i,r,n){var a=UPNG.decode._getBPP(e),o=Math.ceil(r*a/8),s=UPNG.decode._paeth;a=Math.ceil(a/8);var l=0,f=1,u=t[i],h=0;if(u>1)t[i]=[0,0,1][u-2];if(u==3)for(h=a;h<o;h++)t[h+1]=t[h+1]+(t[h+1-a]>>>1)&255;for(var d=0;d<n;d++){l=i+d*o;f=l+d+1;u=t[f-1];h=0;if(u==0)for(;h<o;h++)t[l+h]=t[f+h];else if(u==1){for(;h<a;h++)t[l+h]=t[f+h];for(;h<o;h++)t[l+h]=t[f+h]+t[l+h-a]}else if(u==2){for(;h<o;h++)t[l+h]=t[f+h]+t[l+h-o]}else if(u==3){for(;h<a;h++)t[l+h]=t[f+h]+(t[l+h-o]>>>1);for(;h<o;h++)t[l+h]=t[f+h]+(t[l+h-o]+t[l+h-a]>>>1)}else{for(;h<a;h++)t[l+h]=t[f+h]+s(0,t[l+h-o],0);for(;h<o;h++)t[l+h]=t[f+h]+s(t[l+h-a],t[l+h-o],t[l+h-a-o])}}return t};UPNG.decode._paeth=function(t,e,i){var r=t+e-i,n=r-t,a=r-e,o=r-i;if(n*n<=a*a&&n*n<=o*o)return t;else if(a*a<=o*o)return e;return i};UPNG.decode._IHDR=function(t,e,i){var r=UPNG._bin;i.width=r.readUint(t,e);e+=4;i.height=r.readUint(t,e);e+=4;i.depth=t[e];e++;i.ctype=t[e];e++;i.compress=t[e];e++;i.filter=t[e];e++;i.interlace=t[e];e++};UPNG._bin={nextZero:function(t,e){while(t[e]!=0)e++;return e},readUshort:function(t,e){return t[e]<<8|t[e+1]},writeUshort:function(t,e,i){t[e]=i>>8&255;t[e+1]=i&255},readUint:function(t,e){return t[e]*(256*256*256)+(t[e+1]<<16|t[e+2]<<8|t[e+3])},writeUint:function(t,e,i){t[e]=i>>24&255;t[e+1]=i>>16&255;t[e+2]=i>>8&255;t[e+3]=i&255},readASCII:function(t,e,i){var r="";for(var n=0;n<i;n++)r+=String.fromCharCode(t[e+n]);return r},writeASCII:function(t,e,i){for(var r=0;r<i.length;r++)t[e+r]=i.charCodeAt(r)},readBytes:function(t,e,i){var r=[];for(var n=0;n<i;n++)r.push(t[e+n]);return r},pad:function(t){return t.length<2?"0"+t:t},readUTF8:function(t,e,i){var r="",n;for(var a=0;a<i;a++)r+="%"+UPNG._bin.pad(t[e+a].toString(16));try{n=decodeURIComponent(r)}catch(r){return UPNG._bin.readASCII(t,e,i)}return n}};UPNG._copyTile=function(t,e,i,r,n,a,o,s,l){var f=Math.min(e,n),u=Math.min(i,a);var h=0,d=0;for(var c=0;c<u;c++)for(var v=0;v<f;v++){if(o>=0&&s>=0){h=c*e+v<<2;d=(s+c)*n+o+v<<2}else{h=(-s+c)*e-o+v<<2;d=c*n+v<<2}if(l==0){r[d]=t[h];r[d+1]=t[h+1];r[d+2]=t[h+2];r[d+3]=t[h+3]}else if(l==1){var p=t[h+3]*(1/255),b=t[h]*p,m=t[h+1]*p,g=t[h+2]*p;var w=r[d+3]*(1/255),x=r[d]*w,U=r[d+1]*w,y=r[d+2]*w;var N=1-p,k=p+w*N,A=k==0?0:1/k;r[d+3]=255*k;r[d+0]=(b+x*N)*A;r[d+1]=(m+U*N)*A;r[d+2]=(g+y*N)*A}else if(l==2){var p=t[h+3],b=t[h],m=t[h+1],g=t[h+2];var w=r[d+3],x=r[d],U=r[d+1],y=r[d+2];if(p==w&&b==x&&m==U&&g==y){r[d]=0;r[d+1]=0;r[d+2]=0;r[d+3]=0}else{r[d]=b;r[d+1]=m;r[d+2]=g;r[d+3]=p}}else if(l==3){var p=t[h+3],b=t[h],m=t[h+1],g=t[h+2];var w=r[d+3],x=r[d],U=r[d+1],y=r[d+2];if(p==w&&b==x&&m==U&&g==y)continue;if(p<220&&w>20)return false}}return true};UPNG.encode=function(t,e,i,r,n,a,o){if(r==null)r=0;if(o==null)o=false;var s=UPNG.encode.compress(t,e,i,r,[false,false,false,0,o]);UPNG.encode.compressPNG(s,-1);return UPNG.encode._main(s,e,i,n,a)};UPNG.encodeLL=function(t,e,i,r,n,a,o,s){var l={ctype:0+(r==1?0:2)+(n==0?0:4),depth:a,frames:[]};var f=(r+n)*a,u=f*e;for(var h=0;h<t.length;h++)l.frames.push({rect:{x:0,y:0,width:e,height:i},img:new Uint8Array(t[h]),blend:0,dispose:1,bpp:Math.ceil(f/8),bpl:Math.ceil(u/8)});UPNG.encode.compressPNG(l,0,true);var d=UPNG.encode._main(l,e,i,o,s);return d};UPNG.encode._main=function(t,e,i,r,n){if(n==null)n={};var a=UPNG.crc.crc,o=UPNG._bin.writeUint,s=UPNG._bin.writeUshort,l=UPNG._bin.writeASCII;var f=8,u=t.frames.length>1,h=false;var d=8+(16+5+4)+(u?20:0);if(n["sRGB"]!=null)d+=8+1+4;if(n["pHYs"]!=null)d+=8+9+4;if(t.ctype==3){var c=t.plte.length;for(var v=0;v<c;v++)if(t.plte[v]>>>24!=255)h=true;d+=8+c*3+4+(h?8+c*1+4:0)}for(var p=0;p<t.frames.length;p++){var b=t.frames[p];if(u)d+=38;d+=b.cimg.length+12;if(p!=0)d+=4}d+=12;var m=new Uint8Array(d);var g=[137,80,78,71,13,10,26,10];for(var v=0;v<8;v++)m[v]=g[v];o(m,f,13);f+=4;l(m,f,"IHDR");f+=4;o(m,f,e);f+=4;o(m,f,i);f+=4;m[f]=t.depth;f++;m[f]=t.ctype;f++;m[f]=0;f++;m[f]=0;f++;m[f]=0;f++;o(m,f,a(m,f-17,17));f+=4;if(n["sRGB"]!=null){o(m,f,1);f+=4;l(m,f,"sRGB");f+=4;m[f]=n["sRGB"];f++;o(m,f,a(m,f-5,5));f+=4}if(n["pHYs"]!=null){o(m,f,9);f+=4;l(m,f,"pHYs");f+=4;o(m,f,n["pHYs"][0]);f+=4;o(m,f,n["pHYs"][1]);f+=4;m[f]=n["pHYs"][2];f++;o(m,f,a(m,f-13,13));f+=4}if(u){o(m,f,8);f+=4;l(m,f,"acTL");f+=4;o(m,f,t.frames.length);f+=4;o(m,f,n["loop"]!=null?n["loop"]:0);f+=4;o(m,f,a(m,f-12,12));f+=4}if(t.ctype==3){var c=t.plte.length;o(m,f,c*3);f+=4;l(m,f,"PLTE");f+=4;for(var v=0;v<c;v++){var w=v*3,x=t.plte[v],U=x&255,y=x>>>8&255,N=x>>>16&255;m[f+w+0]=U;m[f+w+1]=y;m[f+w+2]=N}f+=c*3;o(m,f,a(m,f-c*3-4,c*3+4));f+=4;if(h){o(m,f,c);f+=4;l(m,f,"tRNS");f+=4;for(var v=0;v<c;v++)m[f+v]=t.plte[v]>>>24&255;f+=c;o(m,f,a(m,f-c-4,c+4));f+=4}}var k=0;for(var p=0;p<t.frames.length;p++){var b=t.frames[p];if(u){o(m,f,26);f+=4;l(m,f,"fcTL");f+=4;o(m,f,k++);f+=4;o(m,f,b.rect.width);f+=4;o(m,f,b.rect.height);f+=4;o(m,f,b.rect.x);f+=4;o(m,f,b.rect.y);f+=4;s(m,f,r[p]);f+=2;s(m,f,1e3);f+=2;m[f]=b.dispose;f++;m[f]=b.blend;f++;o(m,f,a(m,f-30,30));f+=4}var A=b.cimg,c=A.length;o(m,f,c+(p==0?0:4));f+=4;var S=f;l(m,f,p==0?"IDAT":"fdAT");f+=4;if(p!=0){o(m,f,k++);f+=4}m.set(A,f);f+=c;o(m,f,a(m,S,f-S));f+=4}o(m,f,0);f+=4;l(m,f,"IEND");f+=4;o(m,f,a(m,f-4,4));f+=4;return m.buffer};UPNG.encode.compressPNG=function(t,e,i){for(var r=0;r<t.frames.length;r++){var n=t.frames[r],a=n.rect.height;var o=new Uint8Array(a*n.bpl+a);n.cimg=UPNG.encode._filterZero(n.img,a,n.bpp,n.bpl,o,e,i)}};UPNG.encode.compress=function(t,e,i,r,n){var a=n[0],o=n[1],s=n[2],l=n[3],f=n[4];var u=6,h=8,d=255;for(var c=0;c<t.length;c++){var v=new Uint8Array(t[c]),p=v.length;for(var b=0;b<p;b+=4)d&=v[b+3]}var m=d!=255;var g=UPNG.encode.framize(t,e,i,a,o,s);var w={},x=[],U=[];if(r!=0){var y=[];for(var b=0;b<g.length;b++)y.push(g[b].img.buffer);var N=UPNG.encode.concatRGBA(y),k=UPNG.quantize(N,r);console.log(k);var A=0,S=new Uint8Array(k.abuf);for(var b=0;b<g.length;b++){var P=g[b].img,M=P.length;U.push(new Uint8Array(k.inds.buffer,A>>2,M>>2));for(var c=0;c<M;c+=4){P[c]=S[A+c];P[c+1]=S[A+c+1];P[c+2]=S[A+c+2];P[c+3]=S[A+c+3]}A+=M}for(var b=0;b<k.plte.length;b++)x.push(k.plte[b].est.rgba)}else{for(var c=0;c<g.length;c++){var z=g[c],G=new Uint32Array(z.img.buffer),E=z.rect.width,p=G.length;var T=new Uint8Array(p);U.push(T);for(var b=0;b<p;b++){var L=G[b];if(b!=0&&L==G[b-1])T[b]=T[b-1];else if(b>E&&L==G[b-E])T[b]=T[b-E];else{var C=w[L];if(C==null){w[L]=C=x.length;x.push(L);if(x.length>=300)break}T[b]=C}}}}var O=x.length;if(O<=256&&f==false){if(O<=2)h=1;else if(O<=4)h=2;else if(O<=16)h=4;else h=8;h=Math.max(h,l)}for(var c=0;c<g.length;c++){var z=g[c],E=z.rect.width,D=z.rect.height;var I=z.img;var _=4*E,B=4;if(O<=256&&f==false){_=Math.ceil(h*E/8);var j=new Uint8Array(_*D);var F=U[c];for(var R=0;R<D;R++){var b=R*_,V=R*E;if(h==8)for(var H=0;H<E;H++)j[b+H]=F[V+H];else if(h==4)for(var H=0;H<E;H++)j[b+(H>>1)]|=F[V+H]<<4-(H&1)*4;else if(h==2)for(var H=0;H<E;H++)j[b+(H>>2)]|=F[V+H]<<6-(H&3)*2;else if(h==1)for(var H=0;H<E;H++)j[b+(H>>3)]|=F[V+H]<<7-(H&7)*1}I=j;u=3;B=1}else if(m==false&&g.length==1){var j=new Uint8Array(E*D*3),K=E*D;for(var b=0;b<K;b++){var P=b*3,J=b*4;j[P]=I[J];j[P+1]=I[J+1];j[P+2]=I[J+2]}I=j;u=2;B=3;_=3*E}z.img=I;z.bpl=_;z.bpp=B}return{ctype:u,depth:h,plte:x,frames:g}};UPNG.encode.framize=function(t,e,i,r,n,a){var o=[];for(var s=0;s<t.length;s++){var l=new Uint8Array(t[s]),f=new Uint32Array(l.buffer);var u;var h=0,d=0,c=e,v=i,p=r?1:0;if(s!=0){var b=a||r||s==1||o[s-2].dispose!=0?1:2,m=0,g=1e9;for(var w=0;w<b;w++){var x=new Uint8Array(t[s-1-w]),U=new Uint32Array(t[s-1-w]);var y=e,N=i,k=-1,A=-1;for(var S=0;S<i;S++)for(var P=0;P<e;P++){var M=S*e+P;if(f[M]!=U[M]){if(P<y)y=P;if(P>k)k=P;if(S<N)N=S;if(S>A)A=S}}if(k==-1)y=N=k=A=0;if(n){if((y&1)==1)y--;if((N&1)==1)N--}var z=(k-y+1)*(A-N+1);if(z<g){g=z;m=w;h=y;d=N;c=k-y+1;v=A-N+1}}var x=new Uint8Array(t[s-1-m]);if(m==1)o[s-1].dispose=2;u=new Uint8Array(c*v*4);UPNG._copyTile(x,e,i,u,c,v,-h,-d,0);p=UPNG._copyTile(l,e,i,u,c,v,-h,-d,3)?1:0;if(p==1)UPNG.encode._prepareDiff(l,e,i,u,{x:h,y:d,width:c,height:v});else UPNG._copyTile(l,e,i,u,c,v,-h,-d,0)}else u=l.slice(0);o.push({rect:{x:h,y:d,width:c,height:v},img:u,blend:p,dispose:0})}if(r)for(var s=0;s<o.length;s++){var G=o[s];if(G.blend==1)continue;var E=G.rect,T=o[s-1].rect;var L=Math.min(E.x,T.x),C=Math.min(E.y,T.y);var O=Math.max(E.x+E.width,T.x+T.width),D=Math.max(E.y+E.height,T.y+T.height);var I={x:L,y:C,width:O-L,height:D-C};o[s-1].dispose=1;if(s-1!=0)UPNG.encode._updateFrame(t,e,i,o,s-1,I,n);UPNG.encode._updateFrame(t,e,i,o,s,I,n)}if(t.length!=1)for(var M=0;M<o.length;M++){var G=o[M]}return o};UPNG.encode._updateFrame=function(t,e,i,r,n,a,o){var s=Uint8Array,l=Uint32Array;var f=new s(t[n-1]),u=new l(t[n-1]),h=n+1<t.length?new s(t[n+1]):null;var d=new s(t[n]),c=new l(d.buffer);var v=e,p=i,b=-1,m=-1;for(var g=0;g<a.height;g++)for(var w=0;w<a.width;w++){var x=a.x+w,U=a.y+g;var y=U*e+x,N=c[y];if(N==0||r[n-1].dispose==0&&u[y]==N&&(h==null||h[y*4+3]!=0));else{if(x<v)v=x;if(x>b)b=x;if(U<p)p=U;if(U>m)m=U}}if(b==-1)v=p=b=m=0;if(o){if((v&1)==1)v--;if((p&1)==1)p--}a={x:v,y:p,width:b-v+1,height:m-p+1};var k=r[n];k.rect=a;k.blend=1;k.img=new Uint8Array(a.width*a.height*4);if(r[n-1].dispose==0){UPNG._copyTile(f,e,i,k.img,a.width,a.height,-a.x,-a.y,0);UPNG.encode._prepareDiff(d,e,i,k.img,a)}else UPNG._copyTile(d,e,i,k.img,a.width,a.height,-a.x,-a.y,0)};UPNG.encode._prepareDiff=function(t,e,i,r,n){UPNG._copyTile(t,e,i,r,n.width,n.height,-n.x,-n.y,2)};UPNG.encode._filterZero=function(t,e,i,r,n,a,o){var s=[],l=[0,1,2,3,4];if(a!=-1)l=[a];else if(e*r>5e5||i==1)l=[0];var f;if(o)f={level:0};var u=n.length>1e7&&UZIP!=null?UZIP:pako;for(var h=0;h<l.length;h++){for(var d=0;d<e;d++)UPNG.encode._filterLine(n,t,d,r,i,l[h]);s.push(u["deflate"](n,f))}var c,v=1e9;for(var h=0;h<s.length;h++)if(s[h].length<v){c=h;v=s[h].length}return s[c]};UPNG.encode._filterLine=function(t,e,i,r,n,a){var o=i*r,s=o+i,l=UPNG.decode._paeth;t[s]=a;s++;if(a==0){if(r<500)for(var f=0;f<r;f++)t[s+f]=e[o+f];else t.set(new Uint8Array(e.buffer,o,r),s)}else if(a==1){for(var f=0;f<n;f++)t[s+f]=e[o+f];for(var f=n;f<r;f++)t[s+f]=e[o+f]-e[o+f-n]+256&255}else if(i==0){for(var f=0;f<n;f++)t[s+f]=e[o+f];if(a==2)for(var f=n;f<r;f++)t[s+f]=e[o+f];if(a==3)for(var f=n;f<r;f++)t[s+f]=e[o+f]-(e[o+f-n]>>1)+256&255;if(a==4)for(var f=n;f<r;f++)t[s+f]=e[o+f]-l(e[o+f-n],0,0)+256&255}else{if(a==2){for(var f=0;f<r;f++)t[s+f]=e[o+f]+256-e[o+f-r]&255}if(a==3){for(var f=0;f<n;f++)t[s+f]=e[o+f]+256-(e[o+f-r]>>1)&255;for(var f=n;f<r;f++)t[s+f]=e[o+f]+256-(e[o+f-r]+e[o+f-n]>>1)&255}if(a==4){for(var f=0;f<n;f++)t[s+f]=e[o+f]+256-l(0,e[o+f-r],0)&255;for(var f=n;f<r;f++)t[s+f]=e[o+f]+256-l(e[o+f-n],e[o+f-r],e[o+f-n-r])&255}}};UPNG.crc={table:function(){var t=new Uint32Array(256);for(var e=0;e<256;e++){var i=e;for(var r=0;r<8;r++){if(i&1)i=3988292384^i>>>1;else i=i>>>1}t[e]=i}return t}(),update:function(t,e,i,r){for(var n=0;n<r;n++)t=UPNG.crc.table[(t^e[i+n])&255]^t>>>8;return t},crc:function(t,e,i){return UPNG.crc.update(4294967295,t,e,i)^4294967295}};UPNG.quantize=function(t,e){var i=new Uint8Array(t),r=i.slice(0),n=new Uint32Array(r.buffer);var a=UPNG.quantize.getKDtree(r,e);var o=a[0],s=a[1];var l=UPNG.quantize.planeDst;var f=i,u=n,h=f.length;var d=new Uint8Array(i.length>>2),c;if(i.length<2e7)for(var v=0;v<h;v+=4){var p=f[v]*(1/255),b=f[v+1]*(1/255),m=f[v+2]*(1/255),g=f[v+3]*(1/255);c=UPNG.quantize.getNearest(o,p,b,m,g);d[v>>2]=c.ind;u[v>>2]=c.est.rgba}else for(var v=0;v<h;v+=4){var p=f[v]*(1/255),b=f[v+1]*(1/255),m=f[v+2]*(1/255),g=f[v+3]*(1/255);c=o;while(c.left)c=l(c.est,p,b,m,g)<=0?c.left:c.right;d[v>>2]=c.ind;u[v>>2]=c.est.rgba}return{abuf:r.buffer,inds:d,plte:s}};UPNG.quantize.getKDtree=function(t,e,i){if(i==null)i=1e-4;var r=new Uint32Array(t.buffer);var n={i0:0,i1:t.length,bst:null,est:null,tdst:0,left:null,right:null};n.bst=UPNG.quantize.stats(t,n.i0,n.i1);n.est=UPNG.quantize.estats(n.bst);var a=[n];while(a.length<e){var o=0,s=0;for(var l=0;l<a.length;l++)if(a[l].est.L>o){o=a[l].est.L;s=l}if(o<i)break;var f=a[s];var u=UPNG.quantize.splitPixels(t,r,f.i0,f.i1,f.est.e,f.est.eMq255);var h=f.i0>=u||f.i1<=u;if(h){f.est.L=0;continue}var d={i0:f.i0,i1:u,bst:null,est:null,tdst:0,left:null,right:null};d.bst=UPNG.quantize.stats(t,d.i0,d.i1);d.est=UPNG.quantize.estats(d.bst);var c={i0:u,i1:f.i1,bst:null,est:null,tdst:0,left:null,right:null};c.bst={R:[],m:[],N:f.bst.N-d.bst.N};for(var l=0;l<16;l++)c.bst.R[l]=f.bst.R[l]-d.bst.R[l];for(var l=0;l<4;l++)c.bst.m[l]=f.bst.m[l]-d.bst.m[l];c.est=UPNG.quantize.estats(c.bst);f.left=d;f.right=c;a[s]=d;a.push(c)}a.sort((function(t,e){return e.bst.N-t.bst.N}));for(var l=0;l<a.length;l++)a[l].ind=l;return[n,a]};UPNG.quantize.getNearest=function(t,e,i,r,n){if(t.left==null){t.tdst=UPNG.quantize.dist(t.est.q,e,i,r,n);return t}var a=UPNG.quantize.planeDst(t.est,e,i,r,n);var o=t.left,s=t.right;if(a>0){o=t.right;s=t.left}var l=UPNG.quantize.getNearest(o,e,i,r,n);if(l.tdst<=a*a)return l;var f=UPNG.quantize.getNearest(s,e,i,r,n);return f.tdst<l.tdst?f:l};UPNG.quantize.planeDst=function(t,e,i,r,n){var a=t.e;return a[0]*e+a[1]*i+a[2]*r+a[3]*n-t.eMq};UPNG.quantize.dist=function(t,e,i,r,n){var a=e-t[0],o=i-t[1],s=r-t[2],l=n-t[3];return a*a+o*o+s*s+l*l};UPNG.quantize.splitPixels=function(t,e,i,r,n,a){var o=UPNG.quantize.vecDot;r-=4;while(i<r){while(o(t,i,n)<=a)i+=4;while(o(t,r,n)>a)r-=4;if(i>=r)break;var s=e[i>>2];e[i>>2]=e[r>>2];e[r>>2]=s;i+=4;r-=4}while(o(t,i,n)>a)i-=4;return i+4};UPNG.quantize.vecDot=function(t,e,i){return t[e]*i[0]+t[e+1]*i[1]+t[e+2]*i[2]+t[e+3]*i[3]};UPNG.quantize.stats=function(t,e,i){var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var n=[0,0,0,0];var a=i-e>>2;for(var o=e;o<i;o+=4){var s=t[o]*(1/255),l=t[o+1]*(1/255),f=t[o+2]*(1/255),u=t[o+3]*(1/255);n[0]+=s;n[1]+=l;n[2]+=f;n[3]+=u;r[0]+=s*s;r[1]+=s*l;r[2]+=s*f;r[3]+=s*u;r[5]+=l*l;r[6]+=l*f;r[7]+=l*u;r[10]+=f*f;r[11]+=f*u;r[15]+=u*u}r[4]=r[1];r[8]=r[2];r[9]=r[6];r[12]=r[3];r[13]=r[7];r[14]=r[11];return{R:r,m:n,N:a}};UPNG.quantize.estats=function(t){var e=t.R,i=t.m,r=t.N;var n=i[0],a=i[1],o=i[2],s=i[3],l=r==0?0:1/r;var f=[e[0]-n*n*l,e[1]-n*a*l,e[2]-n*o*l,e[3]-n*s*l,e[4]-a*n*l,e[5]-a*a*l,e[6]-a*o*l,e[7]-a*s*l,e[8]-o*n*l,e[9]-o*a*l,e[10]-o*o*l,e[11]-o*s*l,e[12]-s*n*l,e[13]-s*a*l,e[14]-s*o*l,e[15]-s*s*l];var u=f,h=UPNG.M4;var d=[Math.random(),Math.random(),Math.random(),Math.random()],c=0,v=0;if(r!=0)for(var p=0;p<16;p++){d=h.multVec(u,d);v=Math.sqrt(h.dot(d,d));d=h.sml(1/v,d);if(p!=0&&Math.abs(v-c)<1e-9)break;c=v}var b=[n*l,a*l,o*l,s*l];var m=h.dot(h.sml(255,b),d);return{Cov:f,q:b,e:d,L:c,eMq255:m,eMq:h.dot(d,b),rgba:(Math.round(255*b[3])<<24|Math.round(255*b[2])<<16|Math.round(255*b[1])<<8|Math.round(255*b[0])<<0)>>>0}};UPNG.M4={multVec:function(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3],t[4]*e[0]+t[5]*e[1]+t[6]*e[2]+t[7]*e[3],t[8]*e[0]+t[9]*e[1]+t[10]*e[2]+t[11]*e[3],t[12]*e[0]+t[13]*e[1]+t[14]*e[2]+t[15]*e[3]]},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]},sml:function(t,e){return[t*e[0],t*e[1],t*e[2],t*e[3]]}};UPNG.encode.concatRGBA=function(t){var e=0;for(var i=0;i<t.length;i++)e+=t[i].byteLength;var r=new Uint8Array(e),n=0;for(var i=0;i<t.length;i++){var a=new Uint8Array(t[i]),o=a.length;for(var s=0;s<o;s+=4){var l=a[s],f=a[s+1],u=a[s+2],h=a[s+3];if(h==0)l=f=u=0;r[n+s]=l;r[n+s+1]=f;r[n+s+2]=u;r[n+s+3]=h}n+=o}return r.buffer};var leafletCanvasLayer={exports:{}};(function(t,e){!function(e,i){t.exports=i(leafletSrc.exports)}(commonjsGlobal,(function(t){return function(t){function e(r){if(i[r])return i[r].exports;var n=i[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,r){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,i){var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};return function(e,i){function r(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(r.prototype=i.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var n=i(1),a=function(t){function e(e){var i=t.call(this,e)||this;return i._map=null,i._canvas=null,i._frame=null,i._delegate=null,i}return r(e,t),Object.defineProperty(e.prototype,"map",{get:function(){return this._map},enumerable:!0,configurable:!0}),e.prototype.getEvents=function(){var t={moveend:this._onLayerDidMove};return this._map.options.zoomAnimation&&n.Browser.any3d&&(t.zoomanim=this._animateZoom),t},e.prototype.onAdd=function(t){this._map=t,this._canvas=n.DomUtil.create("canvas","leaflet-layer");var e=this._map.getSize();this._canvas.width=e.x,this._canvas.height=e.y;var i=this._map.options.zoomAnimation&&n.Browser.any3d;n.DomUtil.addClass(this._canvas,"leaflet-zoom-"+(i?"animated":"hide")),t.getPanes().overlayPane.appendChild(this._canvas);var r=this._delegate||this;return r.onLayerDidMount&&r.onLayerDidMount(),this.needRedraw(),this},e.prototype.onRemove=function(t){var e=this._delegate||this;return e.onLayerWillUnmount&&e.onLayerWillUnmount(),t.getPanes().overlayPane.removeChild(this._canvas),this._canvas=null,this},e.prototype.needRedraw=function(){return this._frame||(this._frame=n.Util.requestAnimFrame(this.drawLayer,this)),this},e.prototype.delegate=function(t){return this._delegate=t,this},e.prototype._onLayerDidResize=function(t){this._canvas.width=t.newSize.x,this._canvas.height=t.newSize.y},e.prototype._onLayerDidMove=function(){var t=this._map.containerPointToLayerPoint([0,0]);n.DomUtil.setPosition(this._canvas,t),this.drawLayer()},e.prototype.LatLonToMercator=function(t){return{x:6378137*t.lng*Math.PI/180,y:6378137*Math.log(Math.tan((90+t.lat)*Math.PI/360))}},e.prototype.drawLayer=function(){var t=this._map.getSize();this._canvas.width=t.x,this._canvas.height=t.y;var e=this._map.getBounds(),i=this._map.getZoom(),r=this.LatLonToMercator(this._map.getCenter()),n=this.LatLonToMercator(this._map.containerPointToLatLng(this._map.getSize())),a=this._delegate||this;a.onDrawLayer&&a.onDrawLayer({bounds:e,canvas:this._canvas,center:r,corner:n,layer:this,size:t,zoom:i}),this._frame=null},e.prototype._animateZoom=function(t){var e=t.target.getZoomScale(t.zoom,t.target.getZoom()),i=this._map._latLngBoundsToNewLayerBounds(this._map.getBounds(),t.zoom,t.center).min;n.DomUtil.setTransform(this._canvas,i,e)},e}(n.Layer);e.CanvasLayer=a},function(e,i){e.exports=t}])}))})(leafletCanvasLayer);var discoveryMarauderCss='/*!\n * Copyright 2022 SenX S.A.S.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *//*!\n * Copyright 2022-2024 SenX S.A.S.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none !important;max-height:none !important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none !important;max-height:none !important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51, 181, 229, 0.4)}.leaflet-tile{-webkit-filter:inherit;filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;-webkit-transition:opacity 0.2s linear;-moz-transition:opacity 0.2s linear;transition:opacity 0.2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform 0.25s cubic-bezier(0,0,0.25,1);-moz-transition:-moz-transform 0.25s cubic-bezier(0,0,0.25,1);transition:-webkit-transform 0.25s cubic-bezier(0,0,0.25,1);transition:transform 0.25s cubic-bezier(0,0,0.25,1);transition:transform 0.25s cubic-bezier(0,0,0.25,1), -webkit-transform 0.25s cubic-bezier(0,0,0.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078A8}.leaflet-zoom-box{border:2px dotted #38f;background:rgba(255,255,255,0.5)}.leaflet-container{font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;font-size:12px;font-size:0.75rem;line-height:1.5}.leaflet-bar{-webkit-box-shadow:0 1px 5px rgba(0,0,0,0.65);box-shadow:0 1px 5px rgba(0,0,0,0.65);border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:black}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:bold 18px \'Lucida Console\', Monaco, monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{-webkit-box-shadow:0 1px 5px rgba(0,0,0,0.4);box-shadow:0 1px 5px rgba(0,0,0,0.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(images/layers.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(images/layers-2x.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(images/marker-icon.png)}.leaflet-container .leaflet-control-attribution{background:#fff;background:rgba(255, 255, 255, 0.8);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline !important;vertical-align:baseline !important;width:1em;height:0.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;background:rgba(255, 255, 255, 0.8);text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{-webkit-box-shadow:none;box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,0.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:17px 0;margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:white;color:#333;-webkit-box-shadow:0 3px 14px rgba(0,0,0,0.4);box-shadow:0 3px 14px rgba(0,0,0,0.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma, Verdana, sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.4);box-shadow:0 1px 3px rgba(0,0,0,0.4)}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}:host{display:block;width:100%}:host .map-container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-line-pack:stretch;align-content:stretch}:host .leaflet-top,:host .leaflet-bottom{z-index:900}:host .leaflet-container{width:100%;height:100%}:host .slider-bounds{-ms-flex-item-align:center;align-self:center;padding:0.25rem}:host button.discovery-btn{margin:0.25rem 0.125rem;display:inline-block;font-weight:400;line-height:1.5;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;font-size:var(--warp-view-button-font-size, 1rem);border:1px solid var(--warp-view-button-border-color, #004eff);padding:var(--warp-view-button-padding, 0.375rem 0.75rem);color:var(--warp-view-button-label-color, #ffffff);background-color:var(--warp-view-button-bg-color, #004eff);min-width:var(--warp-view-button-width, auto);border-radius:var(--warp-view-button-border-radius, 0.25rem);width:var(--warp-view-button-width, 30px);height:var(--warp-view-button-width, 30px);position:relative}:host button.discovery-btn:before{position:absolute;top:0;left:0;content:"";width:var(--warp-view-button-width, 30px);height:var(--warp-view-button-width, 30px);background-size:80%;background-repeat:no-repeat;background-position:center}:host .paused:before{background-image:var(--warp-view-button-play, url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAt0lEQVRYw+3WMQrCMBSH8T8iDk4OUkQ8gLdydfMMTiIiIiK6e46ewqMEKbp8nYIBWxBK8obmmwv9DcnLk3K5XEvAEngAW2BqASj55oBdUgjw5DcH7IHCCuB7AUdgZgUIIacokD8Bvgo4A3MrQAi5AAsrQAi5doJ0BPjewA2YtP1nGPkyjSStJY0lrZo+GFhP3NiAj6S7pE1vDqHZNTQbRGaj2OwxcsAh1XNcNuwBSRcS25Usl+tNNRz/81QsYfwRAAAAAElFTkSuQmCC"))}:host .play:before{background-image:var(---warp-view-button-pause, url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAlUlEQVRYw+2WoRHCQBBF395ERFALChVNJ5EpJBWgMkxkOqEAakGgsrEZZrmbi0Hwn/z35/aJFQtC/DuWe3T3DrgB7S5+Ab2ZPT+6Z+AOnHbxGxjM7HHIzt0njxmD7vilO+VmpIJDqsjTkRnp1zsgAQlIQAISkIAESgJrRb5W/gFAUxCYgUtwki1BdwGuwUk26/IVIscG42BLPBOIOI4AAAAASUVORK5CYII="))}:host .commands-wrapper{-ms-flex-negative:1;flex-shrink:1;width:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .slider-wrapper{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-bottom:10px}:host .map-wrapper{-ms-flex-positive:1;flex-grow:1;z-index:1}:host table{width:100%;color:var(--warp-view-font-color, #404040)}:host table td,:host table th{padding:var(--warp-view-datagrid-cell-padding, 5px);text-align:left}:host table .odd{background-color:var(--warp-view-datagrid-odd-bg-color, #ffffff);color:var(--warp-view-datagrid-odd-color, #404040)}:host table .even{background-color:var(--warp-view-datagrid-even-bg-color, #c0c0c0);color:var(--warp-view-datagrid-even-color, #404040)}:host div.modal{display:none;position:absolute;z-index:3;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0, 0, 0);background-color:rgba(0, 0, 0, 0.4);}:host div.modal .modal-content{background-color:#fefefe;margin:5% auto;padding:20px;border:1px solid #888;min-height:80%;width:80%;position:relative}:host div.modal .modal-content .modal-wrapper{height:calc(100% - 40px);width:calc(100% - 40px);position:absolute}:host div.modal .modal-content .modal-wrapper .discovery-dashboard-tile{width:100%;height:100%}:host div.modal .modal-content .modal-wrapper .discovery-dashboard-tile>div{width:100%;height:100%;margin-bottom:-20px}:host div.modal .close{color:#aaa;font-size:28px;font-weight:bold;position:absolute;top:0;right:20px;z-index:900}:host div.modal .close:hover,:host div.modal .close:focus{color:black;text-decoration:none;cursor:pointer}';var DiscoveryPluginMarauderStyle0=discoveryMarauderCss;var DiscoveryMarauder=function(){function t(t){registerInstance(this,t);this.draw=createEvent(this,"draw",7);this.dataPointOver=createEvent(this,"dataPointOver",7);this.pausedEvent=createEvent(this,"pausedEvent",7);this.defOptions=Object.assign(Object.assign({},new Param),{timeMode:"date",map:{tiles:[],animate:false},input:{showTicks:true}});this.divider=1e3;this.initial=false;this.ticks=0;this.bucketspan=0;this.gts=0;this.lllat=0;this.lllon=0;this.urlat=0;this.urlon=0;this.latstep=0;this.lonstep=0;this.done=true;this.selectionSize=50;this.tileLayerGroup=Leaflet.featureGroup();this.running=null;this.scheduled=false;this.delay=10;this.MARKERS=true;this.trackMarkers=false;this.tracks=true;this.markerSize=5;this.markerRadius=this.markerSize/2;this.markerOffset=(this.markerSize-1)/2;this.trackMarkerColor="#00897B";this.markerColor=undefined;this.trackMarkerSize=4;this.trackMarkerRadius=this.trackMarkerSize/2;this.trackMarkerOffset=(this.trackMarkerSize-1)/2;this.bgTransparentThreshold=250;this.transparentThreshold=240;this.extraTicks=50;this.step=1;this.particles=null;this.histcanvas=null;this.trackOpacity=.05;this.trackWidth=2;this.squareMarkers=false;this.squareTrackMarkers=false;this.resetOnZoom=true;this.sliderMin="0";this.sliderMax="0";this.drawn=false;this.endDate=0;this.startDate=0;this.tileLayers=[];this.result=undefined;this.type=undefined;this.options=new Param;this.width=undefined;this.height=undefined;this.debug=false;this.parsing=false;this.toDisplay=[];this.innerOpti