UNPKG

@loaders.gl/compression

Version:

Decompression and compression plugins for loaders.gl

7 lines 232 kB
(function webpackUniversalModuleDefinition(root, factory) { if (typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if (typeof define === 'function' && define.amd) define([], factory); else if (typeof exports === 'object') exports['loaders'] = factory(); else root['loaders'] = factory();})(globalThis, function () { "use strict";var __exports__=(()=>{var bn=Object.create;var Tl=Object.defineProperty;var nn=Object.getOwnPropertyDescriptor;var mn=Object.getOwnPropertyNames;var pn=Object.getPrototypeOf,jn=Object.prototype.hasOwnProperty;var rn=(f,l,e)=>l in f?Tl(f,l,{enumerable:!0,configurable:!0,writable:!0,value:e}):f[l]=e;var N=(f,l)=>()=>(l||f((l={exports:{}}).exports,l),l.exports),qn=(f,l)=>{for(var e in l)Tl(f,e,{get:l[e],enumerable:!0})},te=(f,l,e,t)=>{if(l&&typeof l=="object"||typeof l=="function")for(let o of mn(l))!jn.call(f,o)&&o!==e&&Tl(f,o,{get:()=>l[o],enumerable:!(t=nn(l,o))||t.enumerable});return f},oe=(f,l,e)=>(te(f,l,"default"),e&&te(e,l,"default")),Rl=(f,l,e)=>(e=f!=null?bn(pn(f)):{},te(l||!f||!f.__esModule?Tl(e,"default",{value:f,enumerable:!0}):e,f)),an=f=>te(Tl({},"__esModule",{value:!0}),f);var tt=(f,l,e)=>(rn(f,typeof l!="symbol"?l+"":l,e),e);var bt=N((Np,ot)=>{ot.exports=globalThis.loaders});var Ef=N(lf=>{"use strict";var Dn=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function Fn(f,l){return Object.prototype.hasOwnProperty.call(f,l)}lf.assign=function(f){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var e=l.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(var t in e)Fn(e,t)&&(f[t]=e[t])}}return f};lf.shrinkBuf=function(f,l){return f.length===l?f:f.subarray?f.subarray(0,l):(f.length=l,f)};var Cn={arraySet:function(f,l,e,t,o){if(l.subarray&&f.subarray){f.set(l.subarray(e,e+t),o);return}for(var b=0;b<t;b++)f[o+b]=l[e+b]},flattenChunks:function(f){var l,e,t,o,b,m;for(t=0,l=0,e=f.length;l<e;l++)t+=f[l].length;for(m=new Uint8Array(t),o=0,l=0,e=f.length;l<e;l++)b=f[l],m.set(b,o),o+=b.length;return m}},Wn={arraySet:function(f,l,e,t,o){for(var b=0;b<t;b++)f[o+b]=l[e+b]},flattenChunks:function(f){return[].concat.apply([],f)}};lf.setTyped=function(f){f?(lf.Buf8=Uint8Array,lf.Buf16=Uint16Array,lf.Buf32=Int32Array,lf.assign(lf,Cn)):(lf.Buf8=Array,lf.Buf16=Array,lf.Buf32=Array,lf.assign(lf,Wn))};lf.setTyped(Dn)});var Zt=N(ul=>{"use strict";var On=Ef(),Un=4,Bt=0,yt=1,Pn=2;function dl(f){for(var l=f.length;--l>=0;)f[l]=0}var Ln=0,At=1,Mn=2,Yn=3,Vn=258,jw=29,Ol=256,Dl=Ol+1+jw,kl=30,rw=19,Kt=2*Dl+1,ll=15,tw=16,Qn=7,qw=256,Dt=16,Ft=17,Ct=18,mw=[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],ae=[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],Nn=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Wt=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Zn=512,Af=new Array((Dl+2)*2);dl(Af);var Kl=new Array(kl*2);dl(Kl);var Fl=new Array(Zn);dl(Fl);var Cl=new Array(Vn-Yn+1);dl(Cl);var aw=new Array(jw);dl(aw);var se=new Array(kl);dl(se);function ow(f,l,e,t,o){this.static_tree=f,this.extra_bits=l,this.extra_base=e,this.elems=t,this.max_length=o,this.has_stree=f&&f.length}var Ot,Ut,Pt;function bw(f,l){this.dyn_tree=f,this.max_code=0,this.stat_desc=l}function Lt(f){return f<256?Fl[f]:Fl[256+(f>>>7)]}function Wl(f,l){f.pending_buf[f.pending++]=l&255,f.pending_buf[f.pending++]=l>>>8&255}function tf(f,l,e){f.bi_valid>tw-e?(f.bi_buf|=l<<f.bi_valid&65535,Wl(f,f.bi_buf),f.bi_buf=l>>tw-f.bi_valid,f.bi_valid+=e-tw):(f.bi_buf|=l<<f.bi_valid&65535,f.bi_valid+=e)}function cf(f,l,e){tf(f,e[l*2],e[l*2+1])}function Mt(f,l){var e=0;do e|=f&1,f>>>=1,e<<=1;while(--l>0);return e>>>1}function Jn(f){f.bi_valid===16?(Wl(f,f.bi_buf),f.bi_buf=0,f.bi_valid=0):f.bi_valid>=8&&(f.pending_buf[f.pending++]=f.bi_buf&255,f.bi_buf>>=8,f.bi_valid-=8)}function Xn(f,l){var e=l.dyn_tree,t=l.max_code,o=l.stat_desc.static_tree,b=l.stat_desc.has_stree,m=l.stat_desc.extra_bits,p=l.stat_desc.extra_base,k=l.stat_desc.max_length,r,s,y,u,d,z,x=0;for(u=0;u<=ll;u++)f.bl_count[u]=0;for(e[f.heap[f.heap_max]*2+1]=0,r=f.heap_max+1;r<Kt;r++)s=f.heap[r],u=e[e[s*2+1]*2+1]+1,u>k&&(u=k,x++),e[s*2+1]=u,!(s>t)&&(f.bl_count[u]++,d=0,s>=p&&(d=m[s-p]),z=e[s*2],f.opt_len+=z*(u+d),b&&(f.static_len+=z*(o[s*2+1]+d)));if(x!==0){do{for(u=k-1;f.bl_count[u]===0;)u--;f.bl_count[u]--,f.bl_count[u+1]+=2,f.bl_count[k]--,x-=2}while(x>0);for(u=k;u!==0;u--)for(s=f.bl_count[u];s!==0;)y=f.heap[--r],!(y>t)&&(e[y*2+1]!==u&&(f.opt_len+=(u-e[y*2+1])*e[y*2],e[y*2+1]=u),s--)}}function Yt(f,l,e){var t=new Array(ll+1),o=0,b,m;for(b=1;b<=ll;b++)t[b]=o=o+e[b-1]<<1;for(m=0;m<=l;m++){var p=f[m*2+1];p!==0&&(f[m*2]=Mt(t[p]++,p))}}function Gn(){var f,l,e,t,o,b=new Array(ll+1);for(e=0,t=0;t<jw-1;t++)for(aw[t]=e,f=0;f<1<<mw[t];f++)Cl[e++]=t;for(Cl[e-1]=t,o=0,t=0;t<16;t++)for(se[t]=o,f=0;f<1<<ae[t];f++)Fl[o++]=t;for(o>>=7;t<kl;t++)for(se[t]=o<<7,f=0;f<1<<ae[t]-7;f++)Fl[256+o++]=t;for(l=0;l<=ll;l++)b[l]=0;for(f=0;f<=143;)Af[f*2+1]=8,f++,b[8]++;for(;f<=255;)Af[f*2+1]=9,f++,b[9]++;for(;f<=279;)Af[f*2+1]=7,f++,b[7]++;for(;f<=287;)Af[f*2+1]=8,f++,b[8]++;for(Yt(Af,Dl+1,b),f=0;f<kl;f++)Kl[f*2+1]=5,Kl[f*2]=Mt(f,5);Ot=new ow(Af,mw,Ol+1,Dl,ll),Ut=new ow(Kl,ae,0,kl,ll),Pt=new ow(new Array(0),Nn,0,rw,Qn)}function Vt(f){var l;for(l=0;l<Dl;l++)f.dyn_ltree[l*2]=0;for(l=0;l<kl;l++)f.dyn_dtree[l*2]=0;for(l=0;l<rw;l++)f.bl_tree[l*2]=0;f.dyn_ltree[qw*2]=1,f.opt_len=f.static_len=0,f.last_lit=f.matches=0}function Qt(f){f.bi_valid>8?Wl(f,f.bi_buf):f.bi_valid>0&&(f.pending_buf[f.pending++]=f.bi_buf),f.bi_buf=0,f.bi_valid=0}function $n(f,l,e,t){Qt(f),t&&(Wl(f,e),Wl(f,~e)),On.arraySet(f.pending_buf,f.window,l,e,f.pending),f.pending+=e}function It(f,l,e,t){var o=l*2,b=e*2;return f[o]<f[b]||f[o]===f[b]&&t[l]<=t[e]}function nw(f,l,e){for(var t=f.heap[e],o=e<<1;o<=f.heap_len&&(o<f.heap_len&&It(l,f.heap[o+1],f.heap[o],f.depth)&&o++,!It(l,t,f.heap[o],f.depth));)f.heap[e]=f.heap[o],e=o,o<<=1;f.heap[e]=t}function Tt(f,l,e){var t,o,b=0,m,p;if(f.last_lit!==0)do t=f.pending_buf[f.d_buf+b*2]<<8|f.pending_buf[f.d_buf+b*2+1],o=f.pending_buf[f.l_buf+b],b++,t===0?cf(f,o,l):(m=Cl[o],cf(f,m+Ol+1,l),p=mw[m],p!==0&&(o-=aw[m],tf(f,o,p)),t--,m=Lt(t),cf(f,m,e),p=ae[m],p!==0&&(t-=se[m],tf(f,t,p)));while(b<f.last_lit);cf(f,qw,l)}function pw(f,l){var e=l.dyn_tree,t=l.stat_desc.static_tree,o=l.stat_desc.has_stree,b=l.stat_desc.elems,m,p,k=-1,r;for(f.heap_len=0,f.heap_max=Kt,m=0;m<b;m++)e[m*2]!==0?(f.heap[++f.heap_len]=k=m,f.depth[m]=0):e[m*2+1]=0;for(;f.heap_len<2;)r=f.heap[++f.heap_len]=k<2?++k:0,e[r*2]=1,f.depth[r]=0,f.opt_len--,o&&(f.static_len-=t[r*2+1]);for(l.max_code=k,m=f.heap_len>>1;m>=1;m--)nw(f,e,m);r=b;do m=f.heap[1],f.heap[1]=f.heap[f.heap_len--],nw(f,e,1),p=f.heap[1],f.heap[--f.heap_max]=m,f.heap[--f.heap_max]=p,e[r*2]=e[m*2]+e[p*2],f.depth[r]=(f.depth[m]>=f.depth[p]?f.depth[m]:f.depth[p])+1,e[m*2+1]=e[p*2+1]=r,f.heap[1]=r++,nw(f,e,1);while(f.heap_len>=2);f.heap[--f.heap_max]=f.heap[1],Xn(f,l),Yt(e,k,f.bl_count)}function Rt(f,l,e){var t,o=-1,b,m=l[0*2+1],p=0,k=7,r=4;for(m===0&&(k=138,r=3),l[(e+1)*2+1]=65535,t=0;t<=e;t++)b=m,m=l[(t+1)*2+1],!(++p<k&&b===m)&&(p<r?f.bl_tree[b*2]+=p:b!==0?(b!==o&&f.bl_tree[b*2]++,f.bl_tree[Dt*2]++):p<=10?f.bl_tree[Ft*2]++:f.bl_tree[Ct*2]++,p=0,o=b,m===0?(k=138,r=3):b===m?(k=6,r=3):(k=7,r=4))}function St(f,l,e){var t,o=-1,b,m=l[0*2+1],p=0,k=7,r=4;for(m===0&&(k=138,r=3),t=0;t<=e;t++)if(b=m,m=l[(t+1)*2+1],!(++p<k&&b===m)){if(p<r)do cf(f,b,f.bl_tree);while(--p!==0);else b!==0?(b!==o&&(cf(f,b,f.bl_tree),p--),cf(f,Dt,f.bl_tree),tf(f,p-3,2)):p<=10?(cf(f,Ft,f.bl_tree),tf(f,p-3,3)):(cf(f,Ct,f.bl_tree),tf(f,p-11,7));p=0,o=b,m===0?(k=138,r=3):b===m?(k=6,r=3):(k=7,r=4)}}function fm(f){var l;for(Rt(f,f.dyn_ltree,f.l_desc.max_code),Rt(f,f.dyn_dtree,f.d_desc.max_code),pw(f,f.bl_desc),l=rw-1;l>=3&&f.bl_tree[Wt[l]*2+1]===0;l--);return f.opt_len+=3*(l+1)+5+5+4,l}function lm(f,l,e,t){var o;for(tf(f,l-257,5),tf(f,e-1,5),tf(f,t-4,4),o=0;o<t;o++)tf(f,f.bl_tree[Wt[o]*2+1],3);St(f,f.dyn_ltree,l-1),St(f,f.dyn_dtree,e-1)}function em(f){var l=4093624447,e;for(e=0;e<=31;e++,l>>>=1)if(l&1&&f.dyn_ltree[e*2]!==0)return Bt;if(f.dyn_ltree[9*2]!==0||f.dyn_ltree[10*2]!==0||f.dyn_ltree[13*2]!==0)return yt;for(e=32;e<Ol;e++)if(f.dyn_ltree[e*2]!==0)return yt;return Bt}var Et=!1;function wm(f){Et||(Gn(),Et=!0),f.l_desc=new bw(f.dyn_ltree,Ot),f.d_desc=new bw(f.dyn_dtree,Ut),f.bl_desc=new bw(f.bl_tree,Pt),f.bi_buf=0,f.bi_valid=0,Vt(f)}function Nt(f,l,e,t){tf(f,(Ln<<1)+(t?1:0),3),$n(f,l,e,!0)}function tm(f){tf(f,At<<1,3),cf(f,qw,Af),Jn(f)}function om(f,l,e,t){var o,b,m=0;f.level>0?(f.strm.data_type===Pn&&(f.strm.data_type=em(f)),pw(f,f.l_desc),pw(f,f.d_desc),m=fm(f),o=f.opt_len+3+7>>>3,b=f.static_len+3+7>>>3,b<=o&&(o=b)):o=b=e+5,e+4<=o&&l!==-1?Nt(f,l,e,t):f.strategy===Un||b===o?(tf(f,(At<<1)+(t?1:0),3),Tt(f,Af,Kl)):(tf(f,(Mn<<1)+(t?1:0),3),lm(f,f.l_desc.max_code+1,f.d_desc.max_code+1,m+1),Tt(f,f.dyn_ltree,f.dyn_dtree)),Vt(f),t&&Qt(f)}function bm(f,l,e){return f.pending_buf[f.d_buf+f.last_lit*2]=l>>>8&255,f.pending_buf[f.d_buf+f.last_lit*2+1]=l&255,f.pending_buf[f.l_buf+f.last_lit]=e&255,f.last_lit++,l===0?f.dyn_ltree[e*2]++:(f.matches++,l--,f.dyn_ltree[(Cl[e]+Ol+1)*2]++,f.dyn_dtree[Lt(l)*2]++),f.last_lit===f.lit_bufsize-1}ul._tr_init=wm;ul._tr_stored_block=Nt;ul._tr_flush_block=om;ul._tr_tally=bm;ul._tr_align=tm});var sw=N((Qr,Jt)=>{"use strict";function nm(f,l,e,t){for(var o=f&65535|0,b=f>>>16&65535|0,m=0;e!==0;){m=e>2e3?2e3:e,e-=m;do o=o+l[t++]|0,b=b+o|0;while(--m);o%=65521,b%=65521}return o|b<<16|0}Jt.exports=nm});var iw=N((Nr,Xt)=>{"use strict";function mm(){for(var f,l=[],e=0;e<256;e++){f=e;for(var t=0;t<8;t++)f=f&1?3988292384^f>>>1:f>>>1;l[e]=f}return l}var pm=mm();function jm(f,l,e,t){var o=pm,b=t+e;f^=-1;for(var m=t;m<b;m++)f=f>>>8^o[(f^l[m])&255];return f^-1}Xt.exports=jm});var ie=N((Zr,Gt)=>{"use strict";Gt.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var no=N(zf=>{"use strict";var ef=Ef(),qf=Zt(),eo=sw(),Lf=iw(),rm=ie(),ol=0,qm=1,am=3,Nf=4,$t=5,Hf=0,fo=1,af=-2,sm=-3,gw=-5,im=-1,gm=1,ge=2,km=3,dm=4,um=0,vm=2,ve=8,hm=9,cm=15,xm=8,Hm=29,zm=256,dw=zm+1+Hm,_m=30,Bm=19,ym=2*dw+1,Im=15,O=3,Vf=258,kf=Vf+O+1,Tm=32,he=42,uw=69,ke=73,de=91,ue=103,el=113,Pl=666,X=1,Ll=2,wl=3,cl=4,Rm=3;function Qf(f,l){return f.msg=rm[l],l}function lo(f){return(f<<1)-(f>4?9:0)}function Yf(f){for(var l=f.length;--l>=0;)f[l]=0}function Mf(f){var l=f.state,e=l.pending;e>f.avail_out&&(e=f.avail_out),e!==0&&(ef.arraySet(f.output,l.pending_buf,l.pending_out,e,f.next_out),f.next_out+=e,l.pending_out+=e,f.total_out+=e,f.avail_out-=e,l.pending-=e,l.pending===0&&(l.pending_out=0))}function $(f,l){qf._tr_flush_block(f,f.block_start>=0?f.block_start:-1,f.strstart-f.block_start,l),f.block_start=f.strstart,Mf(f.strm)}function L(f,l){f.pending_buf[f.pending++]=l}function Ul(f,l){f.pending_buf[f.pending++]=l>>>8&255,f.pending_buf[f.pending++]=l&255}function Sm(f,l,e,t){var o=f.avail_in;return o>t&&(o=t),o===0?0:(f.avail_in-=o,ef.arraySet(l,f.input,f.next_in,o,e),f.state.wrap===1?f.adler=eo(f.adler,l,o,e):f.state.wrap===2&&(f.adler=Lf(f.adler,l,o,e)),f.next_in+=o,f.total_in+=o,o)}function wo(f,l){var e=f.max_chain_length,t=f.strstart,o,b,m=f.prev_length,p=f.nice_match,k=f.strstart>f.w_size-kf?f.strstart-(f.w_size-kf):0,r=f.window,s=f.w_mask,y=f.prev,u=f.strstart+Vf,d=r[t+m-1],z=r[t+m];f.prev_length>=f.good_match&&(e>>=2),p>f.lookahead&&(p=f.lookahead);do if(o=l,!(r[o+m]!==z||r[o+m-1]!==d||r[o]!==r[t]||r[++o]!==r[t+1])){t+=2,o++;do;while(r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&r[++t]===r[++o]&&t<u);if(b=Vf-(u-t),t=u-Vf,b>m){if(f.match_start=l,m=b,b>=p)break;d=r[t+m-1],z=r[t+m]}}while((l=y[l&s])>k&&--e!==0);return m<=f.lookahead?m:f.lookahead}function tl(f){var l=f.w_size,e,t,o,b,m;do{if(b=f.window_size-f.lookahead-f.strstart,f.strstart>=l+(l-kf)){ef.arraySet(f.window,f.window,l,l,0),f.match_start-=l,f.strstart-=l,f.block_start-=l,t=f.hash_size,e=t;do o=f.head[--e],f.head[e]=o>=l?o-l:0;while(--t);t=l,e=t;do o=f.prev[--e],f.prev[e]=o>=l?o-l:0;while(--t);b+=l}if(f.strm.avail_in===0)break;if(t=Sm(f.strm,f.window,f.strstart+f.lookahead,b),f.lookahead+=t,f.lookahead+f.insert>=O)for(m=f.strstart-f.insert,f.ins_h=f.window[m],f.ins_h=(f.ins_h<<f.hash_shift^f.window[m+1])&f.hash_mask;f.insert&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[m+O-1])&f.hash_mask,f.prev[m&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=m,m++,f.insert--,!(f.lookahead+f.insert<O)););}while(f.lookahead<kf&&f.strm.avail_in!==0)}function Em(f,l){var e=65535;for(e>f.pending_buf_size-5&&(e=f.pending_buf_size-5);;){if(f.lookahead<=1){if(tl(f),f.lookahead===0&&l===ol)return X;if(f.lookahead===0)break}f.strstart+=f.lookahead,f.lookahead=0;var t=f.block_start+e;if((f.strstart===0||f.strstart>=t)&&(f.lookahead=f.strstart-t,f.strstart=t,$(f,!1),f.strm.avail_out===0)||f.strstart-f.block_start>=f.w_size-kf&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=0,l===Nf?($(f,!0),f.strm.avail_out===0?wl:cl):(f.strstart>f.block_start&&($(f,!1),f.strm.avail_out===0),X)}function kw(f,l){for(var e,t;;){if(f.lookahead<kf){if(tl(f),f.lookahead<kf&&l===ol)return X;if(f.lookahead===0)break}if(e=0,f.lookahead>=O&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),e!==0&&f.strstart-e<=f.w_size-kf&&(f.match_length=wo(f,e)),f.match_length>=O)if(t=qf._tr_tally(f,f.strstart-f.match_start,f.match_length-O),f.lookahead-=f.match_length,f.match_length<=f.max_lazy_match&&f.lookahead>=O){f.match_length--;do f.strstart++,f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart;while(--f.match_length!==0);f.strstart++}else f.strstart+=f.match_length,f.match_length=0,f.ins_h=f.window[f.strstart],f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+1])&f.hash_mask;else t=qf._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++;if(t&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=f.strstart<O-1?f.strstart:O-1,l===Nf?($(f,!0),f.strm.avail_out===0?wl:cl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function vl(f,l){for(var e,t,o;;){if(f.lookahead<kf){if(tl(f),f.lookahead<kf&&l===ol)return X;if(f.lookahead===0)break}if(e=0,f.lookahead>=O&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart),f.prev_length=f.match_length,f.prev_match=f.match_start,f.match_length=O-1,e!==0&&f.prev_length<f.max_lazy_match&&f.strstart-e<=f.w_size-kf&&(f.match_length=wo(f,e),f.match_length<=5&&(f.strategy===gm||f.match_length===O&&f.strstart-f.match_start>4096)&&(f.match_length=O-1)),f.prev_length>=O&&f.match_length<=f.prev_length){o=f.strstart+f.lookahead-O,t=qf._tr_tally(f,f.strstart-1-f.prev_match,f.prev_length-O),f.lookahead-=f.prev_length-1,f.prev_length-=2;do++f.strstart<=o&&(f.ins_h=(f.ins_h<<f.hash_shift^f.window[f.strstart+O-1])&f.hash_mask,e=f.prev[f.strstart&f.w_mask]=f.head[f.ins_h],f.head[f.ins_h]=f.strstart);while(--f.prev_length!==0);if(f.match_available=0,f.match_length=O-1,f.strstart++,t&&($(f,!1),f.strm.avail_out===0))return X}else if(f.match_available){if(t=qf._tr_tally(f,0,f.window[f.strstart-1]),t&&$(f,!1),f.strstart++,f.lookahead--,f.strm.avail_out===0)return X}else f.match_available=1,f.strstart++,f.lookahead--}return f.match_available&&(t=qf._tr_tally(f,0,f.window[f.strstart-1]),f.match_available=0),f.insert=f.strstart<O-1?f.strstart:O-1,l===Nf?($(f,!0),f.strm.avail_out===0?wl:cl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function Am(f,l){for(var e,t,o,b,m=f.window;;){if(f.lookahead<=Vf){if(tl(f),f.lookahead<=Vf&&l===ol)return X;if(f.lookahead===0)break}if(f.match_length=0,f.lookahead>=O&&f.strstart>0&&(o=f.strstart-1,t=m[o],t===m[++o]&&t===m[++o]&&t===m[++o])){b=f.strstart+Vf;do;while(t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&t===m[++o]&&o<b);f.match_length=Vf-(b-o),f.match_length>f.lookahead&&(f.match_length=f.lookahead)}if(f.match_length>=O?(e=qf._tr_tally(f,1,f.match_length-O),f.lookahead-=f.match_length,f.strstart+=f.match_length,f.match_length=0):(e=qf._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++),e&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=0,l===Nf?($(f,!0),f.strm.avail_out===0?wl:cl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function Km(f,l){for(var e;;){if(f.lookahead===0&&(tl(f),f.lookahead===0)){if(l===ol)return X;break}if(f.match_length=0,e=qf._tr_tally(f,0,f.window[f.strstart]),f.lookahead--,f.strstart++,e&&($(f,!1),f.strm.avail_out===0))return X}return f.insert=0,l===Nf?($(f,!0),f.strm.avail_out===0?wl:cl):f.last_lit&&($(f,!1),f.strm.avail_out===0)?X:Ll}function xf(f,l,e,t,o){this.good_length=f,this.max_lazy=l,this.nice_length=e,this.max_chain=t,this.func=o}var hl;hl=[new xf(0,0,0,0,Em),new xf(4,4,8,4,kw),new xf(4,5,16,8,kw),new xf(4,6,32,32,kw),new xf(4,4,16,16,vl),new xf(8,16,32,32,vl),new xf(8,16,128,128,vl),new xf(8,32,128,256,vl),new xf(32,128,258,1024,vl),new xf(32,258,258,4096,vl)];function Dm(f){f.window_size=2*f.w_size,Yf(f.head),f.max_lazy_match=hl[f.level].max_lazy,f.good_match=hl[f.level].good_length,f.nice_match=hl[f.level].nice_length,f.max_chain_length=hl[f.level].max_chain,f.strstart=0,f.block_start=0,f.lookahead=0,f.insert=0,f.match_length=f.prev_length=O-1,f.match_available=0,f.ins_h=0}function Fm(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ve,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new ef.Buf16(ym*2),this.dyn_dtree=new ef.Buf16((2*_m+1)*2),this.bl_tree=new ef.Buf16((2*Bm+1)*2),Yf(this.dyn_ltree),Yf(this.dyn_dtree),Yf(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new ef.Buf16(Im+1),this.heap=new ef.Buf16(2*dw+1),Yf(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new ef.Buf16(2*dw+1),Yf(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function to(f){var l;return!f||!f.state?Qf(f,af):(f.total_in=f.total_out=0,f.data_type=vm,l=f.state,l.pending=0,l.pending_out=0,l.wrap<0&&(l.wrap=-l.wrap),l.status=l.wrap?he:el,f.adler=l.wrap===2?0:1,l.last_flush=ol,qf._tr_init(l),Hf)}function oo(f){var l=to(f);return l===Hf&&Dm(f.state),l}function Cm(f,l){return!f||!f.state||f.state.wrap!==2?af:(f.state.gzhead=l,Hf)}function bo(f,l,e,t,o,b){if(!f)return af;var m=1;if(l===im&&(l=6),t<0?(m=0,t=-t):t>15&&(m=2,t-=16),o<1||o>hm||e!==ve||t<8||t>15||l<0||l>9||b<0||b>dm)return Qf(f,af);t===8&&(t=9);var p=new Fm;return f.state=p,p.strm=f,p.wrap=m,p.gzhead=null,p.w_bits=t,p.w_size=1<<p.w_bits,p.w_mask=p.w_size-1,p.hash_bits=o+7,p.hash_size=1<<p.hash_bits,p.hash_mask=p.hash_size-1,p.hash_shift=~~((p.hash_bits+O-1)/O),p.window=new ef.Buf8(p.w_size*2),p.head=new ef.Buf16(p.hash_size),p.prev=new ef.Buf16(p.w_size),p.lit_bufsize=1<<o+6,p.pending_buf_size=p.lit_bufsize*4,p.pending_buf=new ef.Buf8(p.pending_buf_size),p.d_buf=1*p.lit_bufsize,p.l_buf=(1+2)*p.lit_bufsize,p.level=l,p.strategy=b,p.method=e,oo(f)}function Wm(f,l){return bo(f,l,ve,cm,xm,um)}function Om(f,l){var e,t,o,b;if(!f||!f.state||l>$t||l<0)return f?Qf(f,af):af;if(t=f.state,!f.output||!f.input&&f.avail_in!==0||t.status===Pl&&l!==Nf)return Qf(f,f.avail_out===0?gw:af);if(t.strm=f,e=t.last_flush,t.last_flush=l,t.status===he)if(t.wrap===2)f.adler=0,L(t,31),L(t,139),L(t,8),t.gzhead?(L(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),L(t,t.gzhead.time&255),L(t,t.gzhead.time>>8&255),L(t,t.gzhead.time>>16&255),L(t,t.gzhead.time>>24&255),L(t,t.level===9?2:t.strategy>=ge||t.level<2?4:0),L(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(L(t,t.gzhead.extra.length&255),L(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(f.adler=Lf(f.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=uw):(L(t,0),L(t,0),L(t,0),L(t,0),L(t,0),L(t,t.level===9?2:t.strategy>=ge||t.level<2?4:0),L(t,Rm),t.status=el);else{var m=ve+(t.w_bits-8<<4)<<8,p=-1;t.strategy>=ge||t.level<2?p=0:t.level<6?p=1:t.level===6?p=2:p=3,m|=p<<6,t.strstart!==0&&(m|=Tm),m+=31-m%31,t.status=el,Ul(t,m),t.strstart!==0&&(Ul(t,f.adler>>>16),Ul(t,f.adler&65535)),f.adler=1}if(t.status===uw)if(t.gzhead.extra){for(o=t.pending;t.gzindex<(t.gzhead.extra.length&65535)&&!(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),Mf(f),o=t.pending,t.pending===t.pending_buf_size));)L(t,t.gzhead.extra[t.gzindex]&255),t.gzindex++;t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),t.gzindex===t.gzhead.extra.length&&(t.gzindex=0,t.status=ke)}else t.status=ke;if(t.status===ke)if(t.gzhead.name){o=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),Mf(f),o=t.pending,t.pending===t.pending_buf_size)){b=1;break}t.gzindex<t.gzhead.name.length?b=t.gzhead.name.charCodeAt(t.gzindex++)&255:b=0,L(t,b)}while(b!==0);t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),b===0&&(t.gzindex=0,t.status=de)}else t.status=de;if(t.status===de)if(t.gzhead.comment){o=t.pending;do{if(t.pending===t.pending_buf_size&&(t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),Mf(f),o=t.pending,t.pending===t.pending_buf_size)){b=1;break}t.gzindex<t.gzhead.comment.length?b=t.gzhead.comment.charCodeAt(t.gzindex++)&255:b=0,L(t,b)}while(b!==0);t.gzhead.hcrc&&t.pending>o&&(f.adler=Lf(f.adler,t.pending_buf,t.pending-o,o)),b===0&&(t.status=ue)}else t.status=ue;if(t.status===ue&&(t.gzhead.hcrc?(t.pending+2>t.pending_buf_size&&Mf(f),t.pending+2<=t.pending_buf_size&&(L(t,f.adler&255),L(t,f.adler>>8&255),f.adler=0,t.status=el)):t.status=el),t.pending!==0){if(Mf(f),f.avail_out===0)return t.last_flush=-1,Hf}else if(f.avail_in===0&&lo(l)<=lo(e)&&l!==Nf)return Qf(f,gw);if(t.status===Pl&&f.avail_in!==0)return Qf(f,gw);if(f.avail_in!==0||t.lookahead!==0||l!==ol&&t.status!==Pl){var k=t.strategy===ge?Km(t,l):t.strategy===km?Am(t,l):hl[t.level].func(t,l);if((k===wl||k===cl)&&(t.status=Pl),k===X||k===wl)return f.avail_out===0&&(t.last_flush=-1),Hf;if(k===Ll&&(l===qm?qf._tr_align(t):l!==$t&&(qf._tr_stored_block(t,0,0,!1),l===am&&(Yf(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),Mf(f),f.avail_out===0))return t.last_flush=-1,Hf}return l!==Nf?Hf:t.wrap<=0?fo:(t.wrap===2?(L(t,f.adler&255),L(t,f.adler>>8&255),L(t,f.adler>>16&255),L(t,f.adler>>24&255),L(t,f.total_in&255),L(t,f.total_in>>8&255),L(t,f.total_in>>16&255),L(t,f.total_in>>24&255)):(Ul(t,f.adler>>>16),Ul(t,f.adler&65535)),Mf(f),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?Hf:fo)}function Um(f){var l;return!f||!f.state?af:(l=f.state.status,l!==he&&l!==uw&&l!==ke&&l!==de&&l!==ue&&l!==el&&l!==Pl?Qf(f,af):(f.state=null,l===el?Qf(f,sm):Hf))}function Pm(f,l){var e=l.length,t,o,b,m,p,k,r,s;if(!f||!f.state||(t=f.state,m=t.wrap,m===2||m===1&&t.status!==he||t.lookahead))return af;for(m===1&&(f.adler=eo(f.adler,l,e,0)),t.wrap=0,e>=t.w_size&&(m===0&&(Yf(t.head),t.strstart=0,t.block_start=0,t.insert=0),s=new ef.Buf8(t.w_size),ef.arraySet(s,l,e-t.w_size,t.w_size,0),l=s,e=t.w_size),p=f.avail_in,k=f.next_in,r=f.input,f.avail_in=e,f.next_in=0,f.input=l,tl(t);t.lookahead>=O;){o=t.strstart,b=t.lookahead-(O-1);do t.ins_h=(t.ins_h<<t.hash_shift^t.window[o+O-1])&t.hash_mask,t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++;while(--b);t.strstart=o,t.lookahead=O-1,tl(t)}return t.strstart+=t.lookahead,t.block_start=t.strstart,t.insert=t.lookahead,t.lookahead=0,t.match_length=t.prev_length=O-1,t.match_available=0,f.next_in=k,f.input=r,f.avail_in=p,t.wrap=m,Hf}zf.deflateInit=Wm;zf.deflateInit2=bo;zf.deflateReset=oo;zf.deflateResetKeep=to;zf.deflateSetHeader=Cm;zf.deflate=Om;zf.deflateEnd=Um;zf.deflateSetDictionary=Pm;zf.deflateInfo="pako deflate (from Nodeca project)"});var vw=N(xl=>{"use strict";var ce=Ef(),mo=!0,po=!0;try{String.fromCharCode.apply(null,[0])}catch{mo=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{po=!1}var Ml=new ce.Buf8(256);for(Kf=0;Kf<256;Kf++)Ml[Kf]=Kf>=252?6:Kf>=248?5:Kf>=240?4:Kf>=224?3:Kf>=192?2:1;var Kf;Ml[254]=Ml[254]=1;xl.string2buf=function(f){var l,e,t,o,b,m=f.length,p=0;for(o=0;o<m;o++)e=f.charCodeAt(o),(e&64512)===55296&&o+1<m&&(t=f.charCodeAt(o+1),(t&64512)===56320&&(e=65536+(e-55296<<10)+(t-56320),o++)),p+=e<128?1:e<2048?2:e<65536?3:4;for(l=new ce.Buf8(p),b=0,o=0;b<p;o++)e=f.charCodeAt(o),(e&64512)===55296&&o+1<m&&(t=f.charCodeAt(o+1),(t&64512)===56320&&(e=65536+(e-55296<<10)+(t-56320),o++)),e<128?l[b++]=e:e<2048?(l[b++]=192|e>>>6,l[b++]=128|e&63):e<65536?(l[b++]=224|e>>>12,l[b++]=128|e>>>6&63,l[b++]=128|e&63):(l[b++]=240|e>>>18,l[b++]=128|e>>>12&63,l[b++]=128|e>>>6&63,l[b++]=128|e&63);return l};function jo(f,l){if(l<65534&&(f.subarray&&po||!f.subarray&&mo))return String.fromCharCode.apply(null,ce.shrinkBuf(f,l));for(var e="",t=0;t<l;t++)e+=String.fromCharCode(f[t]);return e}xl.buf2binstring=function(f){return jo(f,f.length)};xl.binstring2buf=function(f){for(var l=new ce.Buf8(f.length),e=0,t=l.length;e<t;e++)l[e]=f.charCodeAt(e);return l};xl.buf2string=function(f,l){var e,t,o,b,m=l||f.length,p=new Array(m*2);for(t=0,e=0;e<m;){if(o=f[e++],o<128){p[t++]=o;continue}if(b=Ml[o],b>4){p[t++]=65533,e+=b-1;continue}for(o&=b===2?31:b===3?15:7;b>1&&e<m;)o=o<<6|f[e++]&63,b--;if(b>1){p[t++]=65533;continue}o<65536?p[t++]=o:(o-=65536,p[t++]=55296|o>>10&1023,p[t++]=56320|o&1023)}return jo(p,t)};xl.utf8border=function(f,l){var e;for(l=l||f.length,l>f.length&&(l=f.length),e=l-1;e>=0&&(f[e]&192)===128;)e--;return e<0||e===0?l:e+Ml[f[e]]>l?e:l}});var hw=N((Gr,ro)=>{"use strict";function Lm(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}ro.exports=Lm});var io=N(Ql=>{"use strict";var Yl=no(),Vl=Ef(),xw=vw(),Hw=ie(),Mm=hw(),so=Object.prototype.toString,Ym=0,cw=4,Hl=0,qo=1,ao=2,Vm=-1,Qm=0,Nm=8;function bl(f){if(!(this instanceof bl))return new bl(f);this.options=Vl.assign({level:Vm,method:Nm,chunkSize:16384,windowBits:15,memLevel:8,strategy:Qm,to:""},f||{});var l=this.options;l.raw&&l.windowBits>0?l.windowBits=-l.windowBits:l.gzip&&l.windowBits>0&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Mm,this.strm.avail_out=0;var e=Yl.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(e!==Hl)throw new Error(Hw[e]);if(l.header&&Yl.deflateSetHeader(this.strm,l.header),l.dictionary){var t;if(typeof l.dictionary=="string"?t=xw.string2buf(l.dictionary):so.call(l.dictionary)==="[object ArrayBuffer]"?t=new Uint8Array(l.dictionary):t=l.dictionary,e=Yl.deflateSetDictionary(this.strm,t),e!==Hl)throw new Error(Hw[e]);this._dict_set=!0}}bl.prototype.push=function(f,l){var e=this.strm,t=this.options.chunkSize,o,b;if(this.ended)return!1;b=l===~~l?l:l===!0?cw:Ym,typeof f=="string"?e.input=xw.string2buf(f):so.call(f)==="[object ArrayBuffer]"?e.input=new Uint8Array(f):e.input=f,e.next_in=0,e.avail_in=e.input.length;do{if(e.avail_out===0&&(e.output=new Vl.Buf8(t),e.next_out=0,e.avail_out=t),o=Yl.deflate(e,b),o!==qo&&o!==Hl)return this.onEnd(o),this.ended=!0,!1;(e.avail_out===0||e.avail_in===0&&(b===cw||b===ao))&&(this.options.to==="string"?this.onData(xw.buf2binstring(Vl.shrinkBuf(e.output,e.next_out))):this.onData(Vl.shrinkBuf(e.output,e.next_out)))}while((e.avail_in>0||e.avail_out===0)&&o!==qo);return b===cw?(o=Yl.deflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===Hl):(b===ao&&(this.onEnd(Hl),e.avail_out=0),!0)};bl.prototype.onData=function(f){this.chunks.push(f)};bl.prototype.onEnd=function(f){f===Hl&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Vl.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg};function zw(f,l){var e=new bl(l);if(e.push(f,!0),e.err)throw e.msg||Hw[e.err];return e.result}function Zm(f,l){return l=l||{},l.raw=!0,zw(f,l)}function Jm(f,l){return l=l||{},l.gzip=!0,zw(f,l)}Ql.Deflate=bl;Ql.deflate=zw;Ql.deflateRaw=Zm;Ql.gzip=Jm});var ko=N((fq,go)=>{"use strict";var xe=30,Xm=12;go.exports=function(l,e){var t,o,b,m,p,k,r,s,y,u,d,z,x,S,I,U,P,T,h,W,R,B,D,Q,E;t=l.state,o=l.next_in,Q=l.input,b=o+(l.avail_in-5),m=l.next_out,E=l.output,p=m-(e-l.avail_out),k=m+(l.avail_out-257),r=t.dmax,s=t.wsize,y=t.whave,u=t.wnext,d=t.window,z=t.hold,x=t.bits,S=t.lencode,I=t.distcode,U=(1<<t.lenbits)-1,P=(1<<t.distbits)-1;f:do{x<15&&(z+=Q[o++]<<x,x+=8,z+=Q[o++]<<x,x+=8),T=S[z&U];l:for(;;){if(h=T>>>24,z>>>=h,x-=h,h=T>>>16&255,h===0)E[m++]=T&65535;else if(h&16){W=T&65535,h&=15,h&&(x<h&&(z+=Q[o++]<<x,x+=8),W+=z&(1<<h)-1,z>>>=h,x-=h),x<15&&(z+=Q[o++]<<x,x+=8,z+=Q[o++]<<x,x+=8),T=I[z&P];e:for(;;){if(h=T>>>24,z>>>=h,x-=h,h=T>>>16&255,h&16){if(R=T&65535,h&=15,x<h&&(z+=Q[o++]<<x,x+=8,x<h&&(z+=Q[o++]<<x,x+=8)),R+=z&(1<<h)-1,R>r){l.msg="invalid distance too far back",t.mode=xe;break f}if(z>>>=h,x-=h,h=m-p,R>h){if(h=R-h,h>y&&t.sane){l.msg="invalid distance too far back",t.mode=xe;break f}if(B=0,D=d,u===0){if(B+=s-h,h<W){W-=h;do E[m++]=d[B++];while(--h);B=m-R,D=E}}else if(u<h){if(B+=s+u-h,h-=u,h<W){W-=h;do E[m++]=d[B++];while(--h);if(B=0,u<W){h=u,W-=h;do E[m++]=d[B++];while(--h);B=m-R,D=E}}}else if(B+=u-h,h<W){W-=h;do E[m++]=d[B++];while(--h);B=m-R,D=E}for(;W>2;)E[m++]=D[B++],E[m++]=D[B++],E[m++]=D[B++],W-=3;W&&(E[m++]=D[B++],W>1&&(E[m++]=D[B++]))}else{B=m-R;do E[m++]=E[B++],E[m++]=E[B++],E[m++]=E[B++],W-=3;while(W>2);W&&(E[m++]=E[B++],W>1&&(E[m++]=E[B++]))}}else if(h&64){l.msg="invalid distance code",t.mode=xe;break f}else{T=I[(T&65535)+(z&(1<<h)-1)];continue e}break}}else if(h&64)if(h&32){t.mode=Xm;break f}else{l.msg="invalid literal/length code",t.mode=xe;break f}else{T=S[(T&65535)+(z&(1<<h)-1)];continue l}break}}while(o<b&&m<k);W=x>>3,o-=W,x-=W<<3,z&=(1<<x)-1,l.next_in=o,l.next_out=m,l.avail_in=o<b?5+(b-o):5-(o-b),l.avail_out=m<k?257+(k-m):257-(m-k),t.hold=z,t.bits=x}});var zo=N((lq,Ho)=>{"use strict";var uo=Ef(),zl=15,vo=852,ho=592,co=0,_w=1,xo=2,Gm=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],$m=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],fp=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],lp=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];Ho.exports=function(l,e,t,o,b,m,p,k){var r=k.bits,s=0,y=0,u=0,d=0,z=0,x=0,S=0,I=0,U=0,P=0,T,h,W,R,B,D=null,Q=0,E,of=new uo.Buf16(zl+1),jl=new uo.Buf16(zl+1),rl=null,Zf=0,yl,Cf,Jf;for(s=0;s<=zl;s++)of[s]=0;for(y=0;y<o;y++)of[e[t+y]]++;for(z=r,d=zl;d>=1&&of[d]===0;d--);if(z>d&&(z=d),d===0)return b[m++]=1<<24|64<<16|0,b[m++]=1<<24|64<<16|0,k.bits=1,0;for(u=1;u<d&&of[u]===0;u++);for(z<u&&(z=u),I=1,s=1;s<=zl;s++)if(I<<=1,I-=of[s],I<0)return-1;if(I>0&&(l===co||d!==1))return-1;for(jl[1]=0,s=1;s<zl;s++)jl[s+1]=jl[s]+of[s];for(y=0;y<o;y++)e[t+y]!==0&&(p[jl[e[t+y]]++]=y);if(l===co?(D=rl=p,E=19):l===_w?(D=Gm,Q-=257,rl=$m,Zf-=257,E=256):(D=fp,rl=lp,E=-1),P=0,y=0,s=u,B=m,x=z,S=0,W=-1,U=1<<z,R=U-1,l===_w&&U>vo||l===xo&&U>ho)return 1;for(;;){yl=s-S,p[y]<E?(Cf=0,Jf=p[y]):p[y]>E?(Cf=rl[Zf+p[y]],Jf=D[Q+p[y]]):(Cf=32+64,Jf=0),T=1<<s-S,h=1<<x,u=h;do h-=T,b[B+(P>>S)+h]=yl<<24|Cf<<16|Jf|0;while(h!==0);for(T=1<<s-1;P&T;)T>>=1;if(T!==0?(P&=T-1,P+=T):P=0,y++,--of[s]===0){if(s===d)break;s=e[t+p[y]]}if(s>z&&(P&R)!==W){for(S===0&&(S=z),B+=u,x=s-S,I=1<<x;x+S<d&&(I-=of[x+S],!(I<=0));)x++,I<<=1;if(U+=1<<x,l===_w&&U>vo||l===xo&&U>ho)return 1;W=P&R,b[W]=z<<24|x<<16|B-m|0}}return P!==0&&(b[B+P]=s-S<<24|64<<16|0),k.bits=z,0}});var bb=N(df=>{"use strict";var pf=Ef(),Sw=sw(),_f=iw(),ep=ko(),Nl=zo(),wp=0,Xo=1,Go=2,_o=4,tp=5,He=6,nl=0,op=1,bp=2,sf=-2,$o=-3,Ew=-4,np=-5,Bo=8,fb=1,yo=2,Io=3,To=4,Ro=5,So=6,Eo=7,Ao=8,Ko=9,Do=10,Be=11,Df=12,Bw=13,Fo=14,yw=15,Co=16,Wo=17,Oo=18,Uo=19,ze=20,_e=21,Po=22,Lo=23,Mo=24,Yo=25,Vo=26,Iw=27,Qo=28,No=29,V=30,Aw=31,mp=32,pp=852,jp=592,rp=15,qp=rp;function Zo(f){return(f>>>24&255)+(f>>>8&65280)+((f&65280)<<8)+((f&255)<<24)}function ap(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new pf.Buf16(320),this.work=new pf.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function lb(f){var l;return!f||!f.state?sf:(l=f.state,f.total_in=f.total_out=l.total=0,f.msg="",l.wrap&&(f.adler=l.wrap&1),l.mode=fb,l.last=0,l.havedict=0,l.dmax=32768,l.head=null,l.hold=0,l.bits=0,l.lencode=l.lendyn=new pf.Buf32(pp),l.distcode=l.distdyn=new pf.Buf32(jp),l.sane=1,l.back=-1,nl)}function eb(f){var l;return!f||!f.state?sf:(l=f.state,l.wsize=0,l.whave=0,l.wnext=0,lb(f))}function wb(f,l){var e,t;return!f||!f.state||(t=f.state,l<0?(e=0,l=-l):(e=(l>>4)+1,l<48&&(l&=15)),l&&(l<8||l>15))?sf:(t.window!==null&&t.wbits!==l&&(t.window=null),t.wrap=e,t.wbits=l,eb(f))}function tb(f,l){var e,t;return f?(t=new ap,f.state=t,t.window=null,e=wb(f,l),e!==nl&&(f.state=null),e):sf}function sp(f){return tb(f,qp)}var Jo=!0,Tw,Rw;function ip(f){if(Jo){var l;for(Tw=new pf.Buf32(512),Rw=new pf.Buf32(32),l=0;l<144;)f.lens[l++]=8;for(;l<256;)f.lens[l++]=9;for(;l<280;)f.lens[l++]=7;for(;l<288;)f.lens[l++]=8;for(Nl(Xo,f.lens,0,288,Tw,0,f.work,{bits:9}),l=0;l<32;)f.lens[l++]=5;Nl(Go,f.lens,0,32,Rw,0,f.work,{bits:5}),Jo=!1}f.lencode=Tw,f.lenbits=9,f.distcode=Rw,f.distbits=5}function ob(f,l,e,t){var o,b=f.state;return b.window===null&&(b.wsize=1<<b.wbits,b.wnext=0,b.whave=0,b.window=new pf.Buf8(b.wsize)),t>=b.wsize?(pf.arraySet(b.window,l,e-b.wsize,b.wsize,0),b.wnext=0,b.whave=b.wsize):(o=b.wsize-b.wnext,o>t&&(o=t),pf.arraySet(b.window,l,e-t,o,b.wnext),t-=o,t?(pf.arraySet(b.window,l,e-t,t,0),b.wnext=t,b.whave=b.wsize):(b.wnext+=o,b.wnext===b.wsize&&(b.wnext=0),b.whave<b.wsize&&(b.whave+=o))),0}function gp(f,l){var e,t,o,b,m,p,k,r,s,y,u,d,z,x,S=0,I,U,P,T,h,W,R,B,D=new pf.Buf8(4),Q,E,of=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!f||!f.state||!f.output||!f.input&&f.avail_in!==0)return sf;e=f.state,e.mode===Df&&(e.mode=Bw),m=f.next_out,o=f.output,k=f.avail_out,b=f.next_in,t=f.input,p=f.avail_in,r=e.hold,s=e.bits,y=p,u=k,B=nl;f:for(;;)switch(e.mode){case fb:if(e.wrap===0){e.mode=Bw;break}for(;s<16;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(e.wrap&2&&r===35615){e.check=0,D[0]=r&255,D[1]=r>>>8&255,e.check=_f(e.check,D,2,0),r=0,s=0,e.mode=yo;break}if(e.flags=0,e.head&&(e.head.done=!1),!(e.wrap&1)||(((r&255)<<8)+(r>>8))%31){f.msg="incorrect header check",e.mode=V;break}if((r&15)!==Bo){f.msg="unknown compression method",e.mode=V;break}if(r>>>=4,s-=4,R=(r&15)+8,e.wbits===0)e.wbits=R;else if(R>e.wbits){f.msg="invalid window size",e.mode=V;break}e.dmax=1<<R,f.adler=e.check=1,e.mode=r&512?Do:Df,r=0,s=0;break;case yo:for(;s<16;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(e.flags=r,(e.flags&255)!==Bo){f.msg="unknown compression method",e.mode=V;break}if(e.flags&57344){f.msg="unknown header flags set",e.mode=V;break}e.head&&(e.head.text=r>>8&1),e.flags&512&&(D[0]=r&255,D[1]=r>>>8&255,e.check=_f(e.check,D,2,0)),r=0,s=0,e.mode=Io;case Io:for(;s<32;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}e.head&&(e.head.time=r),e.flags&512&&(D[0]=r&255,D[1]=r>>>8&255,D[2]=r>>>16&255,D[3]=r>>>24&255,e.check=_f(e.check,D,4,0)),r=0,s=0,e.mode=To;case To:for(;s<16;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}e.head&&(e.head.xflags=r&255,e.head.os=r>>8),e.flags&512&&(D[0]=r&255,D[1]=r>>>8&255,e.check=_f(e.check,D,2,0)),r=0,s=0,e.mode=Ro;case Ro:if(e.flags&1024){for(;s<16;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}e.length=r,e.head&&(e.head.extra_len=r),e.flags&512&&(D[0]=r&255,D[1]=r>>>8&255,e.check=_f(e.check,D,2,0)),r=0,s=0}else e.head&&(e.head.extra=null);e.mode=So;case So:if(e.flags&1024&&(d=e.length,d>p&&(d=p),d&&(e.head&&(R=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),pf.arraySet(e.head.extra,t,b,d,R)),e.flags&512&&(e.check=_f(e.check,t,d,b)),p-=d,b+=d,e.length-=d),e.length))break f;e.length=0,e.mode=Eo;case Eo:if(e.flags&2048){if(p===0)break f;d=0;do R=t[b+d++],e.head&&R&&e.length<65536&&(e.head.name+=String.fromCharCode(R));while(R&&d<p);if(e.flags&512&&(e.check=_f(e.check,t,d,b)),p-=d,b+=d,R)break f}else e.head&&(e.head.name=null);e.length=0,e.mode=Ao;case Ao:if(e.flags&4096){if(p===0)break f;d=0;do R=t[b+d++],e.head&&R&&e.length<65536&&(e.head.comment+=String.fromCharCode(R));while(R&&d<p);if(e.flags&512&&(e.check=_f(e.check,t,d,b)),p-=d,b+=d,R)break f}else e.head&&(e.head.comment=null);e.mode=Ko;case Ko:if(e.flags&512){for(;s<16;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(r!==(e.check&65535)){f.msg="header crc mismatch",e.mode=V;break}r=0,s=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),f.adler=e.check=0,e.mode=Df;break;case Do:for(;s<32;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}f.adler=e.check=Zo(r),r=0,s=0,e.mode=Be;case Be:if(e.havedict===0)return f.next_out=m,f.avail_out=k,f.next_in=b,f.avail_in=p,e.hold=r,e.bits=s,bp;f.adler=e.check=1,e.mode=Df;case Df:if(l===tp||l===He)break f;case Bw:if(e.last){r>>>=s&7,s-=s&7,e.mode=Iw;break}for(;s<3;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}switch(e.last=r&1,r>>>=1,s-=1,r&3){case 0:e.mode=Fo;break;case 1:if(ip(e),e.mode=ze,l===He){r>>>=2,s-=2;break f}break;case 2:e.mode=Wo;break;case 3:f.msg="invalid block type",e.mode=V}r>>>=2,s-=2;break;case Fo:for(r>>>=s&7,s-=s&7;s<32;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if((r&65535)!==(r>>>16^65535)){f.msg="invalid stored block lengths",e.mode=V;break}if(e.length=r&65535,r=0,s=0,e.mode=yw,l===He)break f;case yw:e.mode=Co;case Co:if(d=e.length,d){if(d>p&&(d=p),d>k&&(d=k),d===0)break f;pf.arraySet(o,t,b,d,m),p-=d,b+=d,k-=d,m+=d,e.length-=d;break}e.mode=Df;break;case Wo:for(;s<14;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(e.nlen=(r&31)+257,r>>>=5,s-=5,e.ndist=(r&31)+1,r>>>=5,s-=5,e.ncode=(r&15)+4,r>>>=4,s-=4,e.nlen>286||e.ndist>30){f.msg="too many length or distance symbols",e.mode=V;break}e.have=0,e.mode=Oo;case Oo:for(;e.have<e.ncode;){for(;s<3;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}e.lens[of[e.have++]]=r&7,r>>>=3,s-=3}for(;e.have<19;)e.lens[of[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,Q={bits:e.lenbits},B=Nl(wp,e.lens,0,19,e.lencode,0,e.work,Q),e.lenbits=Q.bits,B){f.msg="invalid code lengths set",e.mode=V;break}e.have=0,e.mode=Uo;case Uo:for(;e.have<e.nlen+e.ndist;){for(;S=e.lencode[r&(1<<e.lenbits)-1],I=S>>>24,U=S>>>16&255,P=S&65535,!(I<=s);){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(P<16)r>>>=I,s-=I,e.lens[e.have++]=P;else{if(P===16){for(E=I+2;s<E;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(r>>>=I,s-=I,e.have===0){f.msg="invalid bit length repeat",e.mode=V;break}R=e.lens[e.have-1],d=3+(r&3),r>>>=2,s-=2}else if(P===17){for(E=I+3;s<E;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}r>>>=I,s-=I,R=0,d=3+(r&7),r>>>=3,s-=3}else{for(E=I+7;s<E;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}r>>>=I,s-=I,R=0,d=11+(r&127),r>>>=7,s-=7}if(e.have+d>e.nlen+e.ndist){f.msg="invalid bit length repeat",e.mode=V;break}for(;d--;)e.lens[e.have++]=R}}if(e.mode===V)break;if(e.lens[256]===0){f.msg="invalid code -- missing end-of-block",e.mode=V;break}if(e.lenbits=9,Q={bits:e.lenbits},B=Nl(Xo,e.lens,0,e.nlen,e.lencode,0,e.work,Q),e.lenbits=Q.bits,B){f.msg="invalid literal/lengths set",e.mode=V;break}if(e.distbits=6,e.distcode=e.distdyn,Q={bits:e.distbits},B=Nl(Go,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,Q),e.distbits=Q.bits,B){f.msg="invalid distances set",e.mode=V;break}if(e.mode=ze,l===He)break f;case ze:e.mode=_e;case _e:if(p>=6&&k>=258){f.next_out=m,f.avail_out=k,f.next_in=b,f.avail_in=p,e.hold=r,e.bits=s,ep(f,u),m=f.next_out,o=f.output,k=f.avail_out,b=f.next_in,t=f.input,p=f.avail_in,r=e.hold,s=e.bits,e.mode===Df&&(e.back=-1);break}for(e.back=0;S=e.lencode[r&(1<<e.lenbits)-1],I=S>>>24,U=S>>>16&255,P=S&65535,!(I<=s);){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(U&&!(U&240)){for(T=I,h=U,W=P;S=e.lencode[W+((r&(1<<T+h)-1)>>T)],I=S>>>24,U=S>>>16&255,P=S&65535,!(T+I<=s);){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}r>>>=T,s-=T,e.back+=T}if(r>>>=I,s-=I,e.back+=I,e.length=P,U===0){e.mode=Vo;break}if(U&32){e.back=-1,e.mode=Df;break}if(U&64){f.msg="invalid literal/length code",e.mode=V;break}e.extra=U&15,e.mode=Po;case Po:if(e.extra){for(E=e.extra;s<E;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}e.length+=r&(1<<e.extra)-1,r>>>=e.extra,s-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=Lo;case Lo:for(;S=e.distcode[r&(1<<e.distbits)-1],I=S>>>24,U=S>>>16&255,P=S&65535,!(I<=s);){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(!(U&240)){for(T=I,h=U,W=P;S=e.distcode[W+((r&(1<<T+h)-1)>>T)],I=S>>>24,U=S>>>16&255,P=S&65535,!(T+I<=s);){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}r>>>=T,s-=T,e.back+=T}if(r>>>=I,s-=I,e.back+=I,U&64){f.msg="invalid distance code",e.mode=V;break}e.offset=P,e.extra=U&15,e.mode=Mo;case Mo:if(e.extra){for(E=e.extra;s<E;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}e.offset+=r&(1<<e.extra)-1,r>>>=e.extra,s-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){f.msg="invalid distance too far back",e.mode=V;break}e.mode=Yo;case Yo:if(k===0)break f;if(d=u-k,e.offset>d){if(d=e.offset-d,d>e.whave&&e.sane){f.msg="invalid distance too far back",e.mode=V;break}d>e.wnext?(d-=e.wnext,z=e.wsize-d):z=e.wnext-d,d>e.length&&(d=e.length),x=e.window}else x=o,z=m-e.offset,d=e.length;d>k&&(d=k),k-=d,e.length-=d;do o[m++]=x[z++];while(--d);e.length===0&&(e.mode=_e);break;case Vo:if(k===0)break f;o[m++]=e.length,k--,e.mode=_e;break;case Iw:if(e.wrap){for(;s<32;){if(p===0)break f;p--,r|=t[b++]<<s,s+=8}if(u-=k,f.total_out+=u,e.total+=u,u&&(f.adler=e.check=e.flags?_f(e.check,o,u,m-u):Sw(e.check,o,u,m-u)),u=k,(e.flags?r:Zo(r))!==e.check){f.msg="incorrect data check",e.mode=V;break}r=0,s=0}e.mode=Qo;case Qo:if(e.wrap&&e.flags){for(;s<32;){if(p===0)break f;p--,r+=t[b++]<<s,s+=8}if(r!==(e.total&4294967295)){f.msg="incorrect length check",e.mode=V;break}r=0,s=0}e.mode=No;case No:B=op;break f;case V:B=$o;break f;case Aw:return Ew;case mp:default:return sf}return f.next_out=m,f.avail_out=k,f.next_in=b,f.avail_in=p,e.hold=r,e.bits=s,(e.wsize||u!==f.avail_out&&e.mode<V&&(e.mode<Iw||l!==_o))&&ob(f,f.output,f.next_out,u-f.avail_out)?(e.mode=Aw,Ew):(y-=f.avail_in,u-=f.avail_out,f.total_in+=y,f.total_out+=u,e.total+=u,e.wrap&&u&&(f.adler=e.check=e.flags?_f(e.check,o,u,f.next_out-u):Sw(e.check,o,u,f.next_out-u)),f.data_type=e.bits+(e.last?64:0)+(e.mode===Df?128:0)+(e.mode===ze||e.mode===yw?256:0),(y===0&&u===0||l===_o)&&B===nl&&(B=np),B)}function kp(f){if(!f||!f.state)return sf;var l=f.state;return l.window&&(l.window=null),f.state=null,nl}function dp(f,l){var e;return!f||!f.state||(e=f.state,!(e.wrap&2))?sf:(e.head=l,l.done=!1,nl)}function up(f,l){var e=l.length,t,o,b;return!f||!f.state||(t=f.state,t.wrap!==0&&t.mode!==Be)?sf:t.mode===Be&&(o=1,o=Sw(o,l,e,0),o!==t.check)?$o:(b=ob(f,l,e,e),b?(t.mode=Aw,Ew):(t.havedict=1,nl))}df.inflateReset=eb;df.inflateReset2=wb;df.inflateResetKeep=lb;df.inflateInit=sp;df.inflateInit2=tb;df.inflate=gp;df.inflateEnd=kp;df.inflateGetHeader=dp;df.inflateSetDictionary=up;df.inflateInfo="pako inflate (from Nodeca project)"});var Kw=N((wq,nb)=>{"use strict";nb.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var pb=N((tq,mb)=>{"use strict";function vp(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}mb.exports=vp});var rb=N(Jl=>{"use strict";var _l=bb(),Zl=Ef(),ye=vw(),Z=Kw(),Dw=ie(),hp=hw(),cp=pb(),jb=Object.prototype.toString;function ml(f){if(!(this instanceof ml))return new ml(f);this.options=Zl.assign({chunkSize:16384,windowBits:0,to:""},f||{});var l=this.options;l.raw&&l.windowBits>=0&&l.windowBits<16&&(l.windowBits=-l.windowBits,l.windowBits===0&&(l.windowBits=-15)),l.windowBits>=0&&l.windowBits<16&&!(f&&f.windowBits)&&(l.windowBits+=32),l.windowBits>15&&l.windowBits<48&&(l.windowBits&15||(l.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new hp,this.strm.avail_out=0;var e=_l.inflateInit2(this.strm,l.windowBits);if(e!==Z.Z_OK)throw new Error(Dw[e]);if(this.header=new cp,_l.inflateGetHeader(this.strm,this.header),l.dictionary&&(typeof l.dictionary=="string"?l.dictionary=ye.string2buf(l.dictionary):jb.call(l.dictionary)==="[object ArrayBuffer]"&&(l.dictionary=new Uint8Array(l.dictionary)),l.raw&&(e=_l.inflateSetDictionary(this.strm,l.dictionary),e!==Z.Z_OK)))throw new Error(Dw[e])}ml.prototype.push=function(f,l){var e=this.strm,t=this.options.chunkSize,o=this.options.dictionary,b,m,p,k,r,s=!1;if(this.ended)return!1;m=l===~~l?l:l===!0?Z.Z_FINISH:Z.Z_NO_FLUSH,typeof f=="string"?e.input=ye.binstring2buf(f):jb.call(f)==="[object ArrayBuffer]"?e.input=new Uint8Array(f):e.input=f,e.next_in=0,e.avail_in=e.input.length;do{if(e.avail_out===0&&(e.output=new Zl.Buf8(t),e.next_out=0,e.avail_out=t),b=_l.inflate(e,Z.Z_NO_FLUSH),b===Z.Z_NEED_DICT&&o&&(b=_l.inflateSetDictionary(this.strm,o)),b===Z.Z_BUF_ERROR&&s===!0&&(b=Z.Z_OK,s=!1),b!==Z.Z_STREAM_END&&b!==Z.Z_OK)return this.onEnd(b),this.ended=!0,!1;e.next_out&&(e.avail_out===0||b===Z.Z_STREAM_END||e.avail_in===0&&(m===Z.Z_FINISH||m===Z.Z_SYNC_FLUSH))&&(this.options.to==="string"?(p=ye.utf8border(e.output,e.next_out),k=e.next_out-p,r=ye.buf2string(e.output,p),e.next_out=k,e.avail_out=t-k,k&&Zl.arraySet(e.output,e.output,p,k,0),this.onData(r)):this.onData(Zl.shrinkBuf(e.output,e.next_out))),e.avail_in===0&&e.avail_out===0&&(s=!0)}while((e.avail_in>0||e.avail_out===0)&&b!==Z.Z_STREAM_END);return b===Z.Z_STREAM_END&&(m=Z.Z_FINISH),m===Z.Z_FINISH?(b=_l.inflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===Z.Z_OK):(m===Z.Z_SYNC_FLUSH&&(this.onEnd(Z.Z_OK),e.avail_out=0),!0)};ml.prototype.onData=function(f){this.chunks.push(f)};ml.prototype.onEnd=function(f){f===Z.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Zl.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg};function Fw(f,l){var e=new ml(l);if(e.push(f,!0),e.err)throw e.msg||Dw[e.err];return e.result}function xp(f,l){return l=l||{},l.raw=!0,Fw(f,l)}Jl.Inflate=ml;Jl.inflate=Fw;Jl.inflateRaw=xp;Jl.ungzip=Fw});var sb=N((bq,ab)=>{"use strict";var Hp=Ef().assign,zp=io(),_p=rb(),Bp=Kw(),qb={};Hp(qb,zp,_p,Bp);ab.exports=qb});var Cw=N(()=>{});var db=N(kb=>{"use strict";var Ip=[0,255,65535,16777215,4294967295];function Tp(f,l,e,t,o){var b;for(b=0;b<o;b++)e[t+b]=f[l+b]}function Rp(f,l,e,t){var o;for(o=0;o<t;o++)f[l+o]=f[l-e+o]}function Ww(f){this.array=f,this.pos=0}Ww.prototype.readUncompressedLength=function(){for(var f=0,l=0,e,t;l<32&&this.pos<this.array.length;){if(e=this.array[this.pos],this.pos+=1,t=e&127,t<<l>>>l!==t)return-1;if(f|=t<<l,e<128)return f;l+=7}return-1};Ww.prototype.uncompressToBuffer=function(f){for(var l=this.array,e=l.length,t=this.pos,o=0,b,m,p,k;t<l.length;)if(b=l[t],t+=1,b&3){switch(b&3){case 1:m=(b>>>2&7)+4,k=l[t]+(b>>>5<<8),t+=1;break;case 2:if(t+1>=e)return!1;m=(b>>>2)+1,k=l[t]+(l[t+1]<<8),t+=2;break;case 3:if(t+3>=e)return!1;m=(b>>>2)+1,k=l[t]+(l[t+1]<<8)+(l[t+2]<<16)+(l[t+3]<<24),t+=4;break;default:break}if(k===0||k>o)return!1;Rp(f,o,k,m),o+=m}else{if(m=(b>>>2)+1,m>60){if(t+3>=e)return!1;p=m-60,m=l[t]+(l[t+1]<<8)+(l[t+2]<<16)+(l[t+3]<<24),m=(m&Ip[p])+1,t+=p}if(t+m>e)return!1;Tp(l,t,f,o,m),t+=m,o+=m}return!0};kb.SnappyDecompressor=Ww});var xb=N(cb=>{"use strict";var Sp=16,Ep=1<<Sp,hb=14,Ow=new Array(hb+1);function Gl(f,l){return f*506832829>>>l}function $l(f,l){return f[l]+(f[l+1]<<8)+(f[l+2]<<16)+(f[l+3]<<24)}function ub(f,l,e){return f[l]===f[e]&&f[l+1]===f[e+1]&&f[l+2]===f[e+2]&&f[l+3]===f[e+3]}function Ap(f,l,e,t,o){var b;for(b=0;b<o;b++)e[t+b]=f[l+b]}function vb(f,l,e,t,o){return e<=60?(t[o]=e-1<<2,o+=1):e<256?(t[o]=60<<2,t[o+1]=e-1,o+=2):(t[o]=61<<2,t[o+1]=e-1&255,t[o+2]=e-1>>>8,o+=3),Ap(f,l,t,o,e),o+e}function Uw(f,l,e,t){return t<12&&e<2048?(f[l]=1+(t-4<<2)+(e>>>8<<5),f[l+1]=e&255,l+2):(f[l]=2+(t-1<<2),f[l+1]=e&255,f[l+2]=e>>>8,l+3)}function Kp(f,l,e,t){for(;t>=68;)l=Uw(f,l,e,64),t-=64;return t>64&&(l=Uw(f,l,e,60),t-=60),Uw(f,l,e,t)}function Dp(f,l,e,t,o){for(var b=1;1<<b<=e&&b<=hb;)b+=1;b-=1;var m=32-b;typeof Ow[b]>"u"&&(Ow[b]=new Uint16Array(1<<b));var p=Ow[b],k;for(k=0;k<p.length;k++)p[k]=0;var r=l+e,s,y=l,u=l,d,z,x,S,I,U,P,T,h,W,R,B=!0,D=15;if(e>=D)for(s=r-D,l+=1,z=Gl($l(f,l),m);B;){I=32,x=l;do{if(l=x,d=z,U=I>>>5,I+=1,x=l+U,l>s){B=!1;break}z=Gl($l(f,x),m),S=y+p[d],p[d]=l-y}while(!ub(f,l,S));if(!B)break;o=vb(f,u,l-u,t,o);do{for(P=l,T=4;l+T<r&&f[l+T]===f[S+T];)T+=1;if(l+=T,h=P-S,o=Kp(t,o,h,T),u=l,l>=s){B=!1;break}W=Gl($l(f,l-1),m),p[W]=l-1-y,R=Gl($l(f,l),m),S=y+p[R],p[R]=l-y}while(ub(f,l,S));if(!B)break;l+=1,z=Gl($l(f,l),m)}return u<r&&(o=vb(f,u,r-u,t,o)),o}function Fp(f,l,e){do l[e]=f&127,f=f>>>7,f>0&&(l[e]+=128),e+=1;while(f>0);return e}function Pw(f){this.array=f}Pw.prototype.maxCompressedLength=function(){var f=this.