PageSourceSearch

https://windpowerindia.com/_next/static/chunks/2212-bff1d8b4bb9f4340.js

js windpowerindia.com collected 2026-10-02 21:52:08 UTC 35,183 bytes, 1 lines download raw bytes

vendor: 1,800 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2212],{6466:function(e,t,r){r.d(t,{GZ:function(){return em},T8:function(){return ec},TD:function(){return eh},Xo:function(){return ey},iF:function(){return ei}});var n={},i=Uint8Array,a=Uint16Array,o=Int32Array,s=new i([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]),l=new i([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]),h=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=function(e,t){for(var r=new a(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];for(var i=new o(r[30]),n=1;n<30;++n)for(var s=r[n];s<r[n+1];++s)i[s]=s-r[n]<<5|n;return{b:r,r:i}},d=c(s,2),u=d.b,f=d.r;u[28]=258,f[258]=28;for(var g=c(l,0),p=g.b,y=g.r,m=new a(32768),v=0;v<32768;++v){var w=(43690&v)>>1|(21845&v)<<1;w=(61680&(w=(52428&w)>>2|(13107&w)<<2))>>4|(3855&w)<<4,m[v]=((65280&w)>>8|(255&w)<<8)>>1}for(var _=function(e,t,r){for(var n,i=e.length,o=0,s=new a(t);o<i;++o)e[o]&&++s[e[o]-1];var l=new a(t);for(o=1;o<t;++o)l[o]=l[o-1]+s[o-1]<<1;if(r){n=new a(1<<t);var h=15-t;for(o=0;o<i;++o)if(e[o])for(var c=o<<4|e[o],d=t-e[o],u=l[e[o]-1]++<<d,f=u|(1<<d)-1;u<=f;++u)n[m[u]>>h]=c}else for(o=0,n=new a(i);o<i;++o)e[o]&&(n[o]=m[l[e[o]-1]++]>>15-e[o]);return n},b=new i(288),v=0;v<144;++v)b[v]=8;for(var v=144;v<256;++v)b[v]=9;for(var v=256;v<280;++v)b[v]=7;for(var v=280;v<288;++v)b[v]=8;for(var x=new i(32),v=0;v<32;++v)x[v]=5;var C=_(b,9,0),I=_(b,9,1),O=_(x,5,0),T=_(x,5,1),M=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},D=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},S=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},k=function(e){return(e+7)/8|0},E=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new i(e.subarray(t,r))}
1,U=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],P=function(e,t,r){var n=Error(t||U[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,P),!r)throw n;return n},A=function(e,t,r,n){var a=e.length,o=n?n.length:0;if(!a||t.f&&!t.l)return r||new i(0);var c=!r,d=c||2!=t.i,f=t.i;c&&(r=new i(3*a));var g=function(e){var t=r.length;if(e>t){var n=new i(Math.max(2*t,e));n.set(r),r=n}},y=t.f||0,m=t.p||0,v=t.b||0,w=t.l,b=t.d,x=t.m,C=t.n,O=8*a;do{if(!w){y=D(e,m,1);var U=D(e,m+1,3);if(m+=3,U){if(1==U)w=I,b=T,x=9,C=5;else if(2==U){var A=D(e,m,31)+257,$=D(e,m+10,15)+4,z=A+D(e,m+5,31)+1;m+=14;for(var R=new i(z),F=new i(19),W=0;W<$;++W)F[h[W]]=D(e,m+3*W,7);m+=3*$;for(var B=M(F),N=(1<<B)-1,Z=_(F,B,1),W=0;W<z;){var H=Z[D(e,m,N)];m+=15&H;var j=H>>4;if(j<16)R[W++]=j;else{var G=0,J=0;for(16==j?(J=3+D(e,m,3),m+=2,G=R[W-1]):17==j?(J=3+D(e,m,7),m+=3):18==j&&(J=11+D(e,m,127),m+=7);J--;)R[W++]=G}}var K=R.subarray(0,A),V=R.subarray(A);x=M(K),C=M(V),w=_(K,x,1),b=_(V,C,1)}else P(1)}else{var j=k(m)+4,q=e[j-4]|e[j-3]<<8,X=j+q;if(X>a){f&&P(0);break}d&&g(v+q),r.set(e.subarray(j,X),v),t.b=v+=q,t.p=m=8*X,t.f=y;continue}if(m>O){f&&P(0);break}}d&&g(v+131072);for(var Y=(1<<x)-1,Q=(1<<C)-1,ee=m;;ee=m){var G=w[S(e,m)&Y],et=G>>4;if((m+=15&G)>O){f&&P(0);break}if(G||P(2),et<256)r[v++]=et;else if(256==et){ee=m,w=null;break}else{var er=et-254;if(et>264){var W=et-257,en=s[W];er=D(e,m,(1<<en)-1)+u[W],m+=en}var ei=b[S(e,m)&Q],ea=ei>>4;ei||P(3),m+=15&ei;var V=p[ea];if(ea>3){var en=l[ea];V+=S(e,m)&(1<<en)-1,m+=en}if(m>O){f&&P(0);break}d&&g(v+131072);var eo=v+er;if(v<V){var es=o-V,el=Math.min(V,eo);for(es+v<0&&P(3);v<el;++v)r[v]=n[es+v]}for(;v<eo;++v)r[v]=r[v-V]}}t.l=w,t.p=ee,t.b=v,t.f=y,w&&(y=1,t.m=x,t.d=b,t.n=C)}while(!y);return v!=r.length&&c?E(r,0,v):r.subarray(0,v)},$=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},z=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},R=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var o=r.length,s=r.slice();if(!o)return{t:j,l:0};if(1==o){var l=new i(r[0].s+1);return l[r[0].s]=1,{t:l,l:1}}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var h=r[0],c=r[1],d=0,u=1,f=2;for(r[0]={s:-1,f:h.f+c.f,l:h,r:c};u!=o-1;)h=r[r[d].f<r[f].f?d++:f++],c=r[d!=u&&r[d].f<r[f].f?d++:f++],r[u++]={s:-1,f:h.f+c.f,l:h,r:c};for(var g=s[0].s,n=1;n<o;++n)s[n].s>g&&(g=s[n].s);var p=new a(g+1),y=F(r[u-1],p,0);if(y>t){var n=0,m=0,v=y-t,w=1<<v;for(s.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});n<o;++n){var _=s[n].s;if(p[_]>t)m+=w-(1<<y-p[_]),p[_]=t;else break}for(m>>=v;m>0;){var b=s[n].s;p[b]<t?m-=1<<t-p[b]++-1:++n}for(;n>=0&&m;--n){var x=s[n].s;p[x]==t&&(--p[x],++m)}y=t}return{t:new i(p),l:y}},F=function(e,t,r){return -1==e.s?Math.max(F(e.l,t,r+1),F(e.r,t,r+1)):t[e.s]=r},W=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new a(++t),n=0,i=e[0],o=1,s=function(e){r[n++]=e},l=1;l<=t;++l)if(e[l]==i&&l!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(i),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(i);o=1,i=e[l]}return{c:r.subarray(0,n),n:t}},B=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},N=function(e,t,r){var n=r.length,i=k(t+2);e[i]=255&n,e[i+1]=n>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var a=0;a<n;++a)e[i+a+4]=r[a];return(i+4+n)*8},Z=function(e,t,r,n,i,o,c,d,u,f,g){$(t,g++,r),++i[256];for(var p,y,m,v,w=R(i,15),I=w.t,T=w.l,M=R(o,15),D=M.t,S=M.l,k=W(I),E=k.c,U=k.n,P=W(D),A=P.c,F=P.n,Z=new a(19),H=0;H<E.length;++H)++Z[31&E[H]];for(var H=0;H<A.length;++H)++Z[31&A[H]];for(var j=R(Z,7),G=j.t,J=j.l,K=19;K>4&&!G[h[K-1]];--K);var V=f+5<<3,q=B(i,b)+B(o,x)+c,X=B(i,I)+B(o,D)+c+14+3*K+B(Z,G)+2*Z[16]+3*Z[17]+7*Z[18];if(u>=0&&V<=q&&V<=X)return N(t,g,e.subarray(u,u+f));if($(t,g,1+(X<q)),g+=2,X<q){p=_(I,T,0),y=I,m=_(D,S,0),v=D;var Y=_(G,J,0);$(t,g,U-257),$(t,g+5,F-1),$(t,g+10,K-4),g+=14;for(var H=0;H<K;++H)$(t,g+3*H,G[h[H]]);g+=3*K;for(var Q=[E,A],ee=0;ee<2;++ee)for(var et=Q[ee],H=0;H<et.length;++H){var er=31&et[H];$(t,g,Y[er]),g+=G[er],er>15&&($(t,g,et[H]>>5&127),g+=et[H]>>12)}}else p=C,y=b,m=O,v=x;for(var H=0;H<d;++H){var en=n[H];if(en>255){var er=en>>18&31;z(t,g,p[er+257]),g+=y[er+257],er>7&&($(t,g,en>>23&31),g+=s[er]);var ei=31&en;z(t,g,m[ei]),g+=v[ei],ei>3&&(z(t,g,en>>5&8191),g+=l[ei])}else z(t,g,p[en]),g+=y[en]}return z(t,g,p[256]),g+y[256]},H=new o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),j=new i(0),G=function(e,t,r,n,h,c){var d=c.z||e.length,u=new i(n+d+5*(1+Math.ceil(d/7e3))+h),g=u.subarray(n,u.length-h),p=c.l,m=7&(c.r||0);if(t){m&&(g[0]=c.r>>3);for(var v=H[t-1],w=v>>13,_=8191&v,b=(1<<r)-1,x=c.p||new a(32768),C=c.h||new a(b+1),I=Math.ceil(r/3),O=2*I,T=function(t){return(e[t]^e[t+1]<<I^e[t+2]<<O)&b},M=new o(25e3),D=new a(288),S=new a(32),U=0,P=0,A=c.i||0,$=0,z=c.w||0,R=0;A+2<d;++A){var F=T(A),W=32767&A,B=C[F];if(x[W]=B,C[F]=W,z<=A){var j=d-A;if((U>7e3||$>24576)&&(j>423||!p)){m=Z(e,g,0,M,D,S,P,$,R,A-R,m),$=U=P=0,R=A;for(var G=0;G<286;++G)D[G]=0;for(var G=0;G<30;++G)S[G]=0}var J=2,K=0,V=_,q=W-B&32767;if(j>2&&F==T(A-q))for(var X=Math.min(w,j)-1,Y=Math.min(32767,A),Q=Math.min(258,j);q<=Y&&--V&&W!=B;){if(e[A+J]==e[A+J-q]){for(var ee=0;ee<Q&&e[A+ee]==e[A+ee-q];++ee);if(ee>J){if(J=ee,K=q,ee>X)break;for(var et=Math.min(q,ee-2),er=0,G=0;G<et;++G){var en=A-q+G&32767,ei=x[en],ea=en-ei&32767;ea>er&&(er=ea,B=en)}}}B=x[W=B],q+=W-B&32767}if(K){M[$++]=268435456|f[J]<<18|y[K];var eo=31&f[J],es=31&y[K];P+=s[eo]+l[es],++D[257+eo],++S[es],z=A+J,++U}else M[$++]=e[A],++D[e[A]]}}for(A=Math.max(A,z);A<d;++A)M[$++]=e[A],++D[e[A]];m=Z(e,g,p,M,D,S,P,$,R,A-R,m),p||(c.r=7&m|g[m/8|0]<<3,m-=7,c.h=C,c.p=x,c.i=A,c.w=z)}else{for(var A=c.w||0;A<d+p;A+=65535){var el=A+65535;el>=d&&(g[m/8|0]=p,el=d),m=N(g,m+1,e.subarray(A,el))}c.i=d}return E(u,0,n+k(m)+h)},J=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&-306674912)^r>>>1;e[t]=r}return e}(),K=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=J[255&r^t[n]]^r>>>8;e=r},d:function(){return~e}}},V=function(e,t,r,n,a){if(!a&&(a={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),s=new i(o.length+e.length);s.set(o),s.set(e,o.length),e=s,a.w=o.length}return G(e,null==t.level?6:t.level,null==t.mem?a.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,n,a)},q=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},X=function(e,t){return e[t]|e[t+1]<<8},Y=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0},Q=function(e,t){return Y(e,t)+4294967296*Y(e,t+4)},ee=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},et=function(e){(31!=e[0]||139!=e[1]||8!=e[2])&&P(6,"invalid gzip data");var t=e[3],r=10;4&t&&(r+=(e[10]|e[11]<<8)+2);for(var n=(t>>3&1)+(t>>4&1);n>0;n-=!e[r++]);return r+(2&t)},er=function(e){var t=e.length;return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0};function en(e,t){return A(e,{i:2},t&&t.out,t&&t.dictionary)}function ei(e,t){var r,n;
1return 31==e[0]&&139==e[1]&&8==e[2]?((r=et(e))+8>e.length&&P(6,"invalid gzip data"),A(e.subarray(r,-8),{i:2},t&&t.out||new i(er(e)),t&&t.dictionary)):(15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?en(e,t):A(e.subarray((n=t&&t.dictionary,((15&e[0])!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&P(6,"invalid zlib data"),(e[1]>>5&1)==+!n&&P(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2),-4),{i:2},t&&t.out,t&&t.dictionary)}var ea=function(e,t,r,n){for(var a in e){var o=e[a],s=t+a,l=n;Array.isArray(o)&&(l=q(n,o[1]),o=o[0]),ArrayBuffer.isView(o)?r[s]=[o,l]:(r[s+="/"]=[new i(0),l],ea(o,s,r,n))}},eo="undefined"!=typeof TextEncoder&&new TextEncoder,es="undefined"!=typeof TextDecoder&&new TextDecoder;try{es.decode(j,{stream:!0})}catch(e){}var el=function(e){for(var t="",r=0;;){var n=e[r++],i=(n>127)+(n>223)+(n>239);if(r+i>e.length)return{s:t,r:E(e,r-1)};i?3==i?t+=String.fromCharCode(55296|(n=((15&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536)>>10,56320|1023&n):1&i?t+=String.fromCharCode((31&n)<<6|63&e[r++]):t+=String.fromCharCode((15&n)<<12|(63&e[r++])<<6|63&e[r++]):t+=String.fromCharCode(n)}};function eh(e,t){if(t){for(var r=new i(e.length),n=0;n<e.length;++n)r[n]=e.charCodeAt(n);return r}if(eo)return eo.encode(e);for(var a=e.length,o=new i(e.length+(e.length>>1)),s=0,l=function(e){o[s++]=e},n=0;n<a;++n){if(s+5>o.length){var h=new i(s+8+(a-n<<1));h.set(o),o=h}var c=e.charCodeAt(n);c<128||t?l(c):(c<2048?l(192|c>>6):(c>55295&&c<57344?(l(240|(c=65536+(1047552&c)|1023&e.charCodeAt(++n))>>18),l(128|c>>12&63)):l(224|c>>12),l(128|c>>6&63)),l(128|63&c))}return E(o,0,s)}function ec(e,t){if(t){for(var r="",n=0;n<e.length;n+=16384)r+=String.fromCharCode.apply(null,e.subarray(n,n+16384));return r}if(es)return es.decode(e);var i=el(e),a=i.s,r=i.r;return r.length&&P(8),a}var ed=function(e,t,r){var n=X(e,t+28),i=X(e,t+30),a=ec(e.subarray(t+46,t+46+n),!(2048&X(e,t+8))),o=t+46+n,s=eu(e,o,i,r,Y(e,t+20),Y(e,t+24),Y(e,t+42)),l=s[0],h=s[1],c=s[2];return[X(e,t+10),l,h,a,o+i+X(e,t+32),c]},eu=function(e,t,r,n,i,a,o){var s=4294967295==i,l=4294967295==a,h=4294967295==o,c=t+r;if(n&&s+l+h){for(;t+4<c;t+=4+X(e,t+2))if(1==X(e,t))return[s?Q(e,t+4+8*l):i,l?Q(e,t+4):a,h?Q(e,t+4+8*(l+s)):o,1];n<2&&P(13)}return[i,a,o,0]},ef=function(e){var t=0;if(e)for(var r in e){var n=e[r].length;n>65535&&P(9),t+=n+4}return t},eg=function(e,t,r,n,i,a,o,s){var l=n.length,h=r.extra,c=s&&s.length,d=ef(h);ee(e,t,null!=o?33639248:67324752),t+=4,null!=o&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(a<0&&8),e[t++]=i&&8,e[t++]=255&r.compression,e[t++]=r.compression>>8;var u=new Date(null==r.mtime?Date.now():r.mtime),f=u.getFullYear()-1980;if((f<0||f>119)&&P(10),ee(e,t,f<<25|u.getMonth()+1<<21|u.getDate()<<16|u.getHours()<<11|u.getMinutes()<<5|u.getSeconds()>>1),t+=4,-1!=a&&(ee(e,t,r.crc),ee(e,t+4,a<0?-a-2:a),ee(e,t+8,r.size)),ee(e,t+12,l),ee(e,t+14,d),t+=16,null!=o&&(ee(e,t,c),ee(e,t+6,r.attrs),ee(e,t+10,o),t+=14),e.set(n,t),t+=l,d)for(var g in h){var p=h[g],y=p.length;ee(e,t,+g),ee(e,t+2,y),e.set(p,t+4),t+=4+y}return c&&(e.set(s,t),t+=c),t},ep=function(e,t,r,n,i){ee(e,t,101010256),ee(e,t+8,r),ee(e,t+10,r),ee(e,t+12,n),ee(e,t+16,i)};function ey(e,t){t||(t={});var r={},n=[];ea(e,"",r,t);var a=0,o=0;for(var s in r){var l=r[s],h=l[0],c=l[1],d=0==c.level?0:8,u=eh(s),f=u.length,g=c.comment,p=g&&eh(g),y=p&&p.length,m=ef(c.extra);f>65535&&P(11);var v=d?V(h,c||{},0,0):h,w=v.length,_=K();_.p(h),n.push(q(c,{size:h.length,crc:_.d(),c:v,f:u,m:p,u:f!=s.length||p&&g.length!=y,o:a,compression:d})),a+=30+f+m+w,o+=76+2*(f+m)+(y||0)+w}for(var b=new i(o+22),x=a,C=o-a,I=0;I<n.length;++I){var u=n[I];eg(b,u.o,u,u.f,u.u,u.c.length);var O=30+u.f.length+ef(u.extra);b.set(u.c,u.o+O),eg(b,a,u,u.f,u.u,u.c.length,u.o,u.m),a+=16+O+(u.m?u.m.length:0)}return ep(b,a,n.length,C,x),b}function em(e,t){for(var r={},n=e.length-22;101010256!=Y(e,n);--n)(!n||e.length-n>65558)&&P(13);var a=X(e,n+8);if(!a)return{};var o=Y(e,n+16),s=117853008==Y(e,n-20);if(s){var l=Y(e,n-12);(s=101075792==Y(e,l))&&(a=Y(e,l+32),o=Y(e,l+48))}for(var h=t&&t.filter,c=0;c<a;++c){var d=ed(e,o,s),u=d[0],f=d[1],g=d[2],p=d[3],y=d[4],m=d[5],v=m+30+X(e,m+26)+X(e,m+28);o=y,(!h||h({name:p,size:f,originalSize:g,compression:u}))&&(u?8==u?r[p]=en(e.subarray(v,v+f),{out:new i(g)}):P(14,"unknown compression type "+u):r[p]=E(e,v,v+f))}return r}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout},74689:function(e,t,r){let n,i;r.d(t,{b$:function(){return u}});var a=r(6466),o=Object.defineProperty,s=Math.pow,l=(e,t)=>
1o(e,"name",{value:t,configurable:!0}),h=(e,t,r)=>new Promise((n,i)=>{var a=e=>{try{s(r.next(e))}catch(e){i(e)}},o=e=>{try{s(r.throw(e))}catch(e){i(e)}},s=e=>e.done?n(e.value):Promise.resolve(e.value).then(a,o);s((r=r.apply(e,t)).next())});l((e,t)=>{let r=!1,n="";return new(L.GridLayer.extend({createTile:l((t,i)=>{let a=document.createElement("img"),o=new AbortController,s=o.signal;return a.cancel=()=>{o.abort()},r||(e.getHeader().then(e=>{1===e.tileType||6===e.tileType?console.error("Error: archive contains vector tiles, but leafletRasterLayer is for displaying raster tiles. See https://github.com/protomaps/PMTiles/tree/main/js for details."):2===e.tileType?n="image/png":3===e.tileType?n="image/jpeg":4===e.tileType?n="image/webp":5===e.tileType&&(n="image/avif")}),r=!0),e.getZxy(t.z,t.x,t.y,s).then(e=>{if(e){let t=new Blob([e.data],{type:n}),r=window.URL.createObjectURL(t);a.src=r}else a.style.display="none";a.cancel=void 0,i(void 0,a)}).catch(e=>{if("AbortError"!==e.name)throw e}),a},"createTile"),_removeTile:l(function(e){let t=this._tiles[e];t&&(t.el.cancel&&t.el.cancel(),t.el.src&&window.URL.revokeObjectURL(t.el.src),t.el.width=0,t.el.height=0,t.el.deleted=!0,L.DomUtil.remove(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},"_removeTile")}))(t)},"leafletRasterLayer");var c=l(e=>(t,r)=>{if(r instanceof AbortController)return e(t,r);let n=new AbortController;return e(t,n).then(e=>r(void 0,e.data,e.cacheControl||"",e.expires||""),e=>r(e)).catch(e=>r(e)),{cancel:l(()=>n.abort(),"cancel")}},"v3compat"),d=class{constructor(e){this.tilev4=l((e,t)=>h(this,null,function*(){if("json"===e.type){let r=e.url.substr(10),n=this.tiles.get(r);if(n||(n=new A(r),this.tiles.set(r,n)),this.metadata){let r=yield n.getTileJson(e.url);return t.signal.throwIfAborted(),{data:r}}let i=yield n.getHeader();return t.signal.throwIfAborted(),(i.minLon>=i.maxLon||i.minLat>=i.maxLat)&&console.error(`Bounds of PMTiles archive ${i.minLon},${i.minLat},${i.maxLon},${i.maxLat} are not valid.`),{data:{tiles:[`${e.url}/{z}/{x}/{y}`],minzoom:i.minZoom,maxzoom:i.maxZoom,bounds:[i.minLon,i.minLat,i.maxLon,i.maxLat]}}}let r=new RegExp(/pmtiles:\/\/(.+)\/(\d+)\/(\d+)\/(\d+)/),n=e.url.match(r);if(!n)throw Error("Invalid PMTiles protocol URL");let i=n[1],a=this.tiles.get(i);a||(a=new A(i),this.tiles.set(i,a));let o=n[2],s=n[3],l=n[4],h=yield null==a?void 0:a.getZxy(+o,+s,+l,t.signal);if(t.signal.throwIfAborted(),h)return{data:new Uint8Array(h.data),cacheControl:h.cacheControl,expires:h.expires};let c=yield a.getHeader();if(1===c.tileType||6===c.tileType){if(this.errorOnMissingTile)throw Error("Tile not found.");return{data:new Uint8Array}}return{data:null}}),"tilev4"),this.tile=c(this.tilev4),this.tiles=new Map,this.metadata=(null==e?void 0:e.metadata)||!1,this.errorOnMissingTile=(null==e?void 0:e.errorOnMissingTile)||!1}add(e){this.tiles.set(e.source.getKey(),e)}get(e){return this.tiles.get(e)}};l(d,"Protocol");var u=d;function f(e,t){return(t>>>0)*4294967296+(e>>>0)}function g(e,t){let r=t.buf,n=r[t.pos++],i=(112&n)>>4;if(n<128||(i|=(127&(n=r[t.pos++]))<<3,n<128)||(i|=(127&(n=r[t.pos++]))<<10,n<128)||(i|=(127&(n=r[t.pos++]))<<17,n<128)||(i|=(127&(n=r[t.pos++]))<<24,n<128)||(i|=(1&(n=r[t.pos++]))<<31,n<128))return f(e,i);throw Error("Expected varint not more than 10 bytes")}function p(e){let t=e.buf,r=t[e.pos++],n=127&r;return r<128||(n|=(127&(r=t[e.pos++]))<<7,r<128)||(n|=(127&(r=t[e.pos++]))<<14,r<128)||(n|=(127&(r=t[e.pos++]))<<21,r<128)?n:g(n|=(15&(r=t[e.pos]))<<28,e)}function y(e,t,r,n,i){return 0===i?0!==n?[e-1-r,e-1-t]:[r,t]:[t,r]}function m(e,t,r){if(e>26)throw Error("Tile zoom level exceeds max safe number limit (26)");if(t>=1<<e||r>=1<<e)throw Error("tile x/y outside zoom level bounds");let n=((1<<e)*(1<<e)-1)/3,i=e-1,[a,o]=[t,r];for(let e=1<<i;e>0;e>>=1){let t=a&e,r=o&e;n+=(3*t^r)*(1<<i),[a,o]=y(e,a,o,t,r),i--}return n}function v(e){let t=3*e+1;return t<4294967296?31-Math.clz32(t):63-Math.clz32(t/4294967296)}l(f,"toNum"),l(g,"readVarintRemainder"),l(p,"readVarint"),l(y,"rotate"),l(m,"zxyToTileId"),l(v,"tileIdToZ"),l(function(e){let t=v(e)>>1;
1if(t>26)throw Error("Tile zoom level exceeds max safe number limit (26)");let r=e-((1<<t)*(1<<t)-1)/3,n=0,i=0,a=1<<t;for(let e=1;e<a;e<<=1){let t=e&r/2,a=e&(r^t);[n,i]=y(e,n,i,t,a),r/=2,n+=t,i+=a}return[t,n,i]},"tileIdToZxy");var w=((n=w||{})[n.Unknown=0]="Unknown",n[n.None=1]="None",n[n.Gzip=2]="Gzip",n[n.Brotli=3]="Brotli",n[n.Zstd=4]="Zstd",n);function _(e,t){return h(this,null,function*(){if(1===t||0===t)return e;if(2===t){if(void 0===globalThis.DecompressionStream)return(0,a.iF)(new Uint8Array(e));let t=new Response(e).body;if(!t)throw Error("Failed to read response stream");return new Response(t.pipeThrough(new globalThis.DecompressionStream("gzip"))).arrayBuffer()}throw Error("Compression method not supported")})}l(_,"defaultDecompress");var b=((i=b||{})[i.Unknown=0]="Unknown",i[i.Mvt=1]="Mvt",i[i.Png=2]="Png",i[i.Jpeg=3]="Jpeg",i[i.Webp=4]="Webp",i[i.Avif=5]="Avif",i[i.Mlt=6]="Mlt",i);function x(e){return 1===e?".mvt":2===e?".png":3===e?".jpg":4===e?".webp":5===e?".avif":6===e?".mlt":""}function C(e,t){let r=0,n=e.length-1;for(;r<=n;){let i=n+r>>1,a=t-e[i].tileId;if(a>0)r=i+1;else{if(!(a<0))return e[i];n=i-1}}return n>=0&&(0===e[n].runLength||t-e[n].tileId<e[n].runLength)?e[n]:null}l(x,"tileTypeExt"),l(C,"findTile"),l(class{constructor(e){this.file=e}getKey(){return this.file.name}getBytes(e,t){return h(this,null,function*(){return{data:yield this.file.slice(e,e+t).arrayBuffer()}})}},"FileSource");var I=class{constructor(e,t=new Headers,r){var n,i;this.url=e,this.customHeaders=t,this.credentials=r,this.mustReload=!1;let a="";"navigator"in globalThis&&(a=null!=(i=null==(n=globalThis.navigator)?void 0:n.userAgent)?i:"");let o=a.indexOf("Windows")>-1,s=/Chrome|Chromium|Edg|OPR|Brave/.test(a);this.chromeWindowsNoCache=!1,o&&s&&(this.chromeWindowsNoCache=!0)}getKey(){return this.url}setHeaders(e){this.customHeaders=e}getBytes(e,t,r,n){return h(this,null,function*(){let i,a,o;a=r||(i=new AbortController).signal;let s=new Headers(this.customHeaders);s.set("range",`bytes=${e}-${e+t-1}`),this.mustReload?o="reload":this.chromeWindowsNoCache&&(o="no-store");let l=yield fetch(this.url,{signal:a,cache:o,headers:s,credentials:this.credentials});if(0===e&&416===l.status){let e=l.headers.get("Content-Range");if(!e||!e.startsWith("bytes */"))throw Error("Missing content-length on 416 response");let t=+e.substr(8);s.set("range",`bytes=0-${t-1}`),l=yield fetch(this.url,{signal:a,cache:"reload",headers:s,credentials:this.credentials})}let h=l.headers.get("Etag");if(null!=h&&h.startsWith("W/")&&(h=null),416===l.status||n&&h&&h!==n)throw this.mustReload=!0,new S(`Server returned non-matching ETag ${n} after one retry. Check browser extensions and servers for issues that may affect correct ETag headers.`);if(l.status>=300)throw Error(`Bad response code: ${l.status}`);let c=l.headers.get("Content-Length");if(200===l.status&&(!c||+c>t))throw i&&i.abort(),Error("Server returned no content-length header or content-length exceeding request. Check that your storage backend supports HTTP Byte Serving.");return{data:yield l.arrayBuffer(),etag:h||void 0,cacheControl:l.headers.get("Cache-Control")||void 0,expires:l.headers.get("Expires")||void 0}})}};function O(e,t){let r=e.getUint32(t+4,!0),n=e.getUint32(t+0,!0);return r*s(2,32)+n}function T(e,t){let r=new DataView(e),n=r.getUint8(7);if(n>3)throw Error(`Archive is spec version ${n} but this library supports up to spec version 3`);return{specVersion:n,rootDirectoryOffset:O(r,8),rootDirectoryLength:O(r,16),jsonMetadataOffset:O(r,24),jsonMetadataLength:O(r,32),leafDirectoryOffset:O(r,40),leafDirectoryLength:O(r,48),tileDataOffset:O(r,56),tileDataLength:O(r,64),numAddressedTiles:O(r,72),numTileEntries:O(r,80),numTileContents:O(r,88),clustered:1===r.getUint8(96),internalCompression:r.getUint8(97),tileCompression:r.getUint8(98),tileType:r.getUint8(99),minZoom:r.getUint8(100),maxZoom:r.getUint8(101),minLon:r.getInt32(102,!0)/1e7,minLat:r.getInt32(106,!0)/1e7,maxLon:r.getInt32(110,!0)/1e7,maxLat:r.getInt32(114,!0)/1e7,centerZoom:r.getUint8(118),centerLon:r.getInt32(119,!0)/1e7,centerLat:r.getInt32(123,!0)/1e7,etag:t}}function M(e){let t={buf:new Uint8Array(e),pos:0},r=p(t),n=[],i=0;for(let e=0;e<r;e++){let e=p(t);n.push({tileId:i+e,offset:0,length:0,runLength:1}),i+=e}for(let e=0;e<r;e++)n[e].runLength=p(t);for(let e=0;e<r;e++)n[e].length=p(t);for(let e=0;e<r;e++){let r=p(t);0===r&&e>0?n[e].offset=n[e-1].offset+n[e-1].length:n[e].offset=r-1}return n}l(I,"FetchSource"),l(O,"getUint64"),l(T,"bytesToHeader"),l(M,"deserializeIndex");
1var D=class extends Error{};l(D,"EtagMismatch");var S=D;function k(e,t){return h(this,null,function*(){let r=yield e.getBytes(0,16384);if(19792!==new DataView(r.data).getUint16(0,!0))throw Error("Wrong magic number for PMTiles archive");let n=T(r.data.slice(0,127),r.etag),i=r.data.slice(n.rootDirectoryOffset,n.rootDirectoryOffset+n.rootDirectoryLength),a=`${e.getKey()}|${n.etag||""}|${n.rootDirectoryOffset}|${n.rootDirectoryLength}`,o=M((yield t(i,n.internalCompression)));return[n,[a,o.length,o]]})}function E(e,t,r,n,i){return h(this,null,function*(){let a=yield e.getBytes(r,n,void 0,i.etag),o=M((yield t(a.data,i.internalCompression)));if(0===o.length)throw Error("Empty directory is invalid");return o})}l(k,"getHeaderAndRoot"),l(E,"getDirectory"),l(class{constructor(e=100,t=!0,r=_){this.cache=new Map,this.maxCacheEntries=e,this.counter=1,this.decompress=r}getHeader(e){return h(this,null,function*(){let t=e.getKey(),r=this.cache.get(t);if(r)return r.lastUsed=this.counter++,r.data;let n=yield k(e,this.decompress);return n[1]&&this.cache.set(n[1][0],{lastUsed:this.counter++,data:n[1][2]}),this.cache.set(t,{lastUsed:this.counter++,data:n[0]}),this.prune(),n[0]})}getDirectory(e,t,r,n){return h(this,null,function*(){let i=`${e.getKey()}|${n.etag||""}|${t}|${r}`,a=this.cache.get(i);if(a)return a.lastUsed=this.counter++,a.data;let o=yield E(e,this.decompress,t,r,n);return this.cache.set(i,{lastUsed:this.counter++,data:o}),this.prune(),o})}prune(){if(this.cache.size>this.maxCacheEntries){let e=1/0,t;this.cache.forEach((r,n)=>{r.lastUsed<e&&(e=r.lastUsed,t=n)}),t&&this.cache.delete(t)}}invalidate(e){return h(this,null,function*(){this.cache.delete(e.getKey())})}},"ResolvedValueCache");var U=class{constructor(e=100,t=!0,r=_){this.cache=new Map,this.invalidations=new Map,this.maxCacheEntries=e,this.counter=1,this.decompress=r}getHeader(e){return h(this,null,function*(){let t=e.getKey(),r=this.cache.get(t);if(r)return r.lastUsed=this.counter++,yield r.data;let n=new Promise((t,r)=>{k(e,this.decompress).then(e=>{e[1]&&this.cache.set(e[1][0],{lastUsed:this.counter++,data:Promise.resolve(e[1][2])}),t(e[0]),this.prune()}).catch(e=>{r(e)})});return this.cache.set(t,{lastUsed:this.counter++,data:n}),n})}getDirectory(e,t,r,n){return h(this,null,function*(){let i=`${e.getKey()}|${n.etag||""}|${t}|${r}`,a=this.cache.get(i);if(a)return a.lastUsed=this.counter++,yield a.data;let o=new Promise((i,a)=>{E(e,this.decompress,t,r,n).then(e=>{i(e),this.prune()}).catch(e=>{a(e)})});return this.cache.set(i,{lastUsed:this.counter++,data:o}),o})}prune(){if(this.cache.size>=this.maxCacheEntries){let e=1/0,t;this.cache.forEach((r,n)=>{r.lastUsed<e&&(e=r.lastUsed,t=n)}),t&&this.cache.delete(t)}}invalidate(e){return h(this,null,function*(){let t=e.getKey();if(this.invalidations.get(t))return yield this.invalidations.get(t);this.cache.delete(e.getKey());let r=new Promise((r,n)=>{this.getHeader(e).then(e=>{r(),this.invalidations.delete(t)}).catch(e=>{n(e)})});this.invalidations.set(t,r)})}};l(U,"SharedPromiseCache");var P=class{constructor(e,t,r){"string"==typeof e?this.source=new I(e):this.source=e,r?this.decompress=r:this.decompress=_,t?this.cache=t:this.cache=new U}getHeader(){return h(this,null,function*(){return yield this.cache.getHeader(this.source)})}getZxyAttempt(e,t,r,n){return h(this,null,function*(){let i=m(e,t,r),a=yield this.cache.getHeader(this.source);if(e<a.minZoom||e>a.maxZoom)return;let o=a.rootDirectoryOffset,s=a.rootDirectoryLength;for(let e=0;e<=3;e++){let e=C((yield this.cache.getDirectory(this.source,o,s,a)),i);if(!e)return;if(e.runLength>0){let t=yield this.source.getBytes(a.tileDataOffset+e.offset,e.length,n,a.etag);return{data:yield this.decompress(t.data,a.tileCompression),cacheControl:t.cacheControl,expires:t.expires}}o=a.leafDirectoryOffset+e.offset,s=e.length}throw Error("Maximum directory depth exceeded")})}getZxy(e,t,r,n){return h(this,null,function*(){try{return yield this.getZxyAttempt(e,t,r,n)}catch(i){if(i instanceof S)return this.cache.invalidate(this.source),yield this.getZxyAttempt(e,t,r,n);throw i}})}getMetadataAttempt(){return h(this,null,function*(){let e=yield this.cache.getHeader(this.source),t=yield this.source.getBytes(e.jsonMetadataOffset,e.jsonMetadataLength,void 0,e.etag),r=yield this.decompress(t.data,e.internalCompression);return JSON.parse(new TextDecoder("utf-8").decode(r))})}getMetadata(){return h(this,null,function*(){try{return yield this.getMetadataAttempt()}catch(e){if(e instanceof S)return this.cache.invalidate(this.source),yield this.getMetadataAttempt();throw e}})}getTileJson(e){return h(this,null,function*(){let t=yield this.getHeader(),r
1=yield this.getMetadata(),n=x(t.tileType);return{tilejson:"3.0.0",scheme:"xyz",tiles:[`${e}/{z}/{x}/{y}${n}`],vector_layers:r.vector_layers,attribution:r.attribution,description:r.description,name:r.name,version:r.version,bounds:[t.minLon,t.minLat,t.maxLon,t.maxLat],center:[t.centerLon,t.centerLat,t.centerZoom],minzoom:t.minZoom,maxzoom:t.maxZoom}})}};l(P,"PMTiles");var A=P},50666:function(e,t,r){r.d(t,{$:function(){return a}});var n=r(12063);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}class a extends n.DE.TerraDrawBaseAdapter{constructor(e){super(e),this._renderBeforeLayerId=void 0,this._prefixId=void 0,this._initialDragPan=void 0,this._initialDragRotate=void 0,this._nextRender=void 0,this._map=void 0,this._container=void 0,this.changedIds={deletion:!1,points:!1,linestrings:!1,polygons:!1,styling:!1},this._map=e.map,this._container=this._map.getContainer(),this._initialDragRotate=this._map.dragRotate.isEnabled(),this._initialDragPan=this._map.dragPan.isEnabled(),this._renderBeforeLayerId=e.renderBelowLayerId,this._prefixId=e.prefixId||"td"}hashCode(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return Math.abs(t)}resizeImage(e,t,r,n){let i=new Image;i.crossOrigin="anonymous",i.onload=()=>{let e=document.createElement("canvas");e.width=t,e.height=r;let a=e.getContext("2d");if(!a)throw Error("Could not get canvas context");a.drawImage(i,0,0,t,r),n(e.toDataURL())},i.src=e}toGlDashArrayFromPixels(e,t){if(!e)return null;let[r,n]=e;if(!Number.isFinite(r)||!Number.isFinite(n)||r<0||n<0)return null;let i=Math.max(1e-4,t);return[r/i,n/i]}isMapLibreAtLeast(e){let t=this._map.version;if(!t)return!1;let r=e=>{let t=e.match(/(\d+)\.(\d+)\.(\d+)/);return t?[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3],10)]:null},n=r(t),i=r(e);if(!n||!i)return!0;let[a,o,s]=n,[l,h,c]=i;return a!==l?a>l:o!==h?o>h:s>=c}_addGeoJSONSource(e,t){this._map.addSource(e,{type:"geojson",data:{type:"FeatureCollection",features:t},tolerance:0})}_addFillLayer(e){return this._map.addLayer({id:e,source:e,type:"fill",layout:{"fill-sort-key":["get","zIndex"]},paint:{"fill-color":["get","polygonFillColor"],"fill-opacity":["get","polygonFillOpacity"]}})}_addFillOutlineLayer(e){return this._map.addLayer({id:e+"-outline",source:e,type:"line",layout:{"line-sort-key":["get","zIndex"]},paint:{"line-width":["get","polygonOutlineWidth"],"line-color":["get","polygonOutlineColor"],"line-opacity":["get","polygonOutlineOpacity"]}})}_addLineLayer(e){let t={};return this.isMapLibreAtLeast("5.8.0")&&(t["line-dasharray"]=["coalesce",["get","lineStringDash"],["literal",[1,0]]]),this._map.addLayer({id:e,source:e,type:"line",layout:{"line-sort-key":["get","zIndex"]},paint:i({},t,{"line-width":["get","lineStringWidth"],"line-color":["get","lineStringColor"],"line-opacity":["get","lineStringOpacity"]})})}_addPointLayer(e){return this._map.addLayer({id:e,source:e,type:"circle",layout:{"circle-sort-key":["get","zIndex"]},paint:{"circle-stroke-color":["get","pointOutlineColor"],"circle-stroke-width":["get","pointOutlineWidth"],"circle-stroke-opacity":["get","pointOutlineOpacity"],"circle-radius":["get","pointWidth"],"circle-color":["get","pointColor"],"circle-opacity":["get","pointOpacity"]}})}_addMarkerLayer(e){return this._map.addLayer({id:e+"-marker",source:e,type:"symbol",filter:["has","markerId"],layout:{"icon-image":["image",["get","markerId"]],"icon-anchor":"bottom","icon-allow-overlap":!0}})}_addLayer(e,t){"Point"===t&&(this._addPointLayer(e),this._addMarkerLayer(e)),"LineString"===t&&this._addLineLayer(e),"Polygon"===t&&(this._addFillLayer(e),this._addFillOutlineLayer(e))}_addGeoJSONLayer(e,t){let r=`${this._prefixId}-${e.toLowerCase()}`;return this._addGeoJSONSource(r,t),this._addLayer(r,e),r}_setGeoJSONLayerData(e,t){let r=`${this._prefixId}-${e.toLowerCase()}`;return this._map.getSource(r).setData({type:"FeatureCollection",features:t}),r}
1updateChangedIds(e){[...e.updated,...e.created].forEach(e=>{"Point"===e.geometry.type?this.changedIds.points=!0:"LineString"===e.geometry.type?this.changedIds.linestrings=!0:"Polygon"===e.geometry.type&&(this.changedIds.polygons=!0)}),e.deletedIds.length>0&&(this.changedIds.deletion=!0),0===e.created.length&&0===e.updated.length&&0===e.deletedIds.length&&(this.changedIds.styling=!0)}getLngLatFromEvent(e){let{left:t,top:r}=this._container.getBoundingClientRect();return this.unproject(e.clientX-t,e.clientY-r)}getMapEventElement(){return this._map.getCanvas()}setDraggability(e){e?(this._initialDragRotate&&this._map.dragRotate.enable(),this._initialDragPan&&this._map.dragPan.enable()):(this._initialDragRotate&&this._map.dragRotate.disable(),this._initialDragPan&&this._map.dragPan.disable())}project(e,t){let{x:r,y:n}=this._map.project({lng:e,lat:t});return{x:r,y:n}}unproject(e,t){let{lng:r,lat:n}=this._map.unproject({x:e,y:t});return{lng:r,lat:n}}setCursor(e){let t=this._map.getCanvas();"unset"===e?t.style.removeProperty("cursor"):t.style.cursor=e}setDoubleClickToZoom(e){e?this._map.doubleClickZoom.enable():this._map.doubleClickZoom.disable()}render(e,t){this.updateChangedIds(e),this._nextRender&&cancelAnimationFrame(this._nextRender),this._nextRender=requestAnimationFrame(()=>{if(!this._currentModeCallbacks)return;let r=[...e.created,...e.updated,...e.unchanged],n=[],i=[],a=[];for(let e=0;e<r.length;e++){let o=r[e],{properties:s}=o,l=t[s.mode](o);if(s.zIndex=l.zIndex,s.zIndex=l.zIndex,"Point"===o.geometry.type){s.pointColor=l.pointColor,s.pointOutlineColor=l.pointOutlineColor,s.pointOutlineWidth=l.pointOutlineWidth;let e=l.pointOutlineOpacity;s.pointOutlineOpacity=void 0===e?1:e,s.pointWidth=l.pointWidth;let t=l.pointOpacity;if(s.pointOpacity=void 0===t?1:t,l.markerUrl&&l.markerWidth&&l.markerHeight){let e=`marker-${this.hashCode(l.markerUrl)}`;this._map.hasImage(e)||this.resizeImage(l.markerUrl,l.markerWidth,l.markerHeight,t=>{this._map.loadImage(t).then(t=>{this._map.hasImage(e)||this._map.addImage(e,t.data)})}),s.markerId=e,s.pointWidth=0}n.push(o)}else if("LineString"===o.geometry.type){s.lineStringDash=this.toGlDashArrayFromPixels(l.lineStringDash,l.lineStringWidth),s.lineStringColor=l.lineStringColor,s.lineStringWidth=l.lineStringWidth;let e=l.lineStringOpacity;s.lineStringOpacity=void 0===e?1:e,i.push(o)}else if("Polygon"===o.geometry.type){let e=l.polygonOutlineOpacity;s.polygonFillColor=l.polygonFillColor,s.polygonFillOpacity=l.polygonFillOpacity,s.polygonOutlineOpacity=void 0===e?1:e,s.polygonOutlineColor=l.polygonOutlineColor,s.polygonOutlineWidth=l.polygonOutlineWidth,a.push(o)}}let o=this.changedIds.deletion||this.changedIds.styling,s=o||this.changedIds.linestrings,l=o||this.changedIds.polygons;(o||this.changedIds.points)&&this._setGeoJSONLayerData("Point",n),s&&this._setGeoJSONLayerData("LineString",i),l&&this._setGeoJSONLayerData("Polygon",a),this.changedIds={points:!1,linestrings:!1,polygons:!1,deletion:!1,styling:!1}})}clear(){this._currentModeCallbacks&&(this._currentModeCallbacks.onClear(),this._nextRender&&(cancelAnimationFrame(this._nextRender),this._nextRender=void 0),this._setGeoJSONLayerData("Point",[]),this._setGeoJSONLayerData("LineString",[]),this._setGeoJSONLayerData("Polygon",[]))}getCoordinatePrecision(){return super.getCoordinatePrecision()}unregister(){super.unregister(),this.changedIds={points:!1,linestrings:!1,polygons:!1,deletion:!1,styling:!1},this._map.removeLayer(`${this._prefixId}-point`),this._map.removeLayer(`${this._prefixId}-point-marker`),this._map.removeSource(`${this._prefixId}-point`),this._map.removeLayer(`${this._prefixId}-linestring`),this._map.removeSource(`${this._prefixId}-linestring`),this._map.removeLayer(`${this._prefixId}-polygon`),this._map.removeLayer(`${this._prefixId}-polygon-outline`),this._map.removeSource(`${this._prefixId}-polygon`)}register(e){var t,r;super.register(e);let n=this._addGeoJSONLayer("Polygon",[]),i=this._addGeoJSONLayer("LineString",[]),a=this._addGeoJSONLayer("Point",[]);this._renderBeforeLayerId&&(this._map.moveLayer(a,this._renderBeforeLayerId),this._map.moveLayer(i,a),this._map.moveLayer(`${n}-outline`,i),this._map.moveLayer(n,`${n}-outline`)),null!=(t=this._currentModeCallbacks)&&t.onReady&&(null==(r=this._currentModeCallbacks)||r.onReady())}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.