@mappedin/react-native-sdk 5.31.1 → 5.31.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{a as u,i as hn}from"./chunk-TGDTXQUO.js";hn();var ln={},Qn=u(function(n,r,t,e,i){var a=new Worker(ln[r]||(ln[r]=URL.createObjectURL(new Blob([n+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return a.onmessage=function(o){var f=o.data,v=f.$e$;if(v){var s=new Error(v[0]);s.code=v[1],s.stack=v[2],i(s,null)}else i(null,f)},a.postMessage(t,e),a},"wk"),D=Uint8Array,q=Uint16Array,gr=Uint32Array,yr=new D([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]),wr=new D([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]),Ur=new D([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xn=u(function(n,r){for(var t=new q(31),e=0;e<31;++e)t[e]=r+=1<<n[e-1];for(var i=new gr(t[30]),e=1;e<30;++e)for(var a=t[e];a<t[e+1];++a)i[a]=a-t[e]<<5|e;return[t,i]},"freb"),zn=xn(yr,2),dr=zn[0],Or=zn[1];dr[28]=258,Or[258]=28;var An=xn(wr,0),Mn=An[0],Yr=An[1],Dr=new q(32768);for(E=0;E<32768;++E)tr=(E&43690)>>>1|(E&21845)<<1,tr=(tr&52428)>>>2|(tr&13107)<<2,tr=(tr&61680)>>>4|(tr&3855)<<4,Dr[E]=((tr&65280)>>>8|(tr&255)<<8)>>>1;var tr,E,X=u(function(n,r,t){for(var e=n.length,i=0,a=new q(r);i<e;++i)n[i]&&++a[n[i]-1];var o=new q(r);for(i=0;i<r;++i)o[i]=o[i-1]+a[i-1]<<1;var f;if(t){f=new q(1<<r);var v=15-r;for(i=0;i<e;++i)if(n[i])for(var s=i<<4|n[i],h=r-n[i],c=o[n[i]-1]++<<h,y=c|(1<<h)-1;c<=y;++c)f[Dr[c]>>>v]=s}else for(f=new q(e),i=0;i<e;++i)n[i]&&(f[i]=Dr[o[n[i]-1]++]>>>15-n[i]);return f},"hMap"),ir=new D(288);for(E=0;E<144;++E)ir[E]=8;var E;for(E=144;E<256;++E)ir[E]=9;var E;for(E=256;E<280;++E)ir[E]=7;var E;for(E=280;E<288;++E)ir[E]=8;var E,cr=new D(32);for(E=0;E<32;++E)cr[E]=5;var E,Tn=X(ir,9,0),Un=X(ir,9,1),Dn=X(cr,5,0),Sn=X(cr,5,1),Zr=u(function(n){for(var r=n[0],t=1;t<n.length;++t)n[t]>r&&(r=n[t]);return r},"max"),V=u(function(n,r,t){var e=r/8|0;return(n[e]|n[e+1]<<8)>>(r&7)&t},"bits"),kr=u(function(n,r){var t=r/8|0;return(n[t]|n[t+1]<<8|n[t+2]<<16)>>(r&7)},"bits16"),Sr=u(function(n){return(n+7)/8|0},"shft"),d=u(function(n,r,t){(r==null||r<0)&&(r=0),(t==null||t>n.length)&&(t=n.length);var e=new(n.BYTES_PER_ELEMENT==2?q:n.BYTES_PER_ELEMENT==4?gr:D)(t-r);return e.set(n.subarray(r,t)),e},"slc"),at={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Cn=["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"],g=u(function(n,r,t){var e=new Error(r||Cn[n]);if(e.code=n,Error.captureStackTrace&&Error.captureStackTrace(e,g),!t)throw e;return e},"err"),Cr=u(function(n,r,t){var e=n.length;if(!e||t&&t.f&&!t.l)return r||new D(0);var i=!r||t,a=!t||t.i;t||(t={}),r||(r=new D(e*3));var o=u(function(Ir){var Tr=r.length;if(Ir>Tr){var vr=new D(Math.max(Tr*2,Ir));vr.set(r),r=vr}},"cbuf"),f=t.f||0,v=t.p||0,s=t.b||0,h=t.l,c=t.d,y=t.m,z=t.n,w=e*8;do{if(!h){f=V(n,v,1);var x=V(n,v+1,3);if(v+=3,x)if(x==1)h=Un,c=Sn,y=9,z=5;else if(x==2){var U=V(n,v,31)+257,m=V(n,v+10,15)+4,B=U+V(n,v+5,31)+1;v+=14;for(var C=new D(B),M=new D(19),p=0;p<m;++p)M[Ur[p]]=V(n,v+p*3,7);v+=m*3;for(var P=Zr(M),S=(1<<P)-1,R=X(M,P,1),p=0;p<B;){var O=R[V(n,v,S)];v+=O&15;var l=O>>>4;if(l<16)C[p++]=l;else{var k=0,F=0;for(l==16?(F=3+V(n,v,3),v+=2,k=C[p-1]):l==17?(F=3+V(n,v,7),v+=3):l==18&&(F=11+V(n,v,127),v+=7);F--;)C[p++]=k}}var L=C.subarray(0,U),Z=C.subarray(U);y=Zr(L),z=Zr(Z),h=X(L,y,1),c=X(Z,z,1)}else g(1);else{var l=Sr(v)+4,A=n[l-4]|n[l-3]<<8,T=l+A;if(T>e){a&&g(0);break}i&&o(s+A),r.set(n.subarray(l,T),s),t.b=s+=A,t.p=v=T*8,t.f=f;continue}if(v>w){a&&g(0);break}}i&&o(s+131072);for(var G=(1<<y)-1,H=(1<<z)-1,j=v;;j=v){var k=h[kr(n,v)&G],Q=k>>>4;if(v+=k&15,v>w){a&&g(0);break}if(k||g(2),Q<256)r[s++]=Q;else if(Q==256){j=v,h=null;break}else{var Y=Q-254;if(Q>264){var p=Q-257,_=yr[p];Y=V(n,v,(1<<_)-1)+dr[p],v+=_}var rr=c[kr(n,v)&H],J=rr>>>4;rr||g(3),v+=rr&15;var Z=Mn[J];if(J>3){var _=wr[J];Z+=kr(n,v)&(1<<_)-1,v+=_}if(v>w){a&&g(0);break}i&&o(s+131072);for(var $=s+Y;s<$;s+=4)r[s]=r[s-Z],r[s+1]=r[s+1-Z],r[s+2]=r[s+2-Z],r[s+3]=r[s+3-Z];s=$}}t.l=h,t.p=j,t.b=s,t.f=f,h&&(f=1,t.m=y,t.d=c,t.n=z)}while(!f);return s==r.length?r:d(r,0,s)},"inflt"),nr=u(function(n,r,t){t<<=r&7;var e=r/8|0;n[e]|=t,n[e+1]|=t>>>8},"wbits"),hr=u(function(n,r,t){t<<=r&7;var e=r/8|0;n[e]|=t,n[e+1]|=t>>>8,n[e+2]|=t>>>16},"wbits16"),Gr=u(function(n,r){for(var t=[],e=0;e<n.length;++e)n[e]&&t.push({s:e,f:n[e]});var i=t.length,a=t.slice();if(!i)return[er,0];if(i==1){var o=new D(t[0].s+1);return o[t[0].s]=1,[o,1]}t.sort(function(B,C){return B.f-C.f}),t.push({s:-1,f:25001});var f=t[0],v=t[1],s=0,h=1,c=2;for(t[0]={s:-1,f:f.f+v.f,l:f,r:v};h!=i-1;)f=t[t[s].f<t[c].f?s++:c++],v=t[s!=h&&t[s].f<t[c].f?s++:c++],t[h++]={s:-1,f:f.f+v.f,l:f,r:v};for(var y=a[0].s,e=1;e<i;++e)a[e].s>y&&(y=a[e].s);var z=new q(y+1),w=Lr(t[h-1],z,0);if(w>r){var e=0,x=0,l=w-r,A=1<<l;for(a.sort(function(C,M){return z[M.s]-z[C.s]||C.f-M.f});e<i;++e){var T=a[e].s;if(z[T]>r)x+=A-(1<<w-z[T]),z[T]=r;else break}for(x>>>=l;x>0;){var U=a[e].s;z[U]<r?x-=1<<r-z[U]++-1:++e}for(;e>=0&&x;--e){var m=a[e].s;z[m]==r&&(--z[m],++x)}w=r}return[new D(z),w]},"hTree"),Lr=u(function(n,r,t){return n.s==-1?Math.max(Lr(n.l,r,t+1),Lr(n.r,r,t+1)):r[n.s]=t},"ln"),Wr=u(function(n){for(var r=n.length;r&&!n[--r];);for(var t=new q(++r),e=0,i=n[0],a=1,o=u(function(v){t[e++]=v},"w"),f=1;f<=r;++f)if(n[f]==i&&f!=r)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=n[f]}return[t.subarray(0,e),r]},"lc"),lr=u(function(n,r){for(var t=0,e=0;e<r.length;++e)t+=n[e]*r[e];return t},"clen"),Pr=u(function(n,r,t){var e=t.length,i=Sr(r+2);n[i]=e&255,n[i+1]=e>>>8,n[i+2]=n[i]^255,n[i+3]=n[i+1]^255;for(var a=0;a<e;++a)n[i+a+4]=t[a];return(i+4+e)*8},"wfblk"),jr=u(function(n,r,t,e,i,a,o,f,v,s,h){nr(r,h++,t),++i[256];for(var c=Gr(i,15),y=c[0],z=c[1],w=Gr(a,15),x=w[0],l=w[1],A=Wr(y),T=A[0],U=A[1],m=Wr(x),B=m[0],C=m[1],M=new q(19),p=0;p<T.length;++p)M[T[p]&31]++;for(var p=0;p<B.length;++p)M[B[p]&31]++;for(var P=Gr(M,7),S=P[0],R=P[1],O=19;O>4&&!S[Ur[O-1]];--O);var k=s+5<<3,F=lr(i,ir)+lr(a,cr)+o,L=lr(i,y)+lr(a,x)+o+14+3*O+lr(M,S)+(2*M[16]+3*M[17]+7*M[18]);if(k<=F&&k<=L)return Pr(r,h,n.subarray(v,v+s));var Z,G,H,j;if(nr(r,h,1+(L<F)),h+=2,L<F){Z=X(y,z,0),G=y,H=X(x,l,0),j=x;var Q=X(S,R,0);nr(r,h,U-257),nr(r,h+5,C-1),nr(r,h+10,O-4),h+=14;for(var p=0;p<O;++p)nr(r,h+3*p,S[Ur[p]]);h+=3*O;for(var Y=[T,B],_=0;_<2;++_)for(var rr=Y[_],p=0;p<rr.length;++p){var J=rr[p]&31;nr(r,h,Q[J]),h+=S[J],J>15&&(nr(r,h,rr[p]>>>5&127),h+=rr[p]>>>12)}}else Z=Tn,G=ir,H=Dn,j=cr;for(var p=0;p<f;++p)if(e[p]>255){var J=e[p]>>>18&31;hr(r,h,Z[J+257]),h+=G[J+257],J>7&&(nr(r,h,e[p]>>>23&31),h+=yr[J]);var $=e[p]&31;hr(r,h,H[$]),h+=j[$],$>3&&(hr(r,h,e[p]>>>5&8191),h+=wr[$])}else hr(r,h,Z[e[p]]),h+=G[e[p]];return hr(r,h,Z[256]),h+G[256]},"wblk"),En=new gr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),er=new D(0),Fn=u(function(n,r,t,e,i,a){var o=n.length,f=new D(e+o+5*(1+Math.ceil(o/7e3))+i),v=f.subarray(e,f.length-i),s=0;if(!r||o<8)for(var h=0;h<=o;h+=65535){var c=h+65535;c>=o&&(v[s>>3]=a),s=Pr(v,s+1,n.subarray(h,c))}else{for(var y=En[r-1],z=y>>>13,w=y&8191,x=(1<<t)-1,l=new q(32768),A=new q(x+1),T=Math.ceil(t/3),U=2*T,m=u(function(qr){return(n[qr]^n[qr+1]<<T^n[qr+2]<<U)&x},"hsh"),B=new gr(25e3),C=new q(288),M=new q(32),p=0,P=0,h=0,S=0,R=0,O=0;h<o;++h){var k=m(h),F=h&32767,L=A[k];if(l[F]=L,A[k]=F,R<=h){var Z=o-h;if((p>7e3||S>24576)&&Z>423){s=jr(n,v,0,B,C,M,P,S,O,h-O,s),S=p=P=0,O=h;for(var G=0;G<286;++G)C[G]=0;for(var G=0;G<30;++G)M[G]=0}var H=2,j=0,Q=w,Y=F-L&32767;if(Z>2&&k==m(h-Y))for(var _=Math.min(z,Z)-1,rr=Math.min(32767,h),J=Math.min(258,Z);Y<=rr&&--Q&&F!=L;){if(n[h+H]==n[h+H-Y]){for(var $=0;$<J&&n[h+$]==n[h+$-Y];++$);if($>H){if(H=$,j=Y,$>_)break;for(var Ir=Math.min(Y,$-2),Tr=0,G=0;G<Ir;++G){var vr=h-Y+G+32768&32767,Kn=l[vr],sn=vr-Kn+32768&32767;sn>Tr&&(Tr=sn,L=vr)}}}F=L,L=l[F],Y+=F-L+32768&32767}if(j){B[S++]=268435456|Or[H]<<18|Yr[j];var un=Or[H]&31,vn=Yr[j]&31;P+=yr[un]+wr[vn],++C[257+un],++M[vn],R=h+H,++p}else B[S++]=n[h],++C[n[h]]}}s=jr(n,v,a,B,C,M,P,S,O,h-O,s),!a&&s&7&&(s=Pr(v,s+1,er))}return d(f,0,e+Sr(s)+i)},"dflt"),In=function(){for(var n=new Int32Array(256),r=0;r<256;++r){for(var t=r,e=9;--e;)t=(t&1&&-306674912)^t>>>1;n[r]=t}return n}(),mr=u(function(){var n=-1;return{p:function(r){for(var t=n,e=0;e<r.length;++e)t=In[t&255^r[e]]^t>>>8;n=t},d:function(){return~n}}},"crc"),br=u(function(){var n=1,r=0;return{p:function(t){for(var e=n,i=r,a=t.length|0,o=0;o!=a;){for(var f=Math.min(o+2655,a);o<f;++o)i+=e+=t[o];e=(e&65535)+15*(e>>16),i=(i&65535)+15*(i>>16)}n=e,r=i},d:function(){return n%=65521,r%=65521,(n&255)<<24|n>>>8<<16|(r&255)<<8|r>>>8}}},"adler"),ur=u(function(n,r,t,e,i){return Fn(n,r.level==null?6:r.level,r.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(n.length)))*1.5):12+r.mem,t,e,!i)},"dopt"),Er=u(function(n,r){var t={};for(var e in n)t[e]=n[e];for(var e in r)t[e]=r[e];return t},"mrg"),cn=u(function(n,r,t){for(var e=n(),i=n.toString(),a=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/\s+/g,"").split(","),o=0;o<e.length;++o){var f=e[o],v=a[o];if(typeof f=="function"){r+=";"+v+"=";var s=f.toString();if(f.prototype)if(s.indexOf("[native code]")!=-1){var h=s.indexOf(" ",8)+1;r+=s.slice(h,s.indexOf("(",h))}else{r+=s;for(var c in f.prototype)r+=";"+v+".prototype."+c+"="+f.prototype[c].toString()}else r+=s}else t[v]=f}return[r,t]},"wcln"),Br=[],Vn=u(function(n){var r=[];for(var t in n)n[t].buffer&&r.push((n[t]=new n[t].constructor(n[t])).buffer);return r},"cbfs"),Bn=u(function(n,r,t,e){var i;if(!Br[t]){for(var a="",o={},f=n.length-1,v=0;v<f;++v)i=cn(n[v],a,o),a=i[0],o=i[1];Br[t]=cn(n[f],a,o)}var s=Er({},Br[t][1]);return Qn(Br[t][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+r.toString()+"}",t,s,Vn(s),e)},"wrkr"),xr=u(function(){return[D,q,gr,yr,wr,Ur,dr,Mn,Un,Sn,Dr,Cn,X,Zr,V,kr,Sr,d,g,Cr,Fr,fr,_r]},"bInflt"),zr=u(function(){return[D,q,gr,yr,wr,Ur,Or,Yr,Tn,ir,Dn,cr,Dr,En,er,X,nr,hr,Gr,Lr,Wr,lr,Pr,jr,Sr,d,Fn,ur,$r,fr]},"bDflt"),Zn=u(function(){return[rn,tn,I,mr,In]},"gze"),kn=u(function(){return[nn,Ln]},"guze"),Gn=u(function(){return[en,I,br]},"zle"),On=u(function(){return[Pn]},"zule"),fr=u(function(n){return postMessage(n,[n.buffer])},"pbf"),_r=u(function(n){return n&&n.size&&new D(n.size)},"gu8"),Ar=u(function(n,r,t,e,i,a){var o=Bn(t,e,i,function(f,v){o.terminate(),a(f,v)});return o.postMessage([n,r],r.consume?[n.buffer]:[]),function(){o.terminate()}},"cbify"),b=u(function(n){return n.ondata=function(r,t){return postMessage([r,t],[r.buffer])},function(r){return n.push(r.data[0],r.data[1])}},"astrm"),Mr=u(function(n,r,t,e,i){var a,o=Bn(n,e,i,function(f,v){f?(o.terminate(),r.ondata.call(r,f)):(v[1]&&o.terminate(),r.ondata.call(r,f,v[0],v[1]))});o.postMessage(t),r.push=function(f,v){r.ondata||g(5),a&&r.ondata(g(4,0,1),null,!!v),o.postMessage([f,a=v],[f.buffer])},r.terminate=function(){o.terminate()}},"astrmify"),W=u(function(n,r){return n[r]|n[r+1]<<8},"b2"),N=u(function(n,r){return(n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24)>>>0},"b4"),Hr=u(function(n,r){return N(n,r)+N(n,r+4)*4294967296},"b8"),I=u(function(n,r,t){for(;t;++r)n[r]=t,t>>>=8},"wbytes"),rn=u(function(n,r){var t=r.filename;if(n[0]=31,n[1]=139,n[2]=8,n[8]=r.level<2?4:r.level==9?2:0,n[9]=3,r.mtime!=0&&I(n,4,Math.floor(new Date(r.mtime||Date.now())/1e3)),t){n[3]=8;for(var e=0;e<=t.length;++e)n[e+10]=t.charCodeAt(e)}},"gzh"),nn=u(function(n){(n[0]!=31||n[1]!=139||n[2]!=8)&&g(6,"invalid gzip data");var r=n[3],t=10;r&4&&(t+=n[10]|(n[11]<<8)+2);for(var e=(r>>3&1)+(r>>4&1);e>0;e-=!n[t++]);return t+(r&2)},"gzs"),Ln=u(function(n){var r=n.length;return(n[r-4]|n[r-3]<<8|n[r-2]<<16|n[r-1]<<24)>>>0},"gzl"),tn=u(function(n){return 10+(n.filename&&n.filename.length+1||0)},"gzhl"),en=u(function(n,r){var t=r.level,e=t==0?0:t<6?1:t==9?3:2;n[0]=120,n[1]=e<<6|(e?32-2*e:1)},"zlh"),Pn=u(function(n){((n[0]&15)!=8||n[0]>>>4>7||(n[0]<<8|n[1])%31)&&g(6,"invalid zlib data"),n[1]&32&&g(6,"invalid zlib data: preset dictionaries not supported")},"zlv");function an(n,r){return!r&&typeof n=="function"&&(r=n,n={}),this.ondata=r,n}u(an,"AsyncCmpStrm");var ar=function(){function n(r,t){!t&&typeof r=="function"&&(t=r,r={}),this.ondata=t,this.o=r||{}}return u(n,"Deflate"),n.prototype.p=function(r,t){this.ondata(ur(r,this.o,0,0,!t),t)},n.prototype.push=function(r,t){this.ondata||g(5),this.d&&g(4),this.d=t,this.p(r,t||!1)},n}();var Xn=function(){function n(r,t){Mr([zr,function(){return[b,ar]}],this,an.call(this,r,t),function(e){var i=new ar(e.data);onmessage=b(i)},6)}return u(n,"AsyncDeflate"),n}();function dn(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[zr],function(e){return fr($r(e.data[0],e.data[1]))},0,t)}u(dn,"deflate");function $r(n,r){return ur(n,r||{},0,0)}u($r,"deflateSync");var K=function(){function n(r){this.s={},this.p=new D(0),this.ondata=r}return u(n,"Inflate"),n.prototype.e=function(r){this.ondata||g(5),this.d&&g(4);var t=this.p.length,e=new D(t+r.length);e.set(this.p),e.set(r,t),this.p=e},n.prototype.c=function(r){this.d=this.s.i=r||!1;var t=this.s.b,e=Cr(this.p,this.o,this.s);this.ondata(d(e,t,this.s.b),this.d),this.o=d(e,this.s.b-32768),this.s.b=this.o.length,this.p=d(this.p,this.s.p/8|0),this.s.p&=7},n.prototype.push=function(r,t){this.e(r),this.c(t)},n}();var Nn=function(){function n(r){this.ondata=r,Mr([xr,function(){return[b,K]}],this,0,function(){var t=new K;onmessage=b(t)},7)}return u(n,"AsyncInflate"),n}();function Rn(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[xr],function(e){return fr(Fr(e.data[0],_r(e.data[1])))},1,t)}u(Rn,"inflate");function Fr(n,r){return Cr(n,r)}u(Fr,"inflateSync");var pn=function(){function n(r,t){this.c=mr(),this.l=0,this.v=1,ar.call(this,r,t)}return u(n,"Gzip"),n.prototype.push=function(r,t){ar.prototype.push.call(this,r,t)},n.prototype.p=function(r,t){this.c.p(r),this.l+=r.length;var e=ur(r,this.o,this.v&&tn(this.o),t&&8,!t);this.v&&(rn(e,this.o),this.v=0),t&&(I(e,e.length-8,this.c.d()),I(e,e.length-4,this.l)),this.ondata(e,t)},n}();var ot=function(){function n(r,t){Mr([zr,Zn,function(){return[b,ar,pn]}],this,an.call(this,r,t),function(e){var i=new pn(e.data);onmessage=b(i)},8)}return u(n,"AsyncGzip"),n}();function ft(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[zr,Zn,function(){return[gn]}],function(e){return fr(gn(e.data[0],e.data[1]))},2,t)}u(ft,"gzip");function gn(n,r){r||(r={});var t=mr(),e=n.length;t.p(n);var i=ur(n,r,tn(r),8),a=i.length;return rn(i,r),I(i,a-8,t.d()),I(i,a-4,e),i}u(gn,"gzipSync");var Jr=function(){function n(r){this.v=1,K.call(this,r)}return u(n,"Gunzip"),n.prototype.push=function(r,t){if(K.prototype.e.call(this,r),this.v){var e=this.p.length>3?nn(this.p):4;if(e>=this.p.length&&!t)return;this.p=this.p.subarray(e),this.v=0}t&&(this.p.length<8&&g(6,"invalid gzip data"),this.p=this.p.subarray(0,-8)),K.prototype.c.call(this,t)},n}();var bn=function(){function n(r){this.ondata=r,Mr([xr,kn,function(){return[b,K,Jr]}],this,0,function(){var t=new Jr;onmessage=b(t)},9)}return u(n,"AsyncGunzip"),n}();function _n(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[xr,kn,function(){return[Kr]}],function(e){return fr(Kr(e.data[0]))},3,t)}u(_n,"gunzip");function Kr(n,r){return Cr(n.subarray(nn(n),-8),r||new D(Ln(n)))}u(Kr,"gunzipSync");var yn=function(){function n(r,t){this.c=br(),this.v=1,ar.call(this,r,t)}return u(n,"Zlib"),n.prototype.push=function(r,t){ar.prototype.push.call(this,r,t)},n.prototype.p=function(r,t){this.c.p(r);var e=ur(r,this.o,this.v&&2,t&&4,!t);this.v&&(en(e,this.o),this.v=0),t&&I(e,e.length-4,this.c.d()),this.ondata(e,t)},n}();var st=function(){function n(r,t){Mr([zr,Gn,function(){return[b,ar,yn]}],this,an.call(this,r,t),function(e){var i=new yn(e.data);onmessage=b(i)},10)}return u(n,"AsyncZlib"),n}();function ut(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[zr,Gn,function(){return[wn]}],function(e){return fr(wn(e.data[0],e.data[1]))},4,t)}u(ut,"zlib");function wn(n,r){r||(r={});var t=br();t.p(n);var e=ur(n,r,2,4);return en(e,r),I(e,e.length-4,t.d()),e}u(wn,"zlibSync");var Qr=function(){function n(r){this.v=1,K.call(this,r)}return u(n,"Unzlib"),n.prototype.push=function(r,t){if(K.prototype.e.call(this,r),this.v){if(this.p.length<2&&!t)return;this.p=this.p.subarray(2),this.v=0}t&&(this.p.length<4&&g(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),K.prototype.c.call(this,t)},n}();var rt=function(){function n(r){this.ondata=r,Mr([xr,On,function(){return[b,K,Qr]}],this,0,function(){var t=new Qr;onmessage=b(t)},11)}return u(n,"AsyncUnzlib"),n}();function nt(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[xr,On,function(){return[Vr]}],function(e){return fr(Vr(e.data[0],_r(e.data[1])))},5,t)}u(nt,"unzlib");function Vr(n,r){return Cr((Pn(n),n.subarray(2,-4)),r)}u(Vr,"unzlibSync");var tt=function(){function n(r){this.G=Jr,this.I=K,this.Z=Qr,this.ondata=r}return u(n,"Decompress"),n.prototype.push=function(r,t){if(this.ondata||g(5),this.s)this.s.push(r,t);else{if(this.p&&this.p.length){var e=new D(this.p.length+r.length);e.set(this.p),e.set(r,this.p.length)}else this.p=r;if(this.p.length>2){var i=this,a=u(function(){i.ondata.apply(i,arguments)},"cb");this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(a):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(a):new this.Z(a),this.s.push(this.p,t),this.p=null}}},n}();var vt=function(){function n(r){this.G=bn,this.I=Nn,this.Z=rt,this.ondata=r}return u(n,"AsyncDecompress"),n.prototype.push=function(r,t){tt.prototype.push.call(this,r,t)},n}();function ht(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),n[0]==31&&n[1]==139&&n[2]==8?_n(n,r,t):(n[0]&15)!=8||n[0]>>4>7||(n[0]<<8|n[1])%31?Rn(n,r,t):nt(n,r,t)}u(ht,"decompress");function lt(n,r){return n[0]==31&&n[1]==139&&n[2]==8?Kr(n,r):(n[0]&15)!=8||n[0]>>4>7||(n[0]<<8|n[1])%31?Fr(n,r):Vr(n,r)}u(lt,"decompressSync");var on=u(function(n,r,t,e){for(var i in n){var a=n[i],o=r+i,f=e;Array.isArray(a)&&(f=Er(e,a[1]),a=a[0]),a instanceof D?t[o]=[a,f]:(t[o+="/"]=[new D(0),f],on(a,o,t,e))}},"fltn"),mn=typeof TextEncoder<"u"&&new TextEncoder,Xr=typeof TextDecoder<"u"&&new TextDecoder,$n=0;try{Xr.decode(er,{stream:!0}),$n=1}catch{}var qn=u(function(n){for(var r="",t=0;;){var e=n[t++],i=(e>127)+(e>223)+(e>239);if(t+i>n.length)return[r,d(n,t-1)];i?i==3?(e=((e&15)<<18|(n[t++]&63)<<12|(n[t++]&63)<<6|n[t++]&63)-65536,r+=String.fromCharCode(55296|e>>10,56320|e&1023)):i&1?r+=String.fromCharCode((e&31)<<6|n[t++]&63):r+=String.fromCharCode((e&15)<<12|(n[t++]&63)<<6|n[t++]&63):r+=String.fromCharCode(e)}},"dutf8"),ct=function(){function n(r){this.ondata=r,$n?this.t=new TextDecoder:this.p=er}return u(n,"DecodeUTF8"),n.prototype.push=function(r,t){if(this.ondata||g(5),t=!!t,this.t){this.ondata(this.t.decode(r,{stream:!0}),t),t&&(this.t.decode().length&&g(8),this.t=null);return}this.p||g(4);var e=new D(this.p.length+r.length);e.set(this.p),e.set(r,this.p.length);var i=qn(e),a=i[0],o=i[1];t?(o.length&&g(8),this.p=null):this.p=o,this.ondata(a,t)},n}();var pt=function(){function n(r){this.ondata=r}return u(n,"EncodeUTF8"),n.prototype.push=function(r,t){this.ondata||g(5),this.d&&g(4),this.ondata(sr(r),this.d=t||!1)},n}();function sr(n,r){if(r){for(var t=new D(n.length),e=0;e<n.length;++e)t[e]=n.charCodeAt(e);return t}if(mn)return mn.encode(n);for(var i=n.length,a=new D(n.length+(n.length>>1)),o=0,f=u(function(h){a[o++]=h},"w"),e=0;e<i;++e){if(o+5>a.length){var v=new D(o+8+(i-e<<1));v.set(a),a=v}var s=n.charCodeAt(e);s<128||r?f(s):s<2048?(f(192|s>>6),f(128|s&63)):s>55295&&s<57344?(s=65536+(s&1047552)|n.charCodeAt(++e)&1023,f(240|s>>18),f(128|s>>12&63),f(128|s>>6&63),f(128|s&63)):(f(224|s>>12),f(128|s>>6&63),f(128|s&63))}return d(a,0,o)}u(sr,"strToU8");function Hn(n,r){if(r){for(var t="",e=0;e<n.length;e+=16384)t+=String.fromCharCode.apply(null,n.subarray(e,e+16384));return t}else{if(Xr)return Xr.decode(n);var i=qn(n),a=i[0],o=i[1];return o.length&&g(8),a}}u(Hn,"strFromU8");var Yn=u(function(n){return n==1?3:n<6?2:n==9?1:0},"dbf"),Wn=u(function(n,r){return r+30+W(n,r+26)+W(n,r+28)},"slzh"),jn=u(function(n,r,t){var e=W(n,r+28),i=Hn(n.subarray(r+46,r+46+e),!(W(n,r+8)&2048)),a=r+46+e,o=N(n,r+20),f=t&&o==4294967295?Jn(n,a):[o,N(n,r+24),N(n,r+42)],v=f[0],s=f[1],h=f[2];return[W(n,r+10),v,s,i,a+W(n,r+30)+W(n,r+32),h]},"zh"),Jn=u(function(n,r){for(;W(n,r)!=1;r+=4+W(n,r+2));return[Hr(n,r+12),Hr(n,r+4),Hr(n,r+20)]},"z64e"),or=u(function(n){var r=0;if(n)for(var t in n){var e=n[t].length;e>65535&&g(9),r+=e+4}return r},"exfl"),pr=u(function(n,r,t,e,i,a,o,f){var v=e.length,s=t.extra,h=f&&f.length,c=or(s);I(n,r,o!=null?33639248:67324752),r+=4,o!=null&&(n[r++]=20,n[r++]=t.os),n[r]=20,r+=2,n[r++]=t.flag<<1|(a==null&&8),n[r++]=i&&8,n[r++]=t.compression&255,n[r++]=t.compression>>8;var y=new Date(t.mtime==null?Date.now():t.mtime),z=y.getFullYear()-1980;if((z<0||z>119)&&g(10),I(n,r,z<<25|y.getMonth()+1<<21|y.getDate()<<16|y.getHours()<<11|y.getMinutes()<<5|y.getSeconds()>>>1),r+=4,a!=null&&(I(n,r,t.crc),I(n,r+4,a),I(n,r+8,t.size)),I(n,r+12,v),I(n,r+14,c),r+=16,o!=null&&(I(n,r,h),I(n,r+6,t.attrs),I(n,r+10,o),r+=14),n.set(e,r),r+=v,c)for(var w in s){var x=s[w],l=x.length;I(n,r,+w),I(n,r+2,l),n.set(x,r+4),r+=4+l}return h&&(n.set(f,r),r+=h),r},"wzh"),fn=u(function(n,r,t,e,i){I(n,r,101010256),I(n,r+8,t),I(n,r+10,t),I(n,r+12,e),I(n,r+16,i)},"wzf"),Nr=function(){function n(r){this.filename=r,this.c=mr(),this.size=0,this.compression=0}return u(n,"ZipPassThrough"),n.prototype.process=function(r,t){this.ondata(null,r,t)},n.prototype.push=function(r,t){this.ondata||g(5),this.c.p(r),this.size+=r.length,t&&(this.crc=this.c.d()),this.process(r,t||!1)},n}();var gt=function(){function n(r,t){var e=this;t||(t={}),Nr.call(this,r),this.d=new ar(t,function(i,a){e.ondata(null,i,a)}),this.compression=8,this.flag=Yn(t.level)}return u(n,"ZipDeflate"),n.prototype.process=function(r,t){try{this.d.push(r,t)}catch(e){this.ondata(e,null,t)}},n.prototype.push=function(r,t){Nr.prototype.push.call(this,r,t)},n}();var yt=function(){function n(r,t){var e=this;t||(t={}),Nr.call(this,r),this.d=new Xn(t,function(i,a,o){e.ondata(i,a,o)}),this.compression=8,this.flag=Yn(t.level),this.terminate=this.d.terminate}return u(n,"AsyncZipDeflate"),n.prototype.process=function(r,t){this.d.push(r,t)},n.prototype.push=function(r,t){Nr.prototype.push.call(this,r,t)},n}();var wt=function(){function n(r){this.ondata=r,this.u=[],this.d=1}return u(n,"Zip"),n.prototype.add=function(r){var t=this;if(this.ondata||g(5),this.d&2)this.ondata(g(4+(this.d&1)*8,0,1),null,!1);else{var e=sr(r.filename),i=e.length,a=r.comment,o=a&&sr(a),f=i!=r.filename.length||o&&a.length!=o.length,v=i+or(r.extra)+30;i>65535&&this.ondata(g(11,0,1),null,!1);var s=new D(v);pr(s,0,r,e,f);var h=[s],c=u(function(){for(var l=0,A=h;l<A.length;l++){var T=A[l];t.ondata(null,T,!1)}h=[]},"pAll_1"),y=this.d;this.d=0;var z=this.u.length,w=Er(r,{f:e,u:f,o,t:function(){r.terminate&&r.terminate()},r:function(){if(c(),y){var l=t.u[z+1];l?l.r():t.d=1}y=1}}),x=0;r.ondata=function(l,A,T){if(l)t.ondata(l,A,T),t.terminate();else if(x+=A.length,h.push(A),T){var U=new D(16);I(U,0,134695760),I(U,4,r.crc),I(U,8,x),I(U,12,r.size),h.push(U),w.c=x,w.b=v+x+16,w.crc=r.crc,w.size=r.size,y&&w.r(),y=1}else y&&c()},this.u.push(w)}},n.prototype.end=function(){var r=this;if(this.d&2){this.ondata(g(4+(this.d&1)*8,0,1),null,!0);return}this.d?this.e():this.u.push({r:function(){r.d&1&&(r.u.splice(-1,1),r.e())},t:function(){}}),this.d=3},n.prototype.e=function(){for(var r=0,t=0,e=0,i=0,a=this.u;i<a.length;i++){var o=a[i];e+=46+o.f.length+or(o.extra)+(o.o?o.o.length:0)}for(var f=new D(e+22),v=0,s=this.u;v<s.length;v++){var o=s[v];pr(f,r,o,o.f,o.u,o.c,t,o.o),r+=46+o.f.length+or(o.extra)+(o.o?o.o.length:0),t+=o.b}fn(f,r,this.u.length,e,t),this.ondata(null,f,!0),this.d=2},n.prototype.terminate=function(){for(var r=0,t=this.u;r<t.length;r++){var e=t[r];e.t()}this.d=2},n}();function mt(n,r,t){t||(t=r,r={}),typeof t!="function"&&g(7);var e={};on(n,"",e,r);var i=Object.keys(e),a=i.length,o=0,f=0,v=a,s=new Array(a),h=[],c=u(function(){for(var l=0;l<h.length;++l)h[l]()},"tAll"),y=u(function(l,A){Rr(function(){t(l,A)})},"cbd");Rr(function(){y=t});var z=u(function(){var l=new D(f+22),A=o,T=f-o;f=0;for(var U=0;U<v;++U){var m=s[U];try{var B=m.c.length;pr(l,f,m,m.f,m.u,B);var C=30+m.f.length+or(m.extra),M=f+C;l.set(m.c,M),pr(l,o,m,m.f,m.u,B,f,m.m),o+=16+C+(m.m?m.m.length:0),f=M+B}catch(p){return y(p,null)}}fn(l,o,s.length,T,A),y(null,l)},"cbf");a||z();for(var w=u(function(l){var A=i[l],T=e[A],U=T[0],m=T[1],B=mr(),C=U.length;B.p(U);var M=sr(A),p=M.length,P=m.comment,S=P&&sr(P),R=S&&S.length,O=or(m.extra),k=m.level==0?0:8,F=u(function(L,Z){if(L)c(),y(L,null);else{var G=Z.length;s[l]=Er(m,{size:C,crc:B.d(),c:Z,f:M,m:S,u:p!=A.length||S&&P.length!=R,compression:k}),o+=30+p+O+G,f+=76+2*(p+O)+(R||0)+G,--a||z()}},"cbl");if(p>65535&&F(g(11,0,1),null),!k)F(null,U);else if(C<16e4)try{F(null,$r(U,m))}catch(L){F(L,null)}else h.push(dn(U,m,F))},"_loop_1"),x=0;x<v;++x)w(x);return c}u(mt,"zip");function xt(n,r){r||(r={});var t={},e=[];on(n,"",t,r);var i=0,a=0;for(var o in t){var f=t[o],v=f[0],s=f[1],h=s.level==0?0:8,c=sr(o),y=c.length,z=s.comment,w=z&&sr(z),x=w&&w.length,l=or(s.extra);y>65535&&g(11);var A=h?$r(v,s):v,T=A.length,U=mr();U.p(v),e.push(Er(s,{size:v.length,crc:U.d(),c:A,f:c,m:w,u:y!=o.length||w&&z.length!=x,o:i,compression:h})),i+=30+y+l+T,a+=76+2*(y+l)+(x||0)+T}for(var m=new D(a+22),B=i,C=a-i,M=0;M<e.length;++M){var c=e[M];pr(m,c.o,c,c.f,c.u,c.c.length);var p=30+c.f.length+or(c.extra);m.set(c.c,c.o+p),pr(m,i,c,c.f,c.u,c.c.length,c.o,c.m),i+=16+p+(c.m?c.m.length:0)}return fn(m,i,e.length,C,B),m}u(xt,"zipSync");var et=function(){function n(){}return u(n,"UnzipPassThrough"),n.prototype.push=function(r,t){this.ondata(null,r,t)},n.compression=0,n}();var zt=function(){function n(){var r=this;this.i=new K(function(t,e){r.ondata(null,t,e)})}return u(n,"UnzipInflate"),n.prototype.push=function(r,t){try{this.i.push(r,t)}catch(e){this.ondata(e,null,t)}},n.compression=8,n}();var At=function(){function n(r,t){var e=this;t<32e4?this.i=new K(function(i,a){e.ondata(null,i,a)}):(this.i=new Nn(function(i,a,o){e.ondata(i,a,o)}),this.terminate=this.i.terminate)}return u(n,"AsyncUnzipInflate"),n.prototype.push=function(r,t){this.i.terminate&&(r=d(r,0)),this.i.push(r,t)},n.compression=8,n}();var Mt=function(){function n(r){this.onfile=r,this.k=[],this.o={0:et},this.p=er}return u(n,"Unzip"),n.prototype.push=function(r,t){var e=this;if(this.onfile||g(5),this.p||g(4),this.c>0){var i=Math.min(this.c,r.length),a=r.subarray(0,i);if(this.c-=i,this.d?this.d.push(a,!this.c):this.k[0].push(a),r=r.subarray(i),r.length)return this.push(r,t)}else{var o=0,f=0,v=void 0,s=void 0;this.p.length?r.length?(s=new D(this.p.length+r.length),s.set(this.p),s.set(r,this.p.length)):s=this.p:s=r;for(var h=s.length,c=this.c,y=c&&this.d,z=u(function(){var A,T=N(s,f);if(T==67324752){o=1,v=f,w.d=null,w.c=0;var U=W(s,f+6),m=W(s,f+8),B=U&2048,C=U&8,M=W(s,f+26),p=W(s,f+28);if(h>f+30+M+p){var P=[];w.k.unshift(P),o=2;var S=N(s,f+18),R=N(s,f+22),O=Hn(s.subarray(f+30,f+=30+M),!B);S==4294967295?(A=C?[-2]:Jn(s,f),S=A[0],R=A[1]):C&&(S=-1),f+=p,w.c=S;var k,F={name:O,compression:m,start:function(){if(F.ondata||g(5),!S)F.ondata(null,er,!0);else{var L=e.o[m];L||F.ondata(g(14,"unknown compression type "+m,1),null,!1),k=S<0?new L(O):new L(O,S,R),k.ondata=function(j,Q,Y){F.ondata(j,Q,Y)};for(var Z=0,G=P;Z<G.length;Z++){var H=G[Z];k.push(H,!1)}e.k[0]==P&&e.c?e.d=k:k.push(er,!0)}},terminate:function(){k&&k.terminate&&k.terminate()}};S>=0&&(F.size=S,F.originalSize=R),w.onfile(F)}return"break"}else if(c){if(T==134695760)return v=f+=12+(c==-2&&8),o=3,w.c=0,"break";if(T==33639248)return v=f-=4,o=3,w.c=0,"break"}},"_loop_2"),w=this;f<h-4;++f){var x=z();if(x==="break")break}if(this.p=er,c<0){var l=o?s.subarray(0,v-12-(c==-2&&8)-(N(s,v-16)==134695760&&4)):s.subarray(0,f);y?y.push(l,!!o):this.k[+(o==2)].push(l)}if(o&2)return this.push(s.subarray(f),t);this.p=s.subarray(f)}t&&(this.c&&g(13),this.p=null)},n.prototype.register=function(r){this.o[r.compression]=r},n}();var Rr=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(n){n()};function Tt(n,r,t){t||(t=r,r={}),typeof t!="function"&&g(7);var e=[],i=u(function(){for(var x=0;x<e.length;++x)e[x]()},"tAll"),a={},o=u(function(x,l){Rr(function(){t(x,l)})},"cbd");Rr(function(){o=t});for(var f=n.length-22;N(n,f)!=101010256;--f)if(!f||n.length-f>65558)return o(g(13,0,1),null),i;var v=W(n,f+8);if(v){var s=v,h=N(n,f+16),c=h==4294967295;if(c){if(f=N(n,f-12),N(n,f)!=101075792)return o(g(13,0,1),null),i;s=v=N(n,f+32),h=N(n,f+48)}for(var y=r&&r.filter,z=u(function(x){var l=jn(n,h,c),A=l[0],T=l[1],U=l[2],m=l[3],B=l[4],C=l[5],M=Wn(n,C);h=B;var p=u(function(S,R){S?(i(),o(S,null)):(R&&(a[m]=R),--v||o(null,a))},"cbl");if(!y||y({name:m,size:T,originalSize:U,compression:A}))if(!A)p(null,d(n,M,M+T));else if(A==8){var P=n.subarray(M,M+T);if(T<32e4)try{p(null,Fr(P,new D(U)))}catch(S){p(S,null)}else e.push(Rn(P,{size:U},p))}else p(g(14,"unknown compression type "+A,1),null);else p(null,null)},"_loop_3"),w=0;w<s;++w)z(w)}else o(null,{});return i}u(Tt,"unzip");function Ut(n,r){for(var t={},e=n.length-22;N(n,e)!=101010256;--e)(!e||n.length-e>65558)&&g(13);var i=W(n,e+8);if(!i)return{};var a=N(n,e+16),o=a==4294967295;o&&(e=N(n,e-12),N(n,e)!=101075792&&g(13),i=N(n,e+32),a=N(n,e+48));for(var f=r&&r.filter,v=0;v<i;++v){var s=jn(n,a,o),h=s[0],c=s[1],y=s[2],z=s[3],w=s[4],x=s[5],l=Wn(n,x);a=w,(!f||f({name:z,size:c,originalSize:y,compression:h}))&&(h?h==8?t[z]=Fr(n.subarray(l,l+c),new D(y)):g(14,"unknown compression type "+h):t[z]=d(n,l,l+c))}return t}u(Ut,"unzipSync");export{ot as AsyncCompress,vt as AsyncDecompress,Xn as AsyncDeflate,bn as AsyncGunzip,ot as AsyncGzip,Nn as AsyncInflate,At as AsyncUnzipInflate,rt as AsyncUnzlib,yt as AsyncZipDeflate,st as AsyncZlib,pn as Compress,ct as DecodeUTF8,tt as Decompress,ar as Deflate,pt as EncodeUTF8,at as FlateErrorCode,Jr as Gunzip,pn as Gzip,K as Inflate,Mt as Unzip,zt as UnzipInflate,et as UnzipPassThrough,Qr as Unzlib,wt as Zip,gt as ZipDeflate,Nr as ZipPassThrough,yn as Zlib,ft as compress,gn as compressSync,ht as decompress,lt as decompressSync,dn as deflate,$r as deflateSync,_n as gunzip,Kr as gunzipSync,ft as gzip,gn as gzipSync,Rn as inflate,Fr as inflateSync,Hn as strFromU8,sr as strToU8,Tt as unzip,Ut as unzipSync,nt as unzlib,Vr as unzlibSync,mt as zip,xt as zipSync,ut as zlib,wn as zlibSync};
1
+ import{a as u,i as hn}from"./chunk-TMXKN4VD.js";hn();var ln={},Qn=u(function(n,r,t,e,i){var a=new Worker(ln[r]||(ln[r]=URL.createObjectURL(new Blob([n+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return a.onmessage=function(o){var f=o.data,v=f.$e$;if(v){var s=new Error(v[0]);s.code=v[1],s.stack=v[2],i(s,null)}else i(null,f)},a.postMessage(t,e),a},"wk"),D=Uint8Array,q=Uint16Array,gr=Uint32Array,yr=new D([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]),wr=new D([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]),Ur=new D([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xn=u(function(n,r){for(var t=new q(31),e=0;e<31;++e)t[e]=r+=1<<n[e-1];for(var i=new gr(t[30]),e=1;e<30;++e)for(var a=t[e];a<t[e+1];++a)i[a]=a-t[e]<<5|e;return[t,i]},"freb"),zn=xn(yr,2),dr=zn[0],Or=zn[1];dr[28]=258,Or[258]=28;var An=xn(wr,0),Mn=An[0],Yr=An[1],Dr=new q(32768);for(E=0;E<32768;++E)tr=(E&43690)>>>1|(E&21845)<<1,tr=(tr&52428)>>>2|(tr&13107)<<2,tr=(tr&61680)>>>4|(tr&3855)<<4,Dr[E]=((tr&65280)>>>8|(tr&255)<<8)>>>1;var tr,E,X=u(function(n,r,t){for(var e=n.length,i=0,a=new q(r);i<e;++i)n[i]&&++a[n[i]-1];var o=new q(r);for(i=0;i<r;++i)o[i]=o[i-1]+a[i-1]<<1;var f;if(t){f=new q(1<<r);var v=15-r;for(i=0;i<e;++i)if(n[i])for(var s=i<<4|n[i],h=r-n[i],c=o[n[i]-1]++<<h,y=c|(1<<h)-1;c<=y;++c)f[Dr[c]>>>v]=s}else for(f=new q(e),i=0;i<e;++i)n[i]&&(f[i]=Dr[o[n[i]-1]++]>>>15-n[i]);return f},"hMap"),ir=new D(288);for(E=0;E<144;++E)ir[E]=8;var E;for(E=144;E<256;++E)ir[E]=9;var E;for(E=256;E<280;++E)ir[E]=7;var E;for(E=280;E<288;++E)ir[E]=8;var E,cr=new D(32);for(E=0;E<32;++E)cr[E]=5;var E,Tn=X(ir,9,0),Un=X(ir,9,1),Dn=X(cr,5,0),Sn=X(cr,5,1),Zr=u(function(n){for(var r=n[0],t=1;t<n.length;++t)n[t]>r&&(r=n[t]);return r},"max"),V=u(function(n,r,t){var e=r/8|0;return(n[e]|n[e+1]<<8)>>(r&7)&t},"bits"),kr=u(function(n,r){var t=r/8|0;return(n[t]|n[t+1]<<8|n[t+2]<<16)>>(r&7)},"bits16"),Sr=u(function(n){return(n+7)/8|0},"shft"),d=u(function(n,r,t){(r==null||r<0)&&(r=0),(t==null||t>n.length)&&(t=n.length);var e=new(n.BYTES_PER_ELEMENT==2?q:n.BYTES_PER_ELEMENT==4?gr:D)(t-r);return e.set(n.subarray(r,t)),e},"slc"),at={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},Cn=["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"],g=u(function(n,r,t){var e=new Error(r||Cn[n]);if(e.code=n,Error.captureStackTrace&&Error.captureStackTrace(e,g),!t)throw e;return e},"err"),Cr=u(function(n,r,t){var e=n.length;if(!e||t&&t.f&&!t.l)return r||new D(0);var i=!r||t,a=!t||t.i;t||(t={}),r||(r=new D(e*3));var o=u(function(Ir){var Tr=r.length;if(Ir>Tr){var vr=new D(Math.max(Tr*2,Ir));vr.set(r),r=vr}},"cbuf"),f=t.f||0,v=t.p||0,s=t.b||0,h=t.l,c=t.d,y=t.m,z=t.n,w=e*8;do{if(!h){f=V(n,v,1);var x=V(n,v+1,3);if(v+=3,x)if(x==1)h=Un,c=Sn,y=9,z=5;else if(x==2){var U=V(n,v,31)+257,m=V(n,v+10,15)+4,B=U+V(n,v+5,31)+1;v+=14;for(var C=new D(B),M=new D(19),p=0;p<m;++p)M[Ur[p]]=V(n,v+p*3,7);v+=m*3;for(var P=Zr(M),S=(1<<P)-1,R=X(M,P,1),p=0;p<B;){var O=R[V(n,v,S)];v+=O&15;var l=O>>>4;if(l<16)C[p++]=l;else{var k=0,F=0;for(l==16?(F=3+V(n,v,3),v+=2,k=C[p-1]):l==17?(F=3+V(n,v,7),v+=3):l==18&&(F=11+V(n,v,127),v+=7);F--;)C[p++]=k}}var L=C.subarray(0,U),Z=C.subarray(U);y=Zr(L),z=Zr(Z),h=X(L,y,1),c=X(Z,z,1)}else g(1);else{var l=Sr(v)+4,A=n[l-4]|n[l-3]<<8,T=l+A;if(T>e){a&&g(0);break}i&&o(s+A),r.set(n.subarray(l,T),s),t.b=s+=A,t.p=v=T*8,t.f=f;continue}if(v>w){a&&g(0);break}}i&&o(s+131072);for(var G=(1<<y)-1,H=(1<<z)-1,j=v;;j=v){var k=h[kr(n,v)&G],Q=k>>>4;if(v+=k&15,v>w){a&&g(0);break}if(k||g(2),Q<256)r[s++]=Q;else if(Q==256){j=v,h=null;break}else{var Y=Q-254;if(Q>264){var p=Q-257,_=yr[p];Y=V(n,v,(1<<_)-1)+dr[p],v+=_}var rr=c[kr(n,v)&H],J=rr>>>4;rr||g(3),v+=rr&15;var Z=Mn[J];if(J>3){var _=wr[J];Z+=kr(n,v)&(1<<_)-1,v+=_}if(v>w){a&&g(0);break}i&&o(s+131072);for(var $=s+Y;s<$;s+=4)r[s]=r[s-Z],r[s+1]=r[s+1-Z],r[s+2]=r[s+2-Z],r[s+3]=r[s+3-Z];s=$}}t.l=h,t.p=j,t.b=s,t.f=f,h&&(f=1,t.m=y,t.d=c,t.n=z)}while(!f);return s==r.length?r:d(r,0,s)},"inflt"),nr=u(function(n,r,t){t<<=r&7;var e=r/8|0;n[e]|=t,n[e+1]|=t>>>8},"wbits"),hr=u(function(n,r,t){t<<=r&7;var e=r/8|0;n[e]|=t,n[e+1]|=t>>>8,n[e+2]|=t>>>16},"wbits16"),Gr=u(function(n,r){for(var t=[],e=0;e<n.length;++e)n[e]&&t.push({s:e,f:n[e]});var i=t.length,a=t.slice();if(!i)return[er,0];if(i==1){var o=new D(t[0].s+1);return o[t[0].s]=1,[o,1]}t.sort(function(B,C){return B.f-C.f}),t.push({s:-1,f:25001});var f=t[0],v=t[1],s=0,h=1,c=2;for(t[0]={s:-1,f:f.f+v.f,l:f,r:v};h!=i-1;)f=t[t[s].f<t[c].f?s++:c++],v=t[s!=h&&t[s].f<t[c].f?s++:c++],t[h++]={s:-1,f:f.f+v.f,l:f,r:v};for(var y=a[0].s,e=1;e<i;++e)a[e].s>y&&(y=a[e].s);var z=new q(y+1),w=Lr(t[h-1],z,0);if(w>r){var e=0,x=0,l=w-r,A=1<<l;for(a.sort(function(C,M){return z[M.s]-z[C.s]||C.f-M.f});e<i;++e){var T=a[e].s;if(z[T]>r)x+=A-(1<<w-z[T]),z[T]=r;else break}for(x>>>=l;x>0;){var U=a[e].s;z[U]<r?x-=1<<r-z[U]++-1:++e}for(;e>=0&&x;--e){var m=a[e].s;z[m]==r&&(--z[m],++x)}w=r}return[new D(z),w]},"hTree"),Lr=u(function(n,r,t){return n.s==-1?Math.max(Lr(n.l,r,t+1),Lr(n.r,r,t+1)):r[n.s]=t},"ln"),Wr=u(function(n){for(var r=n.length;r&&!n[--r];);for(var t=new q(++r),e=0,i=n[0],a=1,o=u(function(v){t[e++]=v},"w"),f=1;f<=r;++f)if(n[f]==i&&f!=r)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=n[f]}return[t.subarray(0,e),r]},"lc"),lr=u(function(n,r){for(var t=0,e=0;e<r.length;++e)t+=n[e]*r[e];return t},"clen"),Pr=u(function(n,r,t){var e=t.length,i=Sr(r+2);n[i]=e&255,n[i+1]=e>>>8,n[i+2]=n[i]^255,n[i+3]=n[i+1]^255;for(var a=0;a<e;++a)n[i+a+4]=t[a];return(i+4+e)*8},"wfblk"),jr=u(function(n,r,t,e,i,a,o,f,v,s,h){nr(r,h++,t),++i[256];for(var c=Gr(i,15),y=c[0],z=c[1],w=Gr(a,15),x=w[0],l=w[1],A=Wr(y),T=A[0],U=A[1],m=Wr(x),B=m[0],C=m[1],M=new q(19),p=0;p<T.length;++p)M[T[p]&31]++;for(var p=0;p<B.length;++p)M[B[p]&31]++;for(var P=Gr(M,7),S=P[0],R=P[1],O=19;O>4&&!S[Ur[O-1]];--O);var k=s+5<<3,F=lr(i,ir)+lr(a,cr)+o,L=lr(i,y)+lr(a,x)+o+14+3*O+lr(M,S)+(2*M[16]+3*M[17]+7*M[18]);if(k<=F&&k<=L)return Pr(r,h,n.subarray(v,v+s));var Z,G,H,j;if(nr(r,h,1+(L<F)),h+=2,L<F){Z=X(y,z,0),G=y,H=X(x,l,0),j=x;var Q=X(S,R,0);nr(r,h,U-257),nr(r,h+5,C-1),nr(r,h+10,O-4),h+=14;for(var p=0;p<O;++p)nr(r,h+3*p,S[Ur[p]]);h+=3*O;for(var Y=[T,B],_=0;_<2;++_)for(var rr=Y[_],p=0;p<rr.length;++p){var J=rr[p]&31;nr(r,h,Q[J]),h+=S[J],J>15&&(nr(r,h,rr[p]>>>5&127),h+=rr[p]>>>12)}}else Z=Tn,G=ir,H=Dn,j=cr;for(var p=0;p<f;++p)if(e[p]>255){var J=e[p]>>>18&31;hr(r,h,Z[J+257]),h+=G[J+257],J>7&&(nr(r,h,e[p]>>>23&31),h+=yr[J]);var $=e[p]&31;hr(r,h,H[$]),h+=j[$],$>3&&(hr(r,h,e[p]>>>5&8191),h+=wr[$])}else hr(r,h,Z[e[p]]),h+=G[e[p]];return hr(r,h,Z[256]),h+G[256]},"wblk"),En=new gr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),er=new D(0),Fn=u(function(n,r,t,e,i,a){var o=n.length,f=new D(e+o+5*(1+Math.ceil(o/7e3))+i),v=f.subarray(e,f.length-i),s=0;if(!r||o<8)for(var h=0;h<=o;h+=65535){var c=h+65535;c>=o&&(v[s>>3]=a),s=Pr(v,s+1,n.subarray(h,c))}else{for(var y=En[r-1],z=y>>>13,w=y&8191,x=(1<<t)-1,l=new q(32768),A=new q(x+1),T=Math.ceil(t/3),U=2*T,m=u(function(qr){return(n[qr]^n[qr+1]<<T^n[qr+2]<<U)&x},"hsh"),B=new gr(25e3),C=new q(288),M=new q(32),p=0,P=0,h=0,S=0,R=0,O=0;h<o;++h){var k=m(h),F=h&32767,L=A[k];if(l[F]=L,A[k]=F,R<=h){var Z=o-h;if((p>7e3||S>24576)&&Z>423){s=jr(n,v,0,B,C,M,P,S,O,h-O,s),S=p=P=0,O=h;for(var G=0;G<286;++G)C[G]=0;for(var G=0;G<30;++G)M[G]=0}var H=2,j=0,Q=w,Y=F-L&32767;if(Z>2&&k==m(h-Y))for(var _=Math.min(z,Z)-1,rr=Math.min(32767,h),J=Math.min(258,Z);Y<=rr&&--Q&&F!=L;){if(n[h+H]==n[h+H-Y]){for(var $=0;$<J&&n[h+$]==n[h+$-Y];++$);if($>H){if(H=$,j=Y,$>_)break;for(var Ir=Math.min(Y,$-2),Tr=0,G=0;G<Ir;++G){var vr=h-Y+G+32768&32767,Kn=l[vr],sn=vr-Kn+32768&32767;sn>Tr&&(Tr=sn,L=vr)}}}F=L,L=l[F],Y+=F-L+32768&32767}if(j){B[S++]=268435456|Or[H]<<18|Yr[j];var un=Or[H]&31,vn=Yr[j]&31;P+=yr[un]+wr[vn],++C[257+un],++M[vn],R=h+H,++p}else B[S++]=n[h],++C[n[h]]}}s=jr(n,v,a,B,C,M,P,S,O,h-O,s),!a&&s&7&&(s=Pr(v,s+1,er))}return d(f,0,e+Sr(s)+i)},"dflt"),In=function(){for(var n=new Int32Array(256),r=0;r<256;++r){for(var t=r,e=9;--e;)t=(t&1&&-306674912)^t>>>1;n[r]=t}return n}(),mr=u(function(){var n=-1;return{p:function(r){for(var t=n,e=0;e<r.length;++e)t=In[t&255^r[e]]^t>>>8;n=t},d:function(){return~n}}},"crc"),br=u(function(){var n=1,r=0;return{p:function(t){for(var e=n,i=r,a=t.length|0,o=0;o!=a;){for(var f=Math.min(o+2655,a);o<f;++o)i+=e+=t[o];e=(e&65535)+15*(e>>16),i=(i&65535)+15*(i>>16)}n=e,r=i},d:function(){return n%=65521,r%=65521,(n&255)<<24|n>>>8<<16|(r&255)<<8|r>>>8}}},"adler"),ur=u(function(n,r,t,e,i){return Fn(n,r.level==null?6:r.level,r.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(n.length)))*1.5):12+r.mem,t,e,!i)},"dopt"),Er=u(function(n,r){var t={};for(var e in n)t[e]=n[e];for(var e in r)t[e]=r[e];return t},"mrg"),cn=u(function(n,r,t){for(var e=n(),i=n.toString(),a=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/\s+/g,"").split(","),o=0;o<e.length;++o){var f=e[o],v=a[o];if(typeof f=="function"){r+=";"+v+"=";var s=f.toString();if(f.prototype)if(s.indexOf("[native code]")!=-1){var h=s.indexOf(" ",8)+1;r+=s.slice(h,s.indexOf("(",h))}else{r+=s;for(var c in f.prototype)r+=";"+v+".prototype."+c+"="+f.prototype[c].toString()}else r+=s}else t[v]=f}return[r,t]},"wcln"),Br=[],Vn=u(function(n){var r=[];for(var t in n)n[t].buffer&&r.push((n[t]=new n[t].constructor(n[t])).buffer);return r},"cbfs"),Bn=u(function(n,r,t,e){var i;if(!Br[t]){for(var a="",o={},f=n.length-1,v=0;v<f;++v)i=cn(n[v],a,o),a=i[0],o=i[1];Br[t]=cn(n[f],a,o)}var s=Er({},Br[t][1]);return Qn(Br[t][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+r.toString()+"}",t,s,Vn(s),e)},"wrkr"),xr=u(function(){return[D,q,gr,yr,wr,Ur,dr,Mn,Un,Sn,Dr,Cn,X,Zr,V,kr,Sr,d,g,Cr,Fr,fr,_r]},"bInflt"),zr=u(function(){return[D,q,gr,yr,wr,Ur,Or,Yr,Tn,ir,Dn,cr,Dr,En,er,X,nr,hr,Gr,Lr,Wr,lr,Pr,jr,Sr,d,Fn,ur,$r,fr]},"bDflt"),Zn=u(function(){return[rn,tn,I,mr,In]},"gze"),kn=u(function(){return[nn,Ln]},"guze"),Gn=u(function(){return[en,I,br]},"zle"),On=u(function(){return[Pn]},"zule"),fr=u(function(n){return postMessage(n,[n.buffer])},"pbf"),_r=u(function(n){return n&&n.size&&new D(n.size)},"gu8"),Ar=u(function(n,r,t,e,i,a){var o=Bn(t,e,i,function(f,v){o.terminate(),a(f,v)});return o.postMessage([n,r],r.consume?[n.buffer]:[]),function(){o.terminate()}},"cbify"),b=u(function(n){return n.ondata=function(r,t){return postMessage([r,t],[r.buffer])},function(r){return n.push(r.data[0],r.data[1])}},"astrm"),Mr=u(function(n,r,t,e,i){var a,o=Bn(n,e,i,function(f,v){f?(o.terminate(),r.ondata.call(r,f)):(v[1]&&o.terminate(),r.ondata.call(r,f,v[0],v[1]))});o.postMessage(t),r.push=function(f,v){r.ondata||g(5),a&&r.ondata(g(4,0,1),null,!!v),o.postMessage([f,a=v],[f.buffer])},r.terminate=function(){o.terminate()}},"astrmify"),W=u(function(n,r){return n[r]|n[r+1]<<8},"b2"),N=u(function(n,r){return(n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24)>>>0},"b4"),Hr=u(function(n,r){return N(n,r)+N(n,r+4)*4294967296},"b8"),I=u(function(n,r,t){for(;t;++r)n[r]=t,t>>>=8},"wbytes"),rn=u(function(n,r){var t=r.filename;if(n[0]=31,n[1]=139,n[2]=8,n[8]=r.level<2?4:r.level==9?2:0,n[9]=3,r.mtime!=0&&I(n,4,Math.floor(new Date(r.mtime||Date.now())/1e3)),t){n[3]=8;for(var e=0;e<=t.length;++e)n[e+10]=t.charCodeAt(e)}},"gzh"),nn=u(function(n){(n[0]!=31||n[1]!=139||n[2]!=8)&&g(6,"invalid gzip data");var r=n[3],t=10;r&4&&(t+=n[10]|(n[11]<<8)+2);for(var e=(r>>3&1)+(r>>4&1);e>0;e-=!n[t++]);return t+(r&2)},"gzs"),Ln=u(function(n){var r=n.length;return(n[r-4]|n[r-3]<<8|n[r-2]<<16|n[r-1]<<24)>>>0},"gzl"),tn=u(function(n){return 10+(n.filename&&n.filename.length+1||0)},"gzhl"),en=u(function(n,r){var t=r.level,e=t==0?0:t<6?1:t==9?3:2;n[0]=120,n[1]=e<<6|(e?32-2*e:1)},"zlh"),Pn=u(function(n){((n[0]&15)!=8||n[0]>>>4>7||(n[0]<<8|n[1])%31)&&g(6,"invalid zlib data"),n[1]&32&&g(6,"invalid zlib data: preset dictionaries not supported")},"zlv");function an(n,r){return!r&&typeof n=="function"&&(r=n,n={}),this.ondata=r,n}u(an,"AsyncCmpStrm");var ar=function(){function n(r,t){!t&&typeof r=="function"&&(t=r,r={}),this.ondata=t,this.o=r||{}}return u(n,"Deflate"),n.prototype.p=function(r,t){this.ondata(ur(r,this.o,0,0,!t),t)},n.prototype.push=function(r,t){this.ondata||g(5),this.d&&g(4),this.d=t,this.p(r,t||!1)},n}();var Xn=function(){function n(r,t){Mr([zr,function(){return[b,ar]}],this,an.call(this,r,t),function(e){var i=new ar(e.data);onmessage=b(i)},6)}return u(n,"AsyncDeflate"),n}();function dn(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[zr],function(e){return fr($r(e.data[0],e.data[1]))},0,t)}u(dn,"deflate");function $r(n,r){return ur(n,r||{},0,0)}u($r,"deflateSync");var K=function(){function n(r){this.s={},this.p=new D(0),this.ondata=r}return u(n,"Inflate"),n.prototype.e=function(r){this.ondata||g(5),this.d&&g(4);var t=this.p.length,e=new D(t+r.length);e.set(this.p),e.set(r,t),this.p=e},n.prototype.c=function(r){this.d=this.s.i=r||!1;var t=this.s.b,e=Cr(this.p,this.o,this.s);this.ondata(d(e,t,this.s.b),this.d),this.o=d(e,this.s.b-32768),this.s.b=this.o.length,this.p=d(this.p,this.s.p/8|0),this.s.p&=7},n.prototype.push=function(r,t){this.e(r),this.c(t)},n}();var Nn=function(){function n(r){this.ondata=r,Mr([xr,function(){return[b,K]}],this,0,function(){var t=new K;onmessage=b(t)},7)}return u(n,"AsyncInflate"),n}();function Rn(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[xr],function(e){return fr(Fr(e.data[0],_r(e.data[1])))},1,t)}u(Rn,"inflate");function Fr(n,r){return Cr(n,r)}u(Fr,"inflateSync");var pn=function(){function n(r,t){this.c=mr(),this.l=0,this.v=1,ar.call(this,r,t)}return u(n,"Gzip"),n.prototype.push=function(r,t){ar.prototype.push.call(this,r,t)},n.prototype.p=function(r,t){this.c.p(r),this.l+=r.length;var e=ur(r,this.o,this.v&&tn(this.o),t&&8,!t);this.v&&(rn(e,this.o),this.v=0),t&&(I(e,e.length-8,this.c.d()),I(e,e.length-4,this.l)),this.ondata(e,t)},n}();var ot=function(){function n(r,t){Mr([zr,Zn,function(){return[b,ar,pn]}],this,an.call(this,r,t),function(e){var i=new pn(e.data);onmessage=b(i)},8)}return u(n,"AsyncGzip"),n}();function ft(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[zr,Zn,function(){return[gn]}],function(e){return fr(gn(e.data[0],e.data[1]))},2,t)}u(ft,"gzip");function gn(n,r){r||(r={});var t=mr(),e=n.length;t.p(n);var i=ur(n,r,tn(r),8),a=i.length;return rn(i,r),I(i,a-8,t.d()),I(i,a-4,e),i}u(gn,"gzipSync");var Jr=function(){function n(r){this.v=1,K.call(this,r)}return u(n,"Gunzip"),n.prototype.push=function(r,t){if(K.prototype.e.call(this,r),this.v){var e=this.p.length>3?nn(this.p):4;if(e>=this.p.length&&!t)return;this.p=this.p.subarray(e),this.v=0}t&&(this.p.length<8&&g(6,"invalid gzip data"),this.p=this.p.subarray(0,-8)),K.prototype.c.call(this,t)},n}();var bn=function(){function n(r){this.ondata=r,Mr([xr,kn,function(){return[b,K,Jr]}],this,0,function(){var t=new Jr;onmessage=b(t)},9)}return u(n,"AsyncGunzip"),n}();function _n(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[xr,kn,function(){return[Kr]}],function(e){return fr(Kr(e.data[0]))},3,t)}u(_n,"gunzip");function Kr(n,r){return Cr(n.subarray(nn(n),-8),r||new D(Ln(n)))}u(Kr,"gunzipSync");var yn=function(){function n(r,t){this.c=br(),this.v=1,ar.call(this,r,t)}return u(n,"Zlib"),n.prototype.push=function(r,t){ar.prototype.push.call(this,r,t)},n.prototype.p=function(r,t){this.c.p(r);var e=ur(r,this.o,this.v&&2,t&&4,!t);this.v&&(en(e,this.o),this.v=0),t&&I(e,e.length-4,this.c.d()),this.ondata(e,t)},n}();var st=function(){function n(r,t){Mr([zr,Gn,function(){return[b,ar,yn]}],this,an.call(this,r,t),function(e){var i=new yn(e.data);onmessage=b(i)},10)}return u(n,"AsyncZlib"),n}();function ut(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[zr,Gn,function(){return[wn]}],function(e){return fr(wn(e.data[0],e.data[1]))},4,t)}u(ut,"zlib");function wn(n,r){r||(r={});var t=br();t.p(n);var e=ur(n,r,2,4);return en(e,r),I(e,e.length-4,t.d()),e}u(wn,"zlibSync");var Qr=function(){function n(r){this.v=1,K.call(this,r)}return u(n,"Unzlib"),n.prototype.push=function(r,t){if(K.prototype.e.call(this,r),this.v){if(this.p.length<2&&!t)return;this.p=this.p.subarray(2),this.v=0}t&&(this.p.length<4&&g(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),K.prototype.c.call(this,t)},n}();var rt=function(){function n(r){this.ondata=r,Mr([xr,On,function(){return[b,K,Qr]}],this,0,function(){var t=new Qr;onmessage=b(t)},11)}return u(n,"AsyncUnzlib"),n}();function nt(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),Ar(n,r,[xr,On,function(){return[Vr]}],function(e){return fr(Vr(e.data[0],_r(e.data[1])))},5,t)}u(nt,"unzlib");function Vr(n,r){return Cr((Pn(n),n.subarray(2,-4)),r)}u(Vr,"unzlibSync");var tt=function(){function n(r){this.G=Jr,this.I=K,this.Z=Qr,this.ondata=r}return u(n,"Decompress"),n.prototype.push=function(r,t){if(this.ondata||g(5),this.s)this.s.push(r,t);else{if(this.p&&this.p.length){var e=new D(this.p.length+r.length);e.set(this.p),e.set(r,this.p.length)}else this.p=r;if(this.p.length>2){var i=this,a=u(function(){i.ondata.apply(i,arguments)},"cb");this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(a):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(a):new this.Z(a),this.s.push(this.p,t),this.p=null}}},n}();var vt=function(){function n(r){this.G=bn,this.I=Nn,this.Z=rt,this.ondata=r}return u(n,"AsyncDecompress"),n.prototype.push=function(r,t){tt.prototype.push.call(this,r,t)},n}();function ht(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),n[0]==31&&n[1]==139&&n[2]==8?_n(n,r,t):(n[0]&15)!=8||n[0]>>4>7||(n[0]<<8|n[1])%31?Rn(n,r,t):nt(n,r,t)}u(ht,"decompress");function lt(n,r){return n[0]==31&&n[1]==139&&n[2]==8?Kr(n,r):(n[0]&15)!=8||n[0]>>4>7||(n[0]<<8|n[1])%31?Fr(n,r):Vr(n,r)}u(lt,"decompressSync");var on=u(function(n,r,t,e){for(var i in n){var a=n[i],o=r+i,f=e;Array.isArray(a)&&(f=Er(e,a[1]),a=a[0]),a instanceof D?t[o]=[a,f]:(t[o+="/"]=[new D(0),f],on(a,o,t,e))}},"fltn"),mn=typeof TextEncoder<"u"&&new TextEncoder,Xr=typeof TextDecoder<"u"&&new TextDecoder,$n=0;try{Xr.decode(er,{stream:!0}),$n=1}catch{}var qn=u(function(n){for(var r="",t=0;;){var e=n[t++],i=(e>127)+(e>223)+(e>239);if(t+i>n.length)return[r,d(n,t-1)];i?i==3?(e=((e&15)<<18|(n[t++]&63)<<12|(n[t++]&63)<<6|n[t++]&63)-65536,r+=String.fromCharCode(55296|e>>10,56320|e&1023)):i&1?r+=String.fromCharCode((e&31)<<6|n[t++]&63):r+=String.fromCharCode((e&15)<<12|(n[t++]&63)<<6|n[t++]&63):r+=String.fromCharCode(e)}},"dutf8"),ct=function(){function n(r){this.ondata=r,$n?this.t=new TextDecoder:this.p=er}return u(n,"DecodeUTF8"),n.prototype.push=function(r,t){if(this.ondata||g(5),t=!!t,this.t){this.ondata(this.t.decode(r,{stream:!0}),t),t&&(this.t.decode().length&&g(8),this.t=null);return}this.p||g(4);var e=new D(this.p.length+r.length);e.set(this.p),e.set(r,this.p.length);var i=qn(e),a=i[0],o=i[1];t?(o.length&&g(8),this.p=null):this.p=o,this.ondata(a,t)},n}();var pt=function(){function n(r){this.ondata=r}return u(n,"EncodeUTF8"),n.prototype.push=function(r,t){this.ondata||g(5),this.d&&g(4),this.ondata(sr(r),this.d=t||!1)},n}();function sr(n,r){if(r){for(var t=new D(n.length),e=0;e<n.length;++e)t[e]=n.charCodeAt(e);return t}if(mn)return mn.encode(n);for(var i=n.length,a=new D(n.length+(n.length>>1)),o=0,f=u(function(h){a[o++]=h},"w"),e=0;e<i;++e){if(o+5>a.length){var v=new D(o+8+(i-e<<1));v.set(a),a=v}var s=n.charCodeAt(e);s<128||r?f(s):s<2048?(f(192|s>>6),f(128|s&63)):s>55295&&s<57344?(s=65536+(s&1047552)|n.charCodeAt(++e)&1023,f(240|s>>18),f(128|s>>12&63),f(128|s>>6&63),f(128|s&63)):(f(224|s>>12),f(128|s>>6&63),f(128|s&63))}return d(a,0,o)}u(sr,"strToU8");function Hn(n,r){if(r){for(var t="",e=0;e<n.length;e+=16384)t+=String.fromCharCode.apply(null,n.subarray(e,e+16384));return t}else{if(Xr)return Xr.decode(n);var i=qn(n),a=i[0],o=i[1];return o.length&&g(8),a}}u(Hn,"strFromU8");var Yn=u(function(n){return n==1?3:n<6?2:n==9?1:0},"dbf"),Wn=u(function(n,r){return r+30+W(n,r+26)+W(n,r+28)},"slzh"),jn=u(function(n,r,t){var e=W(n,r+28),i=Hn(n.subarray(r+46,r+46+e),!(W(n,r+8)&2048)),a=r+46+e,o=N(n,r+20),f=t&&o==4294967295?Jn(n,a):[o,N(n,r+24),N(n,r+42)],v=f[0],s=f[1],h=f[2];return[W(n,r+10),v,s,i,a+W(n,r+30)+W(n,r+32),h]},"zh"),Jn=u(function(n,r){for(;W(n,r)!=1;r+=4+W(n,r+2));return[Hr(n,r+12),Hr(n,r+4),Hr(n,r+20)]},"z64e"),or=u(function(n){var r=0;if(n)for(var t in n){var e=n[t].length;e>65535&&g(9),r+=e+4}return r},"exfl"),pr=u(function(n,r,t,e,i,a,o,f){var v=e.length,s=t.extra,h=f&&f.length,c=or(s);I(n,r,o!=null?33639248:67324752),r+=4,o!=null&&(n[r++]=20,n[r++]=t.os),n[r]=20,r+=2,n[r++]=t.flag<<1|(a==null&&8),n[r++]=i&&8,n[r++]=t.compression&255,n[r++]=t.compression>>8;var y=new Date(t.mtime==null?Date.now():t.mtime),z=y.getFullYear()-1980;if((z<0||z>119)&&g(10),I(n,r,z<<25|y.getMonth()+1<<21|y.getDate()<<16|y.getHours()<<11|y.getMinutes()<<5|y.getSeconds()>>>1),r+=4,a!=null&&(I(n,r,t.crc),I(n,r+4,a),I(n,r+8,t.size)),I(n,r+12,v),I(n,r+14,c),r+=16,o!=null&&(I(n,r,h),I(n,r+6,t.attrs),I(n,r+10,o),r+=14),n.set(e,r),r+=v,c)for(var w in s){var x=s[w],l=x.length;I(n,r,+w),I(n,r+2,l),n.set(x,r+4),r+=4+l}return h&&(n.set(f,r),r+=h),r},"wzh"),fn=u(function(n,r,t,e,i){I(n,r,101010256),I(n,r+8,t),I(n,r+10,t),I(n,r+12,e),I(n,r+16,i)},"wzf"),Nr=function(){function n(r){this.filename=r,this.c=mr(),this.size=0,this.compression=0}return u(n,"ZipPassThrough"),n.prototype.process=function(r,t){this.ondata(null,r,t)},n.prototype.push=function(r,t){this.ondata||g(5),this.c.p(r),this.size+=r.length,t&&(this.crc=this.c.d()),this.process(r,t||!1)},n}();var gt=function(){function n(r,t){var e=this;t||(t={}),Nr.call(this,r),this.d=new ar(t,function(i,a){e.ondata(null,i,a)}),this.compression=8,this.flag=Yn(t.level)}return u(n,"ZipDeflate"),n.prototype.process=function(r,t){try{this.d.push(r,t)}catch(e){this.ondata(e,null,t)}},n.prototype.push=function(r,t){Nr.prototype.push.call(this,r,t)},n}();var yt=function(){function n(r,t){var e=this;t||(t={}),Nr.call(this,r),this.d=new Xn(t,function(i,a,o){e.ondata(i,a,o)}),this.compression=8,this.flag=Yn(t.level),this.terminate=this.d.terminate}return u(n,"AsyncZipDeflate"),n.prototype.process=function(r,t){this.d.push(r,t)},n.prototype.push=function(r,t){Nr.prototype.push.call(this,r,t)},n}();var wt=function(){function n(r){this.ondata=r,this.u=[],this.d=1}return u(n,"Zip"),n.prototype.add=function(r){var t=this;if(this.ondata||g(5),this.d&2)this.ondata(g(4+(this.d&1)*8,0,1),null,!1);else{var e=sr(r.filename),i=e.length,a=r.comment,o=a&&sr(a),f=i!=r.filename.length||o&&a.length!=o.length,v=i+or(r.extra)+30;i>65535&&this.ondata(g(11,0,1),null,!1);var s=new D(v);pr(s,0,r,e,f);var h=[s],c=u(function(){for(var l=0,A=h;l<A.length;l++){var T=A[l];t.ondata(null,T,!1)}h=[]},"pAll_1"),y=this.d;this.d=0;var z=this.u.length,w=Er(r,{f:e,u:f,o,t:function(){r.terminate&&r.terminate()},r:function(){if(c(),y){var l=t.u[z+1];l?l.r():t.d=1}y=1}}),x=0;r.ondata=function(l,A,T){if(l)t.ondata(l,A,T),t.terminate();else if(x+=A.length,h.push(A),T){var U=new D(16);I(U,0,134695760),I(U,4,r.crc),I(U,8,x),I(U,12,r.size),h.push(U),w.c=x,w.b=v+x+16,w.crc=r.crc,w.size=r.size,y&&w.r(),y=1}else y&&c()},this.u.push(w)}},n.prototype.end=function(){var r=this;if(this.d&2){this.ondata(g(4+(this.d&1)*8,0,1),null,!0);return}this.d?this.e():this.u.push({r:function(){r.d&1&&(r.u.splice(-1,1),r.e())},t:function(){}}),this.d=3},n.prototype.e=function(){for(var r=0,t=0,e=0,i=0,a=this.u;i<a.length;i++){var o=a[i];e+=46+o.f.length+or(o.extra)+(o.o?o.o.length:0)}for(var f=new D(e+22),v=0,s=this.u;v<s.length;v++){var o=s[v];pr(f,r,o,o.f,o.u,o.c,t,o.o),r+=46+o.f.length+or(o.extra)+(o.o?o.o.length:0),t+=o.b}fn(f,r,this.u.length,e,t),this.ondata(null,f,!0),this.d=2},n.prototype.terminate=function(){for(var r=0,t=this.u;r<t.length;r++){var e=t[r];e.t()}this.d=2},n}();function mt(n,r,t){t||(t=r,r={}),typeof t!="function"&&g(7);var e={};on(n,"",e,r);var i=Object.keys(e),a=i.length,o=0,f=0,v=a,s=new Array(a),h=[],c=u(function(){for(var l=0;l<h.length;++l)h[l]()},"tAll"),y=u(function(l,A){Rr(function(){t(l,A)})},"cbd");Rr(function(){y=t});var z=u(function(){var l=new D(f+22),A=o,T=f-o;f=0;for(var U=0;U<v;++U){var m=s[U];try{var B=m.c.length;pr(l,f,m,m.f,m.u,B);var C=30+m.f.length+or(m.extra),M=f+C;l.set(m.c,M),pr(l,o,m,m.f,m.u,B,f,m.m),o+=16+C+(m.m?m.m.length:0),f=M+B}catch(p){return y(p,null)}}fn(l,o,s.length,T,A),y(null,l)},"cbf");a||z();for(var w=u(function(l){var A=i[l],T=e[A],U=T[0],m=T[1],B=mr(),C=U.length;B.p(U);var M=sr(A),p=M.length,P=m.comment,S=P&&sr(P),R=S&&S.length,O=or(m.extra),k=m.level==0?0:8,F=u(function(L,Z){if(L)c(),y(L,null);else{var G=Z.length;s[l]=Er(m,{size:C,crc:B.d(),c:Z,f:M,m:S,u:p!=A.length||S&&P.length!=R,compression:k}),o+=30+p+O+G,f+=76+2*(p+O)+(R||0)+G,--a||z()}},"cbl");if(p>65535&&F(g(11,0,1),null),!k)F(null,U);else if(C<16e4)try{F(null,$r(U,m))}catch(L){F(L,null)}else h.push(dn(U,m,F))},"_loop_1"),x=0;x<v;++x)w(x);return c}u(mt,"zip");function xt(n,r){r||(r={});var t={},e=[];on(n,"",t,r);var i=0,a=0;for(var o in t){var f=t[o],v=f[0],s=f[1],h=s.level==0?0:8,c=sr(o),y=c.length,z=s.comment,w=z&&sr(z),x=w&&w.length,l=or(s.extra);y>65535&&g(11);var A=h?$r(v,s):v,T=A.length,U=mr();U.p(v),e.push(Er(s,{size:v.length,crc:U.d(),c:A,f:c,m:w,u:y!=o.length||w&&z.length!=x,o:i,compression:h})),i+=30+y+l+T,a+=76+2*(y+l)+(x||0)+T}for(var m=new D(a+22),B=i,C=a-i,M=0;M<e.length;++M){var c=e[M];pr(m,c.o,c,c.f,c.u,c.c.length);var p=30+c.f.length+or(c.extra);m.set(c.c,c.o+p),pr(m,i,c,c.f,c.u,c.c.length,c.o,c.m),i+=16+p+(c.m?c.m.length:0)}return fn(m,i,e.length,C,B),m}u(xt,"zipSync");var et=function(){function n(){}return u(n,"UnzipPassThrough"),n.prototype.push=function(r,t){this.ondata(null,r,t)},n.compression=0,n}();var zt=function(){function n(){var r=this;this.i=new K(function(t,e){r.ondata(null,t,e)})}return u(n,"UnzipInflate"),n.prototype.push=function(r,t){try{this.i.push(r,t)}catch(e){this.ondata(e,null,t)}},n.compression=8,n}();var At=function(){function n(r,t){var e=this;t<32e4?this.i=new K(function(i,a){e.ondata(null,i,a)}):(this.i=new Nn(function(i,a,o){e.ondata(i,a,o)}),this.terminate=this.i.terminate)}return u(n,"AsyncUnzipInflate"),n.prototype.push=function(r,t){this.i.terminate&&(r=d(r,0)),this.i.push(r,t)},n.compression=8,n}();var Mt=function(){function n(r){this.onfile=r,this.k=[],this.o={0:et},this.p=er}return u(n,"Unzip"),n.prototype.push=function(r,t){var e=this;if(this.onfile||g(5),this.p||g(4),this.c>0){var i=Math.min(this.c,r.length),a=r.subarray(0,i);if(this.c-=i,this.d?this.d.push(a,!this.c):this.k[0].push(a),r=r.subarray(i),r.length)return this.push(r,t)}else{var o=0,f=0,v=void 0,s=void 0;this.p.length?r.length?(s=new D(this.p.length+r.length),s.set(this.p),s.set(r,this.p.length)):s=this.p:s=r;for(var h=s.length,c=this.c,y=c&&this.d,z=u(function(){var A,T=N(s,f);if(T==67324752){o=1,v=f,w.d=null,w.c=0;var U=W(s,f+6),m=W(s,f+8),B=U&2048,C=U&8,M=W(s,f+26),p=W(s,f+28);if(h>f+30+M+p){var P=[];w.k.unshift(P),o=2;var S=N(s,f+18),R=N(s,f+22),O=Hn(s.subarray(f+30,f+=30+M),!B);S==4294967295?(A=C?[-2]:Jn(s,f),S=A[0],R=A[1]):C&&(S=-1),f+=p,w.c=S;var k,F={name:O,compression:m,start:function(){if(F.ondata||g(5),!S)F.ondata(null,er,!0);else{var L=e.o[m];L||F.ondata(g(14,"unknown compression type "+m,1),null,!1),k=S<0?new L(O):new L(O,S,R),k.ondata=function(j,Q,Y){F.ondata(j,Q,Y)};for(var Z=0,G=P;Z<G.length;Z++){var H=G[Z];k.push(H,!1)}e.k[0]==P&&e.c?e.d=k:k.push(er,!0)}},terminate:function(){k&&k.terminate&&k.terminate()}};S>=0&&(F.size=S,F.originalSize=R),w.onfile(F)}return"break"}else if(c){if(T==134695760)return v=f+=12+(c==-2&&8),o=3,w.c=0,"break";if(T==33639248)return v=f-=4,o=3,w.c=0,"break"}},"_loop_2"),w=this;f<h-4;++f){var x=z();if(x==="break")break}if(this.p=er,c<0){var l=o?s.subarray(0,v-12-(c==-2&&8)-(N(s,v-16)==134695760&&4)):s.subarray(0,f);y?y.push(l,!!o):this.k[+(o==2)].push(l)}if(o&2)return this.push(s.subarray(f),t);this.p=s.subarray(f)}t&&(this.c&&g(13),this.p=null)},n.prototype.register=function(r){this.o[r.compression]=r},n}();var Rr=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(n){n()};function Tt(n,r,t){t||(t=r,r={}),typeof t!="function"&&g(7);var e=[],i=u(function(){for(var x=0;x<e.length;++x)e[x]()},"tAll"),a={},o=u(function(x,l){Rr(function(){t(x,l)})},"cbd");Rr(function(){o=t});for(var f=n.length-22;N(n,f)!=101010256;--f)if(!f||n.length-f>65558)return o(g(13,0,1),null),i;var v=W(n,f+8);if(v){var s=v,h=N(n,f+16),c=h==4294967295;if(c){if(f=N(n,f-12),N(n,f)!=101075792)return o(g(13,0,1),null),i;s=v=N(n,f+32),h=N(n,f+48)}for(var y=r&&r.filter,z=u(function(x){var l=jn(n,h,c),A=l[0],T=l[1],U=l[2],m=l[3],B=l[4],C=l[5],M=Wn(n,C);h=B;var p=u(function(S,R){S?(i(),o(S,null)):(R&&(a[m]=R),--v||o(null,a))},"cbl");if(!y||y({name:m,size:T,originalSize:U,compression:A}))if(!A)p(null,d(n,M,M+T));else if(A==8){var P=n.subarray(M,M+T);if(T<32e4)try{p(null,Fr(P,new D(U)))}catch(S){p(S,null)}else e.push(Rn(P,{size:U},p))}else p(g(14,"unknown compression type "+A,1),null);else p(null,null)},"_loop_3"),w=0;w<s;++w)z(w)}else o(null,{});return i}u(Tt,"unzip");function Ut(n,r){for(var t={},e=n.length-22;N(n,e)!=101010256;--e)(!e||n.length-e>65558)&&g(13);var i=W(n,e+8);if(!i)return{};var a=N(n,e+16),o=a==4294967295;o&&(e=N(n,e-12),N(n,e)!=101075792&&g(13),i=N(n,e+32),a=N(n,e+48));for(var f=r&&r.filter,v=0;v<i;++v){var s=jn(n,a,o),h=s[0],c=s[1],y=s[2],z=s[3],w=s[4],x=s[5],l=Wn(n,x);a=w,(!f||f({name:z,size:c,originalSize:y,compression:h}))&&(h?h==8?t[z]=Fr(n.subarray(l,l+c),new D(y)):g(14,"unknown compression type "+h):t[z]=d(n,l,l+c))}return t}u(Ut,"unzipSync");export{ot as AsyncCompress,vt as AsyncDecompress,Xn as AsyncDeflate,bn as AsyncGunzip,ot as AsyncGzip,Nn as AsyncInflate,At as AsyncUnzipInflate,rt as AsyncUnzlib,yt as AsyncZipDeflate,st as AsyncZlib,pn as Compress,ct as DecodeUTF8,tt as Decompress,ar as Deflate,pt as EncodeUTF8,at as FlateErrorCode,Jr as Gunzip,pn as Gzip,K as Inflate,Mt as Unzip,zt as UnzipInflate,et as UnzipPassThrough,Qr as Unzlib,wt as Zip,gt as ZipDeflate,Nr as ZipPassThrough,yn as Zlib,ft as compress,gn as compressSync,ht as decompress,lt as decompressSync,dn as deflate,$r as deflateSync,_n as gunzip,Kr as gunzipSync,ft as gzip,gn as gzipSync,Rn as inflate,Fr as inflateSync,Hn as strFromU8,sr as strToU8,Tt as unzip,Ut as unzipSync,nt as unzlib,Vr as unzlibSync,mt as zip,xt as zipSync,ut as zlib,wn as zlibSync};
@@ -1 +1 @@
1
- var h=Object.create;var f=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var m=(b,a,c)=>a in b?f(b,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[a]=c;var r=(b,a)=>f(b,"name",{value:a,configurable:!0});var n=(b,a)=>()=>(b&&(a=b(b=0)),a);var s=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);var o=(b,a,c,d)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of j(a))!l.call(b,e)&&e!==c&&f(b,e,{get:()=>a[e],enumerable:!(d=i(a,e))||d.enumerable});return b};var t=(b,a,c)=>(c=b!=null?h(k(b)):{},o(a||!b||!b.__esModule?f(c,"default",{value:b,enumerable:!0}):c,b));var u=(b,a,c)=>(m(b,typeof a!="symbol"?a+"":a,c),c),g=(b,a,c)=>{if(!a.has(b))throw TypeError("Cannot "+c)};var v=(b,a,c)=>(g(b,a,"read from private field"),c?c.call(b):a.get(b)),w=(b,a,c)=>{if(a.has(b))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(b):a.set(b,c)},x=(b,a,c,d)=>(g(b,a,"write to private field"),d?d.call(b,c):a.set(b,c),c);var y=(b,a,c)=>(g(b,a,"access private method"),c);var B,q=n(()=>{B={env:{npm_package_version:"5.31.1"}}});export{r as a,s as b,t as c,u as d,v as e,w as f,x as g,y as h,q as i,B as j};
1
+ var h=Object.create;var f=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var j=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty;var m=(b,a,c)=>a in b?f(b,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[a]=c;var r=(b,a)=>f(b,"name",{value:a,configurable:!0});var n=(b,a)=>()=>(b&&(a=b(b=0)),a);var s=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);var o=(b,a,c,d)=>{if(a&&typeof a=="object"||typeof a=="function")for(let e of j(a))!l.call(b,e)&&e!==c&&f(b,e,{get:()=>a[e],enumerable:!(d=i(a,e))||d.enumerable});return b};var t=(b,a,c)=>(c=b!=null?h(k(b)):{},o(a||!b||!b.__esModule?f(c,"default",{value:b,enumerable:!0}):c,b));var u=(b,a,c)=>(m(b,typeof a!="symbol"?a+"":a,c),c),g=(b,a,c)=>{if(!a.has(b))throw TypeError("Cannot "+c)};var v=(b,a,c)=>(g(b,a,"read from private field"),c?c.call(b):a.get(b)),w=(b,a,c)=>{if(a.has(b))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(b):a.set(b,c)},x=(b,a,c,d)=>(g(b,a,"write to private field"),d?d.call(b,c):a.set(b,c),c);var y=(b,a,c)=>(g(b,a,"access private method"),c);var B,q=n(()=>{B={env:{npm_package_version:"5.31.2"}}});export{r as a,s as b,t as c,u as d,v as e,w as f,x as g,y as h,q as i,B as j};
package/dist/index.d.ts CHANGED
@@ -4735,6 +4735,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
4735
4735
  }
4736
4736
 
4737
4737
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PathsController' {
4738
+ import { Group } from 'three';
4738
4739
  import { MappedinNode, MappedinCoordinate } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
4739
4740
  import type { ICore, TPathOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
4740
4741
  import { ANIMATION_TWEENS } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
@@ -4815,7 +4816,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
4815
4816
  path: Path;
4816
4817
  internalPath: InternalPath;
4817
4818
  }>;
4818
- connectionsPathMeshes: any;
4819
+ connectionsPathMeshes: Group<import("three").Object3DEventMap>;
4819
4820
  getPathLength(path: any): number;
4820
4821
  /**
4821
4822
  * Draws path in 3D space
@@ -5502,11 +5503,11 @@ declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin' {
5502
5503
  * @param mappedinSerializableData Mappedin data that was serialized or exported as JSON
5503
5504
  * @param shouldPopulateBundledImagesAsBlobs Takes the scenes and images from a bundle and maps them as blobs to where they exist as URLs in the bundle. False by default
5504
5505
  */
5505
- hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean): Promise<undefined>;
5506
+ hydrate(mappedinSerializableData: string | Record<string, unknown>, shouldPopulateBundledImagesAsBlobs?: boolean, updateInPlace?: boolean): Promise<undefined>;
5506
5507
  images: any;
5507
5508
  imageBinaries?: Map<string, Uint8Array>;
5508
5509
  scenes: any;
5509
- fetch(): Promise<void>;
5510
+ fetch(updateInPlace?: boolean): Promise<void>;
5510
5511
  /**
5511
5512
  * @deprecated Use {@link hydrateVenue} instead
5512
5513
  */
@@ -5909,6 +5910,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocat
5909
5910
  clone(): MappedinLocation;
5910
5911
  get nodeOperationHours(): TOperationHoursMap;
5911
5912
  static hydrate(locations: any, mappedin: Mappedin): MappedinLocation[];
5913
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
5912
5914
  static fetch(mappedin: Mappedin): Promise<MappedinLocation[]>;
5913
5915
  /**
5914
5916
  *
@@ -7181,14 +7183,14 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
7181
7183
 
7182
7184
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/Core' {
7183
7185
  import '../internal/externals/globalThisPolyfill';
7184
- import { Color, Mesh, PerspectiveCamera, Scene, Vector2 } from 'three';
7186
+ import { Color, Mesh, PerspectiveCamera, Scene, Vector2, Vector3, Raycaster } from 'three';
7185
7187
  import '../internal/object3D.destroy';
7186
7188
  import type { TGetPolygonsAtCoordinateOptions, TMapViewOptions, TPadding, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
7187
7189
  import { Renderer, TaskScheduler, MapManager, FlatLabel, SmartCollisionEngine, PubSub, INTERNAL_EVENT, INTERNAL_EVENT_PAYLOAD, MapView, STATE, MapObject, SceneManager, TileManager, PathsController, FloatingLabelsController, FlatLabelsController, PolygonColorsController, MarkersController, PolygonInteractionController, TooltipsController, PolygonStatesController, PolygonImagesController, ThreeDMarkersController, EventSystem, BlueDotController, CameraController, BillboardManager, StackedMapsController, OutdoorViewController, WatermarkController, PolygonHoverColorsController, ExportController, LayerController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
7188
7190
  import { Mappedin as IMappedin, MappedinCoordinate, MappedinMap, MappedinNode } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
7189
7191
  import { E_MAP_CHANGED_REASON } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
7190
7192
  import type { PerformanceController } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/PerformanceController';
7191
- export const raycaster: any;
7193
+ export const raycaster: Raycaster;
7192
7194
  let Mappedin: any;
7193
7195
  /**
7194
7196
  * Some preset orderings for updates.
@@ -7266,7 +7268,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
7266
7268
  referenceMap: MappedinMap;
7267
7269
  currentInteractionEvent: INTERNAL_EVENT | undefined;
7268
7270
  resolution: Vector2;
7269
- cameraParameters: Vector2;
7271
+ cameraParameters: any;
7270
7272
  controls: typeof Mappedin.CameraControls;
7271
7273
  cameraPlane: Mesh;
7272
7274
  canvasWidth: number;
@@ -7323,14 +7325,14 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
7323
7325
  getPositionLatLon: (lat: number, lon: number, map?: string | MappedinMap | null) => Vector3;
7324
7326
  lockNorth: (element: any, offset?: number) => void;
7325
7327
  unlockNorth: (element: any) => void;
7326
- convertTo3DMapPosition: (nodeOrCoordinate: MappedinNode | MappedinCoordinate) => any;
7328
+ convertTo3DMapPosition: (nodeOrCoordinate: MappedinNode | MappedinCoordinate) => Vector3;
7327
7329
  /**
7328
7330
  * Converts a 2D x,y screen position into a 3D MappedinCoordinate using projection
7329
7331
  */
7330
7332
  convertScreenCoordinateToMapCoordinate: (x: number, y: number, map: MappedinMap) => MappedinCoordinate;
7331
7333
  convert3DMapPositionToCoordinate: (coord: any, mapClass?: MappedinMap | null | undefined) => MappedinCoordinate;
7332
- getPositionPolygon: (polygon: any) => any;
7333
- getPositionNode: (node: any) => any;
7334
+ getPositionPolygon: (polygon: any) => Vector3;
7335
+ getPositionNode: (node: any) => Vector3;
7334
7336
  hideAllLabels: () => void;
7335
7337
  setBackgroundColor: (color: any, alpha: any) => void;
7336
7338
  setSize: (width: any, height: any) => void;
@@ -7363,8 +7365,8 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
7363
7365
  mapSetResolved: any;
7364
7366
  setMap: (map: string | MappedinMap) => Promise<any>;
7365
7367
  setMapWithReason: (map: string | MappedinMap, reason: E_MAP_CHANGED_REASON) => Promise<any>;
7366
- getPolygonsAtScreenCoordinate: (x: number, y: number, options?: TGetPolygonsAtCoordinateOptions) => any;
7367
- getPolygonsAtCoordinate: (coordinate: MappedinCoordinate, options?: TGetPolygonsAtCoordinateOptions) => any;
7368
+ getPolygonsAtScreenCoordinate: (x: number, y: number, options?: TGetPolygonsAtCoordinateOptions) => MappedinPolygon[];
7369
+ getPolygonsAtCoordinate: (coordinate: MappedinCoordinate, options?: TGetPolygonsAtCoordinateOptions) => MappedinPolygon[];
7368
7370
  getNearestNodeByScreenCoordinate(x: number, y: number, mapOrMapId?: MappedinMap | MappedinMap['id']): MappedinNode;
7369
7371
  /**
7370
7372
  * Destroys instance and frees resources
@@ -7984,6 +7986,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinCateg
7984
7986
  */
7985
7987
  get children(): MappedinCategory[];
7986
7988
  static hydrate(categories: any, mappedin: Mappedin): MappedinCategory[];
7989
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
7987
7990
  static fetch(mappedin: Mappedin): Promise<MappedinCategory[]>;
7988
7991
  toJSON(): any;
7989
7992
  }
@@ -8205,6 +8208,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinEvent
8205
8208
  * @internal
8206
8209
  */
8207
8210
  static hydrate(events: any, mappedin: Mappedin): MappedinEvent[];
8211
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
8208
8212
  /**
8209
8213
  * @internal
8210
8214
  */
@@ -8229,6 +8233,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinLocat
8229
8233
  * @internal
8230
8234
  */
8231
8235
  static hydrate(locationStates: any): MappedinLocationState[];
8236
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
8232
8237
  id: string;
8233
8238
  name: string;
8234
8239
  value: string;
@@ -8322,6 +8327,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinMap'
8322
8327
  */
8323
8328
  getNorth(): any;
8324
8329
  static hydrate(maps: any, mappedin: Mappedin): MappedinMap[];
8330
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
8325
8331
  static fetch(mappedin: Mappedin): Promise<MappedinMap[]>;
8326
8332
  get center(): any;
8327
8333
  toJSON(): any;
@@ -8347,6 +8353,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/get-venue/MappedinMapGr
8347
8353
  */
8348
8354
  get maps(): MappedinMap[];
8349
8355
  static hydrate(mapGroups: any, mappedin: Mappedin): MappedinMapGroup[];
8356
+ static updateInPlace(mappedin: Mappedin, hydrateData?: any): Promise<void>;
8350
8357
  static fetch(mappedin: Mappedin): Promise<MappedinMapGroup[]>;
8351
8358
  toJSON(): any;
8352
8359
  }
@@ -8607,6 +8614,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/navigator/interfaces/IP
8607
8614
  }
8608
8615
 
8609
8616
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/json-scene-loader' {
8617
+ import { Group } from 'three';
8610
8618
  import { Element } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
8611
8619
  import DefaultAssetManager from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.AssetManager';
8612
8620
  import { MappedinMap, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
@@ -8626,12 +8634,12 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
8626
8634
  on it, or a string URL to fetch those polygons from.
8627
8635
  **/
8628
8636
  load(polygons: string | MappedinPolygon[], mapClass: MappedinMap, mapLoadingStrategy?: MAP_RENDER_MODE): Promise<{
8629
- container: any;
8637
+ container: Group<import("three").Object3DEventMap>;
8630
8638
  elements: Element[];
8631
8639
  visibleLayers: Set<unknown>;
8632
8640
  }>;
8633
8641
  _build(polygons: MappedinPolygon[], mapClass: MappedinMap, mapLoadingStrategy?: MAP_RENDER_MODE): Promise<{
8634
- container: any;
8642
+ container: Group<import("three").Object3DEventMap>;
8635
8643
  elements: Element[];
8636
8644
  visibleLayers: Set<unknown>;
8637
8645
  }>;
@@ -9254,7 +9262,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
9254
9262
  }
9255
9263
 
9256
9264
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.MapObject' {
9257
- import { Group, Box3, Mesh, MeshLambertMaterial, Object3D, Vector3 } from 'three';
9265
+ import { Box3, Mesh, MeshLambertMaterial, Object3D, Vector3, BufferGeometry } from 'three';
9258
9266
  import { FrameTaskGroup } from '@mappedin/react-native-sdk/sdks/packages/get-venue/Mappedin.TaskScheduler';
9259
9267
  import { Element, FlippableImage, MappedinMap, TaskScheduler, FlatLabel, SmartTooltip, ICore, InternalFloatingLabel, TCreateThreeDMarkerOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
9260
9268
  import { PubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub';
@@ -9280,10 +9288,10 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
9280
9288
  export const SCENE_FROM_LIVE_JSON = false;
9281
9289
  type InterpolationFunctionType = (zoomLevel: number) => any;
9282
9290
  export class LayerGroup {
9283
- mergedObjectsGroup: Group;
9284
- hoverObjectsGroup: Group;
9291
+ mergedObjectsGroup: any;
9292
+ hoverObjectsGroup: any;
9285
9293
  objectsByMaterials: Map<MeshLambertMaterial, Element[]>;
9286
- hoverableMeshChildren: Mesh;
9294
+ hoverableMeshChildren: Mesh<BufferGeometry, MeshLambertMaterial>[];
9287
9295
  _isVisible: boolean;
9288
9296
  needsUpdate: boolean;
9289
9297
  userData: any;
@@ -9397,8 +9405,8 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
9397
9405
  processLayers(allLayers: string[], include?: string[], exclude?: string[]): string[];
9398
9406
  processLayerGroup(name?: string, include?: string[], exclude?: string[], visible?: boolean, elements?: Element[], defaultRenderOrder?: number): LayerGroup;
9399
9407
  get hoverableMeshChildren(): Mesh[];
9400
- _objLoadedMerged(object: Object3D): Promise<void>;
9401
- _objLoaded(object: Object3D): void;
9408
+ _objLoadedMerged(object: any): Promise<void>;
9409
+ _objLoaded(object: any): void;
9402
9410
  loadPolygonNow(polygonId: string): void;
9403
9411
  _addElementToScene(element: Element): void;
9404
9412
  /** *
@@ -9545,13 +9553,13 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
9545
9553
  }
9546
9554
 
9547
9555
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.AssetManager' {
9548
- import { Texture } from 'three';
9556
+ import { Texture, TextureLoader } from 'three';
9549
9557
  import type { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
9550
9558
  /**
9551
9559
  * @internal
9552
9560
  */
9553
9561
  export default class DefaultAssetManager {
9554
- textureLoader: any;
9562
+ textureLoader: TextureLoader;
9555
9563
  loadMapPolygons(map: MappedinMap): Promise<any>;
9556
9564
  loadImage(url: string): Promise<Texture>;
9557
9565
  }
@@ -9844,6 +9852,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
9844
9852
  }
9845
9853
 
9846
9854
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.Scene' {
9855
+ import { Object3D } from 'three';
9847
9856
  import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
9848
9857
  import type { ICore, SceneManager, TSceneTransitionOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
9849
9858
  import { MapObject } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
@@ -9852,7 +9861,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
9852
9861
  maps: MappedinMap[];
9853
9862
  mapObjectsArray: MapObject[];
9854
9863
  transitionOptions: TSceneTransitionOptions | undefined;
9855
- object: any;
9864
+ object: Object3D<import("three").Object3DEventMap>;
9856
9865
  currentMap: MappedinMap;
9857
9866
  mapObjects: Map<MappedinMap['id'], MapObject>;
9858
9867
  constructor(maps: MappedinMap[], core: ICore);
@@ -9863,7 +9872,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
9863
9872
  * Determine each maps position and rotation relative to the refernce map
9864
9873
  */
9865
9874
  determineMapPositionAndRotation(map: MappedinMap): {
9866
- position: any[];
9875
+ position: number[];
9867
9876
  scale: number[];
9868
9877
  rotation: number[];
9869
9878
  };
@@ -9887,7 +9896,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
9887
9896
  }
9888
9897
 
9889
9898
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/MapView.StackScene' {
9890
- import { Box3, BoxHelper, Mesh } from 'three';
9899
+ import { Box3, Mesh } from 'three';
9891
9900
  import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
9892
9901
  import type { ICore, SceneManager, TSceneTransitionOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
9893
9902
  import { MapObject, MapViewScene } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
@@ -9895,13 +9904,13 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
9895
9904
  class MapViewStackScene extends MapViewScene {
9896
9905
  #private;
9897
9906
  containerBoxHelper: Box3;
9898
- viewportBox: Box3;
9899
- currentMapWrapperMesh: Mesh;
9900
- currentMapWrapperBoxHelper: BoxHelper;
9901
- viewportMesh: Mesh;
9902
- stackContainerMesh: Mesh;
9907
+ viewportBox: any;
9908
+ currentMapWrapperMesh: any;
9909
+ currentMapWrapperBoxHelper: any;
9910
+ viewportMesh: any;
9911
+ stackContainerMesh: any;
9903
9912
  currentMinTilt: number;
9904
- constructor(maps: MappedinMap[], core: ICore);
9913
+ constructor(maps: MappedinMap[], core: ICore, mapLabels?: boolean);
9905
9914
  lockControls(): void;
9906
9915
  unlockControls(): void;
9907
9916
  createStackBoundingBox(): void;
@@ -9928,7 +9937,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
9928
9937
  }
9929
9938
 
9930
9939
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.Element' {
9931
- import { MeshLambertMaterial, Mesh, ExtrudeGeometry, Vector3, Group } from 'three';
9940
+ import { MeshLambertMaterial, Mesh, ExtrudeGeometry, Vector3, Texture, Group } from 'three';
9932
9941
  import { PubSub } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/pub-sub';
9933
9942
  import { AssetManager, MappedinMap, MappedinPolygon } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
9934
9943
  import { MAP_RENDER_MODE } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/MapView.enums';
@@ -9939,7 +9948,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
9939
9948
  visible: boolean;
9940
9949
  mode: MAP_RENDER_MODE;
9941
9950
  static defaultMaterial: MeshLambertMaterial;
9942
- static hoverMeshMaterial: any;
9951
+ static hoverMeshMaterial: MeshLambertMaterial;
9943
9952
  assetManager: AssetManager;
9944
9953
  imageVisible: boolean;
9945
9954
  labelVisible: boolean;
@@ -10043,7 +10052,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
10043
10052
  }
10044
10053
 
10045
10054
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/scene-manager/dynamic-focus-scene-manager/dynamic-focus-scene' {
10046
- import { Object3D, Box3, Raycaster } from 'three';
10055
+ import { Object3D } from 'three';
10047
10056
  import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
10048
10057
  import type { ICore, MapObject } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
10049
10058
  import { Building } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
@@ -10051,10 +10060,10 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
10051
10060
  class DynamicFocusScene {
10052
10061
  buildings: Building[];
10053
10062
  object: Object3D;
10054
- panBounds: Box3;
10063
+ panBounds: any;
10055
10064
  loaded: boolean;
10056
10065
  baseMapObject: MapObject;
10057
- raycasters: Raycaster[];
10066
+ raycasters: any;
10058
10067
  baseMap: MappedinMap;
10059
10068
  options: {
10060
10069
  indoorsFullyVisibleZoomLevel: number;
@@ -10247,12 +10256,12 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
10247
10256
  };
10248
10257
  hasTouched: boolean;
10249
10258
  calculateMouseCoordinates: (event: any) => void;
10250
- getMouseRayIntersects: (objects: Object3D | Object3D[]) => any;
10259
+ getMouseRayIntersects: (objects: Object3D | Object3D[]) => import("three").Intersection<Object3D<import("three").Object3DEventMap>>[];
10251
10260
  detectCollidersUnderMouse: () => Collider[];
10252
10261
  detectPolygonsUnderMouse: () => string[];
10253
10262
  detectPathsUnderMouse: () => Path[];
10254
10263
  detectWatermarkUnderMouse: () => boolean;
10255
- detectMapsUnderMouse: () => any;
10264
+ detectMapsUnderMouse: () => import("../../internal").MappedinMap[];
10256
10265
  getMouseMapPosition: () => {
10257
10266
  x: number;
10258
10267
  y: number;
@@ -10268,14 +10277,14 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
10268
10277
  }
10269
10278
 
10270
10279
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/Mappedin.BinaryAssetManager' {
10271
- import { Texture } from 'three';
10280
+ import { Texture, TextureLoader } from 'three';
10272
10281
  /**
10273
10282
  * This asset manager is used when loading a venue from MVF.
10274
10283
  * It requires the MVF's image and model binaries to be passed in upon instantiation.
10275
10284
  * This allows delaying the creation of Blobs and Object URLs until loading the map.
10276
10285
  */
10277
10286
  export default class BinaryAssetManager {
10278
- textureLoader: any;
10287
+ textureLoader: TextureLoader;
10279
10288
  data: Map<string, Uint8Array>;
10280
10289
  constructor(data: Map<string, Uint8Array>);
10281
10290
  /**
@@ -10417,11 +10426,13 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
10417
10426
  export type TInternalTransitionOptions = {
10418
10427
  animate?: boolean;
10419
10428
  };
10429
+ export type TStackedMapsOptions = {
10430
+ verticalDistanceBetweenMaps?: number;
10431
+ mapLabels?: boolean;
10432
+ };
10420
10433
  class StackedMapsController {
10421
10434
  #private;
10422
- options: {
10423
- verticalDistanceBetweenMaps?: number;
10424
- };
10435
+ options: TStackedMapsOptions;
10425
10436
  enabled: boolean;
10426
10437
  stackScene: MapViewStackScene;
10427
10438
  directions: MappedinDirections | MappedinDirections[];
@@ -10479,9 +10490,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
10479
10490
  transition(currentState: STACKED_MAPS_STATE, actionName: ACTION): TTargetTransitionFunction[] | void;
10480
10491
  exec(transitions: TTargetTransitionFunction[] | void, params: TParams): Promise<void>;
10481
10492
  disable: () => Promise<void>;
10482
- enable: (opts?: {
10483
- verticalDistanceBetweenMaps?: number;
10484
- }) => Promise<void>;
10493
+ enable: (opts?: TStackedMapsOptions) => Promise<void>;
10485
10494
  get nodesInJourney(): MappedinNode[];
10486
10495
  showOverview: () => Promise<void>;
10487
10496
  scrollToMap: (map: MappedinMap) => Promise<void>;
@@ -11240,10 +11249,8 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/
11240
11249
  }
11241
11250
 
11242
11251
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.TileManager' {
11243
- import { Box3 } from 'three';
11244
11252
  import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
11245
11253
  import { MappedinCoordinate, MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
11246
- import Object3D from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/object3D.destroy';
11247
11254
  import { Tile } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Mappedin.Tile';
11248
11255
  import { IOutdoorContextProvider } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/outdoor-context/Outdoor-Context.provider';
11249
11256
  /**
@@ -11286,9 +11293,9 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
11286
11293
  fadeIn(): Promise<void>;
11287
11294
  fetchTiles(): void;
11288
11295
  zoomLevelToAltitudeMap: number[][];
11289
- plane: Object3D;
11296
+ plane: any;
11290
11297
  tiles: Tile[];
11291
- maskMeshBoundingBox: Box3;
11298
+ maskMeshBoundingBox?: any;
11292
11299
  fetchTilesForZoomLevel(zoomLevel: number): Promise<void>;
11293
11300
  /**
11294
11301
  * This function populates a layer of tiles starting from the center clockwise
@@ -11776,6 +11783,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/
11776
11783
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/StackedMaps' {
11777
11784
  import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
11778
11785
  import { STACKED_MAPS_STATE, StackedMapsController, TCameraTransform } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
11786
+ import { TStackedMapsOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private/controllers/StackedMapsController';
11779
11787
  /**
11780
11788
  * @experimental
11781
11789
  * API for showing multiple maps involved in a {@link Journey} as a vertical stack.
@@ -11809,9 +11817,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/
11809
11817
  *
11810
11818
  * @returns Promise when all animations are complete.
11811
11819
  */
11812
- enable: (opts?: {
11813
- verticalDistanceBetweenMaps?: number;
11814
- }) => Promise<void>;
11820
+ enable: (opts?: TStackedMapsOptions) => Promise<void>;
11815
11821
  /**
11816
11822
  * @experimental
11817
11823
  *
@@ -12255,14 +12261,14 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/private
12255
12261
  import { MappedinMap } from '@mappedin/react-native-sdk/sdks/packages/get-venue';
12256
12262
  import type { ICore } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
12257
12263
  export function determineMapPositionAndRotation(map: MappedinMap, core: ICore): {
12258
- position: any[];
12264
+ position: number[];
12259
12265
  scale: number[];
12260
12266
  rotation: number[];
12261
12267
  };
12262
12268
  }
12263
12269
 
12264
12270
  declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal/utils/utils' {
12265
- import { Box3, Vector3, Object3D, Material } from 'three';
12271
+ import { Box3, Vector3, Object3D } from 'three';
12266
12272
  import { Mappedin, MapObject, MappedinMap, TMapViewOptions } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/internal';
12267
12273
  import { Camera } from '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/public/api/Camera';
12268
12274
  /**
@@ -12282,7 +12288,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
12282
12288
  export function isGatewayKey(key: string): boolean;
12283
12289
  export function getCombinedBoundingBox(objects: Object3D[]): Box3;
12284
12290
  export function getMapsBoundingBox(maps: MapObject[], mapPadding: number): Box3;
12285
- export function scrubMaterial(material: Material): void;
12291
+ export function scrubMaterial(material: any): void;
12286
12292
  /**
12287
12293
  * Takes a Mappedin Object or id and returns the ID, so our functions can take bottomRight
12288
12294
  * @template T extends string | {id: string}
@@ -12305,8 +12311,8 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
12305
12311
  */
12306
12312
  export function appendItems<T>(arr1: T[], arr2: T[]): void;
12307
12313
  export function getBiggestBoundingBox(objects: Object3D[]): {
12308
- min: any;
12309
- max: any;
12314
+ min: Vector3;
12315
+ max: Vector3;
12310
12316
  };
12311
12317
  export function unpackBoundingBox(boundingBox: Box3): Vector3[];
12312
12318
  export function getMapScale(map: MappedinMap): number;
@@ -12499,8 +12505,8 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
12499
12505
  center: MappedinCoordinate;
12500
12506
  zoomLevel: number;
12501
12507
  mesh: Mesh;
12502
- material: MeshBasicMaterial;
12503
- texture: Texture;
12508
+ material?: MeshBasicMaterial;
12509
+ texture?: Texture;
12504
12510
  cache: {
12505
12511
  tileXY?: {
12506
12512
  tileX: number;
@@ -12517,7 +12523,7 @@ declare module '@mappedin/react-native-sdk/sdks/packages/legacy-renderer/interna
12517
12523
  rendered: boolean;
12518
12524
  discardTexture(): void;
12519
12525
  applyTexture(): void;
12520
- render(metersPerTile: number, referenceMap: MappedinMap): Mesh;
12526
+ render(metersPerTile: number, referenceMap: MappedinMap): Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>;
12521
12527
  }
12522
12528
  }
12523
12529