@mappedin/events 6.0.1-beta.54 → 6.0.1-beta.55
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{c as s,p as hn}from"./chunk-DPXF6NSF.js";hn();var ln={},Qn=s(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 u=new Error(v[0]);u.code=v[1],u.stack=v[2],i(u,null)}else i(null,f)},a.postMessage(t,e),a},"wk"),U=Uint8Array,q=Uint16Array,gr=Uint32Array,yr=new U([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 U([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 U([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xn=s(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=s(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 u=i<<4|n[i],h=r-n[i],l=o[n[i]-1]++<<h,y=l|(1<<h)-1;l<=y;++l)f[Dr[l]>>>v]=u}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 U(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 U(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=s(function(n){for(var r=n[0],t=1;t<n.length;++t)n[t]>r&&(r=n[t]);return r},"max"),V=s(function(n,r,t){var e=r/8|0;return(n[e]|n[e+1]<<8)>>(r&7)&t},"bits"),kr=s(function(n,r){var t=r/8|0;return(n[t]|n[t+1]<<8|n[t+2]<<16)>>(r&7)},"bits16"),Sr=s(function(n){return(n+7)/8|0},"shft"),d=s(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:U)(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=s(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=s(function(n,r,t){var e=n.length;if(!e||t&&t.f&&!t.l)return r||new U(0);var i=!r||t,a=!t||t.i;t||(t={}),r||(r=new U(e*3));var o=s(function(Ir){var Tr=r.length;if(Ir>Tr){var vr=new U(Math.max(Tr*2,Ir));vr.set(r),r=vr}},"cbuf"),f=t.f||0,v=t.p||0,u=t.b||0,h=t.l,l=t.d,y=t.m,z=t.n,x=e*8;do{if(!h){f=V(n,v,1);var A=V(n,v+1,3);if(v+=3,A)if(A==1)h=Un,l=Sn,y=9,z=5;else if(A==2){var M=V(n,v,31)+257,m=V(n,v+10,15)+4,B=M+V(n,v+5,31)+1;v+=14;for(var C=new U(B),D=new U(19),c=0;c<m;++c)D[Ur[c]]=V(n,v+c*3,7);v+=m*3;for(var G=Zr(D),S=(1<<G)-1,R=X(D,G,1),c=0;c<B;){var Z=R[V(n,v,S)];v+=Z&15;var p=Z>>>4;if(p<16)C[c++]=p;else{var O=0,F=0;for(p==16?(F=3+V(n,v,3),v+=2,O=C[c-1]):p==17?(F=3+V(n,v,7),v+=3):p==18&&(F=11+V(n,v,127),v+=7);F--;)C[c++]=O}}var P=C.subarray(0,M),k=C.subarray(M);y=Zr(P),z=Zr(k),h=X(P,y,1),l=X(k,z,1)}else g(1);else{var p=Sr(v)+4,w=n[p-4]|n[p-3]<<8,T=p+w;if(T>e){a&&g(0);break}i&&o(u+w),r.set(n.subarray(p,T),u),t.b=u+=w,t.p=v=T*8,t.f=f;continue}if(v>x){a&&g(0);break}}i&&o(u+131072);for(var L=(1<<y)-1,H=(1<<z)-1,j=v;;j=v){var O=h[kr(n,v)&L],Q=O>>>4;if(v+=O&15,v>x){a&&g(0);break}if(O||g(2),Q<256)r[u++]=Q;else if(Q==256){j=v,h=null;break}else{var Y=Q-254;if(Q>264){var c=Q-257,_=yr[c];Y=V(n,v,(1<<_)-1)+dr[c],v+=_}var rr=l[kr(n,v)&H],J=rr>>>4;rr||g(3),v+=rr&15;var k=Mn[J];if(J>3){var _=wr[J];k+=kr(n,v)&(1<<_)-1,v+=_}if(v>x){a&&g(0);break}i&&o(u+131072);for(var $=u+Y;u<$;u+=4)r[u]=r[u-k],r[u+1]=r[u+1-k],r[u+2]=r[u+2-k],r[u+3]=r[u+3-k];u=$}}t.l=h,t.p=j,t.b=u,t.f=f,h&&(f=1,t.m=y,t.d=l,t.n=z)}while(!f);return u==r.length?r:d(r,0,u)},"inflt"),nr=s(function(n,r,t){t<<=r&7;var e=r/8|0;n[e]|=t,n[e+1]|=t>>>8},"wbits"),hr=s(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=s(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 U(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],u=0,h=1,l=2;for(t[0]={s:-1,f:f.f+v.f,l:f,r:v};h!=i-1;)f=t[t[u].f<t[l].f?u++:l++],v=t[u!=h&&t[u].f<t[l].f?u++:l++],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),x=Lr(t[h-1],z,0);if(x>r){var e=0,A=0,p=x-r,w=1<<p;for(a.sort(function(C,D){return z[D.s]-z[C.s]||C.f-D.f});e<i;++e){var T=a[e].s;if(z[T]>r)A+=w-(1<<x-z[T]),z[T]=r;else break}for(A>>>=p;A>0;){var M=a[e].s;z[M]<r?A-=1<<r-z[M]++-1:++e}for(;e>=0&&A;--e){var m=a[e].s;z[m]==r&&(--z[m],++A)}x=r}return[new U(z),x]},"hTree"),Lr=s(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=s(function(n){for(var r=n.length;r&&!n[--r];);for(var t=new q(++r),e=0,i=n[0],a=1,o=s(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=s(function(n,r){for(var t=0,e=0;e<r.length;++e)t+=n[e]*r[e];return t},"clen"),Pr=s(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=s(function(n,r,t,e,i,a,o,f,v,u,h){nr(r,h++,t),++i[256];for(var l=Gr(i,15),y=l[0],z=l[1],x=Gr(a,15),A=x[0],p=x[1],w=Wr(y),T=w[0],M=w[1],m=Wr(A),B=m[0],C=m[1],D=new q(19),c=0;c<T.length;++c)D[T[c]&31]++;for(var c=0;c<B.length;++c)D[B[c]&31]++;for(var G=Gr(D,7),S=G[0],R=G[1],Z=19;Z>4&&!S[Ur[Z-1]];--Z);var O=u+5<<3,F=lr(i,ir)+lr(a,cr)+o,P=lr(i,y)+lr(a,A)+o+14+3*Z+lr(D,S)+(2*D[16]+3*D[17]+7*D[18]);if(O<=F&&O<=P)return Pr(r,h,n.subarray(v,v+u));var k,L,H,j;if(nr(r,h,1+(P<F)),h+=2,P<F){k=X(y,z,0),L=y,H=X(A,p,0),j=A;var Q=X(S,R,0);nr(r,h,M-257),nr(r,h+5,C-1),nr(r,h+10,Z-4),h+=14;for(var c=0;c<Z;++c)nr(r,h+3*c,S[Ur[c]]);h+=3*Z;for(var Y=[T,B],_=0;_<2;++_)for(var rr=Y[_],c=0;c<rr.length;++c){var J=rr[c]&31;nr(r,h,Q[J]),h+=S[J],J>15&&(nr(r,h,rr[c]>>>5&127),h+=rr[c]>>>12)}}else k=Tn,L=ir,H=Dn,j=cr;for(var c=0;c<f;++c)if(e[c]>255){var J=e[c]>>>18&31;hr(r,h,k[J+257]),h+=L[J+257],J>7&&(nr(r,h,e[c]>>>23&31),h+=yr[J]);var $=e[c]&31;hr(r,h,H[$]),h+=j[$],$>3&&(hr(r,h,e[c]>>>5&8191),h+=wr[$])}else hr(r,h,k[e[c]]),h+=L[e[c]];return hr(r,h,k[256]),h+L[256]},"wblk"),En=new gr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),er=new U(0),Fn=s(function(n,r,t,e,i,a){var o=n.length,f=new U(e+o+5*(1+Math.ceil(o/7e3))+i),v=f.subarray(e,f.length-i),u=0;if(!r||o<8)for(var h=0;h<=o;h+=65535){var l=h+65535;l>=o&&(v[u>>3]=a),u=Pr(v,u+1,n.subarray(h,l))}else{for(var y=En[r-1],z=y>>>13,x=y&8191,A=(1<<t)-1,p=new q(32768),w=new q(A+1),T=Math.ceil(t/3),M=2*T,m=s(function(qr){return(n[qr]^n[qr+1]<<T^n[qr+2]<<M)&A},"hsh"),B=new gr(25e3),C=new q(288),D=new q(32),c=0,G=0,h=0,S=0,R=0,Z=0;h<o;++h){var O=m(h),F=h&32767,P=w[O];if(p[F]=P,w[O]=F,R<=h){var k=o-h;if((c>7e3||S>24576)&&k>423){u=jr(n,v,0,B,C,D,G,S,Z,h-Z,u),S=c=G=0,Z=h;for(var L=0;L<286;++L)C[L]=0;for(var L=0;L<30;++L)D[L]=0}var H=2,j=0,Q=x,Y=F-P&32767;if(k>2&&O==m(h-Y))for(var _=Math.min(z,k)-1,rr=Math.min(32767,h),J=Math.min(258,k);Y<=rr&&--Q&&F!=P;){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,L=0;L<Ir;++L){var vr=h-Y+L+32768&32767,Kn=p[vr],sn=vr-Kn+32768&32767;sn>Tr&&(Tr=sn,P=vr)}}}F=P,P=p[F],Y+=F-P+32768&32767}if(j){B[S++]=268435456|Or[H]<<18|Yr[j];var un=Or[H]&31,vn=Yr[j]&31;G+=yr[un]+wr[vn],++C[257+un],++D[vn],R=h+H,++c}else B[S++]=n[h],++C[n[h]]}}u=jr(n,v,a,B,C,D,G,S,Z,h-Z,u),!a&&u&7&&(u=Pr(v,u+1,er))}return d(f,0,e+Sr(u)+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=s(function(){var n=-1;return{p:s(function(r){for(var t=n,e=0;e<r.length;++e)t=In[t&255^r[e]]^t>>>8;n=t},"p"),d:s(function(){return~n},"d")}},"crc"),br=s(function(){var n=1,r=0;return{p:s(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},"p"),d:s(function(){return n%=65521,r%=65521,(n&255)<<24|n>>>8<<16|(r&255)<<8|r>>>8},"d")}},"adler"),ur=s(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=s(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=s(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 u=f.toString();if(f.prototype)if(u.indexOf("[native code]")!=-1){var h=u.indexOf(" ",8)+1;r+=u.slice(h,u.indexOf("(",h))}else{r+=u;for(var l in f.prototype)r+=";"+v+".prototype."+l+"="+f.prototype[l].toString()}else r+=u}else t[v]=f}return[r,t]},"wcln"),Br=[],Vn=s(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=s(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 u=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,u,Vn(u),e)},"wrkr"),xr=s(function(){return[U,q,gr,yr,wr,Ur,dr,Mn,Un,Sn,Dr,Cn,X,Zr,V,kr,Sr,d,g,Cr,Fr,fr,_r]},"bInflt"),zr=s(function(){return[U,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=s(function(){return[rn,tn,I,mr,In]},"gze"),kn=s(function(){return[nn,Ln]},"guze"),Gn=s(function(){return[en,I,br]},"zle"),On=s(function(){return[Pn]},"zule"),fr=s(function(n){return postMessage(n,[n.buffer])},"pbf"),_r=s(function(n){return n&&n.size&&new U(n.size)},"gu8"),Ar=s(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=s(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=s(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=s(function(n,r){return n[r]|n[r+1]<<8},"b2"),N=s(function(n,r){return(n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24)>>>0},"b4"),Hr=s(function(n,r){return N(n,r)+N(n,r+4)*4294967296},"b8"),I=s(function(n,r,t){for(;t;++r)n[r]=t,t>>>=8},"wbytes"),rn=s(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=s(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=s(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=s(function(n){return 10+(n.filename&&n.filename.length+1||0)},"gzhl"),en=s(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=s(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}s(an,"AsyncCmpStrm");var ar=function(){function n(r,t){!t&&typeof r=="function"&&(t=r,r={}),this.ondata=t,this.o=r||{}}return s(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 s(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)}s(dn,"deflate");function $r(n,r){return ur(n,r||{},0,0)}s($r,"deflateSync");var K=function(){function n(r){this.s={},this.p=new U(0),this.ondata=r}return s(n,"Inflate"),n.prototype.e=function(r){this.ondata||g(5),this.d&&g(4);var t=this.p.length,e=new U(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 s(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)}s(Rn,"inflate");function Fr(n,r){return Cr(n,r)}s(Fr,"inflateSync");var pn=function(){function n(r,t){this.c=mr(),this.l=0,this.v=1,ar.call(this,r,t)}return s(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 s(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)}s(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}s(gn,"gzipSync");var Jr=function(){function n(r){this.v=1,K.call(this,r)}return s(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 s(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)}s(_n,"gunzip");function Kr(n,r){return Cr(n.subarray(nn(n),-8),r||new U(Ln(n)))}s(Kr,"gunzipSync");var yn=function(){function n(r,t){this.c=br(),this.v=1,ar.call(this,r,t)}return s(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 s(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)}s(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}s(wn,"zlibSync");var Qr=function(){function n(r){this.v=1,K.call(this,r)}return s(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 s(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)}s(nt,"unzlib");function Vr(n,r){return Cr((Pn(n),n.subarray(2,-4)),r)}s(Vr,"unzlibSync");var tt=function(){function n(r){this.G=Jr,this.I=K,this.Z=Qr,this.ondata=r}return s(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 U(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=s(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 s(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)}s(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)}s(lt,"decompressSync");var on=s(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 U?t[o]=[a,f]:(t[o+="/"]=[new U(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(n){}var qn=s(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 s(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 U(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 s(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 U(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 U(n.length+(n.length>>1)),o=0,f=s(function(h){a[o++]=h},"w"),e=0;e<i;++e){if(o+5>a.length){var v=new U(o+8+(i-e<<1));v.set(a),a=v}var u=n.charCodeAt(e);u<128||r?f(u):u<2048?(f(192|u>>6),f(128|u&63)):u>55295&&u<57344?(u=65536+(u&1047552)|n.charCodeAt(++e)&1023,f(240|u>>18),f(128|u>>12&63),f(128|u>>6&63),f(128|u&63)):(f(224|u>>12),f(128|u>>6&63),f(128|u&63))}return d(a,0,o)}s(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}}s(Hn,"strFromU8");var Yn=s(function(n){return n==1?3:n<6?2:n==9?1:0},"dbf"),Wn=s(function(n,r){return r+30+W(n,r+26)+W(n,r+28)},"slzh"),jn=s(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],u=f[1],h=f[2];return[W(n,r+10),v,u,i,a+W(n,r+30)+W(n,r+32),h]},"zh"),Jn=s(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=s(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=s(function(n,r,t,e,i,a,o,f){var v=e.length,u=t.extra,h=f&&f.length,l=or(u);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<0&&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!=-1&&(I(n,r,t.crc),I(n,r+4,a<0?-a-2:a),I(n,r+8,t.size)),I(n,r+12,v),I(n,r+14,l),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,l)for(var x in u){var A=u[x],p=A.length;I(n,r,+x),I(n,r+2,p),n.set(A,r+4),r+=4+p}return h&&(n.set(f,r),r+=h),r},"wzh"),fn=s(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 s(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 s(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 s(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 s(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 u=new U(v);pr(u,0,r,e,f,-1);var h=[u],l=s(function(){for(var p=0,w=h;p<w.length;p++){var T=w[p];t.ondata(null,T,!1)}h=[]},"pAll_1"),y=this.d;this.d=0;var z=this.u.length,x=Er(r,{f:e,u:f,o,t:s(function(){r.terminate&&r.terminate()},"t"),r:s(function(){if(l(),y){var p=t.u[z+1];p?p.r():t.d=1}y=1},"r")}),A=0;r.ondata=function(p,w,T){if(p)t.ondata(p,w,T),t.terminate();else if(A+=w.length,h.push(w),T){var M=new U(16);I(M,0,134695760),I(M,4,r.crc),I(M,8,A),I(M,12,r.size),h.push(M),x.c=A,x.b=v+A+16,x.crc=r.crc,x.size=r.size,y&&x.r(),y=1}else y&&l()},this.u.push(x)}},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:s(function(){r.d&1&&(r.u.splice(-1,1),r.e())},"r"),t:s(function(){},"t")}),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 U(e+22),v=0,u=this.u;v<u.length;v++){var o=u[v];pr(f,r,o,o.f,o.u,-o.c-2,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,u=new Array(a),h=[],l=s(function(){for(var p=0;p<h.length;++p)h[p]()},"tAll"),y=s(function(p,w){Rr(function(){t(p,w)})},"cbd");Rr(function(){y=t});var z=s(function(){var p=new U(f+22),w=o,T=f-o;f=0;for(var M=0;M<v;++M){var m=u[M];try{var B=m.c.length;pr(p,f,m,m.f,m.u,B);var C=30+m.f.length+or(m.extra),D=f+C;p.set(m.c,D),pr(p,o,m,m.f,m.u,B,f,m.m),o+=16+C+(m.m?m.m.length:0),f=D+B}catch(c){return y(c,null)}}fn(p,o,u.length,T,w),y(null,p)},"cbf");a||z();for(var x=s(function(p){var w=i[p],T=e[w],M=T[0],m=T[1],B=mr(),C=M.length;B.p(M);var D=sr(w),c=D.length,G=m.comment,S=G&&sr(G),R=S&&S.length,Z=or(m.extra),O=m.level==0?0:8,F=s(function(P,k){if(P)l(),y(P,null);else{var L=k.length;u[p]=Er(m,{size:C,crc:B.d(),c:k,f:D,m:S,u:c!=w.length||S&&G.length!=R,compression:O}),o+=30+c+Z+L,f+=76+2*(c+Z)+(R||0)+L,--a||z()}},"cbl");if(c>65535&&F(g(11,0,1),null),!O)F(null,M);else if(C<16e4)try{F(null,$r(M,m))}catch(P){F(P,null)}else h.push(dn(M,m,F))},"_loop_1"),A=0;A<v;++A)x(A);return l}s(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],u=f[1],h=u.level==0?0:8,l=sr(o),y=l.length,z=u.comment,x=z&&sr(z),A=x&&x.length,p=or(u.extra);y>65535&&g(11);var w=h?$r(v,u):v,T=w.length,M=mr();M.p(v),e.push(Er(u,{size:v.length,crc:M.d(),c:w,f:l,m:x,u:y!=o.length||x&&z.length!=A,o:i,compression:h})),i+=30+y+p+T,a+=76+2*(y+p)+(A||0)+T}for(var m=new U(a+22),B=i,C=a-i,D=0;D<e.length;++D){var l=e[D];pr(m,l.o,l,l.f,l.u,l.c.length);var c=30+l.f.length+or(l.extra);m.set(l.c,l.o+c),pr(m,i,l,l.f,l.u,l.c.length,l.o,l.m),i+=16+c+(l.m?l.m.length:0)}return fn(m,i,e.length,C,B),m}s(xt,"zipSync");var et=function(){function n(){}return s(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 s(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 s(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 s(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,u=void 0;this.p.length?r.length?(u=new U(this.p.length+r.length),u.set(this.p),u.set(r,this.p.length)):u=this.p:u=r;for(var h=u.length,l=this.c,y=l&&this.d,z=s(function(){var w,T=N(u,f);if(T==67324752){o=1,v=f,x.d=null,x.c=0;var M=W(u,f+6),m=W(u,f+8),B=M&2048,C=M&8,D=W(u,f+26),c=W(u,f+28);if(h>f+30+D+c){var G=[];x.k.unshift(G),o=2;var S=N(u,f+18),R=N(u,f+22),Z=Hn(u.subarray(f+30,f+=30+D),!B);S==4294967295?(w=C?[-2]:Jn(u,f),S=w[0],R=w[1]):C&&(S=-1),f+=c,x.c=S;var O,F={name:Z,compression:m,start:s(function(){if(F.ondata||g(5),!S)F.ondata(null,er,!0);else{var P=e.o[m];P||F.ondata(g(14,"unknown compression type "+m,1),null,!1),O=S<0?new P(Z):new P(Z,S,R),O.ondata=function(j,Q,Y){F.ondata(j,Q,Y)};for(var k=0,L=G;k<L.length;k++){var H=L[k];O.push(H,!1)}e.k[0]==G&&e.c?e.d=O:O.push(er,!0)}},"start"),terminate:s(function(){O&&O.terminate&&O.terminate()},"terminate")};S>=0&&(F.size=S,F.originalSize=R),x.onfile(F)}return"break"}else if(l){if(T==134695760)return v=f+=12+(l==-2&&8),o=3,x.c=0,"break";if(T==33639248)return v=f-=4,o=3,x.c=0,"break"}},"_loop_2"),x=this;f<h-4;++f){var A=z();if(A==="break")break}if(this.p=er,l<0){var p=o?u.subarray(0,v-12-(l==-2&&8)-(N(u,v-16)==134695760&&4)):u.subarray(0,f);y?y.push(p,!!o):this.k[+(o==2)].push(p)}if(o&2)return this.push(u.subarray(f),t);this.p=u.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=s(function(){for(var p=0;p<e.length;++p)e[p]()},"tAll"),a={},o=s(function(p,w){Rr(function(){t(p,w)})},"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 u=v,h=N(n,f+16),l=h==4294967295||u==65535;if(l){var y=N(n,f-12);l=N(n,y)==101075792,l&&(u=v=N(n,y+32),h=N(n,y+48))}for(var z=r&&r.filter,x=s(function(p){var w=jn(n,h,l),T=w[0],M=w[1],m=w[2],B=w[3],C=w[4],D=w[5],c=Wn(n,D);h=C;var G=s(function(R,Z){R?(i(),o(R,null)):(Z&&(a[B]=Z),--v||o(null,a))},"cbl");if(!z||z({name:B,size:M,originalSize:m,compression:T}))if(!T)G(null,d(n,c,c+M));else if(T==8){var S=n.subarray(c,c+M);if(M<32e4)try{G(null,Fr(S,new U(m)))}catch(R){G(R,null)}else e.push(Rn(S,{size:m},G))}else G(g(14,"unknown compression type "+T,1),null);else G(null,null)},"_loop_3"),A=0;A<u;++A)x(A)}else o(null,{});return i}s(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||i==65535;if(o){var f=N(n,e-12);o=N(n,f)==101075792,o&&(i=N(n,f+32),a=N(n,f+48))}for(var v=r&&r.filter,u=0;u<i;++u){var h=jn(n,a,o),l=h[0],y=h[1],z=h[2],x=h[3],A=h[4],p=h[5],w=Wn(n,p);a=A,(!v||v({name:x,size:y,originalSize:z,compression:l}))&&(l?l==8?t[x]=Fr(n.subarray(w,w+y),new U(z)):g(14,"unknown compression type "+l):t[x]=d(n,w,w+y))}return t}s(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{c as s,p as hn}from"./chunk-MQ7SOS3O.js";hn();var ln={},Qn=s(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 u=new Error(v[0]);u.code=v[1],u.stack=v[2],i(u,null)}else i(null,f)},a.postMessage(t,e),a},"wk"),U=Uint8Array,q=Uint16Array,gr=Uint32Array,yr=new U([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 U([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 U([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xn=s(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=s(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 u=i<<4|n[i],h=r-n[i],l=o[n[i]-1]++<<h,y=l|(1<<h)-1;l<=y;++l)f[Dr[l]>>>v]=u}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 U(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 U(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=s(function(n){for(var r=n[0],t=1;t<n.length;++t)n[t]>r&&(r=n[t]);return r},"max"),V=s(function(n,r,t){var e=r/8|0;return(n[e]|n[e+1]<<8)>>(r&7)&t},"bits"),kr=s(function(n,r){var t=r/8|0;return(n[t]|n[t+1]<<8|n[t+2]<<16)>>(r&7)},"bits16"),Sr=s(function(n){return(n+7)/8|0},"shft"),d=s(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:U)(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=s(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=s(function(n,r,t){var e=n.length;if(!e||t&&t.f&&!t.l)return r||new U(0);var i=!r||t,a=!t||t.i;t||(t={}),r||(r=new U(e*3));var o=s(function(Ir){var Tr=r.length;if(Ir>Tr){var vr=new U(Math.max(Tr*2,Ir));vr.set(r),r=vr}},"cbuf"),f=t.f||0,v=t.p||0,u=t.b||0,h=t.l,l=t.d,y=t.m,z=t.n,x=e*8;do{if(!h){f=V(n,v,1);var A=V(n,v+1,3);if(v+=3,A)if(A==1)h=Un,l=Sn,y=9,z=5;else if(A==2){var M=V(n,v,31)+257,m=V(n,v+10,15)+4,B=M+V(n,v+5,31)+1;v+=14;for(var C=new U(B),D=new U(19),c=0;c<m;++c)D[Ur[c]]=V(n,v+c*3,7);v+=m*3;for(var G=Zr(D),S=(1<<G)-1,R=X(D,G,1),c=0;c<B;){var Z=R[V(n,v,S)];v+=Z&15;var p=Z>>>4;if(p<16)C[c++]=p;else{var O=0,F=0;for(p==16?(F=3+V(n,v,3),v+=2,O=C[c-1]):p==17?(F=3+V(n,v,7),v+=3):p==18&&(F=11+V(n,v,127),v+=7);F--;)C[c++]=O}}var P=C.subarray(0,M),k=C.subarray(M);y=Zr(P),z=Zr(k),h=X(P,y,1),l=X(k,z,1)}else g(1);else{var p=Sr(v)+4,w=n[p-4]|n[p-3]<<8,T=p+w;if(T>e){a&&g(0);break}i&&o(u+w),r.set(n.subarray(p,T),u),t.b=u+=w,t.p=v=T*8,t.f=f;continue}if(v>x){a&&g(0);break}}i&&o(u+131072);for(var L=(1<<y)-1,H=(1<<z)-1,j=v;;j=v){var O=h[kr(n,v)&L],Q=O>>>4;if(v+=O&15,v>x){a&&g(0);break}if(O||g(2),Q<256)r[u++]=Q;else if(Q==256){j=v,h=null;break}else{var Y=Q-254;if(Q>264){var c=Q-257,_=yr[c];Y=V(n,v,(1<<_)-1)+dr[c],v+=_}var rr=l[kr(n,v)&H],J=rr>>>4;rr||g(3),v+=rr&15;var k=Mn[J];if(J>3){var _=wr[J];k+=kr(n,v)&(1<<_)-1,v+=_}if(v>x){a&&g(0);break}i&&o(u+131072);for(var $=u+Y;u<$;u+=4)r[u]=r[u-k],r[u+1]=r[u+1-k],r[u+2]=r[u+2-k],r[u+3]=r[u+3-k];u=$}}t.l=h,t.p=j,t.b=u,t.f=f,h&&(f=1,t.m=y,t.d=l,t.n=z)}while(!f);return u==r.length?r:d(r,0,u)},"inflt"),nr=s(function(n,r,t){t<<=r&7;var e=r/8|0;n[e]|=t,n[e+1]|=t>>>8},"wbits"),hr=s(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=s(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 U(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],u=0,h=1,l=2;for(t[0]={s:-1,f:f.f+v.f,l:f,r:v};h!=i-1;)f=t[t[u].f<t[l].f?u++:l++],v=t[u!=h&&t[u].f<t[l].f?u++:l++],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),x=Lr(t[h-1],z,0);if(x>r){var e=0,A=0,p=x-r,w=1<<p;for(a.sort(function(C,D){return z[D.s]-z[C.s]||C.f-D.f});e<i;++e){var T=a[e].s;if(z[T]>r)A+=w-(1<<x-z[T]),z[T]=r;else break}for(A>>>=p;A>0;){var M=a[e].s;z[M]<r?A-=1<<r-z[M]++-1:++e}for(;e>=0&&A;--e){var m=a[e].s;z[m]==r&&(--z[m],++A)}x=r}return[new U(z),x]},"hTree"),Lr=s(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=s(function(n){for(var r=n.length;r&&!n[--r];);for(var t=new q(++r),e=0,i=n[0],a=1,o=s(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=s(function(n,r){for(var t=0,e=0;e<r.length;++e)t+=n[e]*r[e];return t},"clen"),Pr=s(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=s(function(n,r,t,e,i,a,o,f,v,u,h){nr(r,h++,t),++i[256];for(var l=Gr(i,15),y=l[0],z=l[1],x=Gr(a,15),A=x[0],p=x[1],w=Wr(y),T=w[0],M=w[1],m=Wr(A),B=m[0],C=m[1],D=new q(19),c=0;c<T.length;++c)D[T[c]&31]++;for(var c=0;c<B.length;++c)D[B[c]&31]++;for(var G=Gr(D,7),S=G[0],R=G[1],Z=19;Z>4&&!S[Ur[Z-1]];--Z);var O=u+5<<3,F=lr(i,ir)+lr(a,cr)+o,P=lr(i,y)+lr(a,A)+o+14+3*Z+lr(D,S)+(2*D[16]+3*D[17]+7*D[18]);if(O<=F&&O<=P)return Pr(r,h,n.subarray(v,v+u));var k,L,H,j;if(nr(r,h,1+(P<F)),h+=2,P<F){k=X(y,z,0),L=y,H=X(A,p,0),j=A;var Q=X(S,R,0);nr(r,h,M-257),nr(r,h+5,C-1),nr(r,h+10,Z-4),h+=14;for(var c=0;c<Z;++c)nr(r,h+3*c,S[Ur[c]]);h+=3*Z;for(var Y=[T,B],_=0;_<2;++_)for(var rr=Y[_],c=0;c<rr.length;++c){var J=rr[c]&31;nr(r,h,Q[J]),h+=S[J],J>15&&(nr(r,h,rr[c]>>>5&127),h+=rr[c]>>>12)}}else k=Tn,L=ir,H=Dn,j=cr;for(var c=0;c<f;++c)if(e[c]>255){var J=e[c]>>>18&31;hr(r,h,k[J+257]),h+=L[J+257],J>7&&(nr(r,h,e[c]>>>23&31),h+=yr[J]);var $=e[c]&31;hr(r,h,H[$]),h+=j[$],$>3&&(hr(r,h,e[c]>>>5&8191),h+=wr[$])}else hr(r,h,k[e[c]]),h+=L[e[c]];return hr(r,h,k[256]),h+L[256]},"wblk"),En=new gr([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),er=new U(0),Fn=s(function(n,r,t,e,i,a){var o=n.length,f=new U(e+o+5*(1+Math.ceil(o/7e3))+i),v=f.subarray(e,f.length-i),u=0;if(!r||o<8)for(var h=0;h<=o;h+=65535){var l=h+65535;l>=o&&(v[u>>3]=a),u=Pr(v,u+1,n.subarray(h,l))}else{for(var y=En[r-1],z=y>>>13,x=y&8191,A=(1<<t)-1,p=new q(32768),w=new q(A+1),T=Math.ceil(t/3),M=2*T,m=s(function(qr){return(n[qr]^n[qr+1]<<T^n[qr+2]<<M)&A},"hsh"),B=new gr(25e3),C=new q(288),D=new q(32),c=0,G=0,h=0,S=0,R=0,Z=0;h<o;++h){var O=m(h),F=h&32767,P=w[O];if(p[F]=P,w[O]=F,R<=h){var k=o-h;if((c>7e3||S>24576)&&k>423){u=jr(n,v,0,B,C,D,G,S,Z,h-Z,u),S=c=G=0,Z=h;for(var L=0;L<286;++L)C[L]=0;for(var L=0;L<30;++L)D[L]=0}var H=2,j=0,Q=x,Y=F-P&32767;if(k>2&&O==m(h-Y))for(var _=Math.min(z,k)-1,rr=Math.min(32767,h),J=Math.min(258,k);Y<=rr&&--Q&&F!=P;){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,L=0;L<Ir;++L){var vr=h-Y+L+32768&32767,Kn=p[vr],sn=vr-Kn+32768&32767;sn>Tr&&(Tr=sn,P=vr)}}}F=P,P=p[F],Y+=F-P+32768&32767}if(j){B[S++]=268435456|Or[H]<<18|Yr[j];var un=Or[H]&31,vn=Yr[j]&31;G+=yr[un]+wr[vn],++C[257+un],++D[vn],R=h+H,++c}else B[S++]=n[h],++C[n[h]]}}u=jr(n,v,a,B,C,D,G,S,Z,h-Z,u),!a&&u&7&&(u=Pr(v,u+1,er))}return d(f,0,e+Sr(u)+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=s(function(){var n=-1;return{p:s(function(r){for(var t=n,e=0;e<r.length;++e)t=In[t&255^r[e]]^t>>>8;n=t},"p"),d:s(function(){return~n},"d")}},"crc"),br=s(function(){var n=1,r=0;return{p:s(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},"p"),d:s(function(){return n%=65521,r%=65521,(n&255)<<24|n>>>8<<16|(r&255)<<8|r>>>8},"d")}},"adler"),ur=s(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=s(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=s(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 u=f.toString();if(f.prototype)if(u.indexOf("[native code]")!=-1){var h=u.indexOf(" ",8)+1;r+=u.slice(h,u.indexOf("(",h))}else{r+=u;for(var l in f.prototype)r+=";"+v+".prototype."+l+"="+f.prototype[l].toString()}else r+=u}else t[v]=f}return[r,t]},"wcln"),Br=[],Vn=s(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=s(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 u=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,u,Vn(u),e)},"wrkr"),xr=s(function(){return[U,q,gr,yr,wr,Ur,dr,Mn,Un,Sn,Dr,Cn,X,Zr,V,kr,Sr,d,g,Cr,Fr,fr,_r]},"bInflt"),zr=s(function(){return[U,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=s(function(){return[rn,tn,I,mr,In]},"gze"),kn=s(function(){return[nn,Ln]},"guze"),Gn=s(function(){return[en,I,br]},"zle"),On=s(function(){return[Pn]},"zule"),fr=s(function(n){return postMessage(n,[n.buffer])},"pbf"),_r=s(function(n){return n&&n.size&&new U(n.size)},"gu8"),Ar=s(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=s(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=s(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=s(function(n,r){return n[r]|n[r+1]<<8},"b2"),N=s(function(n,r){return(n[r]|n[r+1]<<8|n[r+2]<<16|n[r+3]<<24)>>>0},"b4"),Hr=s(function(n,r){return N(n,r)+N(n,r+4)*4294967296},"b8"),I=s(function(n,r,t){for(;t;++r)n[r]=t,t>>>=8},"wbytes"),rn=s(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=s(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=s(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=s(function(n){return 10+(n.filename&&n.filename.length+1||0)},"gzhl"),en=s(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=s(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}s(an,"AsyncCmpStrm");var ar=function(){function n(r,t){!t&&typeof r=="function"&&(t=r,r={}),this.ondata=t,this.o=r||{}}return s(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 s(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)}s(dn,"deflate");function $r(n,r){return ur(n,r||{},0,0)}s($r,"deflateSync");var K=function(){function n(r){this.s={},this.p=new U(0),this.ondata=r}return s(n,"Inflate"),n.prototype.e=function(r){this.ondata||g(5),this.d&&g(4);var t=this.p.length,e=new U(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 s(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)}s(Rn,"inflate");function Fr(n,r){return Cr(n,r)}s(Fr,"inflateSync");var pn=function(){function n(r,t){this.c=mr(),this.l=0,this.v=1,ar.call(this,r,t)}return s(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 s(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)}s(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}s(gn,"gzipSync");var Jr=function(){function n(r){this.v=1,K.call(this,r)}return s(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 s(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)}s(_n,"gunzip");function Kr(n,r){return Cr(n.subarray(nn(n),-8),r||new U(Ln(n)))}s(Kr,"gunzipSync");var yn=function(){function n(r,t){this.c=br(),this.v=1,ar.call(this,r,t)}return s(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 s(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)}s(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}s(wn,"zlibSync");var Qr=function(){function n(r){this.v=1,K.call(this,r)}return s(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 s(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)}s(nt,"unzlib");function Vr(n,r){return Cr((Pn(n),n.subarray(2,-4)),r)}s(Vr,"unzlibSync");var tt=function(){function n(r){this.G=Jr,this.I=K,this.Z=Qr,this.ondata=r}return s(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 U(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=s(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 s(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)}s(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)}s(lt,"decompressSync");var on=s(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 U?t[o]=[a,f]:(t[o+="/"]=[new U(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(n){}var qn=s(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 s(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 U(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 s(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 U(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 U(n.length+(n.length>>1)),o=0,f=s(function(h){a[o++]=h},"w"),e=0;e<i;++e){if(o+5>a.length){var v=new U(o+8+(i-e<<1));v.set(a),a=v}var u=n.charCodeAt(e);u<128||r?f(u):u<2048?(f(192|u>>6),f(128|u&63)):u>55295&&u<57344?(u=65536+(u&1047552)|n.charCodeAt(++e)&1023,f(240|u>>18),f(128|u>>12&63),f(128|u>>6&63),f(128|u&63)):(f(224|u>>12),f(128|u>>6&63),f(128|u&63))}return d(a,0,o)}s(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}}s(Hn,"strFromU8");var Yn=s(function(n){return n==1?3:n<6?2:n==9?1:0},"dbf"),Wn=s(function(n,r){return r+30+W(n,r+26)+W(n,r+28)},"slzh"),jn=s(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],u=f[1],h=f[2];return[W(n,r+10),v,u,i,a+W(n,r+30)+W(n,r+32),h]},"zh"),Jn=s(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=s(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=s(function(n,r,t,e,i,a,o,f){var v=e.length,u=t.extra,h=f&&f.length,l=or(u);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<0&&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!=-1&&(I(n,r,t.crc),I(n,r+4,a<0?-a-2:a),I(n,r+8,t.size)),I(n,r+12,v),I(n,r+14,l),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,l)for(var x in u){var A=u[x],p=A.length;I(n,r,+x),I(n,r+2,p),n.set(A,r+4),r+=4+p}return h&&(n.set(f,r),r+=h),r},"wzh"),fn=s(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 s(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 s(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 s(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 s(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 u=new U(v);pr(u,0,r,e,f,-1);var h=[u],l=s(function(){for(var p=0,w=h;p<w.length;p++){var T=w[p];t.ondata(null,T,!1)}h=[]},"pAll_1"),y=this.d;this.d=0;var z=this.u.length,x=Er(r,{f:e,u:f,o,t:s(function(){r.terminate&&r.terminate()},"t"),r:s(function(){if(l(),y){var p=t.u[z+1];p?p.r():t.d=1}y=1},"r")}),A=0;r.ondata=function(p,w,T){if(p)t.ondata(p,w,T),t.terminate();else if(A+=w.length,h.push(w),T){var M=new U(16);I(M,0,134695760),I(M,4,r.crc),I(M,8,A),I(M,12,r.size),h.push(M),x.c=A,x.b=v+A+16,x.crc=r.crc,x.size=r.size,y&&x.r(),y=1}else y&&l()},this.u.push(x)}},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:s(function(){r.d&1&&(r.u.splice(-1,1),r.e())},"r"),t:s(function(){},"t")}),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 U(e+22),v=0,u=this.u;v<u.length;v++){var o=u[v];pr(f,r,o,o.f,o.u,-o.c-2,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,u=new Array(a),h=[],l=s(function(){for(var p=0;p<h.length;++p)h[p]()},"tAll"),y=s(function(p,w){Rr(function(){t(p,w)})},"cbd");Rr(function(){y=t});var z=s(function(){var p=new U(f+22),w=o,T=f-o;f=0;for(var M=0;M<v;++M){var m=u[M];try{var B=m.c.length;pr(p,f,m,m.f,m.u,B);var C=30+m.f.length+or(m.extra),D=f+C;p.set(m.c,D),pr(p,o,m,m.f,m.u,B,f,m.m),o+=16+C+(m.m?m.m.length:0),f=D+B}catch(c){return y(c,null)}}fn(p,o,u.length,T,w),y(null,p)},"cbf");a||z();for(var x=s(function(p){var w=i[p],T=e[w],M=T[0],m=T[1],B=mr(),C=M.length;B.p(M);var D=sr(w),c=D.length,G=m.comment,S=G&&sr(G),R=S&&S.length,Z=or(m.extra),O=m.level==0?0:8,F=s(function(P,k){if(P)l(),y(P,null);else{var L=k.length;u[p]=Er(m,{size:C,crc:B.d(),c:k,f:D,m:S,u:c!=w.length||S&&G.length!=R,compression:O}),o+=30+c+Z+L,f+=76+2*(c+Z)+(R||0)+L,--a||z()}},"cbl");if(c>65535&&F(g(11,0,1),null),!O)F(null,M);else if(C<16e4)try{F(null,$r(M,m))}catch(P){F(P,null)}else h.push(dn(M,m,F))},"_loop_1"),A=0;A<v;++A)x(A);return l}s(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],u=f[1],h=u.level==0?0:8,l=sr(o),y=l.length,z=u.comment,x=z&&sr(z),A=x&&x.length,p=or(u.extra);y>65535&&g(11);var w=h?$r(v,u):v,T=w.length,M=mr();M.p(v),e.push(Er(u,{size:v.length,crc:M.d(),c:w,f:l,m:x,u:y!=o.length||x&&z.length!=A,o:i,compression:h})),i+=30+y+p+T,a+=76+2*(y+p)+(A||0)+T}for(var m=new U(a+22),B=i,C=a-i,D=0;D<e.length;++D){var l=e[D];pr(m,l.o,l,l.f,l.u,l.c.length);var c=30+l.f.length+or(l.extra);m.set(l.c,l.o+c),pr(m,i,l,l.f,l.u,l.c.length,l.o,l.m),i+=16+c+(l.m?l.m.length:0)}return fn(m,i,e.length,C,B),m}s(xt,"zipSync");var et=function(){function n(){}return s(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 s(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 s(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 s(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,u=void 0;this.p.length?r.length?(u=new U(this.p.length+r.length),u.set(this.p),u.set(r,this.p.length)):u=this.p:u=r;for(var h=u.length,l=this.c,y=l&&this.d,z=s(function(){var w,T=N(u,f);if(T==67324752){o=1,v=f,x.d=null,x.c=0;var M=W(u,f+6),m=W(u,f+8),B=M&2048,C=M&8,D=W(u,f+26),c=W(u,f+28);if(h>f+30+D+c){var G=[];x.k.unshift(G),o=2;var S=N(u,f+18),R=N(u,f+22),Z=Hn(u.subarray(f+30,f+=30+D),!B);S==4294967295?(w=C?[-2]:Jn(u,f),S=w[0],R=w[1]):C&&(S=-1),f+=c,x.c=S;var O,F={name:Z,compression:m,start:s(function(){if(F.ondata||g(5),!S)F.ondata(null,er,!0);else{var P=e.o[m];P||F.ondata(g(14,"unknown compression type "+m,1),null,!1),O=S<0?new P(Z):new P(Z,S,R),O.ondata=function(j,Q,Y){F.ondata(j,Q,Y)};for(var k=0,L=G;k<L.length;k++){var H=L[k];O.push(H,!1)}e.k[0]==G&&e.c?e.d=O:O.push(er,!0)}},"start"),terminate:s(function(){O&&O.terminate&&O.terminate()},"terminate")};S>=0&&(F.size=S,F.originalSize=R),x.onfile(F)}return"break"}else if(l){if(T==134695760)return v=f+=12+(l==-2&&8),o=3,x.c=0,"break";if(T==33639248)return v=f-=4,o=3,x.c=0,"break"}},"_loop_2"),x=this;f<h-4;++f){var A=z();if(A==="break")break}if(this.p=er,l<0){var p=o?u.subarray(0,v-12-(l==-2&&8)-(N(u,v-16)==134695760&&4)):u.subarray(0,f);y?y.push(p,!!o):this.k[+(o==2)].push(p)}if(o&2)return this.push(u.subarray(f),t);this.p=u.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=s(function(){for(var p=0;p<e.length;++p)e[p]()},"tAll"),a={},o=s(function(p,w){Rr(function(){t(p,w)})},"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 u=v,h=N(n,f+16),l=h==4294967295||u==65535;if(l){var y=N(n,f-12);l=N(n,y)==101075792,l&&(u=v=N(n,y+32),h=N(n,y+48))}for(var z=r&&r.filter,x=s(function(p){var w=jn(n,h,l),T=w[0],M=w[1],m=w[2],B=w[3],C=w[4],D=w[5],c=Wn(n,D);h=C;var G=s(function(R,Z){R?(i(),o(R,null)):(Z&&(a[B]=Z),--v||o(null,a))},"cbl");if(!z||z({name:B,size:M,originalSize:m,compression:T}))if(!T)G(null,d(n,c,c+M));else if(T==8){var S=n.subarray(c,c+M);if(M<32e4)try{G(null,Fr(S,new U(m)))}catch(R){G(R,null)}else e.push(Rn(S,{size:m},G))}else G(g(14,"unknown compression type "+T,1),null);else G(null,null)},"_loop_3"),A=0;A<u;++A)x(A)}else o(null,{});return i}s(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||i==65535;if(o){var f=N(n,e-12);o=N(n,f)==101075792,o&&(i=N(n,f+32),a=N(n,f+48))}for(var v=r&&r.filter,u=0;u<i;++u){var h=jn(n,a,o),l=h[0],y=h[1],z=h[2],x=h[3],A=h[4],p=h[5],w=Wn(n,p);a=A,(!v||v({name:x,size:y,originalSize:z,compression:l}))&&(l?l==8?t[x]=Fr(n.subarray(w,w+y),new U(z)):g(14,"unknown compression type "+l):t[x]=d(n,w,w+y))}return t}s(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 f=Object.create;var E=Object.defineProperty,h=Object.defineProperties,j=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var N=(e,n)=>(n=Symbol[e])?n:Symbol.for("Symbol."+e),k=e=>{throw TypeError(e)};var d=(e,n,a)=>n in e?E(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,B=(e,n)=>{for(var a in n||(n={}))g.call(n,a)&&d(e,a,n[a]);if(b)for(var a of b(n))D.call(n,a)&&d(e,a,n[a]);return e},C=(e,n)=>h(e,l(n)),F=(e,n)=>E(e,"name",{value:n,configurable:!0});var G=e=>typeof e=="symbol"?e:e+"",H=(e,n)=>{var a={};for(var o in e)g.call(e,o)&&n.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&b)for(var o of b(e))n.indexOf(o)<0&&D.call(e,o)&&(a[o]=e[o]);return a};var x=(e,n)=>()=>(e&&(n=e(e=0)),n);var I=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),J=(e,n)=>{for(var a in n)E(e,a,{get:n[a],enumerable:!0})},y=(e,n,a,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let p of q(n))!g.call(e,p)&&p!==a&&E(e,p,{get:()=>n[p],enumerable:!(o=j(n,p))||o.enumerable});return e};var K=(e,n,a)=>(a=e!=null?f(w(e)):{},y(n||!e||!e.__esModule?E(a,"default",{value:e,enumerable:!0}):a,e));var L=(e,n,a)=>d(e,typeof n!="symbol"?n+"":n,a),m=(e,n,a)=>n.has(e)||k("Cannot "+a);var M=(e,n,a)=>(m(e,n,"read from private field"),a?a.call(e):n.get(e)),P=(e,n,a)=>n.has(e)?k("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(e):n.set(e,a),Q=(e,n,a,o)=>(m(e,n,"write to private field"),o?o.call(e,a):n.set(e,a),a),R=(e,n,a)=>(m(e,n,"access private method"),a);var O=function(e,n){this[0]=e,this[1]=n},S=(e,n,a)=>{var o=(c,i,r,v)=>{try{var s=a[c](i),u=(i=s.value)instanceof O,V=s.done;Promise.resolve(u?i[0]:i).then(t=>u?o(c==="return"?c:"next",i[1]?{done:t.done,value:t.value}:t,r,v):r({value:t,done:V})).catch(t=>o("throw",t,r,v))}catch(t){v(t)}},p=c=>_[c]=i=>new Promise((r,v)=>o(c,i,r,v)),_={};return a=a.apply(e,n),_[N("asyncIterator")]=()=>_,p("next"),p("throw"),p("return"),_},T=e=>{var n=e[N("asyncIterator")],a=!1,o,p={};return n==null?(n=e[N("iterator")](),o=_=>p[_]=c=>n[_](c)):(n=n.call(e),o=_=>p[_]=c=>{if(a){if(a=!1,_==="throw")throw c;return c}return a=!0,{done:!1,value:new O(new Promise(i=>{var r=n[_](c);r instanceof Object||k("Object expected"),i(r)}),1)}}),p[N("iterator")]=()=>p,o("next"),"throw"in n?o("throw"):p.throw=_=>{throw _},"return"in n&&o("return"),p};var X,A=x(()=>{X={env:{NODE_ENV:"production",npm_package_version:"6.0.1-beta.
|
|
1
|
+
var f=Object.create;var E=Object.defineProperty,h=Object.defineProperties,j=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyDescriptors,q=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable;var N=(e,n)=>(n=Symbol[e])?n:Symbol.for("Symbol."+e),k=e=>{throw TypeError(e)};var d=(e,n,a)=>n in e?E(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,B=(e,n)=>{for(var a in n||(n={}))g.call(n,a)&&d(e,a,n[a]);if(b)for(var a of b(n))D.call(n,a)&&d(e,a,n[a]);return e},C=(e,n)=>h(e,l(n)),F=(e,n)=>E(e,"name",{value:n,configurable:!0});var G=e=>typeof e=="symbol"?e:e+"",H=(e,n)=>{var a={};for(var o in e)g.call(e,o)&&n.indexOf(o)<0&&(a[o]=e[o]);if(e!=null&&b)for(var o of b(e))n.indexOf(o)<0&&D.call(e,o)&&(a[o]=e[o]);return a};var x=(e,n)=>()=>(e&&(n=e(e=0)),n);var I=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),J=(e,n)=>{for(var a in n)E(e,a,{get:n[a],enumerable:!0})},y=(e,n,a,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let p of q(n))!g.call(e,p)&&p!==a&&E(e,p,{get:()=>n[p],enumerable:!(o=j(n,p))||o.enumerable});return e};var K=(e,n,a)=>(a=e!=null?f(w(e)):{},y(n||!e||!e.__esModule?E(a,"default",{value:e,enumerable:!0}):a,e));var L=(e,n,a)=>d(e,typeof n!="symbol"?n+"":n,a),m=(e,n,a)=>n.has(e)||k("Cannot "+a);var M=(e,n,a)=>(m(e,n,"read from private field"),a?a.call(e):n.get(e)),P=(e,n,a)=>n.has(e)?k("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(e):n.set(e,a),Q=(e,n,a,o)=>(m(e,n,"write to private field"),o?o.call(e,a):n.set(e,a),a),R=(e,n,a)=>(m(e,n,"access private method"),a);var O=function(e,n){this[0]=e,this[1]=n},S=(e,n,a)=>{var o=(c,i,r,v)=>{try{var s=a[c](i),u=(i=s.value)instanceof O,V=s.done;Promise.resolve(u?i[0]:i).then(t=>u?o(c==="return"?c:"next",i[1]?{done:t.done,value:t.value}:t,r,v):r({value:t,done:V})).catch(t=>o("throw",t,r,v))}catch(t){v(t)}},p=c=>_[c]=i=>new Promise((r,v)=>o(c,i,r,v)),_={};return a=a.apply(e,n),_[N("asyncIterator")]=()=>_,p("next"),p("throw"),p("return"),_},T=e=>{var n=e[N("asyncIterator")],a=!1,o,p={};return n==null?(n=e[N("iterator")](),o=_=>p[_]=c=>n[_](c)):(n=n.call(e),o=_=>p[_]=c=>{if(a){if(a=!1,_==="throw")throw c;return c}return a=!0,{done:!1,value:new O(new Promise(i=>{var r=n[_](c);r instanceof Object||k("Object expected"),i(r)}),1)}}),p[N("iterator")]=()=>p,o("next"),"throw"in n?o("throw"):p.throw=_=>{throw _},"return"in n&&o("return"),p};var X,A=x(()=>{X={env:{NODE_ENV:"production",npm_package_version:"6.0.1-beta.55"}}});export{B as a,C as b,F as c,G as d,H as e,I as f,J as g,K as h,L as i,M as j,P as k,Q as l,R as m,S as n,T as o,A as p,X as q};
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -177,18 +177,18 @@ declare module '@mappedin/events/events/src/utils' {
|
|
|
177
177
|
xxlarge: z.ZodOptional<z.ZodString>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
179
|
original: string;
|
|
180
|
-
small?: string | undefined;
|
|
181
180
|
xxsmall?: string | undefined;
|
|
182
181
|
xsmall?: string | undefined;
|
|
182
|
+
small?: string | undefined;
|
|
183
183
|
medium?: string | undefined;
|
|
184
184
|
large?: string | undefined;
|
|
185
185
|
xlarge?: string | undefined;
|
|
186
186
|
xxlarge?: string | undefined;
|
|
187
187
|
}, {
|
|
188
188
|
original: string;
|
|
189
|
-
small?: string | undefined;
|
|
190
189
|
xxsmall?: string | undefined;
|
|
191
190
|
xsmall?: string | undefined;
|
|
191
|
+
small?: string | undefined;
|
|
192
192
|
medium?: string | undefined;
|
|
193
193
|
large?: string | undefined;
|
|
194
194
|
xlarge?: string | undefined;
|
|
@@ -201,15 +201,15 @@ declare module '@mappedin/events/events/src/utils' {
|
|
|
201
201
|
content: z.ZodString;
|
|
202
202
|
original: z.ZodString;
|
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
|
204
|
-
height: number;
|
|
205
|
-
width: number;
|
|
206
204
|
original: string;
|
|
205
|
+
width: number;
|
|
206
|
+
height: number;
|
|
207
207
|
thumbnail: string;
|
|
208
208
|
content: string;
|
|
209
209
|
}, {
|
|
210
|
-
height: number;
|
|
211
|
-
width: number;
|
|
212
210
|
original: string;
|
|
211
|
+
width: number;
|
|
212
|
+
height: number;
|
|
213
213
|
thumbnail: string;
|
|
214
214
|
content: string;
|
|
215
215
|
}>>;
|
|
@@ -220,26 +220,26 @@ declare module '@mappedin/events/events/src/utils' {
|
|
|
220
220
|
name: string;
|
|
221
221
|
startDate: number;
|
|
222
222
|
endDate: number;
|
|
223
|
-
video?: {
|
|
224
|
-
height: number;
|
|
225
|
-
width: number;
|
|
226
|
-
original: string;
|
|
227
|
-
thumbnail: string;
|
|
228
|
-
content: string;
|
|
229
|
-
} | undefined;
|
|
230
223
|
externalId?: string | undefined;
|
|
231
224
|
description?: string | undefined;
|
|
232
225
|
location?: string | undefined;
|
|
233
226
|
image?: {
|
|
234
227
|
original: string;
|
|
235
|
-
small?: string | undefined;
|
|
236
228
|
xxsmall?: string | undefined;
|
|
237
229
|
xsmall?: string | undefined;
|
|
230
|
+
small?: string | undefined;
|
|
238
231
|
medium?: string | undefined;
|
|
239
232
|
large?: string | undefined;
|
|
240
233
|
xlarge?: string | undefined;
|
|
241
234
|
xxlarge?: string | undefined;
|
|
242
235
|
} | undefined;
|
|
236
|
+
video?: {
|
|
237
|
+
original: string;
|
|
238
|
+
width: number;
|
|
239
|
+
height: number;
|
|
240
|
+
thumbnail: string;
|
|
241
|
+
content: string;
|
|
242
|
+
} | undefined;
|
|
243
243
|
_locale?: Record<string, Record<string, unknown>> | undefined;
|
|
244
244
|
}, {
|
|
245
245
|
type: string;
|
|
@@ -247,26 +247,26 @@ declare module '@mappedin/events/events/src/utils' {
|
|
|
247
247
|
name: string;
|
|
248
248
|
startDate: number;
|
|
249
249
|
endDate: number;
|
|
250
|
-
video?: {
|
|
251
|
-
height: number;
|
|
252
|
-
width: number;
|
|
253
|
-
original: string;
|
|
254
|
-
thumbnail: string;
|
|
255
|
-
content: string;
|
|
256
|
-
} | undefined;
|
|
257
250
|
externalId?: string | undefined;
|
|
258
251
|
description?: string | undefined;
|
|
259
252
|
location?: string | undefined;
|
|
260
253
|
image?: {
|
|
261
254
|
original: string;
|
|
262
|
-
small?: string | undefined;
|
|
263
255
|
xxsmall?: string | undefined;
|
|
264
256
|
xsmall?: string | undefined;
|
|
257
|
+
small?: string | undefined;
|
|
265
258
|
medium?: string | undefined;
|
|
266
259
|
large?: string | undefined;
|
|
267
260
|
xlarge?: string | undefined;
|
|
268
261
|
xxlarge?: string | undefined;
|
|
269
262
|
} | undefined;
|
|
263
|
+
video?: {
|
|
264
|
+
original: string;
|
|
265
|
+
width: number;
|
|
266
|
+
height: number;
|
|
267
|
+
thumbnail: string;
|
|
268
|
+
content: string;
|
|
269
|
+
} | undefined;
|
|
270
270
|
_locale?: Record<string, Record<string, unknown>> | undefined;
|
|
271
271
|
}>;
|
|
272
272
|
export type RawEvent = z.infer<typeof RawEventSchema>;
|