>>=y,p-=y),p<15&&(f+=E[n++]<>>=y=b>>>24,p-=y,!(16&(y=b>>>16&255))){if(0===(64&y)){b=m[(65535&b)+(f&(1<l){e.msg="invalid distance too far back",j.mode=dn;break e}if(f>>>=y,p-=y,w>(y=o-i)){if((y=w-y)>c&&j.sane){e.msg="invalid distance too far back",j.mode=dn;break e}if(k=0,_=d,0===u){if(k+=s-y,y2;)S[o++]=_[k++],S[o++]=_[k++],S[o++]=_[k++],x-=3;x&&(S[o++]=_[k++],x>1&&(S[o++]=_[k++]))}else{k=o-w;do{S[o++]=S[k++],S[o++]=S[k++],S[o++]=S[k++],x-=3}while(x>2);x&&(S[o++]=S[k++],x>1&&(S[o++]=S[k++]))}break}}break}}while(n>3,f&=(1<<(p-=x<<3))-1,e.next_in=n,e.next_out=o,e.avail_in=n=1&&0===T[w];w--);if(k>w&&(k=w),0===w)return o[i++]=20971520,o[i++]=20971520,l.bits=1,0;for(x=1;x0&&(0===e||1!==w))return-1;for(P[1]=0,b=1;b852||2===e&&j>592)return 1;for(;;){h=b-E,a[y]+1=p?(m=M[a[y]-p],v=O[a[y]-p]):(m=96,v=0),s=1<>E)+(c-=s)]=h<<24|m<<16|v|0}while(0!==c);for(s=1<>=1;if(0!==s?(C&=s-1,C+=s):C=0,y++,0===--T[b]){if(b===w)break;b=t[n+a[y]]}if(b>k&&(C&d)!==u){for(0===E&&(E=k),f+=x,S=1<<(_=b-E);_+E852||2===e&&j>592)return 1;o[u=C&d]=k<<24|_<<16|f-i|0}}return 0!==C&&(o[f+C]=b-E<<24|64<<16|0),l.bits=k,0},yn=Ye.Z_FINISH,xn=Ye.Z_BLOCK,wn=Ye.Z_TREES,kn=Ye.Z_OK,_n=Ye.Z_STREAM_END,En=Ye.Z_NEED_DICT,Sn=Ye.Z_STREAM_ERROR,jn=Ye.Z_DATA_ERROR,Cn=Ye.Z_MEM_ERROR,On=Ye.Z_BUF_ERROR,Tn=Ye.Z_DEFLATED,Pn=16180,Mn=16190,In=16191,An=16192,Ln=16194,Dn=16199,zn=16200,Zn=16206,Rn=16209,Nn=function(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)};function Bn(){this.strm=null,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 Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var Hn,Fn,Wn=function(e){if(!e)return 1;var t=e.state;return!t||t.strm!==e||t.mode16211?1:0},Un=function(e){if(Wn(e))return Sn;var t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=Pn,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,kn},Kn=function(e){if(Wn(e))return Sn;var t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Un(e)},Yn=function(e,t){var n;if(Wn(e))return Sn;var r=e.state;return t<0?(n=0,t=-t):(n=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Sn:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Kn(e))},Vn=function(e,t){if(!e)return Sn;var n=new Bn;e.state=n,n.strm=e,n.window=null,n.mode=Pn;var r=Yn(e,t);return r!==kn&&(e.state=null),r},Gn=!0,Xn=function(e){if(Gn){Hn=new Int32Array(512),Fn=new Int32Array(32);for(var t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(bn(1,e.lens,0,288,Hn,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;bn(2,e.lens,0,32,Fn,0,e.work,{bits:5}),Gn=!1}e.lencode=Hn,e.lenbits=9,e.distcode=Fn,e.distbits=5},qn=function(e,t,n,r){var o,i=e.state;return null===i.window&&(i.wsize=1<