@mappedin/react-native-sdk 5.19.0 → 5.20.0
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,j as hn}from"./chunk-443OBBTE.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,hr=Uint32Array,lr=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]),cr=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]),cn=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 hr(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"),pn=cn(lr,2),Hr=pn[0],Br=pn[1];Hr[28]=258,Br[258]=28;var gn=cn(cr,0),yn=gn[0],Yr=gn[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,V=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"),er=new D(288);for(E=0;E<144;++E)er[E]=8;var E;for(E=144;E<256;++E)er[E]=9;var E;for(E=256;E<280;++E)er[E]=7;var E;for(E=280;E<288;++E)er[E]=8;var E,pr=new D(32);for(E=0;E<32;++E)pr[E]=5;var E,wn=V(er,9,0),mn=V(er,9,1),xn=V(pr,5,0),zn=V(pr,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"),X=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?hr: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},An=["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||An[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=X(n,v,1);var x=X(n,v+1,3);if(v+=3,x)if(x==1)h=mn,c=zn,y=9,z=5;else if(x==2){var U=X(n,v,31)+257,m=X(n,v+10,15)+4,B=U+X(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]]=X(n,v+p*3,7);v+=m*3;for(var P=Zr(M),S=(1<<P)-1,R=V(M,P,1),p=0;p<B;){var O=R[X(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+X(n,v,3),v+=2,k=C[p-1]):l==17?(F=3+X(n,v,7),v+=3):l==18&&(F=11+X(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=V(L,y,1),c=V(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,_=lr[p];Y=X(n,v,(1<<_)-1)+Hr[p],v+=_}var rr=c[kr(n,v)&H],J=rr>>>4;rr||g(3),v+=rr&15;var Z=yn[J];if(J>3){var _=cr[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"),gr=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[ir,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=Or(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"),Or=u(function(n,r,t){return n.s==-1?Math.max(Or(n.l,r,t+1),Or(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"),yr=u(function(n,r){for(var t=0,e=0;e<r.length;++e)t+=n[e]*r[e];return t},"clen"),Lr=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=yr(i,er)+yr(a,pr)+o,L=yr(i,y)+yr(a,x)+o+14+3*O+yr(M,S)+(2*M[16]+3*M[17]+7*M[18]);if(k<=F&&k<=L)return Lr(r,h,n.subarray(v,v+s));var Z,G,H,j;if(nr(r,h,1+(L<F)),h+=2,L<F){Z=V(y,z,0),G=y,H=V(x,l,0),j=x;var Q=V(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=wn,G=er,H=xn,j=pr;for(var p=0;p<f;++p)if(e[p]>255){var J=e[p]>>>18&31;gr(r,h,Z[J+257]),h+=G[J+257],J>7&&(nr(r,h,e[p]>>>23&31),h+=lr[J]);var $=e[p]&31;gr(r,h,H[$]),h+=j[$],$>3&&(gr(r,h,e[p]>>>5&8191),h+=cr[$])}else gr(r,h,Z[e[p]]),h+=G[e[p]];return gr(r,h,Z[256]),h+G[256]},"wblk"),Mn=new hr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ir=new D(0),Tn=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=Lr(v,s+1,n.subarray(h,c))}else{for(var y=Mn[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 hr(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|Br[H]<<18|Yr[j];var un=Br[H]&31,vn=Yr[j]&31;P+=lr[un]+cr[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=Lr(v,s+1,ir))}return d(f,0,e+Sr(s)+i)},"dflt"),Un=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}(),wr=u(function(){var n=-1;return{p:function(r){for(var t=n,e=0;e<r.length;++e)t=Un[t&255^r[e]]^t>>>8;n=t},d:function(){return~n}}},"crc"),Jr=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"),sr=u(function(n,r,t,e,i){return Tn(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"),Dn=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"),Pr=[],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"),Sn=u(function(n,r,t,e){var i;if(!Pr[t]){for(var a="",o={},f=n.length-1,v=0;v<f;++v)i=Dn(n[v],a,o),a=i[0],o=i[1];Pr[t]=Dn(n[f],a,o)}var s=Er({},Pr[t][1]);return Qn(Pr[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"),mr=u(function(){return[D,q,hr,lr,cr,Ur,Hr,yn,mn,zn,Dr,An,V,Zr,X,kr,Sr,d,g,Cr,Fr,or,Kr]},"bInflt"),xr=u(function(){return[D,q,hr,lr,cr,Ur,Br,Yr,wn,er,xn,pr,Dr,Mn,ir,V,nr,gr,Gr,Or,Wr,yr,Lr,jr,Sr,d,Tn,sr,Nr,or]},"bDflt"),Cn=u(function(){return[Vr,dr,I,wr,Un]},"gze"),En=u(function(){return[Xr,Bn]},"guze"),Fn=u(function(){return[br,I,Jr]},"zle"),In=u(function(){return[Zn]},"zule"),or=u(function(n){return postMessage(n,[n.buffer])},"pbf"),Kr=u(function(n){return n&&n.size&&new D(n.size)},"gu8"),zr=u(function(n,r,t,e,i,a){var o=Sn(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"),Ar=u(function(n,r,t,e,i){var a,o=Sn(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"),Qr=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"),Vr=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"),Xr=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"),Bn=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"),dr=u(function(n){return 10+(n.filename&&n.filename.length+1||0)},"gzhl"),br=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"),Zn=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 _r(n,r){return!r&&typeof n=="function"&&(r=n,n={}),this.ondata=r,n}u(_r,"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(sr(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){Ar([xr,function(){return[b,ar]}],this,_r.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),zr(n,r,[xr],function(e){return or(Nr(e.data[0],e.data[1]))},0,t)}u(dn,"deflate");function Nr(n,r){return sr(n,r||{},0,0)}u(Nr,"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 kn=function(){function n(r){this.ondata=r,Ar([mr,function(){return[b,K]}],this,0,function(){var t=new K;onmessage=b(t)},7)}return u(n,"AsyncInflate"),n}();function Gn(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),zr(n,r,[mr],function(e){return or(Fr(e.data[0],Kr(e.data[1])))},1,t)}u(Gn,"inflate");function Fr(n,r){return Cr(n,r)}u(Fr,"inflateSync");var On=function(){function n(r,t){this.c=wr(),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=sr(r,this.o,this.v&&dr(this.o),t&&8,!t);this.v&&(Vr(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){Ar([xr,Cn,function(){return[b,ar,On]}],this,_r.call(this,r,t),function(e){var i=new On(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),zr(n,r,[xr,Cn,function(){return[Ln]}],function(e){return or(Ln(e.data[0],e.data[1]))},2,t)}u(ft,"gzip");function Ln(n,r){r||(r={});var t=wr(),e=n.length;t.p(n);var i=sr(n,r,dr(r),8),a=i.length;return Vr(i,r),I(i,a-8,t.d()),I(i,a-4,e),i}u(Ln,"gzipSync");var rn=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?Xr(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,Ar([mr,En,function(){return[b,K,rn]}],this,0,function(){var t=new rn;onmessage=b(t)},9)}return u(n,"AsyncGunzip"),n}();function _n(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),zr(n,r,[mr,En,function(){return[nn]}],function(e){return or(nn(e.data[0]))},3,t)}u(_n,"gunzip");function nn(n,r){return Cr(n.subarray(Xr(n),-8),r||new D(Bn(n)))}u(nn,"gunzipSync");var Pn=function(){function n(r,t){this.c=Jr(),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=sr(r,this.o,this.v&&2,t&&4,!t);this.v&&(br(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){Ar([xr,Fn,function(){return[b,ar,Pn]}],this,_r.call(this,r,t),function(e){var i=new Pn(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),zr(n,r,[xr,Fn,function(){return[Nn]}],function(e){return or(Nn(e.data[0],e.data[1]))},4,t)}u(ut,"zlib");function Nn(n,r){r||(r={});var t=Jr();t.p(n);var e=sr(n,r,2,4);return br(e,r),I(e,e.length-4,t.d()),e}u(Nn,"zlibSync");var tn=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,Ar([mr,In,function(){return[b,K,tn]}],this,0,function(){var t=new tn;onmessage=b(t)},11)}return u(n,"AsyncUnzlib"),n}();function nt(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),zr(n,r,[mr,In,function(){return[en]}],function(e){return or(en(e.data[0],Kr(e.data[1])))},5,t)}u(nt,"unzlib");function en(n,r){return Cr((Zn(n),n.subarray(2,-4)),r)}u(en,"unzlibSync");var tt=function(){function n(r){this.G=rn,this.I=K,this.Z=tn,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=kn,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?Gn(n,r,t):nt(n,r,t)}u(ht,"decompress");function lt(n,r){return n[0]==31&&n[1]==139&&n[2]==8?nn(n,r):(n[0]&15)!=8||n[0]>>4>7||(n[0]<<8|n[1])%31?Fr(n,r):en(n,r)}u(lt,"decompressSync");var an=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],an(a,o,t,e))}},"fltn"),Rn=typeof TextEncoder!="undefined"&&new TextEncoder,on=typeof TextDecoder!="undefined"&&new TextDecoder,$n=0;try{on.decode(ir,{stream:!0}),$n=1}catch(n){}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=ir}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(ur(r),this.d=t||!1)},n}();function ur(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(Rn)return Rn.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&1023<<10)|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(ur,"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(on)return on.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[Qr(n,r+12),Qr(n,r+4),Qr(n,r+20)]},"z64e"),fr=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"),Mr=u(function(n,r,t,e,i,a,o,f){var v=e.length,s=t.extra,h=f&&f.length,c=fr(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"),Rr=function(){function n(r){this.filename=r,this.c=wr(),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={}),Rr.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){Rr.prototype.push.call(this,r,t)},n}();var yt=function(){function n(r,t){var e=this;t||(t={}),Rr.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){Rr.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=ur(r.filename),i=e.length,a=r.comment,o=a&&ur(a),f=i!=r.filename.length||o&&a.length!=o.length,v=i+fr(r.extra)+30;i>65535&&this.ondata(g(11,0,1),null,!1);var s=new D(v);Mr(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+fr(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];Mr(f,r,o,o.f,o.u,o.c,t,o.o),r+=46+o.f.length+fr(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={};an(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){$r(function(){t(l,A)})},"cbd");$r(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;Mr(l,f,m,m.f,m.u,B);var C=30+m.f.length+fr(m.extra),M=f+C;l.set(m.c,M),Mr(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=wr(),C=U.length;B.p(U);var M=ur(A),p=M.length,P=m.comment,S=P&&ur(P),R=S&&S.length,O=fr(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,Nr(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=[];an(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=ur(o),y=c.length,z=s.comment,w=z&&ur(z),x=w&&w.length,l=fr(s.extra);y>65535&&g(11);var A=h?Nr(v,s):v,T=A.length,U=wr();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];Mr(m,c.o,c,c.f,c.u,c.c.length);var p=30+c.f.length+fr(c.extra);m.set(c.c,c.o+p),Mr(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 kn(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=ir}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,ir,!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(ir,!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=ir,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 $r=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){$r(function(){t(x,l)})},"cbd");$r(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(Gn(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,kn as AsyncInflate,At as AsyncUnzipInflate,rt as AsyncUnzlib,yt as AsyncZipDeflate,st as AsyncZlib,On as Compress,ct as DecodeUTF8,tt as Decompress,ar as Deflate,pt as EncodeUTF8,at as FlateErrorCode,rn as Gunzip,On as Gzip,K as Inflate,Mt as Unzip,zt as UnzipInflate,et as UnzipPassThrough,tn as Unzlib,wt as Zip,gt as ZipDeflate,Rr as ZipPassThrough,Pn as Zlib,ft as compress,Ln as compressSync,ht as decompress,lt as decompressSync,dn as deflate,Nr as deflateSync,_n as gunzip,nn as gunzipSync,ft as gzip,Ln as gzipSync,Gn as inflate,Fr as inflateSync,Hn as strFromU8,ur as strToU8,Tt as unzip,Ut as unzipSync,nt as unzlib,en as unzlibSync,mt as zip,xt as zipSync,ut as zlib,Nn as zlibSync};
|
|
1
|
+
import{a as u,j as hn}from"./chunk-VZAKZGXM.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,hr=Uint32Array,lr=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]),cr=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]),cn=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 hr(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"),pn=cn(lr,2),Hr=pn[0],Br=pn[1];Hr[28]=258,Br[258]=28;var gn=cn(cr,0),yn=gn[0],Yr=gn[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,V=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"),er=new D(288);for(E=0;E<144;++E)er[E]=8;var E;for(E=144;E<256;++E)er[E]=9;var E;for(E=256;E<280;++E)er[E]=7;var E;for(E=280;E<288;++E)er[E]=8;var E,pr=new D(32);for(E=0;E<32;++E)pr[E]=5;var E,wn=V(er,9,0),mn=V(er,9,1),xn=V(pr,5,0),zn=V(pr,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"),X=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?hr: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},An=["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||An[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=X(n,v,1);var x=X(n,v+1,3);if(v+=3,x)if(x==1)h=mn,c=zn,y=9,z=5;else if(x==2){var U=X(n,v,31)+257,m=X(n,v+10,15)+4,B=U+X(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]]=X(n,v+p*3,7);v+=m*3;for(var P=Zr(M),S=(1<<P)-1,R=V(M,P,1),p=0;p<B;){var O=R[X(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+X(n,v,3),v+=2,k=C[p-1]):l==17?(F=3+X(n,v,7),v+=3):l==18&&(F=11+X(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=V(L,y,1),c=V(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,_=lr[p];Y=X(n,v,(1<<_)-1)+Hr[p],v+=_}var rr=c[kr(n,v)&H],J=rr>>>4;rr||g(3),v+=rr&15;var Z=yn[J];if(J>3){var _=cr[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"),gr=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[ir,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=Or(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"),Or=u(function(n,r,t){return n.s==-1?Math.max(Or(n.l,r,t+1),Or(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"),yr=u(function(n,r){for(var t=0,e=0;e<r.length;++e)t+=n[e]*r[e];return t},"clen"),Lr=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=yr(i,er)+yr(a,pr)+o,L=yr(i,y)+yr(a,x)+o+14+3*O+yr(M,S)+(2*M[16]+3*M[17]+7*M[18]);if(k<=F&&k<=L)return Lr(r,h,n.subarray(v,v+s));var Z,G,H,j;if(nr(r,h,1+(L<F)),h+=2,L<F){Z=V(y,z,0),G=y,H=V(x,l,0),j=x;var Q=V(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=wn,G=er,H=xn,j=pr;for(var p=0;p<f;++p)if(e[p]>255){var J=e[p]>>>18&31;gr(r,h,Z[J+257]),h+=G[J+257],J>7&&(nr(r,h,e[p]>>>23&31),h+=lr[J]);var $=e[p]&31;gr(r,h,H[$]),h+=j[$],$>3&&(gr(r,h,e[p]>>>5&8191),h+=cr[$])}else gr(r,h,Z[e[p]]),h+=G[e[p]];return gr(r,h,Z[256]),h+G[256]},"wblk"),Mn=new hr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ir=new D(0),Tn=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=Lr(v,s+1,n.subarray(h,c))}else{for(var y=Mn[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 hr(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|Br[H]<<18|Yr[j];var un=Br[H]&31,vn=Yr[j]&31;P+=lr[un]+cr[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=Lr(v,s+1,ir))}return d(f,0,e+Sr(s)+i)},"dflt"),Un=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}(),wr=u(function(){var n=-1;return{p:function(r){for(var t=n,e=0;e<r.length;++e)t=Un[t&255^r[e]]^t>>>8;n=t},d:function(){return~n}}},"crc"),Jr=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"),sr=u(function(n,r,t,e,i){return Tn(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"),Dn=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"),Pr=[],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"),Sn=u(function(n,r,t,e){var i;if(!Pr[t]){for(var a="",o={},f=n.length-1,v=0;v<f;++v)i=Dn(n[v],a,o),a=i[0],o=i[1];Pr[t]=Dn(n[f],a,o)}var s=Er({},Pr[t][1]);return Qn(Pr[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"),mr=u(function(){return[D,q,hr,lr,cr,Ur,Hr,yn,mn,zn,Dr,An,V,Zr,X,kr,Sr,d,g,Cr,Fr,or,Kr]},"bInflt"),xr=u(function(){return[D,q,hr,lr,cr,Ur,Br,Yr,wn,er,xn,pr,Dr,Mn,ir,V,nr,gr,Gr,Or,Wr,yr,Lr,jr,Sr,d,Tn,sr,Nr,or]},"bDflt"),Cn=u(function(){return[Vr,dr,I,wr,Un]},"gze"),En=u(function(){return[Xr,Bn]},"guze"),Fn=u(function(){return[br,I,Jr]},"zle"),In=u(function(){return[Zn]},"zule"),or=u(function(n){return postMessage(n,[n.buffer])},"pbf"),Kr=u(function(n){return n&&n.size&&new D(n.size)},"gu8"),zr=u(function(n,r,t,e,i,a){var o=Sn(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"),Ar=u(function(n,r,t,e,i){var a,o=Sn(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"),Qr=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"),Vr=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"),Xr=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"),Bn=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"),dr=u(function(n){return 10+(n.filename&&n.filename.length+1||0)},"gzhl"),br=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"),Zn=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 _r(n,r){return!r&&typeof n=="function"&&(r=n,n={}),this.ondata=r,n}u(_r,"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(sr(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){Ar([xr,function(){return[b,ar]}],this,_r.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),zr(n,r,[xr],function(e){return or(Nr(e.data[0],e.data[1]))},0,t)}u(dn,"deflate");function Nr(n,r){return sr(n,r||{},0,0)}u(Nr,"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 kn=function(){function n(r){this.ondata=r,Ar([mr,function(){return[b,K]}],this,0,function(){var t=new K;onmessage=b(t)},7)}return u(n,"AsyncInflate"),n}();function Gn(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),zr(n,r,[mr],function(e){return or(Fr(e.data[0],Kr(e.data[1])))},1,t)}u(Gn,"inflate");function Fr(n,r){return Cr(n,r)}u(Fr,"inflateSync");var On=function(){function n(r,t){this.c=wr(),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=sr(r,this.o,this.v&&dr(this.o),t&&8,!t);this.v&&(Vr(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){Ar([xr,Cn,function(){return[b,ar,On]}],this,_r.call(this,r,t),function(e){var i=new On(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),zr(n,r,[xr,Cn,function(){return[Ln]}],function(e){return or(Ln(e.data[0],e.data[1]))},2,t)}u(ft,"gzip");function Ln(n,r){r||(r={});var t=wr(),e=n.length;t.p(n);var i=sr(n,r,dr(r),8),a=i.length;return Vr(i,r),I(i,a-8,t.d()),I(i,a-4,e),i}u(Ln,"gzipSync");var rn=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?Xr(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,Ar([mr,En,function(){return[b,K,rn]}],this,0,function(){var t=new rn;onmessage=b(t)},9)}return u(n,"AsyncGunzip"),n}();function _n(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),zr(n,r,[mr,En,function(){return[nn]}],function(e){return or(nn(e.data[0]))},3,t)}u(_n,"gunzip");function nn(n,r){return Cr(n.subarray(Xr(n),-8),r||new D(Bn(n)))}u(nn,"gunzipSync");var Pn=function(){function n(r,t){this.c=Jr(),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=sr(r,this.o,this.v&&2,t&&4,!t);this.v&&(br(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){Ar([xr,Fn,function(){return[b,ar,Pn]}],this,_r.call(this,r,t),function(e){var i=new Pn(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),zr(n,r,[xr,Fn,function(){return[Nn]}],function(e){return or(Nn(e.data[0],e.data[1]))},4,t)}u(ut,"zlib");function Nn(n,r){r||(r={});var t=Jr();t.p(n);var e=sr(n,r,2,4);return br(e,r),I(e,e.length-4,t.d()),e}u(Nn,"zlibSync");var tn=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,Ar([mr,In,function(){return[b,K,tn]}],this,0,function(){var t=new tn;onmessage=b(t)},11)}return u(n,"AsyncUnzlib"),n}();function nt(n,r,t){return t||(t=r,r={}),typeof t!="function"&&g(7),zr(n,r,[mr,In,function(){return[en]}],function(e){return or(en(e.data[0],Kr(e.data[1])))},5,t)}u(nt,"unzlib");function en(n,r){return Cr((Zn(n),n.subarray(2,-4)),r)}u(en,"unzlibSync");var tt=function(){function n(r){this.G=rn,this.I=K,this.Z=tn,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=kn,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?Gn(n,r,t):nt(n,r,t)}u(ht,"decompress");function lt(n,r){return n[0]==31&&n[1]==139&&n[2]==8?nn(n,r):(n[0]&15)!=8||n[0]>>4>7||(n[0]<<8|n[1])%31?Fr(n,r):en(n,r)}u(lt,"decompressSync");var an=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],an(a,o,t,e))}},"fltn"),Rn=typeof TextEncoder!="undefined"&&new TextEncoder,on=typeof TextDecoder!="undefined"&&new TextDecoder,$n=0;try{on.decode(ir,{stream:!0}),$n=1}catch(n){}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=ir}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(ur(r),this.d=t||!1)},n}();function ur(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(Rn)return Rn.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&1023<<10)|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(ur,"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(on)return on.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[Qr(n,r+12),Qr(n,r+4),Qr(n,r+20)]},"z64e"),fr=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"),Mr=u(function(n,r,t,e,i,a,o,f){var v=e.length,s=t.extra,h=f&&f.length,c=fr(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"),Rr=function(){function n(r){this.filename=r,this.c=wr(),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={}),Rr.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){Rr.prototype.push.call(this,r,t)},n}();var yt=function(){function n(r,t){var e=this;t||(t={}),Rr.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){Rr.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=ur(r.filename),i=e.length,a=r.comment,o=a&&ur(a),f=i!=r.filename.length||o&&a.length!=o.length,v=i+fr(r.extra)+30;i>65535&&this.ondata(g(11,0,1),null,!1);var s=new D(v);Mr(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+fr(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];Mr(f,r,o,o.f,o.u,o.c,t,o.o),r+=46+o.f.length+fr(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={};an(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){$r(function(){t(l,A)})},"cbd");$r(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;Mr(l,f,m,m.f,m.u,B);var C=30+m.f.length+fr(m.extra),M=f+C;l.set(m.c,M),Mr(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=wr(),C=U.length;B.p(U);var M=ur(A),p=M.length,P=m.comment,S=P&&ur(P),R=S&&S.length,O=fr(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,Nr(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=[];an(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=ur(o),y=c.length,z=s.comment,w=z&&ur(z),x=w&&w.length,l=fr(s.extra);y>65535&&g(11);var A=h?Nr(v,s):v,T=A.length,U=wr();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];Mr(m,c.o,c,c.f,c.u,c.c.length);var p=30+c.f.length+fr(c.extra);m.set(c.c,c.o+p),Mr(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 kn(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=ir}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,ir,!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(ir,!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=ir,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 $r=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){$r(function(){t(x,l)})},"cbd");$r(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(Gn(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,kn as AsyncInflate,At as AsyncUnzipInflate,rt as AsyncUnzlib,yt as AsyncZipDeflate,st as AsyncZlib,On as Compress,ct as DecodeUTF8,tt as Decompress,ar as Deflate,pt as EncodeUTF8,at as FlateErrorCode,rn as Gunzip,On as Gzip,K as Inflate,Mt as Unzip,zt as UnzipInflate,et as UnzipPassThrough,tn as Unzlib,wt as Zip,gt as ZipDeflate,Rr as ZipPassThrough,Pn as Zlib,ft as compress,Ln as compressSync,ht as decompress,lt as decompressSync,dn as deflate,Nr as deflateSync,_n as gunzip,nn as gunzipSync,ft as gzip,Ln as gzipSync,Gn as inflate,Fr as inflateSync,Hn as strFromU8,ur as strToU8,Tt as unzip,Ut as unzipSync,nt as unzlib,en as unzlibSync,mt as zip,xt as zipSync,ut as zlib,Nn as zlibSync};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var i=Object.create;var e=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var n=(a,b,c)=>b in a?e(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c;var o=a=>e(a,"__esModule",{value:!0}),v=(a,b)=>e(a,"name",{value:b,configurable:!0});var p=(a,b)=>()=>(a&&(b=a(a=0)),b);var w=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var q=(a,b,c)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of k(b))!m.call(a,d)&&d!=="default"&&e(a,d,{get:()=>b[d],enumerable:!(c=j(b,d))||c.enumerable});return a},x=a=>q(o(e(a!=null?i(l(a)):{},"default",a&&a.__esModule&&"default"in a?{get:()=>a.default,enumerable:!0}:{value:a,enumerable:!0})),a);var y=(a,b,c)=>(n(a,typeof b!="symbol"?b+"":b,c),c),f=(a,b,c)=>{if(!b.has(a))throw TypeError("Cannot "+c)};var r=(a,b,c)=>(f(a,b,"read from private field"),c?c.call(a):b.get(a)),z=(a,b,c)=>{if(b.has(a))throw TypeError("Cannot add the same private member more than once");b instanceof WeakSet?b.add(a):b.set(a,c)},s=(a,b,c,d)=>(f(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c),A=(a,b,c,d)=>({set _(h){s(a,b,h,c)},get _(){return r(a,b,d)}}),B=(a,b,c)=>(f(a,b,"access private method"),c);var u,E,t=p(()=>{u={npm_package_version:"5.
|
|
1
|
+
var i=Object.create;var e=Object.defineProperty;var j=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var n=(a,b,c)=>b in a?e(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c;var o=a=>e(a,"__esModule",{value:!0}),v=(a,b)=>e(a,"name",{value:b,configurable:!0});var p=(a,b)=>()=>(a&&(b=a(a=0)),b);var w=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var q=(a,b,c)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of k(b))!m.call(a,d)&&d!=="default"&&e(a,d,{get:()=>b[d],enumerable:!(c=j(b,d))||c.enumerable});return a},x=a=>q(o(e(a!=null?i(l(a)):{},"default",a&&a.__esModule&&"default"in a?{get:()=>a.default,enumerable:!0}:{value:a,enumerable:!0})),a);var y=(a,b,c)=>(n(a,typeof b!="symbol"?b+"":b,c),c),f=(a,b,c)=>{if(!b.has(a))throw TypeError("Cannot "+c)};var r=(a,b,c)=>(f(a,b,"read from private field"),c?c.call(a):b.get(a)),z=(a,b,c)=>{if(b.has(a))throw TypeError("Cannot add the same private member more than once");b instanceof WeakSet?b.add(a):b.set(a,c)},s=(a,b,c,d)=>(f(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c),A=(a,b,c,d)=>({set _(h){s(a,b,h,c)},get _(){return r(a,b,d)}}),B=(a,b,c)=>(f(a,b,"access private method"),c);var u,E,t=p(()=>{u={npm_package_version:"5.20.0"},E={env:u}});export{v as a,w as b,x as c,y as d,r as e,z as f,s as g,A as h,B as i,t as j,E as k};
|
package/dist/index.d.ts
CHANGED
|
@@ -5782,6 +5782,13 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/MappedinLocat
|
|
|
5782
5782
|
|
|
5783
5783
|
declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.CustomerAnalytics' {
|
|
5784
5784
|
import { MappedinCategory, MappedinLocation, MappedinNavigatable } from '@mappedin/react-native-sdk/core/packages/get-venue';
|
|
5785
|
+
type AnalyticsUserPosition = {
|
|
5786
|
+
bluedotTimestamp: number;
|
|
5787
|
+
latitude: number;
|
|
5788
|
+
longitude: number;
|
|
5789
|
+
floorLevel?: number;
|
|
5790
|
+
accuracy: number;
|
|
5791
|
+
};
|
|
5785
5792
|
type AnalyticsOptions = {
|
|
5786
5793
|
clientId?: string;
|
|
5787
5794
|
clientSecret?: string;
|
|
@@ -5813,24 +5820,33 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Cust
|
|
|
5813
5820
|
trackSearchSuggest(searchAnalyticsObject: Record<string, unknown>): void;
|
|
5814
5821
|
}
|
|
5815
5822
|
/**
|
|
5816
|
-
* A class to access the Mappedin Analytics platform. Correct usage will improve Smart Search results, and lead to more accurate insights.
|
|
5823
|
+
* A singleton class to access the Mappedin Analytics platform. Correct usage will improve Smart Search results, and lead to more accurate insights.
|
|
5817
5824
|
* This will be created for you as part of Mappedin.{{#crossLink "Mappedin/initialize:method"}}{{/crossLink}}, but you can also create one manually. You are mostly going to use `locationSelected`.
|
|
5818
5825
|
*
|
|
5819
5826
|
* @type {any}
|
|
5820
|
-
*
|
|
5821
|
-
* @class Analytics
|
|
5822
|
-
* @param options {Object} A list of configuration options for the Analytics API.
|
|
5823
|
-
* @param [options.clientId] {String} The same key you are using for getVenue. Handled automatically in Mapview.initialize()
|
|
5824
|
-
* @param [options.clientSecret] {String} The same secret you are using for getVenue. Handled automatically in Mapview.initialize()
|
|
5825
|
-
* @param [options.venue] {String} The same venue slug you are using for getVenue. Handled automatically in MapView.initialize()
|
|
5826
|
-
* @param [options.context] {String} The context to pass with the analytics request. Defaults to "websdk".
|
|
5827
|
-
* @param [options.noAuth] {Boolean} Whether authentication should not be sent with analytics requests.
|
|
5828
|
-
* @param [options.testMode] {Boolean} Whether analytics events should be dropped because this is running in a test environment.
|
|
5829
5827
|
*/
|
|
5830
5828
|
class Analytics implements IInternalAnalytics {
|
|
5831
5829
|
#private;
|
|
5832
|
-
|
|
5830
|
+
static instance: Analytics | null;
|
|
5831
|
+
/**
|
|
5832
|
+
* The static method to create a singleton instance of the Analytics class.
|
|
5833
|
+
* @class Analytics
|
|
5834
|
+
* @param options {Object} A list of configuration options for the Analytics API.
|
|
5835
|
+
* @param [options.clientId] {String} The same key you are using for getVenue. Handled automatically in Mapview.initialize()
|
|
5836
|
+
* @param [options.clientSecret] {String} The same secret you are using for getVenue. Handled automatically in Mapview.initialize()
|
|
5837
|
+
* @param [options.venue] {String} The same venue slug you are using for getVenue. Handled automatically in MapView.initialize()
|
|
5838
|
+
* @param [options.context] {String} The context to pass with the analytics request. Defaults to "websdk".
|
|
5839
|
+
* @param [options.noAuth] {Boolean} Whether authentication should not be sent with analytics requests.
|
|
5840
|
+
* @param [options.testMode] {Boolean} Whether analytics events should be dropped because this is running in a test environment.
|
|
5841
|
+
* @returns {Analytics} The singleton instance of the Analytics class.
|
|
5842
|
+
*/
|
|
5843
|
+
static create(options: AnalyticsOptions): Analytics;
|
|
5833
5844
|
track(target: string, query: Record<string, any>): void;
|
|
5845
|
+
/**
|
|
5846
|
+
* This method should be called whenever the user's position changes. This information will be sent when a track call is made.
|
|
5847
|
+
* @param position {AnalyticsUserPosition} The user's current position.
|
|
5848
|
+
*/
|
|
5849
|
+
updateAnalyticsUserPosition(position: AnalyticsUserPosition | undefined): void;
|
|
5834
5850
|
/**
|
|
5835
5851
|
* Whenever a location is selected, you should fire this event. What "selected" means can vary by venue,
|
|
5836
5852
|
* but a good rule of thumb is that you fire the event whenever you would show the location's details.
|
|
@@ -5882,6 +5898,12 @@ declare module '@mappedin/react-native-sdk/core/packages/get-venue/Mappedin.Cust
|
|
|
5882
5898
|
* @hidden
|
|
5883
5899
|
*/
|
|
5884
5900
|
static clearContext(): void;
|
|
5901
|
+
/**
|
|
5902
|
+
* Destroys the singleton instance of the Analytics class.
|
|
5903
|
+
* @method destroy
|
|
5904
|
+
* @hidden
|
|
5905
|
+
*/
|
|
5906
|
+
static destroy(): void;
|
|
5885
5907
|
/**
|
|
5886
5908
|
* Enum of valid bluedot events.
|
|
5887
5909
|
* Pass a property of this into the {{#crossLink "Analytics/trackBlueDotEvent:method"}}{{/crossLink}} method.
|
|
@@ -6801,6 +6823,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer' {
|
|
|
6801
6823
|
export type { StackedMaps } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/StackedMaps';
|
|
6802
6824
|
export type { OutdoorView } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/OutdoorView';
|
|
6803
6825
|
export type { DynamicFocus } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/DynamicFocus';
|
|
6826
|
+
export type { Layers } from '@mappedin/react-native-sdk/core/packages/renderer/public/api/Layers';
|
|
6804
6827
|
export type { TOOLTIP_ANCHOR } from '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.SmartTooltip';
|
|
6805
6828
|
export type TMappedinInitializeOutput = {
|
|
6806
6829
|
mapView: MapView;
|
|
@@ -8834,6 +8857,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8834
8857
|
initialized: boolean;
|
|
8835
8858
|
core: ICore;
|
|
8836
8859
|
screen: Rectangle;
|
|
8860
|
+
debouncedUpdate: () => void;
|
|
8837
8861
|
constructor(core: ICore);
|
|
8838
8862
|
updateStartEvents: {
|
|
8839
8863
|
[key: string]: boolean;
|
|
@@ -8857,7 +8881,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappe
|
|
|
8857
8881
|
remove: (colliderId: string) => void;
|
|
8858
8882
|
updateMap: (colliderId: string, from: string, to: string) => void;
|
|
8859
8883
|
update: () => void;
|
|
8860
|
-
debouncedUpdate: any;
|
|
8861
8884
|
resize: (container: any) => void;
|
|
8862
8885
|
destroy: () => void;
|
|
8863
8886
|
}
|
|
@@ -9121,6 +9144,7 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/MapView
|
|
|
9121
9144
|
*/
|
|
9122
9145
|
OutdoorView: OutdoorView;
|
|
9123
9146
|
/**
|
|
9147
|
+
* @experimental
|
|
9124
9148
|
* API to control layer visibility.
|
|
9125
9149
|
*/
|
|
9126
9150
|
Layers: Layers;
|
|
@@ -10649,6 +10673,34 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Dyn
|
|
|
10649
10673
|
export { DynamicFocus };
|
|
10650
10674
|
}
|
|
10651
10675
|
|
|
10676
|
+
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Layers' {
|
|
10677
|
+
import { LayerController, MappedinMap } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
|
|
10678
|
+
/**
|
|
10679
|
+
* @experimental
|
|
10680
|
+
* API to control per-map layer management, visibility and interpolations.
|
|
10681
|
+
*/
|
|
10682
|
+
export class Layers {
|
|
10683
|
+
#private;
|
|
10684
|
+
/**
|
|
10685
|
+
* @private
|
|
10686
|
+
*/
|
|
10687
|
+
constructor(layerController: LayerController | undefined);
|
|
10688
|
+
/**
|
|
10689
|
+
* @experimental
|
|
10690
|
+
* Returns a mapping of all layers for a map, and whether they are visible or not.
|
|
10691
|
+
*/
|
|
10692
|
+
getAllLayersForMap(map: MappedinMap): Promise<any[] | {
|
|
10693
|
+
[layerName: string]: boolean;
|
|
10694
|
+
}>;
|
|
10695
|
+
/**
|
|
10696
|
+
* @experimental
|
|
10697
|
+
* Re-renders the map only showing the layers specified in the array. This will discard any polygons that have been highlighted.
|
|
10698
|
+
*/
|
|
10699
|
+
showLayers(layers: string[]): void;
|
|
10700
|
+
}
|
|
10701
|
+
export default LayerController;
|
|
10702
|
+
}
|
|
10703
|
+
|
|
10652
10704
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-tree' {
|
|
10653
10705
|
export function contains(rect1: Rectangle, rect2: Rectangle): boolean;
|
|
10654
10706
|
export function intersects(rect1: Rectangle, rect2: Rectangle): boolean;
|
|
@@ -10684,32 +10736,6 @@ declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/quad-
|
|
|
10684
10736
|
export { QuadTree, Rectangle };
|
|
10685
10737
|
}
|
|
10686
10738
|
|
|
10687
|
-
declare module '@mappedin/react-native-sdk/core/packages/renderer/public/api/Layers' {
|
|
10688
|
-
import { LayerController, MappedinMap } from '@mappedin/react-native-sdk/core/packages/renderer/internal';
|
|
10689
|
-
/**
|
|
10690
|
-
* @experimental
|
|
10691
|
-
* API to control per-map layer management, visibility and interpolations.
|
|
10692
|
-
*/
|
|
10693
|
-
export class Layers {
|
|
10694
|
-
#private;
|
|
10695
|
-
/**
|
|
10696
|
-
* @private
|
|
10697
|
-
*/
|
|
10698
|
-
constructor(layerController: LayerController | undefined);
|
|
10699
|
-
/**
|
|
10700
|
-
* Returns a mapping of all layers for a map, and whether they are visible or not.
|
|
10701
|
-
*/
|
|
10702
|
-
getAllLayersForMap(map: MappedinMap): Promise<any[] | {
|
|
10703
|
-
[layerName: string]: boolean;
|
|
10704
|
-
}>;
|
|
10705
|
-
/**
|
|
10706
|
-
* Re-renders the map only showing the layers specified in the array. This will discard any polygons that have been highlighted.
|
|
10707
|
-
*/
|
|
10708
|
-
showLayers(layers: string[]): void;
|
|
10709
|
-
}
|
|
10710
|
-
export default LayerController;
|
|
10711
|
-
}
|
|
10712
|
-
|
|
10713
10739
|
declare module '@mappedin/react-native-sdk/core/packages/renderer/internal/Mappedin.EffectComposer' {
|
|
10714
10740
|
import { N8AOPostPass } from 'n8ao';
|
|
10715
10741
|
import { EffectComposer as PPEffectComposer, EffectPass, Pass, ShaderPass, RenderPass, ClearPass, Effect } from 'postprocessing';
|