1 |
- var wr={},tt=function(r,n,t,e,i){var a=new Worker(wr[n]||(wr[n]=URL.createObjectURL(new Blob([r+';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,u=f.$e$;if(u){var s=new Error(u[0]);s.code=u[1],s.stack=u[2],i(s,null)}else i(null,f)},a.postMessage(t,e),a},U=Uint8Array,$=Uint16Array,hn=Uint32Array,ln=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]),cn=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]),Dn=new U([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),mr=function(r,n){for(var t=new $(31),e=0;e<31;++e)t[e]=n+=1<<r[e-1];for(var i=new hn(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]},zr=mr(ln,2),Qn=zr[0],kn=zr[1];Qn[28]=258,kn[258]=28;for(var xr=mr(cn,0),Ar=xr[0],Vn=xr[1],Sn=new $(32768),k=0;k<32768;++k){var an=(k&43690)>>>1|(k&21845)<<1;an=(an&52428)>>>2|(an&13107)<<2,an=(an&61680)>>>4|(an&3855)<<4,Sn[k]=((an&65280)>>>8|(an&255)<<8)>>>1}for(var Q=function(r,n,t){for(var e=r.length,i=0,a=new $(n);i<e;++i)r[i]&&++a[r[i]-1];var o=new $(n);for(i=0;i<n;++i)o[i]=o[i-1]+a[i-1]<<1;var f;if(t){f=new $(1<<n);var u=15-n;for(i=0;i<e;++i)if(r[i])for(var s=i<<4|r[i],v=n-r[i],l=o[r[i]-1]++<<v,g=l|(1<<v)-1;l<=g;++l)f[Sn[l]>>>u]=s}else for(f=new $(e),i=0;i<e;++i)r[i]&&(f[i]=Sn[o[r[i]-1]++]>>>15-r[i]);return f},tn=new U(288),k=0;k<144;++k)tn[k]=8;for(var k=144;k<256;++k)tn[k]=9;for(var k=256;k<280;++k)tn[k]=7;for(var k=280;k<288;++k)tn[k]=8;for(var pn=new U(32),k=0;k<32;++k)pn[k]=5;var Mr=Q(tn,9,0),Tr=Q(tn,9,1),Ur=Q(pn,5,0),Dr=Q(pn,5,1),Gn=function(r){for(var n=r[0],t=1;t<r.length;++t)r[t]>n&&(n=r[t]);return n},V=function(r,n,t){var e=n/8|0;return(r[e]|r[e+1]<<8)>>(n&7)&t},On=function(r,n){var t=n/8|0;return(r[t]|r[t+1]<<8|r[t+2]<<16)>>(n&7)},Cn=function(r){return(r+7)/8|0},X=function(r,n,t){(n==null||n<0)&&(n=0),(t==null||t>r.length)&&(t=r.length);var e=new(r.BYTES_PER_ELEMENT==2?$:r.BYTES_PER_ELEMENT==4?hn:U)(t-n);return e.set(r.subarray(n,t)),e},et={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},Sr=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],p=function(r,n,t){var e=new Error(n||Sr[r]);if(e.code=r,Error.captureStackTrace&&Error.captureStackTrace(e,p),!t)throw e;return e},En=function(r,n,t){var e=r.length;if(!e||t&&t.f&&!t.l)return n||new U(0);var i=!n||t,a=!t||t.i;t||(t={}),n||(n=new U(e*3));var o=function(Zn){var Un=n.length;if(Zn>Un){var vn=new U(Math.max(Un*2,Zn));vn.set(n),n=vn}},f=t.f||0,u=t.p||0,s=t.b||0,v=t.l,l=t.d,g=t.m,z=t.n,y=e*8;do{if(!v){f=V(r,u,1);var m=V(r,u+1,3);if(u+=3,m)if(m==1)v=Tr,l=Dr,g=9,z=5;else if(m==2){var T=V(r,u,31)+257,w=V(r,u+10,15)+4,F=T+V(r,u+5,31)+1;u+=14;for(var S=new U(F),A=new U(19),c=0;c<w;++c)A[Dn[c]]=V(r,u+c*3,7);u+=w*3;for(var L=Gn(A),D=(1<<L)-1,N=Q(A,L,1),c=0;c<F;){var G=N[V(r,u,D)];u+=G&15;var h=G>>>4;if(h<16)S[c++]=h;else{var B=0,C=0;for(h==16?(C=3+V(r,u,3),u+=2,B=S[c-1]):h==17?(C=3+V(r,u,7),u+=3):h==18&&(C=11+V(r,u,127),u+=7);C--;)S[c++]=B}}var O=S.subarray(0,T),I=S.subarray(T);g=Gn(O),z=Gn(I),v=Q(O,g,1),l=Q(I,z,1)}else p(1);else{var h=Cn(u)+4,x=r[h-4]|r[h-3]<<8,M=h+x;if(M>e){a&&p(0);break}i&&o(s+x),n.set(r.subarray(h,M),s),t.b=s+=x,t.p=u=M*8,t.f=f;continue}if(u>y){a&&p(0);break}}i&&o(s+131072);for(var Z=(1<<g)-1,q=(1<<z)-1,W=u;;W=u){var B=v[On(r,u)&Z],K=B>>>4;if(u+=B&15,u>y){a&&p(0);break}if(B||p(2),K<256)n[s++]=K;else if(K==256){W=u,v=null;break}else{var H=K-254;if(K>264){var c=K-257,b=ln[c];H=V(r,u,(1<<b)-1)+Qn[c],u+=b}var _=l[On(r,u)&q],j=_>>>4;_||p(3),u+=_&15;var I=Ar[j];if(j>3){var b=cn[j];I+=On(r,u)&(1<<b)-1,u+=b}if(u>y){a&&p(0);break}i&&o(s+131072);for(var R=s+H;s<R;s+=4)n[s]=n[s-I],n[s+1]=n[s+1-I],n[s+2]=n[s+2-I],n[s+3]=n[s+3-I];s=R}}t.l=v,t.p=W,t.b=s,t.f=f,v&&(f=1,t.m=g,t.d=l,t.n=z)}while(!f);return s==n.length?n:X(n,0,s)},nn=function(r,n,t){t<<=n&7;var e=n/8|0;r[e]|=t,r[e+1]|=t>>>8},gn=function(r,n,t){t<<=n&7;var e=n/8|0;r[e]|=t,r[e+1]|=t>>>8,r[e+2]|=t>>>16},Ln=function(r,n){for(var t=[],e=0;e<r.length;++e)r[e]&&t.push({s:e,f:r[e]});var i=t.length,a=t.slice();if(!i)return[en,0];if(i==1){var o=new U(t[0].s+1);return o[t[0].s]=1,[o,1]}t.sort(function(F,S){return F.f-S.f}),t.push({s:-1,f:25001});var f=t[0],u=t[1],s=0,v=1,l=2;for(t[0]={s:-1,f:f.f+u.f,l:f,r:u};v!=i-1;)f=t[t[s].f<t[l].f?s++:l++],u=t[s!=v&&t[s].f<t[l].f?s++:l++],t[v++]={s:-1,f:f.f+u.f,l:f,r:u};for(var g=a[0].s,e=1;e<i;++e)a[e].s>g&&(g=a[e].s);var z=new $(g+1),y=Pn(t[v-1],z,0);if(y>n){var e=0,m=0,h=y-n,x=1<<h;for(a.sort(function(S,A){return z[A.s]-z[S.s]||S.f-A.f});e<i;++e){var M=a[e].s;if(z[M]>n)m+=x-(1<<y-z[M]),z[M]=n;else break}for(m>>>=h;m>0;){var T=a[e].s;z[T]<n?m-=1<<n-z[T]++-1:++e}for(;e>=0&&m;--e){var w=a[e].s;z[w]==n&&(--z[w],++m)}y=n}return[new U(z),y]},Pn=function(r,n,t){return r.s==-1?Math.max(Pn(r.l,n,t+1),Pn(r.r,n,t+1)):n[r.s]=t},Xn=function(r){for(var n=r.length;n&&!r[--n];);for(var t=new $(++n),e=0,i=r[0],a=1,o=function(u){t[e++]=u},f=1;f<=n;++f)if(r[f]==i&&f!=n)++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=r[f]}return[t.subarray(0,e),n]},yn=function(r,n){for(var t=0,e=0;e<n.length;++e)t+=r[e]*n[e];return t},Nn=function(r,n,t){var e=t.length,i=Cn(n+2);r[i]=e&255,r[i+1]=e>>>8,r[i+2]=r[i]^255,r[i+3]=r[i+1]^255;for(var a=0;a<e;++a)r[i+a+4]=t[a];return(i+4+e)*8},dn=function(r,n,t,e,i,a,o,f,u,s,v){nn(n,v++,t),++i[256];for(var l=Ln(i,15),g=l[0],z=l[1],y=Ln(a,15),m=y[0],h=y[1],x=Xn(g),M=x[0],T=x[1],w=Xn(m),F=w[0],S=w[1],A=new $(19),c=0;c<M.length;++c)A[M[c]&31]++;for(var c=0;c<F.length;++c)A[F[c]&31]++;for(var L=Ln(A,7),D=L[0],N=L[1],G=19;G>4&&!D[Dn[G-1]];--G);var B=s+5<<3,C=yn(i,tn)+yn(a,pn)+o,O=yn(i,g)+yn(a,m)+o+14+3*G+yn(A,D)+(2*A[16]+3*A[17]+7*A[18]);if(B<=C&&B<=O)return Nn(n,v,r.subarray(u,u+s));var I,Z,q,W;if(nn(n,v,1+(O<C)),v+=2,O<C){I=Q(g,z,0),Z=g,q=Q(m,h,0),W=m;var K=Q(D,N,0);nn(n,v,T-257),nn(n,v+5,S-1),nn(n,v+10,G-4),v+=14;for(var c=0;c<G;++c)nn(n,v+3*c,D[Dn[c]]);v+=3*G;for(var H=[M,F],b=0;b<2;++b)for(var _=H[b],c=0;c<_.length;++c){var j=_[c]&31;nn(n,v,K[j]),v+=D[j],j>15&&(nn(n,v,_[c]>>>5&127),v+=_[c]>>>12)}}else I=Mr,Z=tn,q=Ur,W=pn;for(var c=0;c<f;++c)if(e[c]>255){var j=e[c]>>>18&31;gn(n,v,I[j+257]),v+=Z[j+257],j>7&&(nn(n,v,e[c]>>>23&31),v+=ln[j]);var R=e[c]&31;gn(n,v,q[R]),v+=W[R],R>3&&(gn(n,v,e[c]>>>5&8191),v+=cn[R])}else gn(n,v,I[e[c]]),v+=Z[e[c]];return gn(n,v,I[256]),v+Z[256]},Cr=new hn([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),en=new U(0),Er=function(r,n,t,e,i,a){var o=r.length,f=new U(e+o+5*(1+Math.ceil(o/7e3))+i),u=f.subarray(e,f.length-i),s=0;if(!n||o<8)for(var v=0;v<=o;v+=65535){var l=v+65535;l>=o&&(u[s>>3]=a),s=Nn(u,s+1,r.subarray(v,l))}else{for(var g=Cr[n-1],z=g>>>13,y=g&8191,m=(1<<t)-1,h=new $(32768),x=new $(m+1),M=Math.ceil(t/3),T=2*M,w=function(Kn){return(r[Kn]^r[Kn+1]<<M^r[Kn+2]<<T)&m},F=new hn(25e3),S=new $(288),A=new $(32),c=0,L=0,v=0,D=0,N=0,G=0;v<o;++v){var B=w(v),C=v&32767,O=x[B];if(h[C]=O,x[B]=C,N<=v){var I=o-v;if((c>7e3||D>24576)&&I>423){s=dn(r,u,0,F,S,A,L,D,G,v-G,s),D=c=L=0,G=v;for(var Z=0;Z<286;++Z)S[Z]=0;for(var Z=0;Z<30;++Z)A[Z]=0}var q=2,W=0,K=y,H=C-O&32767;if(I>2&&B==w(v-H))for(var b=Math.min(z,I)-1,_=Math.min(32767,v),j=Math.min(258,I);H<=_&&--K&&C!=O;){if(r[v+q]==r[v+q-H]){for(var R=0;R<j&&r[v+R]==r[v+R-H];++R);if(R>q){if(q=R,W=H,R>b)break;for(var Zn=Math.min(H,R-2),Un=0,Z=0;Z<Zn;++Z){var vn=v-H+Z+32768&32767,rt=h[vn],pr=vn-rt+32768&32767;pr>Un&&(Un=pr,O=vn)}}}C=O,O=h[C],H+=C-O+32768&32767}if(W){F[D++]=268435456|kn[q]<<18|Vn[W];var gr=kn[q]&31,yr=Vn[W]&31;L+=ln[gr]+cn[yr],++S[257+gr],++A[yr],N=v+q,++c}else F[D++]=r[v],++S[r[v]]}}s=dn(r,u,a,F,S,A,L,D,G,v-G,s),!a&&s&7&&(s=Nn(u,s+1,en))}return X(f,0,e+Cn(s)+i)},Fr=function(){for(var r=new Int32Array(256),n=0;n<256;++n){for(var t=n,e=9;--e;)t=(t&1&&-306674912)^t>>>1;r[n]=t}return r}(),wn=function(){var r=-1;return{p:function(n){for(var t=r,e=0;e<n.length;++e)t=Fr[t&255^n[e]]^t>>>8;r=t},d:function(){return~r}}},bn=function(){var r=1,n=0;return{p:function(t){for(var e=r,i=n,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)}r=e,n=i},d:function(){return r%=65521,n%=65521,(r&255)<<24|r>>>8<<16|(n&255)<<8|n>>>8}}},un=function(r,n,t,e,i){return Er(r,n.level==null?6:n.level,n.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(r.length)))*1.5):12+n.mem,t,e,!i)},Fn=function(r,n){var t={};for(var e in r)t[e]=r[e];for(var e in n)t[e]=n[e];return t},Ir=function(r,n,t){for(var e=r(),i=r.toString(),a=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/\s+/g,"").split(","),o=0;o<e.length;++o){var f=e[o],u=a[o];if(typeof f=="function"){n+=";"+u+"=";var s=f.toString();if(f.prototype)if(s.indexOf("[native code]")!=-1){var v=s.indexOf(" ",8)+1;n+=s.slice(v,s.indexOf("(",v))}else{n+=s;for(var l in f.prototype)n+=";"+u+".prototype."+l+"="+f.prototype[l].toString()}else n+=s}else t[u]=f}return[n,t]},Rn=[],it=function(r){var n=[];for(var t in r)r[t].buffer&&n.push((r[t]=new r[t].constructor(r[t])).buffer);return n},Br=function(r,n,t,e){var i;if(!Rn[t]){for(var a="",o={},f=r.length-1,u=0;u<f;++u)i=Ir(r[u],a,o),a=i[0],o=i[1];Rn[t]=Ir(r[f],a,o)}var s=Fn({},Rn[t][1]);return tt(Rn[t][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+n.toString()+"}",t,s,it(s),e)},mn=function(){return[U,$,hn,ln,cn,Dn,Qn,Ar,Tr,Dr,Sn,Sr,Q,Gn,V,On,Cn,X,p,En,Mn,on,_n]},zn=function(){return[U,$,hn,ln,cn,Dn,kn,Vn,Mr,tn,Ur,pn,Sn,Cr,en,Q,nn,gn,Ln,Pn,Xn,yn,Nn,dn,Cn,X,Er,un,In,on]},Zr=function(){return[rr,er,E,wn,Fr]},kr=function(){return[tr,Lr]},Gr=function(){return[ir,E,bn]},Or=function(){return[Pr]},on=function(r){return postMessage(r,[r.buffer])},_n=function(r){return r&&r.size&&new U(r.size)},xn=function(r,n,t,e,i,a){var o=Br(t,e,i,function(f,u){o.terminate(),a(f,u)});return o.postMessage([r,n],n.consume?[r.buffer]:[]),function(){o.terminate()}},d=function(r){return r.ondata=function(n,t){return postMessage([n,t],[n.buffer])},function(n){return r.push(n.data[0],n.data[1])}},An=function(r,n,t,e,i){var a,o=Br(r,e,i,function(f,u){f?(o.terminate(),n.ondata.call(n,f)):(u[1]&&o.terminate(),n.ondata.call(n,f,u[0],u[1]))});o.postMessage(t),n.push=function(f,u){n.ondata||p(5),a&&n.ondata(p(4,0,1),null,!!u),o.postMessage([f,a=u],[f.buffer])},n.terminate=function(){o.terminate()}},Y=function(r,n){return r[n]|r[n+1]<<8},P=function(r,n){return(r[n]|r[n+1]<<8|r[n+2]<<16|r[n+3]<<24)>>>0},nr=function(r,n){return P(r,n)+P(r,n+4)*4294967296},E=function(r,n,t){for(;t;++n)r[n]=t,t>>>=8},rr=function(r,n){var t=n.filename;if(r[0]=31,r[1]=139,r[2]=8,r[8]=n.level<2?4:n.level==9?2:0,r[9]=3,n.mtime!=0&&E(r,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),t){r[3]=8;for(var e=0;e<=t.length;++e)r[e+10]=t.charCodeAt(e)}},tr=function(r){(r[0]!=31||r[1]!=139||r[2]!=8)&&p(6,"invalid gzip data");var n=r[3],t=10;n&4&&(t+=r[10]|(r[11]<<8)+2);for(var e=(n>>3&1)+(n>>4&1);e>0;e-=!r[t++]);return t+(n&2)},Lr=function(r){var n=r.length;return(r[n-4]|r[n-3]<<8|r[n-2]<<16|r[n-1]<<24)>>>0},er=function(r){return 10+(r.filename&&r.filename.length+1||0)},ir=function(r,n){var t=n.level,e=t==0?0:t<6?1:t==9?3:2;r[0]=120,r[1]=e<<6|(e?32-2*e:1)},Pr=function(r){((r[0]&15)!=8||r[0]>>>4>7||(r[0]<<8|r[1])%31)&&p(6,"invalid zlib data"),r[1]&32&&p(6,"invalid zlib data: preset dictionaries not supported")};function ar(r,n){return!n&&typeof r=="function"&&(n=r,r={}),this.ondata=n,r}var rn=function(){function r(n,t){!t&&typeof n=="function"&&(t=n,n={}),this.ondata=t,this.o=n||{}}return r.prototype.p=function(n,t){this.ondata(un(n,this.o,0,0,!t),t)},r.prototype.push=function(n,t){this.ondata||p(5),this.d&&p(4),this.d=t,this.p(n,t||!1)},r}(),Nr=function(){function r(n,t){An([zn,function(){return[d,rn]}],this,ar.call(this,n,t),function(e){var i=new rn(e.data);onmessage=d(i)},6)}return r}();function Rr(r,n,t){return t||(t=n,n={}),typeof t!="function"&&p(7),xn(r,n,[zn],function(e){return on(In(e.data[0],e.data[1]))},0,t)}function In(r,n){return un(r,n||{},0,0)}var J=function(){function r(n){this.s={},this.p=new U(0),this.ondata=n}return r.prototype.e=function(n){this.ondata||p(5),this.d&&p(4);var t=this.p.length,e=new U(t+n.length);e.set(this.p),e.set(n,t),this.p=e},r.prototype.c=function(n){this.d=this.s.i=n||!1;var t=this.s.b,e=En(this.p,this.o,this.s);this.ondata(X(e,t,this.s.b),this.d),this.o=X(e,this.s.b-32768),this.s.b=this.o.length,this.p=X(this.p,this.s.p/8|0),this.s.p&=7},r.prototype.push=function(n,t){this.e(n),this.c(t)},r}(),or=function(){function r(n){this.ondata=n,An([mn,function(){return[d,J]}],this,0,function(){var t=new J;onmessage=d(t)},7)}return r}();function fr(r,n,t){return t||(t=n,n={}),typeof t!="function"&&p(7),xn(r,n,[mn],function(e){return on(Mn(e.data[0],_n(e.data[1])))},1,t)}function Mn(r,n){return En(r,n)}var $n=function(){function r(n,t){this.c=wn(),this.l=0,this.v=1,rn.call(this,n,t)}return r.prototype.push=function(n,t){rn.prototype.push.call(this,n,t)},r.prototype.p=function(n,t){this.c.p(n),this.l+=n.length;var e=un(n,this.o,this.v&&er(this.o),t&&8,!t);this.v&&(rr(e,this.o),this.v=0),t&&(E(e,e.length-8,this.c.d()),E(e,e.length-4,this.l)),this.ondata(e,t)},r}(),$r=function(){function r(n,t){An([zn,Zr,function(){return[d,rn,$n]}],this,ar.call(this,n,t),function(e){var i=new $n(e.data);onmessage=d(i)},8)}return r}();function qr(r,n,t){return t||(t=n,n={}),typeof t!="function"&&p(7),xn(r,n,[zn,Zr,function(){return[qn]}],function(e){return on(qn(e.data[0],e.data[1]))},2,t)}function qn(r,n){n||(n={});var t=wn(),e=r.length;t.p(r);var i=un(r,n,er(n),8),a=i.length;return rr(i,n),E(i,a-8,t.d()),E(i,a-4,e),i}var Hn=function(){function r(n){this.v=1,J.call(this,n)}return r.prototype.push=function(n,t){if(J.prototype.e.call(this,n),this.v){var e=this.p.length>3?tr(this.p):4;if(e>=this.p.length&&!t)return;this.p=this.p.subarray(e),this.v=0}t&&(this.p.length<8&&p(6,"invalid gzip data"),this.p=this.p.subarray(0,-8)),J.prototype.c.call(this,t)},r}(),Hr=function(){function r(n){this.ondata=n,An([mn,kr,function(){return[d,J,Hn]}],this,0,function(){var t=new Hn;onmessage=d(t)},9)}return r}();function Yr(r,n,t){return t||(t=n,n={}),typeof t!="function"&&p(7),xn(r,n,[mn,kr,function(){return[Yn]}],function(e){return on(Yn(e.data[0]))},3,t)}function Yn(r,n){return En(r.subarray(tr(r),-8),n||new U(Lr(r)))}var sr=function(){function r(n,t){this.c=bn(),this.v=1,rn.call(this,n,t)}return r.prototype.push=function(n,t){rn.prototype.push.call(this,n,t)},r.prototype.p=function(n,t){this.c.p(n);var e=un(n,this.o,this.v&&2,t&&4,!t);this.v&&(ir(e,this.o),this.v=0),t&&E(e,e.length-4,this.c.d()),this.ondata(e,t)},r}(),at=function(){function r(n,t){An([zn,Gr,function(){return[d,rn,sr]}],this,ar.call(this,n,t),function(e){var i=new sr(e.data);onmessage=d(i)},10)}return r}();function ot(r,n,t){return t||(t=n,n={}),typeof t!="function"&&p(7),xn(r,n,[zn,Gr,function(){return[ur]}],function(e){return on(ur(e.data[0],e.data[1]))},4,t)}function ur(r,n){n||(n={});var t=bn();t.p(r);var e=un(r,n,2,4);return ir(e,n),E(e,e.length-4,t.d()),e}var Wn=function(){function r(n){this.v=1,J.call(this,n)}return r.prototype.push=function(n,t){if(J.prototype.e.call(this,n),this.v){if(this.p.length<2&&!t)return;this.p=this.p.subarray(2),this.v=0}t&&(this.p.length<4&&p(6,"invalid zlib data"),this.p=this.p.subarray(0,-4)),J.prototype.c.call(this,t)},r}(),Wr=function(){function r(n){this.ondata=n,An([mn,Or,function(){return[d,J,Wn]}],this,0,function(){var t=new Wn;onmessage=d(t)},11)}return r}();function jr(r,n,t){return t||(t=n,n={}),typeof t!="function"&&p(7),xn(r,n,[mn,Or,function(){return[jn]}],function(e){return on(jn(e.data[0],_n(e.data[1])))},5,t)}function jn(r,n){return En((Pr(r),r.subarray(2,-4)),n)}var Jr=function(){function r(n){this.G=Hn,this.I=J,this.Z=Wn,this.ondata=n}return r.prototype.push=function(n,t){if(this.ondata||p(5),this.s)this.s.push(n,t);else{if(this.p&&this.p.length){var e=new U(this.p.length+n.length);e.set(this.p),e.set(n,this.p.length)}else this.p=n;if(this.p.length>2){var i=this,a=function(){i.ondata.apply(i,arguments)};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}}},r}(),ft=function(){function r(n){this.G=Hr,this.I=or,this.Z=Wr,this.ondata=n}return r.prototype.push=function(n,t){Jr.prototype.push.call(this,n,t)},r}();function st(r,n,t){return t||(t=n,n={}),typeof t!="function"&&p(7),r[0]==31&&r[1]==139&&r[2]==8?Yr(r,n,t):(r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31?fr(r,n,t):jr(r,n,t)}function ut(r,n){return r[0]==31&&r[1]==139&&r[2]==8?Yn(r,n):(r[0]&15)!=8||r[0]>>4>7||(r[0]<<8|r[1])%31?Mn(r,n):jn(r,n)}var vr=function(r,n,t,e){for(var i in r){var a=r[i],o=n+i,f=e;Array.isArray(a)&&(f=Fn(e,a[1]),a=a[0]),a instanceof U?t[o]=[a,f]:(t[o+="/"]=[new U(0),f],vr(a,o,t,e))}},Kr=typeof TextEncoder!="undefined"&&new TextEncoder,hr=typeof TextDecoder!="undefined"&&new TextDecoder,Qr=0;try{hr.decode(en,{stream:!0}),Qr=1}catch(r){}var Vr=function(r){for(var n="",t=0;;){var e=r[t++],i=(e>127)+(e>223)+(e>239);if(t+i>r.length)return[n,X(r,t-1)];i?i==3?(e=((e&15)<<18|(r[t++]&63)<<12|(r[t++]&63)<<6|r[t++]&63)-65536,n+=String.fromCharCode(55296|e>>10,56320|e&1023)):i&1?n+=String.fromCharCode((e&31)<<6|r[t++]&63):n+=String.fromCharCode((e&15)<<12|(r[t++]&63)<<6|r[t++]&63):n+=String.fromCharCode(e)}},vt=function(){function r(n){this.ondata=n,Qr?this.t=new TextDecoder:this.p=en}return r.prototype.push=function(n,t){if(this.ondata||p(5),t=!!t,this.t){this.ondata(this.t.decode(n,{stream:!0}),t),t&&(this.t.decode().length&&p(8),this.t=null);return}this.p||p(4);var e=new U(this.p.length+n.length);e.set(this.p),e.set(n,this.p.length);var i=Vr(e),a=i[0],o=i[1];t?(o.length&&p(8),this.p=null):this.p=o,this.ondata(a,t)},r}(),ht=function(){function r(n){this.ondata=n}return r.prototype.push=function(n,t){this.ondata||p(5),this.d&&p(4),this.ondata(fn(n),this.d=t||!1)},r}();function fn(r,n){if(n){for(var t=new U(r.length),e=0;e<r.length;++e)t[e]=r.charCodeAt(e);return t}if(Kr)return Kr.encode(r);for(var i=r.length,a=new U(r.length+(r.length>>1)),o=0,f=function(v){a[o++]=v},e=0;e<i;++e){if(o+5>a.length){var u=new U(o+8+(i-e<<1));u.set(a),a=u}var s=r.charCodeAt(e);s<128||n?f(s):s<2048?(f(192|s>>6),f(128|s&63)):s>55295&&s<57344?(s=65536+(s&1023<<10)|r.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 X(a,0,o)}function lr(r,n){if(n){for(var t="",e=0;e<r.length;e+=16384)t+=String.fromCharCode.apply(null,r.subarray(e,e+16384));return t}else{if(hr)return hr.decode(r);var i=Vr(r),a=i[0],o=i[1];return o.length&&p(8),a}}var Xr=function(r){return r==1?3:r<6?2:r==9?1:0},dr=function(r,n){return n+30+Y(r,n+26)+Y(r,n+28)},br=function(r,n,t){var e=Y(r,n+28),i=lr(r.subarray(n+46,n+46+e),!(Y(r,n+8)&2048)),a=n+46+e,o=P(r,n+20),f=t&&o==4294967295?_r(r,a):[o,P(r,n+24),P(r,n+42)],u=f[0],s=f[1],v=f[2];return[Y(r,n+10),u,s,i,a+Y(r,n+30)+Y(r,n+32),v]},_r=function(r,n){for(;Y(r,n)!=1;n+=4+Y(r,n+2));return[nr(r,n+12),nr(r,n+4),nr(r,n+20)]},sn=function(r){var n=0;if(r)for(var t in r){var e=r[t].length;e>65535&&p(9),n+=e+4}return n},Tn=function(r,n,t,e,i,a,o,f){var u=e.length,s=t.extra,v=f&&f.length,l=sn(s);E(r,n,o!=null?33639248:67324752),n+=4,o!=null&&(r[n++]=20,r[n++]=t.os),r[n]=20,n+=2,r[n++]=t.flag<<1|(a==null&&8),r[n++]=i&&8,r[n++]=t.compression&255,r[n++]=t.compression>>8;var g=new Date(t.mtime==null?Date.now():t.mtime),z=g.getFullYear()-1980;if((z<0||z>119)&&p(10),E(r,n,z<<25|g.getMonth()+1<<21|g.getDate()<<16|g.getHours()<<11|g.getMinutes()<<5|g.getSeconds()>>>1),n+=4,a!=null&&(E(r,n,t.crc),E(r,n+4,a),E(r,n+8,t.size)),E(r,n+12,u),E(r,n+14,l),n+=16,o!=null&&(E(r,n,v),E(r,n+6,t.attrs),E(r,n+10,o),n+=14),r.set(e,n),n+=u,l)for(var y in s){var m=s[y],h=m.length;E(r,n,+y),E(r,n+2,h),r.set(m,n+4),n+=4+h}return v&&(r.set(f,n),n+=v),n},cr=function(r,n,t,e,i){E(r,n,101010256),E(r,n+8,t),E(r,n+10,t),E(r,n+12,e),E(r,n+16,i)},Bn=function(){function r(n){this.filename=n,this.c=wn(),this.size=0,this.compression=0}return r.prototype.process=function(n,t){this.ondata(null,n,t)},r.prototype.push=function(n,t){this.ondata||p(5),this.c.p(n),this.size+=n.length,t&&(this.crc=this.c.d()),this.process(n,t||!1)},r}(),lt=function(){function r(n,t){var e=this;t||(t={}),Bn.call(this,n),this.d=new rn(t,function(i,a){e.ondata(null,i,a)}),this.compression=8,this.flag=Xr(t.level)}return r.prototype.process=function(n,t){try{this.d.push(n,t)}catch(e){this.ondata(e,null,t)}},r.prototype.push=function(n,t){Bn.prototype.push.call(this,n,t)},r}(),ct=function(){function r(n,t){var e=this;t||(t={}),Bn.call(this,n),this.d=new Nr(t,function(i,a,o){e.ondata(i,a,o)}),this.compression=8,this.flag=Xr(t.level),this.terminate=this.d.terminate}return r.prototype.process=function(n,t){this.d.push(n,t)},r.prototype.push=function(n,t){Bn.prototype.push.call(this,n,t)},r}(),pt=function(){function r(n){this.ondata=n,this.u=[],this.d=1}return r.prototype.add=function(n){var t=this;if(this.ondata||p(5),this.d&2)this.ondata(p(4+(this.d&1)*8,0,1),null,!1);else{var e=fn(n.filename),i=e.length,a=n.comment,o=a&&fn(a),f=i!=n.filename.length||o&&a.length!=o.length,u=i+sn(n.extra)+30;i>65535&&this.ondata(p(11,0,1),null,!1);var s=new U(u);Tn(s,0,n,e,f);var v=[s],l=function(){for(var h=0,x=v;h<x.length;h++){var M=x[h];t.ondata(null,M,!1)}v=[]},g=this.d;this.d=0;var z=this.u.length,y=Fn(n,{f:e,u:f,o,t:function(){n.terminate&&n.terminate()},r:function(){if(l(),g){var h=t.u[z+1];h?h.r():t.d=1}g=1}}),m=0;n.ondata=function(h,x,M){if(h)t.ondata(h,x,M),t.terminate();else if(m+=x.length,v.push(x),M){var T=new U(16);E(T,0,134695760),E(T,4,n.crc),E(T,8,m),E(T,12,n.size),v.push(T),y.c=m,y.b=u+m+16,y.crc=n.crc,y.size=n.size,g&&y.r(),g=1}else g&&l()},this.u.push(y)}},r.prototype.end=function(){var n=this;if(this.d&2){this.ondata(p(4+(this.d&1)*8,0,1),null,!0);return}this.d?this.e():this.u.push({r:function(){if(!(n.d&1))return;n.u.splice(-1,1),n.e()},t:function(){}}),this.d=3},r.prototype.e=function(){for(var n=0,t=0,e=0,i=0,a=this.u;i<a.length;i++){var o=a[i];e+=46+o.f.length+sn(o.extra)+(o.o?o.o.length:0)}for(var f=new U(e+22),u=0,s=this.u;u<s.length;u++){var o=s[u];Tn(f,n,o,o.f,o.u,o.c,t,o.o),n+=46+o.f.length+sn(o.extra)+(o.o?o.o.length:0),t+=o.b}cr(f,n,this.u.length,e,t),this.ondata(null,f,!0),this.d=2},r.prototype.terminate=function(){for(var n=0,t=this.u;n<t.length;n++){var e=t[n];e.t()}this.d=2},r}();function gt(r,n,t){t||(t=n,n={}),typeof t!="function"&&p(7);var e={};vr(r,"",e,n);var i=Object.keys(e),a=i.length,o=0,f=0,u=a,s=new Array(a),v=[],l=function(){for(var h=0;h<v.length;++h)v[h]()},g=function(h,x){Jn(function(){t(h,x)})};Jn(function(){g=t});var z=function(){var h=new U(f+22),x=o,M=f-o;f=0;for(var T=0;T<u;++T){var w=s[T];try{var F=w.c.length;Tn(h,f,w,w.f,w.u,F);var S=30+w.f.length+sn(w.extra),A=f+S;h.set(w.c,A),Tn(h,o,w,w.f,w.u,F,f,w.m),o+=16+S+(w.m?w.m.length:0),f=A+F}catch(c){return g(c,null)}}cr(h,o,s.length,M,x),g(null,h)};a||z();for(var y=function(h){var x=i[h],M=e[x],T=M[0],w=M[1],F=wn(),S=T.length;F.p(T);var A=fn(x),c=A.length,L=w.comment,D=L&&fn(L),N=D&&D.length,G=sn(w.extra),B=w.level==0?0:8,C=function(O,I){if(O)l(),g(O,null);else{var Z=I.length;s[h]=Fn(w,{size:S,crc:F.d(),c:I,f:A,m:D,u:c!=x.length||D&&L.length!=N,compression:B}),o+=30+c+G+Z,f+=76+2*(c+G)+(N||0)+Z,--a||z()}};if(c>65535&&C(p(11,0,1),null),!B)C(null,T);else if(S<16e4)try{C(null,In(T,w))}catch(O){C(O,null)}else v.push(Rr(T,w,C))},m=0;m<u;++m)y(m);return l}function yt(r,n){n||(n={});var t={},e=[];vr(r,"",t,n);var i=0,a=0;for(var o in t){var f=t[o],u=f[0],s=f[1],v=s.level==0?0:8,l=fn(o),g=l.length,z=s.comment,y=z&&fn(z),m=y&&y.length,h=sn(s.extra);g>65535&&p(11);var x=v?In(u,s):u,M=x.length,T=wn();T.p(u),e.push(Fn(s,{size:u.length,crc:T.d(),c:x,f:l,m:y,u:g!=o.length||y&&z.length!=m,o:i,compression:v})),i+=30+g+h+M,a+=76+2*(g+h)+(m||0)+M}for(var w=new U(a+22),F=i,S=a-i,A=0;A<e.length;++A){var l=e[A];Tn(w,l.o,l,l.f,l.u,l.c.length);var c=30+l.f.length+sn(l.extra);w.set(l.c,l.o+c),Tn(w,i,l,l.f,l.u,l.c.length,l.o,l.m),i+=16+c+(l.m?l.m.length:0)}return cr(w,i,e.length,S,F),w}var nt=function(){function r(){}return r.prototype.push=function(n,t){this.ondata(null,n,t)},r.compression=0,r}(),wt=function(){function r(){var n=this;this.i=new J(function(t,e){n.ondata(null,t,e)})}return r.prototype.push=function(n,t){try{this.i.push(n,t)}catch(e){this.ondata(e,null,t)}},r.compression=8,r}(),mt=function(){function r(n,t){var e=this;t<32e4?this.i=new J(function(i,a){e.ondata(null,i,a)}):(this.i=new or(function(i,a,o){e.ondata(i,a,o)}),this.terminate=this.i.terminate)}return r.prototype.push=function(n,t){this.i.terminate&&(n=X(n,0)),this.i.push(n,t)},r.compression=8,r}(),zt=function(){function r(n){this.onfile=n,this.k=[],this.o={0:nt},this.p=en}return r.prototype.push=function(n,t){var e=this;if(this.onfile||p(5),this.p||p(4),this.c>0){var i=Math.min(this.c,n.length),a=n.subarray(0,i);if(this.c-=i,this.d?this.d.push(a,!this.c):this.k[0].push(a),n=n.subarray(i),n.length)return this.push(n,t)}else{var o=0,f=0,u=void 0,s=void 0;this.p.length?n.length?(s=new U(this.p.length+n.length),s.set(this.p),s.set(n,this.p.length)):s=this.p:s=n;for(var v=s.length,l=this.c,g=l&&this.d,z=function(){var x,M=P(s,f);if(M==67324752){o=1,u=f,y.d=null,y.c=0;var T=Y(s,f+6),w=Y(s,f+8),F=T&2048,S=T&8,A=Y(s,f+26),c=Y(s,f+28);if(v>f+30+A+c){var L=[];y.k.unshift(L),o=2;var D=P(s,f+18),N=P(s,f+22),G=lr(s.subarray(f+30,f+=30+A),!F);D==4294967295?(x=S?[-2]:_r(s,f),D=x[0],N=x[1]):S&&(D=-1),f+=c,y.c=D;var B,C={name:G,compression:w,start:function(){if(C.ondata||p(5),!D)C.ondata(null,en,!0);else{var O=e.o[w];O||C.ondata(p(14,"unknown compression type "+w,1),null,!1),B=D<0?new O(G):new O(G,D,N),B.ondata=function(W,K,H){C.ondata(W,K,H)};for(var I=0,Z=L;I<Z.length;I++){var q=Z[I];B.push(q,!1)}e.k[0]==L&&e.c?e.d=B:B.push(en,!0)}},terminate:function(){B&&B.terminate&&B.terminate()}};D>=0&&(C.size=D,C.originalSize=N),y.onfile(C)}return"break"}else if(l){if(M==134695760)return u=f+=12+(l==-2&&8),o=3,y.c=0,"break";if(M==33639248)return u=f-=4,o=3,y.c=0,"break"}},y=this;f<v-4;++f){var m=z();if(m==="break")break}if(this.p=en,l<0){var h=o?s.subarray(0,u-12-(l==-2&&8)-(P(s,u-16)==134695760&&4)):s.subarray(0,f);g?g.push(h,!!o):this.k[+(o==2)].push(h)}if(o&2)return this.push(s.subarray(f),t);this.p=s.subarray(f)}t&&(this.c&&p(13),this.p=null)},r.prototype.register=function(n){this.o[n.compression]=n},r}(),Jn=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(r){r()};function xt(r,n,t){t||(t=n,n={}),typeof t!="function"&&p(7);var e=[],i=function(){for(var m=0;m<e.length;++m)e[m]()},a={},o=function(m,h){Jn(function(){t(m,h)})};Jn(function(){o=t});for(var f=r.length-22;P(r,f)!=101010256;--f)if(!f||r.length-f>65558)return o(p(13,0,1),null),i;var u=Y(r,f+8);if(u){var s=u,v=P(r,f+16),l=v==4294967295;if(l){if(f=P(r,f-12),P(r,f)!=101075792)return o(p(13,0,1),null),i;s=u=P(r,f+32),v=P(r,f+48)}for(var g=n&&n.filter,z=function(m){var h=br(r,v,l),x=h[0],M=h[1],T=h[2],w=h[3],F=h[4],S=h[5],A=dr(r,S);v=F;var c=function(D,N){D?(i(),o(D,null)):(N&&(a[w]=N),--u||o(null,a))};if(!g||g({name:w,size:M,originalSize:T,compression:x}))if(!x)c(null,X(r,A,A+M));else if(x==8){var L=r.subarray(A,A+M);if(M<32e4)try{c(null,Mn(L,new U(T)))}catch(D){c(D,null)}else e.push(fr(L,{size:T},c))}else c(p(14,"unknown compression type "+x,1),null);else c(null,null)},y=0;y<s;++y)z(y)}else o(null,{});return i}function At(r,n){for(var t={},e=r.length-22;P(r,e)!=101010256;--e)(!e||r.length-e>65558)&&p(13);var i=Y(r,e+8);if(!i)return{};var a=P(r,e+16),o=a==4294967295;o&&(e=P(r,e-12),P(r,e)!=101075792&&p(13),i=P(r,e+32),a=P(r,e+48));for(var f=n&&n.filter,u=0;u<i;++u){var s=br(r,a,o),v=s[0],l=s[1],g=s[2],z=s[3],y=s[4],m=s[5],h=dr(r,m);a=y,(!f||f({name:z,size:l,originalSize:g,compression:v}))&&(v?v==8?t[z]=Mn(r.subarray(h,h+l),new U(g)):p(14,"unknown compression type "+v):t[z]=X(r,h,h+l))}return t}export{$r as AsyncCompress,ft as AsyncDecompress,Nr as AsyncDeflate,Hr as AsyncGunzip,$r as AsyncGzip,or as AsyncInflate,mt as AsyncUnzipInflate,Wr as AsyncUnzlib,ct as AsyncZipDeflate,at as AsyncZlib,$n as Compress,vt as DecodeUTF8,Jr as Decompress,rn as Deflate,ht as EncodeUTF8,et as FlateErrorCode,Hn as Gunzip,$n as Gzip,J as Inflate,zt as Unzip,wt as UnzipInflate,nt as UnzipPassThrough,Wn as Unzlib,pt as Zip,lt as ZipDeflate,Bn as ZipPassThrough,sr as Zlib,qr as compress,qn as compressSync,st as decompress,ut as decompressSync,Rr as deflate,In as deflateSync,Yr as gunzip,Yn as gunzipSync,qr as gzip,qn as gzipSync,fr as inflate,Mn as inflateSync,lr as strFromU8,fn as strToU8,xt as unzip,At as unzipSync,jr as unzlib,jn as unzlibSync,gt as zip,yt as zipSync,ot as zlib,ur as zlibSync};export default null;
|