@senx/discovery-plugin-marauder
Version:
Discovery plugin - Marauder's map
1 lines • 114 kB
JavaScript
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,o){function a(t){try{s(r.next(t))}catch(t){o(t)}}function l(t){try{s(r["throw"](t))}catch(t){o(t)}}function s(t){t.done?i(t.value):n(t.value).then(a,l)}s((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,a;return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(t){return function(e){return s([t,e])}}function s(l){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,l[0]&&(i=0)),i)try{if(r=1,n&&(o=l[0]&2?n["return"]:l[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;if(n=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;n=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(l[0]===6&&i.label<o[1]){i.label=o[1];o=l;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(l);break}if(o[2])i.ops.pop();i.trys.pop();continue}l=e.call(t,i)}catch(t){l=[6,t];n=0}finally{r=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-f2d2b9b0.system.js","./p-1e032c57.system.js","./p-a66f6e87.system.js","./p-02281bc0.system.js","./p-17ad0a00.system.js","./p-65468eeb.system.js","./p-37b7b786.system.js","./p-85f486e6.system.js"],(function(t){"use strict";var e,i,r,n,o,a,l,s,f,u,h,c,d,v,p,b;return{setters:[function(t){e=t.r;i=t.c;r=t.h;n=t.g},function(t){o=t.l;a=t.L;l=t.d},function(t){s=t.c;f=t.G;u=t.L;h=t.l},function(){},function(t){c=t.P;d=t.U},function(t){v=t.a},function(t){p=t.C},function(t){b=t.M}],execute:function(){var g={};g.toRGBA8=function(t){var e=t.width,i=t.height;if(t.tabs.acTL==null)return[g.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,o=new Uint8Array(n),a=new Uint8Array(n),l=new Uint8Array(n);for(var s=0;s<t.frames.length;s++){var f=t.frames[s];var u=f.rect.x,h=f.rect.y,c=f.rect.width,d=f.rect.height;var v=g.toRGBA8.decodeImage(f.data,c,d,t);if(s!=0)for(var p=0;p<n;p++)l[p]=o[p];if(f.blend==0)g._copyTile(v,c,d,o,e,i,u,h,0);else if(f.blend==1)g._copyTile(v,c,d,o,e,i,u,h,1);r.push(o.buffer.slice(0));if(f.dispose==0);else if(f.dispose==1)g._copyTile(a,c,d,o,e,i,u,h,0);else if(f.dispose==2)for(var p=0;p<n;p++)o[p]=l[p]}return r};g.toRGBA8.decodeImage=function(t,e,i,r){var n=e*i,o=g.decode._getBPP(r);var a=Math.ceil(e*o/8);var l=new Uint8Array(n*4),s=new Uint32Array(l.buffer);var f=r.ctype,u=r.depth;var h=g._bin.readUshort;if(f==6){var c=n<<2;if(u==8)for(var d=0;d<c;d+=4){l[d]=t[d];l[d+1]=t[d+1];l[d+2]=t[d+2];l[d+3]=t[d+3]}if(u==16)for(var d=0;d<c;d++){l[d]=t[d<<1]}}else if(f==2){var v=r.tabs["tRNS"];if(v==null){if(u==8)for(var d=0;d<n;d++){var p=d*3;s[d]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p]}if(u==16)for(var d=0;d<n;d++){var p=d*6;s[d]=255<<24|t[p+4]<<16|t[p+2]<<8|t[p]}}else{var b=v[0],m=v[1],w=v[2];if(u==8)for(var d=0;d<n;d++){var x=d<<2,p=d*3;s[d]=255<<24|t[p+2]<<16|t[p+1]<<8|t[p];if(t[p]==b&&t[p+1]==m&&t[p+2]==w)l[x+3]=0}if(u==16)for(var d=0;d<n;d++){var x=d<<2,p=d*6;s[d]=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)==w)l[x+3]=0}}}else if(f==3){var y=r.tabs["PLTE"],U=r.tabs["tRNS"],k=U?U.length:0;if(u==1)for(var A=0;A<i;A++){var S=A*a,z=A*e;for(var d=0;d<e;d++){var x=z+d<<2,N=t[S+(d>>3)]>>7-((d&7)<<0)&1,M=3*N;l[x]=y[M];l[x+1]=y[M+1];l[x+2]=y[M+2];l[x+3]=N<k?U[N]:255}}if(u==2)for(var A=0;A<i;A++){var S=A*a,z=A*e;for(var d=0;d<e;d++){var x=z+d<<2,N=t[S+(d>>2)]>>6-((d&3)<<1)&3,M=3*N;l[x]=y[M];l[x+1]=y[M+1];l[x+2]=y[M+2];l[x+3]=N<k?U[N]:255}}if(u==4)for(var A=0;A<i;A++){var S=A*a,z=A*e;for(var d=0;d<e;d++){var x=z+d<<2,N=t[S+(d>>1)]>>4-((d&1)<<2)&15,M=3*N;l[x]=y[M];l[x+1]=y[M+1];l[x+2]=y[M+2];l[x+3]=N<k?U[N]:255}}if(u==8)for(var d=0;d<n;d++){var x=d<<2,N=t[d],M=3*N;l[x]=y[M];l[x+1]=y[M+1];l[x+2]=y[M+2];l[x+3]=N<k?U[N]:255}}else if(f==4){if(u==8)for(var d=0;d<n;d++){var x=d<<2,E=d<<1,O=t[E];l[x]=O;l[x+1]=O;l[x+2]=O;l[x+3]=t[E+1]}if(u==16)for(var d=0;d<n;d++){var x=d<<2,E=d<<2,O=t[E];l[x]=O;l[x+1]=O;l[x+2]=O;l[x+3]=t[E+2]}}else if(f==0){var b=r.tabs["tRNS"]?r.tabs["tRNS"]:-1;for(var A=0;A<i;A++){var I=A*a,B=A*e;if(u==1)for(var T=0;T<e;T++){var O=255*(t[I+(T>>>3)]>>>7-(T&7)&1),j=O==b*255?0:255;s[B+T]=j<<24|O<<16|O<<8|O}else if(u==2)for(var T=0;T<e;T++){var O=85*(t[I+(T>>>2)]>>>6-((T&3)<<1)&3),j=O==b*85?0:255;s[B+T]=j<<24|O<<16|O<<8|O}else if(u==4)for(var T=0;T<e;T++){var O=17*(t[I+(T>>>1)]>>>4-((T&1)<<2)&15),j=O==b*17?0:255;s[B+T]=j<<24|O<<16|O<<8|O}else if(u==8)for(var T=0;T<e;T++){var O=t[I+T],j=O==b?0:255;s[B+T]=j<<24|O<<16|O<<8|O}else if(u==16)for(var T=0;T<e;T++){var O=t[I+(T<<1)],j=h(t,I+(T<<d))==b?0:255;s[B+T]=j<<24|O<<16|O<<8|O}}}return l};g.decode=function(t){var e=new Uint8Array(t),i=8,r=g._bin,n=r.readUshort,o=r.readUint;var a={tabs:{},frames:[]};var l=new Uint8Array(e.length),s=0;var f,u=0;var h=[137,80,78,71,13,10,26,10];for(var c=0;c<8;c++)if(e[c]!=h[c])throw"The input is not a PNG file!";while(i<e.length){var d=r.readUint(e,i);i+=4;var v=r.readASCII(e,i,4);i+=4;if(v=="IHDR"){g.decode._IHDR(e,i,a)}else if(v=="CgBI"){a.tabs[v]=e.slice(i,i+4)}else if(v=="IDAT"){for(var c=0;c<d;c++)l[s+c]=e[i+c];s+=d}else if(v=="acTL"){a.tabs[v]={num_frames:o(e,i),num_plays:o(e,i+4)};f=new Uint8Array(e.length)}else if(v=="fcTL"){if(u!=0){var p=a.frames[a.frames.length-1];p.data=g.decode._decompress(a,f.slice(0,u),p.rect.width,p.rect.height);u=0}var b={x:o(e,i+12),y:o(e,i+16),width:o(e,i+4),height:o(e,i+8)};var m=n(e,i+22);m=n(e,i+20)/(m==0?100:m);var w={rect:b,delay:Math.round(m*1e3),dispose:e[i+24],blend:e[i+25]};a.frames.push(w)}else if(v=="fdAT"){for(var c=0;c<d-4;c++)f[u+c]=e[i+c+4];u+=d-4}else if(v=="pHYs"){a.tabs[v]=[r.readUint(e,i),r.readUint(e,i+4),e[i+8]]}else if(v=="cHRM"){a.tabs[v]=[];for(var c=0;c<8;c++)a.tabs[v].push(r.readUint(e,i+c*4))}else if(v=="tEXt"||v=="zTXt"){if(a.tabs[v]==null)a.tabs[v]={};var x=r.nextZero(e,i);var y=r.readASCII(e,i,x-i);var U,k=i+d-x-1;if(v=="tEXt")U=r.readASCII(e,x+1,k);else{var A=g.decode._inflate(e.slice(x+2,x+2+k));U=r.readUTF8(A,0,A.length)}a.tabs[v][y]=U}else if(v=="iTXt"){if(a.tabs[v]==null)a.tabs[v]={};var x=0,S=i;x=r.nextZero(e,S);var y=r.readASCII(e,S,x-S);S=x+1;var z=e[S];S+=2;x=r.nextZero(e,S);r.readASCII(e,S,x-S);S=x+1;x=r.nextZero(e,S);r.readUTF8(e,S,x-S);S=x+1;var U,k=d-(S-i);if(z==0)U=r.readUTF8(e,S,k);else{var A=g.decode._inflate(e.slice(S,S+k));U=r.readUTF8(A,0,A.length)}a.tabs[v][y]=U}else if(v=="PLTE"){a.tabs[v]=r.readBytes(e,i,d)}else if(v=="hIST"){var N=a.tabs["PLTE"].length/3;a.tabs[v]=[];for(var c=0;c<N;c++)a.tabs[v].push(n(e,i+c*2))}else if(v=="tRNS"){if(a.ctype==3)a.tabs[v]=r.readBytes(e,i,d);else if(a.ctype==0)a.tabs[v]=n(e,i);else if(a.ctype==2)a.tabs[v]=[n(e,i),n(e,i+2),n(e,i+4)]}else if(v=="gAMA")a.tabs[v]=r.readUint(e,i)/1e5;else if(v=="sRGB")a.tabs[v]=e[i];else if(v=="bKGD"){if(a.ctype==0||a.ctype==4)a.tabs[v]=[n(e,i)];else if(a.ctype==2||a.ctype==6)a.tabs[v]=[n(e,i),n(e,i+2),n(e,i+4)];else if(a.ctype==3)a.tabs[v]=e[i]}else if(v=="IEND"){break}i+=d;r.readUint(e,i);i+=4}if(u!=0){var p=a.frames[a.frames.length-1];p.data=g.decode._decompress(a,f.slice(0,u),p.rect.width,p.rect.height);u=0}a.data=g.decode._decompress(a,l,a.width,a.height);delete a.compress;delete a.interlace;delete a.filter;return a};g.decode._decompress=function(t,e,i,r){var n=g.decode._getBPP(t),o=Math.ceil(i*n/8),a=new Uint8Array((o+1+t.interlace)*r);if(t.tabs["CgBI"])e=g.inflateRaw(e,a);else e=g.decode._inflate(e,a);if(t.interlace==0)e=g.decode._filterZero(e,t,0,i,r);else if(t.interlace==1)e=g.decode._readInterlace(e,t);return e};g.decode._inflate=function(t,e){var i=g["inflateRaw"](new Uint8Array(t.buffer,2,t.length-6),e);return i};g.inflateRaw=function(){var t={};t.H={};t.H.N=function(e,i){var r=Uint8Array,n=0,o=0,a=0,l=0,s=0,f=0,u=0,h=0,c=0,d,v;if(e[0]==3&&e[1]==0)return i?i:new r(0);var p=t.H,b=p.b,g=p.e,m=p.R,w=p.n,x=p.A,y=p.Z,U=p.m,k=i==null;if(k)i=new r(e.length>>>2<<6);while(n==0){n=b(e,c,1);o=b(e,c+1,2);c+=3;if(o==0){if((c&7)!=0)c+=8-(c&7);var A=(c>>>3)+4,S=e[A-4]|e[A-3]<<8;if(k)i=t.H.W(i,h+S);i.set(new r(e.buffer,e.byteOffset+A,S),h);c=A+S<<3;h+=S;continue}if(k)i=t.H.W(i,h+(1<<17));if(o==1){d=U.J;v=U.h;f=(1<<9)-1;u=(1<<5)-1}if(o==2){a=g(e,c,5)+257;l=g(e,c+5,5)+1;s=g(e,c+10,4)+4;c+=14;var z=1;for(var N=0;N<38;N+=2){U.Q[N]=0;U.Q[N+1]=0}for(var N=0;N<s;N++){var M=g(e,c+N*3,3);U.Q[(U.X[N]<<1)+1]=M;if(M>z)z=M}c+=3*s;w(U.Q,z);x(U.Q,z,U.u);d=U.w;v=U.d;c=m(U.u,(1<<z)-1,a+l,e,c,U.v);var E=p.V(U.v,0,a,U.C);f=(1<<E)-1;var O=p.V(U.v,a,l,U.D);u=(1<<O)-1;w(U.C,E);x(U.C,E,d);w(U.D,O);x(U.D,O,v)}while(!0){var I=d[y(e,c)&f];c+=I&15;var B=I>>>4;if(B>>>8==0){i[h++]=B}else if(B==256){break}else{var T=h+B-254;if(B>264){var j=U.q[B-257];T=h+(j>>>3)+g(e,c,j&7);c+=j&7}var L=v[y(e,c)&u];c+=L&15;var C=L>>>4,D=U.c[C],_=(D>>>4)+b(e,c,D&15);c+=D&15;while(h<T){i[h]=i[h++-_];i[h]=i[h++-_];i[h]=i[h++-_];i[h]=i[h++-_]}h=T}}}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,o,a){var l=t.H.e,s=t.H.Z,f=0;while(f<r){var u=e[s(n,o)&i];o+=u&15;var h=u>>>4;if(h<=15){a[f]=h;f++}else{var c=0,d=0;if(h==16){d=3+l(n,o,2);o+=2;c=a[f-1]}else if(h==17){d=3+l(n,o,3);o+=3}else if(h==18){d=11+l(n,o,7);o+=7}var v=f+d;while(f<v){a[f]=c;f++}}}return o};t.H.V=function(t,e,i,r){var n=0,o=0,a=r.length>>>1;while(o<i){var l=t[o+e];r[o<<1]=0;r[(o<<1)+1]=l;if(l>n)n=l;o++}while(o<a){r[o<<1]=0;r[(o<<1)+1]=0;o++}return n};t.H.n=function(e,i){var r=t.H.m,n=e.length,o,a,l,s,f,u=r.j;for(var s=0;s<=i;s++)u[s]=0;for(s=1;s<n;s+=2)u[e[s]]++;var h=r.K;o=0;u[0]=0;for(a=1;a<=i;a++){o=o+u[a-1]<<1;h[a]=o}for(l=0;l<n;l+=2){f=e[l+1];if(f!=0){e[l]=h[f];h[f]++}}};t.H.A=function(e,i,r){var n=e.length,o=t.H.m,a=o.r;for(var l=0;l<n;l+=2)if(e[l+1]!=0){var s=l>>1,f=e[l+1],u=s<<4|f,h=i-f,c=e[l]<<h,d=c+(1<<h);while(c!=d){var v=a[c]>>>15-i;r[v]=u;c++}}};t.H.l=function(e,i){var r=t.H.m.r,n=15-i;for(var o=0;o<e.length;o+=2){var a=e[o]<<i-e[o+1];e[o]=r[a]>>>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 o(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]}o(e._,144,8);o(e._,255-143,9);o(e._,279-255,7);o(e._,287-279,8);t.H.n(e._,9);t.H.A(e._,9,e.J);t.H.l(e._,9);o(e.$,32,5);t.H.n(e.$,5);t.H.A(e.$,5,e.h);t.H.l(e.$,5);o(e.Q,19,0);o(e.C,286,0);o(e.D,30,0);o(e.v,320,0)})();return t.H.N}();g.decode._readInterlace=function(t,e){var i=e.width,r=e.height;var n=g.decode._getBPP(e),o=n>>3,a=Math.ceil(i*n/8);var l=new Uint8Array(r*a);var s=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 c=[8,8,4,4,2,2,1];var d=0;while(d<7){var v=h[d],p=c[d];var b=0,m=0;var w=f[d];while(w<r){w+=v;m++}var x=u[d];while(x<i){x+=p;b++}var y=Math.ceil(b*n/8);g.decode._filterZero(t,e,s,b,m);var U=0,k=f[d];while(k<r){var A=u[d];var S=s+U*y<<3;while(A<i){if(n==1){var z=t[S>>3];z=z>>7-(S&7)&1;l[k*a+(A>>3)]|=z<<7-((A&7)<<0)}if(n==2){var z=t[S>>3];z=z>>6-(S&7)&3;l[k*a+(A>>2)]|=z<<6-((A&3)<<1)}if(n==4){var z=t[S>>3];z=z>>4-(S&7)&15;l[k*a+(A>>1)]|=z<<4-((A&1)<<2)}if(n>=8){var N=k*a+A*o;for(var M=0;M<o;M++)l[N+M]=t[(S>>3)+M]}S+=n;A+=p}U++;k+=v}if(b*m!=0)s+=m*(1+y);d=d+1}return l};g.decode._getBPP=function(t){var e=[1,null,3,1,2,null,4][t.ctype];return e*t.depth};g.decode._filterZero=function(t,e,i,r,n){var o=g.decode._getBPP(e),a=Math.ceil(r*o/8),l=g.decode._paeth;o=Math.ceil(o/8);var s=0,f=1,u=t[i],h=0;if(u>1)t[i]=[0,0,1][u-2];if(u==3)for(h=o;h<a;h++)t[h+1]=t[h+1]+(t[h+1-o]>>>1)&255;for(var c=0;c<n;c++){s=i+c*a;f=s+c+1;u=t[f-1];h=0;if(u==0)for(;h<a;h++)t[s+h]=t[f+h];else if(u==1){for(;h<o;h++)t[s+h]=t[f+h];for(;h<a;h++)t[s+h]=t[f+h]+t[s+h-o]}else if(u==2){for(;h<a;h++)t[s+h]=t[f+h]+t[s+h-a]}else if(u==3){for(;h<o;h++)t[s+h]=t[f+h]+(t[s+h-a]>>>1);for(;h<a;h++)t[s+h]=t[f+h]+(t[s+h-a]+t[s+h-o]>>>1)}else{for(;h<o;h++)t[s+h]=t[f+h]+l(0,t[s+h-a],0);for(;h<a;h++)t[s+h]=t[f+h]+l(t[s+h-o],t[s+h-a],t[s+h-o-a])}}return t};g.decode._paeth=function(t,e,i){var r=t+e-i,n=r-t,o=r-e,a=r-i;if(n*n<=o*o&&n*n<=a*a)return t;else if(o*o<=a*a)return e;return i};g.decode._IHDR=function(t,e,i){var r=g._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++};g._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 o=0;o<i;o++)r+="%"+g._bin.pad(t[e+o].toString(16));try{n=decodeURIComponent(r)}catch(r){return g._bin.readASCII(t,e,i)}return n}};g._copyTile=function(t,e,i,r,n,o,a,l,s){var f=Math.min(e,n),u=Math.min(i,o);var h=0,c=0;for(var d=0;d<u;d++)for(var v=0;v<f;v++){if(a>=0&&l>=0){h=d*e+v<<2;c=(l+d)*n+a+v<<2}else{h=(-l+d)*e-a+v<<2;c=d*n+v<<2}if(s==0){r[c]=t[h];r[c+1]=t[h+1];r[c+2]=t[h+2];r[c+3]=t[h+3]}else if(s==1){var p=t[h+3]*(1/255),b=t[h]*p,g=t[h+1]*p,m=t[h+2]*p;var w=r[c+3]*(1/255),x=r[c]*w,y=r[c+1]*w,U=r[c+2]*w;var k=1-p,A=p+w*k,S=A==0?0:1/A;r[c+3]=255*A;r[c+0]=(b+x*k)*S;r[c+1]=(g+y*k)*S;r[c+2]=(m+U*k)*S}else if(s==2){var p=t[h+3],b=t[h],g=t[h+1],m=t[h+2];var w=r[c+3],x=r[c],y=r[c+1],U=r[c+2];if(p==w&&b==x&&g==y&&m==U){r[c]=0;r[c+1]=0;r[c+2]=0;r[c+3]=0}else{r[c]=b;r[c+1]=g;r[c+2]=m;r[c+3]=p}}else if(s==3){var p=t[h+3],b=t[h],g=t[h+1],m=t[h+2];var w=r[c+3],x=r[c],y=r[c+1],U=r[c+2];if(p==w&&b==x&&g==y&&m==U)continue;if(p<220&&w>20)return false}}return true};g.encode=function(t,e,i,r,n,o,a){if(r==null)r=0;if(a==null)a=false;var l=g.encode.compress(t,e,i,r,[false,false,false,0,a]);g.encode.compressPNG(l,-1);return g.encode._main(l,e,i,n,o)};g.encodeLL=function(t,e,i,r,n,o,a,l){var s={ctype:0+(r==1?0:2)+(n==0?0:4),depth:o,frames:[]};var f=(r+n)*o,u=f*e;for(var h=0;h<t.length;h++)s.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)});g.encode.compressPNG(s,0,true);var c=g.encode._main(s,e,i,a,l);return c};g.encode._main=function(t,e,i,r,n){if(n==null)n={};var o=g.crc.crc,a=g._bin.writeUint,l=g._bin.writeUshort,s=g._bin.writeASCII;var f=8,u=t.frames.length>1,h=false;var c=8+(16+5+4)+(u?20:0);if(n["sRGB"]!=null)c+=8+1+4;if(n["pHYs"]!=null)c+=8+9+4;if(t.ctype==3){var d=t.plte.length;for(var v=0;v<d;v++)if(t.plte[v]>>>24!=255)h=true;c+=8+d*3+4+(h?8+d*1+4:0)}for(var p=0;p<t.frames.length;p++){var b=t.frames[p];if(u)c+=38;c+=b.cimg.length+12;if(p!=0)c+=4}c+=12;var m=new Uint8Array(c);var w=[137,80,78,71,13,10,26,10];for(var v=0;v<8;v++)m[v]=w[v];a(m,f,13);f+=4;s(m,f,"IHDR");f+=4;a(m,f,e);f+=4;a(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++;a(m,f,o(m,f-17,17));f+=4;if(n["sRGB"]!=null){a(m,f,1);f+=4;s(m,f,"sRGB");f+=4;m[f]=n["sRGB"];f++;a(m,f,o(m,f-5,5));f+=4}if(n["pHYs"]!=null){a(m,f,9);f+=4;s(m,f,"pHYs");f+=4;a(m,f,n["pHYs"][0]);f+=4;a(m,f,n["pHYs"][1]);f+=4;m[f]=n["pHYs"][2];f++;a(m,f,o(m,f-13,13));f+=4}if(u){a(m,f,8);f+=4;s(m,f,"acTL");f+=4;a(m,f,t.frames.length);f+=4;a(m,f,n["loop"]!=null?n["loop"]:0);f+=4;a(m,f,o(m,f-12,12));f+=4}if(t.ctype==3){var d=t.plte.length;a(m,f,d*3);f+=4;s(m,f,"PLTE");f+=4;for(var v=0;v<d;v++){var x=v*3,y=t.plte[v],U=y&255,k=y>>>8&255,A=y>>>16&255;m[f+x+0]=U;m[f+x+1]=k;m[f+x+2]=A}f+=d*3;a(m,f,o(m,f-d*3-4,d*3+4));f+=4;if(h){a(m,f,d);f+=4;s(m,f,"tRNS");f+=4;for(var v=0;v<d;v++)m[f+v]=t.plte[v]>>>24&255;f+=d;a(m,f,o(m,f-d-4,d+4));f+=4}}var S=0;for(var p=0;p<t.frames.length;p++){var b=t.frames[p];if(u){a(m,f,26);f+=4;s(m,f,"fcTL");f+=4;a(m,f,S++);f+=4;a(m,f,b.rect.width);f+=4;a(m,f,b.rect.height);f+=4;a(m,f,b.rect.x);f+=4;a(m,f,b.rect.y);f+=4;l(m,f,r[p]);f+=2;l(m,f,1e3);f+=2;m[f]=b.dispose;f++;m[f]=b.blend;f++;a(m,f,o(m,f-30,30));f+=4}var z=b.cimg,d=z.length;a(m,f,d+(p==0?0:4));f+=4;var N=f;s(m,f,p==0?"IDAT":"fdAT");f+=4;if(p!=0){a(m,f,S++);f+=4}m.set(z,f);f+=d;a(m,f,o(m,N,f-N));f+=4}a(m,f,0);f+=4;s(m,f,"IEND");f+=4;a(m,f,o(m,f-4,4));f+=4;return m.buffer};g.encode.compressPNG=function(t,e,i){for(var r=0;r<t.frames.length;r++){var n=t.frames[r],o=n.rect.height;var a=new Uint8Array(o*n.bpl+o);n.cimg=g.encode._filterZero(n.img,o,n.bpp,n.bpl,a,e,i)}};g.encode.compress=function(t,e,i,r,n){var o=n[0],a=n[1],l=n[2],s=n[3],f=n[4];var u=6,h=8,c=255;for(var d=0;d<t.length;d++){var v=new Uint8Array(t[d]),p=v.length;for(var b=0;b<p;b+=4)c&=v[b+3]}var m=c!=255;var w=g.encode.framize(t,e,i,o,a,l);var x={},y=[],U=[];if(r!=0){var k=[];for(var b=0;b<w.length;b++)k.push(w[b].img.buffer);var A=g.encode.concatRGBA(k),S=g.quantize(A,r);console.log(S);var z=0,N=new Uint8Array(S.abuf);for(var b=0;b<w.length;b++){var M=w[b].img,E=M.length;U.push(new Uint8Array(S.inds.buffer,z>>2,E>>2));for(var d=0;d<E;d+=4){M[d]=N[z+d];M[d+1]=N[z+d+1];M[d+2]=N[z+d+2];M[d+3]=N[z+d+3]}z+=E}for(var b=0;b<S.plte.length;b++)y.push(S.plte[b].est.rgba)}else{for(var d=0;d<w.length;d++){var O=w[d],I=new Uint32Array(O.img.buffer),B=O.rect.width,p=I.length;var T=new Uint8Array(p);U.push(T);for(var b=0;b<p;b++){var j=I[b];if(b!=0&&j==I[b-1])T[b]=T[b-1];else if(b>B&&j==I[b-B])T[b]=T[b-B];else{var L=x[j];if(L==null){x[j]=L=y.length;y.push(j);if(y.length>=300)break}T[b]=L}}}}var C=y.length;if(C<=256&&f==false){if(C<=2)h=1;else if(C<=4)h=2;else if(C<=16)h=4;else h=8;h=Math.max(h,s)}for(var d=0;d<w.length;d++){var O=w[d],B=O.rect.width,D=O.rect.height;var _=O.img;var F=4*B,R=4;if(C<=256&&f==false){F=Math.ceil(h*B/8);var P=new Uint8Array(F*D);var V=U[d];for(var H=0;H<D;H++){var b=H*F,W=H*B;if(h==8)for(var Y=0;Y<B;Y++)P[b+Y]=V[W+Y];else if(h==4)for(var Y=0;Y<B;Y++)P[b+(Y>>1)]|=V[W+Y]<<4-(Y&1)*4;else if(h==2)for(var Y=0;Y<B;Y++)P[b+(Y>>2)]|=V[W+Y]<<6-(Y&3)*2;else if(h==1)for(var Y=0;Y<B;Y++)P[b+(Y>>3)]|=V[W+Y]<<7-(Y&7)*1}_=P;u=3;R=1}else if(m==false&&w.length==1){var P=new Uint8Array(B*D*3),q=B*D;for(var b=0;b<q;b++){var M=b*3,J=b*4;P[M]=_[J];P[M+1]=_[J+1];P[M+2]=_[J+2]}_=P;u=2;R=3;F=3*B}O.img=_;O.bpl=F;O.bpp=R}return{ctype:u,depth:h,plte:y,frames:w}};g.encode.framize=function(t,e,i,r,n,o){var a=[];for(var l=0;l<t.length;l++){var s=new Uint8Array(t[l]),f=new Uint32Array(s.buffer);var u;var h=0,c=0,d=e,v=i,p=r?1:0;if(l!=0){var b=o||r||l==1||a[l-2].dispose!=0?1:2,m=0,w=1e9;for(var x=0;x<b;x++){var y=new Uint8Array(t[l-1-x]),U=new Uint32Array(t[l-1-x]);var k=e,A=i,S=-1,z=-1;for(var N=0;N<i;N++)for(var M=0;M<e;M++){var E=N*e+M;if(f[E]!=U[E]){if(M<k)k=M;if(M>S)S=M;if(N<A)A=N;if(N>z)z=N}}if(S==-1)k=A=S=z=0;if(n){if((k&1)==1)k--;if((A&1)==1)A--}var O=(S-k+1)*(z-A+1);if(O<w){w=O;m=x;h=k;c=A;d=S-k+1;v=z-A+1}}var y=new Uint8Array(t[l-1-m]);if(m==1)a[l-1].dispose=2;u=new Uint8Array(d*v*4);g._copyTile(y,e,i,u,d,v,-h,-c,0);p=g._copyTile(s,e,i,u,d,v,-h,-c,3)?1:0;if(p==1)g.encode._prepareDiff(s,e,i,u,{x:h,y:c,width:d,height:v});else g._copyTile(s,e,i,u,d,v,-h,-c,0)}else u=s.slice(0);a.push({rect:{x:h,y:c,width:d,height:v},img:u,blend:p,dispose:0})}if(r)for(var l=0;l<a.length;l++){var I=a[l];if(I.blend==1)continue;var B=I.rect,T=a[l-1].rect;var j=Math.min(B.x,T.x),L=Math.min(B.y,T.y);var C=Math.max(B.x+B.width,T.x+T.width),D=Math.max(B.y+B.height,T.y+T.height);var _={x:j,y:L,width:C-j,height:D-L};a[l-1].dispose=1;if(l-1!=0)g.encode._updateFrame(t,e,i,a,l-1,_,n);g.encode._updateFrame(t,e,i,a,l,_,n)}if(t.length!=1)for(var E=0;E<a.length;E++){var I=a[E]}return a};g.encode._updateFrame=function(t,e,i,r,n,o,a){var l=Uint8Array,s=Uint32Array;var f=new l(t[n-1]),u=new s(t[n-1]),h=n+1<t.length?new l(t[n+1]):null;var c=new l(t[n]),d=new s(c.buffer);var v=e,p=i,b=-1,m=-1;for(var w=0;w<o.height;w++)for(var x=0;x<o.width;x++){var y=o.x+x,U=o.y+w;var k=U*e+y,A=d[k];if(A==0||r[n-1].dispose==0&&u[k]==A&&(h==null||h[k*4+3]!=0));else{if(y<v)v=y;if(y>b)b=y;if(U<p)p=U;if(U>m)m=U}}if(b==-1)v=p=b=m=0;if(a){if((v&1)==1)v--;if((p&1)==1)p--}o={x:v,y:p,width:b-v+1,height:m-p+1};var S=r[n];S.rect=o;S.blend=1;S.img=new Uint8Array(o.width*o.height*4);if(r[n-1].dispose==0){g._copyTile(f,e,i,S.img,o.width,o.height,-o.x,-o.y,0);g.encode._prepareDiff(c,e,i,S.img,o)}else g._copyTile(c,e,i,S.img,o.width,o.height,-o.x,-o.y,0)};g.encode._prepareDiff=function(t,e,i,r,n){g._copyTile(t,e,i,r,n.width,n.height,-n.x,-n.y,2)};g.encode._filterZero=function(t,e,i,r,n,o,a){var l=[],s=[0,1,2,3,4];if(o!=-1)s=[o];else if(e*r>5e5||i==1)s=[0];var f;if(a)f={level:0};var u=n.length>1e7&&UZIP!=null?UZIP:pako;for(var h=0;h<s.length;h++){for(var c=0;c<e;c++)g.encode._filterLine(n,t,c,r,i,s[h]);l.push(u["deflate"](n,f))}var d,v=1e9;for(var h=0;h<l.length;h++)if(l[h].length<v){d=h;v=l[h].length}return l[d]};g.encode._filterLine=function(t,e,i,r,n,o){var a=i*r,l=a+i,s=g.decode._paeth;t[l]=o;l++;if(o==0){if(r<500)for(var f=0;f<r;f++)t[l+f]=e[a+f];else t.set(new Uint8Array(e.buffer,a,r),l)}else if(o==1){for(var f=0;f<n;f++)t[l+f]=e[a+f];for(var f=n;f<r;f++)t[l+f]=e[a+f]-e[a+f-n]+256&255}else if(i==0){for(var f=0;f<n;f++)t[l+f]=e[a+f];if(o==2)for(var f=n;f<r;f++)t[l+f]=e[a+f];if(o==3)for(var f=n;f<r;f++)t[l+f]=e[a+f]-(e[a+f-n]>>1)+256&255;if(o==4)for(var f=n;f<r;f++)t[l+f]=e[a+f]-s(e[a+f-n],0,0)+256&255}else{if(o==2){for(var f=0;f<r;f++)t[l+f]=e[a+f]+256-e[a+f-r]&255}if(o==3){for(var f=0;f<n;f++)t[l+f]=e[a+f]+256-(e[a+f-r]>>1)&255;for(var f=n;f<r;f++)t[l+f]=e[a+f]+256-(e[a+f-r]+e[a+f-n]>>1)&255}if(o==4){for(var f=0;f<n;f++)t[l+f]=e[a+f]+256-s(0,e[a+f-r],0)&255;for(var f=n;f<r;f++)t[l+f]=e[a+f]+256-s(e[a+f-n],e[a+f-r],e[a+f-n-r])&255}}};g.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=g.crc.table[(t^e[i+n])&255]^t>>>8;return t},crc:function(t,e,i){return g.crc.update(4294967295,t,e,i)^4294967295}};g.quantize=function(t,e){var i=new Uint8Array(t),r=i.slice(0),n=new Uint32Array(r.buffer);var o=g.quantize.getKDtree(r,e);var a=o[0],l=o[1];var s=g.quantize.planeDst;var f=i,u=n,h=f.length;var c=new Uint8Array(i.length>>2),d;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),w=f[v+3]*(1/255);d=g.quantize.getNearest(a,p,b,m,w);c[v>>2]=d.ind;u[v>>2]=d.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),w=f[v+3]*(1/255);d=a;while(d.left)d=s(d.est,p,b,m,w)<=0?d.left:d.right;c[v>>2]=d.ind;u[v>>2]=d.est.rgba}return{abuf:r.buffer,inds:c,plte:l}};g.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=g.quantize.stats(t,n.i0,n.i1);n.est=g.quantize.estats(n.bst);var o=[n];while(o.length<e){var a=0,l=0;for(var s=0;s<o.length;s++)if(o[s].est.L>a){a=o[s].est.L;l=s}if(a<i)break;var f=o[l];var u=g.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 c={i0:f.i0,i1:u,bst:null,est:null,tdst:0,left:null,right:null};c.bst=g.quantize.stats(t,c.i0,c.i1);c.est=g.quantize.estats(c.bst);var d={i0:u,i1:f.i1,bst:null,est:null,tdst:0,left:null,right:null};d.bst={R:[],m:[],N:f.bst.N-c.bst.N};for(var s=0;s<16;s++)d.bst.R[s]=f.bst.R[s]-c.bst.R[s];for(var s=0;s<4;s++)d.bst.m[s]=f.bst.m[s]-c.bst.m[s];d.est=g.quantize.estats(d.bst);f.left=c;f.right=d;o[l]=c;o.push(d)}o.sort((function(t,e){return e.bst.N-t.bst.N}));for(var s=0;s<o.length;s++)o[s].ind=s;return[n,o]};g.quantize.getNearest=function(t,e,i,r,n){if(t.left==null){t.tdst=g.quantize.dist(t.est.q,e,i,r,n);return t}var o=g.quantize.planeDst(t.est,e,i,r,n);var a=t.left,l=t.right;if(o>0){a=t.right;l=t.left}var s=g.quantize.getNearest(a,e,i,r,n);if(s.tdst<=o*o)return s;var f=g.quantize.getNearest(l,e,i,r,n);return f.tdst<s.tdst?f:s};g.quantize.planeDst=function(t,e,i,r,n){var o=t.e;return o[0]*e+o[1]*i+o[2]*r+o[3]*n-t.eMq};g.quantize.dist=function(t,e,i,r,n){var o=e-t[0],a=i-t[1],l=r-t[2],s=n-t[3];return o*o+a*a+l*l+s*s};g.quantize.splitPixels=function(t,e,i,r,n,o){var a=g.quantize.vecDot;r-=4;while(i<r){while(a(t,i,n)<=o)i+=4;while(a(t,r,n)>o)r-=4;if(i>=r)break;var l=e[i>>2];e[i>>2]=e[r>>2];e[r>>2]=l;i+=4;r-=4}while(a(t,i,n)>o)i-=4;return i+4};g.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]};g.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 o=i-e>>2;for(var a=e;a<i;a+=4){var l=t[a]*(1/255),s=t[a+1]*(1/255),f=t[a+2]*(1/255),u=t[a+3]*(1/255);n[0]+=l;n[1]+=s;n[2]+=f;n[3]+=u;r[0]+=l*l;r[1]+=l*s;r[2]+=l*f;r[3]+=l*u;r[5]+=s*s;r[6]+=s*f;r[7]+=s*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:o}};g.quantize.estats=function(t){var e=t.R,i=t.m,r=t.N;var n=i[0],o=i[1],a=i[2],l=i[3],s=r==0?0:1/r;var f=[e[0]-n*n*s,e[1]-n*o*s,e[2]-n*a*s,e[3]-n*l*s,e[4]-o*n*s,e[5]-o*o*s,e[6]-o*a*s,e[7]-o*l*s,e[8]-a*n*s,e[9]-a*o*s,e[10]-a*a*s,e[11]-a*l*s,e[12]-l*n*s,e[13]-l*o*s,e[14]-l*a*s,e[15]-l*l*s];var u=f,h=g.M4;var c=[Math.random(),Math.random(),Math.random(),Math.random()],d=0,v=0;if(r!=0)for(var p=0;p<16;p++){c=h.multVec(u,c);v=Math.sqrt(h.dot(c,c));c=h.sml(1/v,c);if(p!=0&&Math.abs(v-d)<1e-9)break;d=v}var b=[n*s,o*s,a*s,l*s];var m=h.dot(h.sml(255,b),c);return{Cov:f,q:b,e:c,L:d,eMq255:m,eMq:h.dot(c,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}};g.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]]}};g.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 o=new Uint8Array(t[i]),a=o.length;for(var l=0;l<a;l+=4){var s=o[l],f=o[l+1],u=o[l+2],h=o[l+3];if(h==0)s=f=u=0;r[n+l]=s;r[n+l+1]=f;r[n+l+2]=u;r[n+l+3]=h}n+=a}return r.buffer};var m={exports:{}};(function(t,e){!function(e,i){t.exports=i(o.exports)}(s,(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),o=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())),o=this._delegate||this;o.onDrawLayer&&o.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=o},function(e,i){e.exports=t}])}))})(m);var w='/*!\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 x=w;var y=t("discovery_plugin_marauder",function(){function t(t){e(this,t);this.draw=i(this,"draw",7);this.dataPointOver=i(this,"dataPointOver",7);this.pausedEvent=i(this,"pausedEvent",7);this.defOptions=Object.assign(Object.assign({},new c),{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=a.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 c;this.width=undefined;this.height=undefined;this.debug=false;this.parsing=false;this.toDisplay=[];this.innerOptions=undefined;this.loading=true;this.currentTick=undefined;this.paused=true;this.selected=[]}t.prototype.updateRes=function(t,e){var i=this;if(JSON.stringify(t)!==JSON.stringify(e)){this.result=f.getData(this.result);this.initial=true;setTimeout((function(){var t;return i.drawMap((t=i.result)!==null&&t!==void 0?t:new v,true,true)}))}};t.prototype.optionsUpdate=function(t,e){var i=this;this.LOG.debug(["optionsUpdate"],t,e);if(JSON.stringify(t)!==JSON.strin