>0]=v;break;case "i8":Dd[r>>0]=v;break;case "i16":gf[r>>1]=v;break;case "i32":Sb[r>>2]=v;break;case "i64":kg=[v>>>0,(Re=v,1<=+Fg(Re)?
-0 >>0?0:k>>>0<=(a[b+616>>2]|0)>>>0){Ab(e,(a[b+612>>2]|0)+p|0,c);break}}else if(k=b+628|0,n=rb[a[b+640>>2]&63](a[k>>2]|0,p,0,0)|0,(n|0)==(p|0)&0==(U|0)&&(Aa[a[b+632>>2]&63](a[k>>2]|0,e,c)|0)==(c|0))break;
-ja(e);b=3;u=g;return b|0}while(0);a[f>>2]=e;u=g;return 0}function Ka(b,d,c){b|=0;d|=0;c|=0;var e,f,g,h,m,k,l,n,p,q,y,B;e=u;u=u+16|0;f=e+4|0;g=d+2|0;switch(N[g>>1]|0){case 17:case 16:case 9:case 4:case 8:case 3:case 6:case 1:case 7:case 2:break;default:return u=e,2}h=ra(b,d,f,1,e)|0;m=d=a[e>>2]|0;if(0!=(h|0)|0==(d|0))return a[c>>2]=0,u=e,h|0;switch(N[g>>1]|0){case 1:case 7:case 2:a[c>>2]=m;u=e;break;case 6:h=a[f>>2]|0;a:do if(h){k=d;for(l=0;!(-1>=(t[k>>0]|0));)if(l=l+1|0,l>>>0>=h>>>0)break a;else k=
-k+1|0;ja(d);u=e;return 4}while(0);a[c>>2]=m;u=e;break;default:m=a[f>>2]|0;h=eb(m)|0;if(!h)return ja(d),u=e,7;a:do switch(N[g>>1]|0){case 3:if(m)for(k=b+12|0,l=d,n=h,p=0;;){a[k>>2]&128&&ac(l);q=w[l>>1]|0;if(256<=(q&65535)){k=50;break a}t[n>>0]=q;p=p+1|0;if(p>>>0>=(a[f>>2]|0)>>>0){k=51;break}else l=l+2|0,n=n+1|0}else k=51;break;case 8:if(m)for(n=b+12|0,l=d,p=h,k=0;;){a[n>>2]&128&&ac(l);q=w[l>>1]|0;if(256<=(q&65535)){k=50;break a}t[p>>0]=q;k=k+1|0;if(k>>>0>=(a[f>>2]|0)>>>0){k=51;break}else l=l+2|0,p=
-p+1|0}else k=51;break;case 4:if(m)for(p=b+12|0,l=d,k=h,n=0;;){a[p>>2]&128&&pb(l);q=a[l>>2]|0;if(256<=q>>>0){k=50;break a}t[k>>0]=q;n=n+1|0;if(n>>>0>=(a[f>>2]|0)>>>0){k=51;break}else l=l+4|0,k=k+1|0}else k=51;break;case 9:if(m)for(k=b+12|0,l=d,n=h,p=0;;){a[k>>2]&128&&pb(l);q=a[l>>2]|0;if(256<=q>>>0){k=50;break a}t[n>>0]=q;p=p+1|0;if(p>>>0>=(a[f>>2]|0)>>>0){k=51;break}else l=l+4|0,n=n+1|0}else k=51;break;case 16:if(m)for(n=b+12|0,l=d,p=h,k=0;;){a[n>>2]&128&&kc(l);q=l;y=a[q>>2]|0;B=a[q+4>>2]|0;if(!(0>
-B>>>0|0==(B|0)&256>y>>>0)){k=50;break a}t[p>>0]=y;k=k+1|0;if(k>>>0>=(a[f>>2]|0)>>>0){k=51;break}else l=l+8|0,p=p+1|0}else k=51;break;case 17:if(m)for(p=b+12|0,l=d,k=h,n=0;;){a[p>>2]&128&&kc(l);y=l;B=a[y>>2]|0;q=a[y+4>>2]|0;if(!(0>q>>>0|0==(q|0)&256>B>>>0)){k=50;break a}t[k>>0]=B;n=n+1|0;if(n>>>0>=(a[f>>2]|0)>>>0){k=51;break}else l=l+8|0,k=k+1|0}else k=51;break;default:k=51}while(0);if(50==(k|0))return ja(a[e>>2]|0),ja(h),u=e,4;51==(k|0)&&(ja(a[e>>2]|0),a[c>>2]=h,u=e)}return 0}function ab(b,d,c){b|=
-0;d|=0;c|=0;var e,f,g,h,m,k,l,n,p,q,y,B;e=u;u=u+16|0;f=e+4|0;g=e;h=d+2|0;switch(N[h>>1]|0){case 17:case 16:case 9:case 4:case 8:case 3:case 6:case 1:break;default:return u=e,2}m=ra(b,d,f,4,g)|0;g=d=a[g>>2]|0;if(0!=(m|0)|0==(d|0))return a[c>>2]=0,u=e,m|0;switch(N[h>>1]|0){case 4:a[c>>2]=d;if(!(a[b+12>>2]&128)){u=e;break}Id(d,a[f>>2]|0);u=e;break;case 9:m=a[f>>2]|0;a:do if(m){k=b+12|0;l=d;for(n=0;;){a[k>>2]&128&&pb(l);if(p=a[l>>2]>>31&4){q=p;break}n=n+1|0;if(n>>>0>=m>>>0)break a;else l=l+4|0}ja(d);
-b=q;u=e;return b|0}while(0);a[c>>2]=g;u=e;break;default:g=a[f>>2]|0;q=eb(g<<2)|0;if(!q)return ja(d),u=e,7;a:do switch(N[h>>1]|0){case 1:if(g)for(m=d,l=q,n=0;;)if(a[l>>2]=x[m>>0],n=n+1|0,n>>>0>=(a[f>>2]|0)>>>0){m=47;break}else m=m+1|0,l=l+4|0;else m=47;break;case 6:if(g)for(l=d,m=q,n=0;;){k=t[l>>0]|0;if(-1>=k<<24>>24){m=46;break a}a[m>>2]=k<<24>>24;n=n+1|0;if(n>>>0>=(a[f>>2]|0)>>>0){m=47;break}else l=l+1|0,m=m+4|0}else m=47;break;case 3:if(g)for(m=b+12|0,l=d,n=q,k=0;;)if(a[m>>2]&128&&ac(l),a[n>>2]=
-N[l>>1],k=k+1|0,k>>>0>=(a[f>>2]|0)>>>0){m=47;break}else l=l+2|0,n=n+4|0;else m=47;break;case 8:if(g)for(n=b+12|0,l=d,k=q,m=0;;){a[n>>2]&128&&ac(l);p=w[l>>1]|0;if(-1>=p<<16>>16){m=46;break a}a[k>>2]=p<<16>>16;m=m+1|0;if(m>>>0>=(a[f>>2]|0)>>>0){m=47;break}else l=l+2|0,k=k+4|0}else m=47;break;case 16:if(g)for(k=b+12|0,l=d,m=q,n=0;;){a[k>>2]&128&&kc(l);p=l;y=a[p>>2]|0;B=a[p+4>>2]|0;if(!(1>B>>>0|1==(B|0)&0>y>>>0)){m=46;break a}a[m>>2]=y;n=n+1|0;if(n>>>0>=(a[f>>2]|0)>>>0){m=47;break}else l=l+8|0,m=m+4|
-0}else m=47;break;case 17:if(g)for(m=b+12|0,l=d,n=q,k=0;;){a[m>>2]&128&&kc(l);y=l;B=a[y>>2]|0;p=a[y+4>>2]|0;if(!(1>p>>>0|1==(p|0)&0>B>>>0)){m=46;break a}a[n>>2]=B;k=k+1|0;if(k>>>0>=(a[f>>2]|0)>>>0){m=47;break}else l=l+8|0,n=n+4|0}else m=47;break;default:m=47}while(0);if(46==(m|0))return ja(d),ja(q),u=e,4;47==(m|0)&&(ja(d),a[c>>2]=q,u=e)}return 0}function fb(b,d,c){b|=0;d|=0;c|=0;var e,f,g,h,m,k,l,n,p,q,y;e=u;u=u+16|0;f=e+4|0;g=e;h=d+2|0;switch(N[h>>1]|0){case 12:case 11:case 10:case 5:case 17:case 16:case 9:case 4:case 8:case 3:case 6:case 1:break;
-default:return u=e,2}m=ra(b,d,f,4,g)|0;g=d=a[g>>2]|0;if(0!=(m|0)|0==(d|0))return a[c>>2]=0,u=e,m|0;if(11==(w[h>>1]|0))return a[b+12>>2]&128&&Id(d,a[f>>2]|0),a[c>>2]=g,u=e,0;g=a[f>>2]|0;f=eb(g<<2)|0;if(!f)return ja(d),u=e,7;do switch(N[h>>1]|0){case 1:if(g)for(m=d,k=f,l=0;!(W[k>>2]=+(x[m>>0]|0),l=l+1|0,l>>>0>=g>>>0);)m=m+1|0,k=k+4|0;break;case 6:if(g)for(k=d,m=f,l=0;!(W[m>>2]=+(t[k>>0]|0),l=l+1|0,l>>>0>=g>>>0);)k=k+1|0,m=m+4|0;break;case 3:if(g)for(m=b+12|0,k=d,l=f,n=0;!(a[m>>2]&128&&ac(k),W[l>>2]=
-+(N[k>>1]|0),n=n+1|0,n>>>0>=g>>>0);)k=k+2|0,l=l+4|0;break;case 8:if(g)for(l=b+12|0,k=d,n=f,m=0;!(a[l>>2]&128&&ac(k),W[n>>2]=+(w[k>>1]|0),m=m+1|0,m>>>0>=g>>>0);)k=k+2|0,n=n+4|0;break;case 4:if(g)for(n=b+12|0,k=d,m=f,l=0;!(a[n>>2]&128&&pb(k),W[m>>2]=+((a[k>>2]|0)>>>0),l=l+1|0,l>>>0>=g>>>0);)k=k+4|0,m=m+4|0;break;case 9:if(g)for(m=b+12|0,k=d,l=f,n=0;!(a[m>>2]&128&&pb(k),W[l>>2]=+(a[k>>2]|0),n=n+1|0,n>>>0>=g>>>0);)k=k+4|0,l=l+4|0;break;case 16:if(g)for(l=b+12|0,k=d,n=f,m=0;!(a[l>>2]&128&&kc(k),p=k,W[n>>
-2]=+((a[p>>2]|0)>>>0)+4294967296*+((a[p+4>>2]|0)>>>0),m=m+1|0,m>>>0>=g>>>0);)k=k+8|0,n=n+4|0;break;case 17:if(g)for(n=b+12|0,k=d,m=f,l=0;!(a[n>>2]&128&&kc(k),p=k,W[m>>2]=+((a[p>>2]|0)>>>0)+4294967296*+(a[p+4>>2]|0),l=l+1|0,l>>>0>=g>>>0);)k=k+8|0,m=m+4|0;break;case 5:if(g)for(m=b+12|0,k=d,l=f,n=0;!(p=a[m>>2]|0,p&128?(pb(k),q=a[m>>2]|0):q=p,p=k+4|0,y=a[k>>2]|0,q&128&&pb(p),y=(q=a[p>>2]|0)?+(y>>>0)/+(q>>>0):0,W[l>>2]=y,n=n+1|0,n>>>0>=g>>>0);)k=k+8|0,l=l+4|0;break;case 10:if(g)for(l=b+12|0,k=d,n=f,m=
-0;!(q=a[l>>2]|0,q&128?(pb(k),p=a[l>>2]|0):p=q,q=a[k>>2]|0,y=k+4|0,p&128&&pb(y),y=(p=a[y>>2]|0)?+(q|0)/+(p>>>0):0,W[n>>2]=y,m=m+1|0,m>>>0>=g>>>0);)k=k+8|0,n=n+4|0;break;case 12:if(a[b+12>>2]&128&&Ae(d,g),g)for(n=d,k=f,m=0;!(W[k>>2]=+Hb[n>>3],m=m+1|0,m>>>0>=g>>>0);)n=n+8|0,k=k+4|0}while(0);ja(d);a[c>>2]=f;u=e;return 0}function Lb(b,d,c){b|=0;d|=0;c|=0;var e,f,g,h,m,k,l;e=u;u=u+16|0;f=e+4|0;g=e;h=d+2|0;switch(N[h>>1]|0){case 18:case 13:case 16:case 4:break;default:return u=e,2}m=ra(b,d,f,8,g)|0;d=a[g>>
-2]|0;if(0!=(m|0)|0==(d|0))return a[c>>2]=0,u=e,m|0;switch(N[h>>1]|0){case 18:case 16:a[c>>2]=d;if(!(a[b+12>>2]&128))return u=e,0;Ae(d,a[f>>2]|0);u=e;return 0}m=a[f>>2]|0;f=eb(m<<3)|0;if(!f)return ja(d),u=e,7;switch(N[h>>1]|0){case 13:case 4:if(m)for(h=b+12|0,b=d,g=f,k=0;!(a[h>>2]&128&&pb(b),l=g,a[l>>2]=a[b>>2],a[l+4>>2]=0,k=k+1|0,k>>>0>=m>>>0);)b=b+4|0,g=g+8|0}ja(d);a[c>>2]=f;u=e;return 0}function Y(b,d,c,e){b|=0;d|=0;c|=0;var f;f=u;u=u+16|0;a[f>>2]=e|0;if(e=a[1934]|0)td[e&127](d,c,f);if(e=a[1910]|
-0)Ud[e&31](b,d,c,f);u=f}function Sb(b){b|=0;var d,c,e,f,g,h,m,k,l;d=u;u=u+48|0;c=d+24|0;e=d+16|0;f=d+8|0;g=d+32|0;h=d+28|0;m=b+8|0;if(!(a[m>>2]|0))return u=d,1;k=b+12|0;l=a[k>>2]|0;if(l&64)if((0==(l&4096|0)||(a[k>>2]=l&-4097,0!=(da[a[b+528>>2]&63](b)|0)))&&Lc(b)|0)l=a[k>>2]|0;else return u=d,0;if(2097152==(l&2097160|0)&&2==(a[m>>2]|0))if(a[g>>2]=0,a[h>>2]=0,cd(b)|0){if(a[d>>2]=g,Pd(b,324,d)|0&&(a[f>>2]=h,Pd(b,325,f)|0&&(l=b+168|0,Ni(b,324,16,a[l>>2]|0,a[g>>2]|0)|0&&Ni(b,325,16,a[l>>2]|0,a[h>>2]|0)|
-0)))return a[k>>2]&=-2097217,u=d,1}else if(a[e>>2]=g,Pd(b,273,e)|0&&(a[c>>2]=h,Pd(b,279,c)|0&&(l=b+168|0,Ni(b,273,16,a[l>>2]|0,a[g>>2]|0)|0&&Ni(b,279,16,a[l>>2]|0,a[h>>2]|0)|0)))return a[k>>2]&=-2097217,u=d,1;if(0!=(a[k>>2]&2097160|0)&&0==(Fj(b)|0))return u=d,0;u=d;return 1}function jc(b,d){b|=0;d|=0;var c,e,f,g,h,m,k,l,n,p,q,y,B,H,ka,z,Q,C,Ra,V;c=u;u=u+160|0;e=c+136|0;f=c+120|0;g=c+112|0;h=c+104|0;m=c+88|0;k=c+80|0;l=c+72|0;n=c+64|0;p=c+56|0;q=c+48|0;y=c+24|0;B=c+16|0;H=c+8|0;ka=c;z=c+146|0;Q=c+
-144|0;if(!(a[b+500>>2]|0)){C=d;Ra=135926;e=C+54|0;do t[C>>0]=t[Ra>>0]|0,C=C+1|0,Ra=Ra+1|0;while((C|0)<(e|0));u=c;return 0}Ra=b+84|0;C=N[Ra>>1]|0;switch(C|0){case 16:case 8:case 4:case 2:case 1:break;default:return a[ka>>2]=C,ad(d,135980,ka)|0,u=c,0}ka=b+98|0;C=(N[ka>>1]|0)-(N[b+156>>1]|0)|0;a[H>>2]=z;a:do if(Pd(b,262,H)|0)V=w[z>>1]|0;else switch(C|0){case 1:V=w[z>>1]=1;break a;case 3:V=w[z>>1]=2;break a;default:return a[B>>2]=130805,ad(d,136029,B)|0,C=0,u=c,C|0}while(0);z=V&65535;a:do{if(5>(z|0)){switch(z|
-0){case 3:case 1:case 0:break;case 2:if(3<=(C|0))return C=1,u=c,C|0;a[q>>2]=136187;a[q+4>>2]=C;ad(d,136144,q)|0;C=0;u=c;return C|0;default:break a}if(1!=(w[b+126>>1]|0))return C=1,u=c,C|0;V=w[ka>>1]|0;if(1==V<<16>>16)return C=1,u=c,C|0;B=w[Ra>>1]|0;if(8<=(B&65535))return C=1,u=c,C|0;a[y>>2]=130805;a[y+4>>2]=z;a[y+8>>2]=136130;a[y+12>>2]=V&65535;a[y+16>>2]=B&65535;ad(d,136051,y)|0}else{if(8>(z|0)){switch(z|0){case 5:break;case 6:return C=1,u=c,C|0;default:break a}a[p>>2]=Q;ne(b,332,p)|0;B=w[Q>>1]|
-0;if(1!=B<<16>>16)return a[n>>2]=136251,a[n+4>>2]=B&65535,ad(d,136202,n)|0,C=0,u=c,C|0;B=w[ka>>1]|0;if(4<=(B&65535))return C=1,u=c,C|0;a[l>>2]=136130;a[l+4>>2]=B&65535;ad(d,136202,l)|0;C=0;u=c;return C|0}if(32844>(z|0)){switch(z|0){case 8:break;default:break a}B=w[ka>>1]|0;V=w[Ra>>1]|0;if(3==B<<16>>16&8==V<<16>>16)return C=1,u=c,C|0;a[f>>2]=136130;a[f+4>>2]=B&65535;a[f+8>>2]=136499;a[f+12>>2]=V&65535;ad(d,136450,f)|0;C=0;u=c;return C|0}switch(z|0){case 32844:if(-30860==(w[b+88>>1]|0))return C=1,u=
-c,C|0;a[k>>2]=136291;a[k+4>>2]=34676;ad(d,136258,k)|0;C=0;u=c;return C|0;case 32845:break;default:break a}if(-30860!=(w[b+88>>1]&-2)<<16>>16)return a[m>>2]=136291,a[m+4>>2]=34676,a[m+8>>2]=34677,ad(d,136303,m)|0,C=0,u=c,C|0;V=w[b+126>>1]|0;if(1!=V<<16>>16)return a[h>>2]=136391,a[h+4>>2]=V&65535,ad(d,136344,h)|0,C=0,u=c,C|0;V=w[ka>>1]|0;if(3==V<<16>>16)return C=1,u=c,C|0;a[g>>2]=136130;a[g+4>>2]=V&65535;ad(d,136411,g)|0}C=0;u=c;return C|0}while(0);a[e>>2]=130805;a[e+4>>2]=z;ad(d,136411,e)|0;u=c;return 0}
-function lc(b,d,c,e){b|=0;d|=0;e|=0;var f,g,h,m,k,l,n,p,q,y,B,H,ka,z,Q,C,Ra,V,Ed,r,x,G,L,K,v,fd,O,M,T,X,P,Oa,A,D,ba,F,Te,R,ga,Ha,ma,bc,ha,U,S,pc,Nb,da,fa,oa,sa,Kc,ua,Ia,Da,na,Na,hf=0,Ca=0,Ga,Ea,La,ca=0,aa,dh=0,ya,xb,Aa,ra=0,jb,mc,pa,Ta,Ya,Sa,mb=0,Db,cc,Za,ia,qa,Ja,ea,wa=0,Ma,xa,$a,la;f=u;u=u+384|0;g=f+344|0;h=f+336|0;m=f+328|0;k=f+320|0;l=f+312|0;n=f+296|0;p=f+288|0;q=f+280|0;y=f+272|0;B=f+264|0;H=f+256|0;ka=f+248|0;z=f+240|0;Q=f+224|0;C=f+216|0;Ra=f+208|0;V=f+200|0;Ed=f+192|0;r=f+176|0;x=f+168|0;
-G=f+160|0;L=f+152|0;K=f+144|0;v=f+136|0;fd=f+128|0;O=f+120|0;M=f+96|0;T=f+80|0;X=f+72|0;P=f+64|0;Oa=f+56|0;A=f+48|0;D=f+40|0;ba=f+32|0;F=f+24|0;Te=f+16|0;R=f+8|0;ga=f;Ha=f+364|0;ma=f+374|0;bc=f+372|0;ha=f+370|0;U=f+360|0;S=f+356|0;pc=f+352|0;Nb=f+368|0;a[b+84>>2]=0;a[b+88>>2]=0;da=b+36|0;a[da>>2]=0;fa=b+40|0;a[fa>>2]=0;oa=b+44|0;a[oa>>2]=0;w[b+30>>1]=4;a[b>>2]=d;a[b+4>>2]=c|0;c=b+24|0;a[ga>>2]=c;ne(d,258,ga)|0;ga=N[c>>1]|0;a:do switch(ga|0){case 16:case 8:case 4:case 2:case 1:sa=b+12|0;a[sa>>2]=0;
-Kc=b+26|0;a[Te>>2]=Kc;ne(d,277,Te)|0;a[F>>2]=ma;a[F+4>>2]=Ha;ne(d,338,F)|0;b:do if(w[ma>>1]|0){ua=N[a[Ha>>2]>>1]|0;switch(ua|0){case 0:break;case 2:case 1:a[sa>>2]=ua;break b;default:break b}3<(N[Kc>>1]|0)&&(a[sa>>2]=1)}while(0);ua=b+32|0;a[ba>>2]=ua;Pd(d,262,ba)|0||(w[ua>>1]=0);Ia=w[ma>>1]|0;Da=w[Kc>>1]|0;Ia<<16>>16?(na=Da,Na=Ia):4==Da<<16>>16?2==(w[ua>>1]|0)?(a[sa>>2]=1,w[ma>>1]=1,na=4,Na=1):(na=4,Na=0):(na=Da,Na=0);Ia=(na&65535)-(Na&65535)|0;a[D>>2]=ha;ne(d,259,D)|0;a[A>>2]=bc;ne(d,284,A)|0;a[Oa>>
-2]=ua;b:do if(Pd(d,262,Oa)|0)Ca=w[ua>>1]|0;else switch(Ia|0){case 1:a[P>>2]=Oa;Pd(d,259,P)|0;Da=w[Oa>>1]|0;c:do if(3>Da<<16>>16)if(2>Da<<16>>16)switch(Da<<16>>16){case -32765:hf=18;break c;default:hf=19;break c}else switch(Da<<16>>16){case 2:hf=18;break c;default:hf=19;break c}else switch(Da<<16>>16){case 4:case 3:hf=18;break;default:hf=19}while(0);if(18==(hf|0)){Ca=w[ua>>1]=0;break b}else if(19==(hf|0)){Ca=w[ua>>1]=1;break b}break;case 3:Ca=w[ua>>1]=2;break b;default:a[X>>2]=130805;ad(e,136029,X)|
-0;break a}while(0);Da=Ca&65535;b:do if(5>(Da|0)){switch(Da|0){case 3:hf=23;break;case 1:case 0:break;case 2:if(3<=(Ia|0))break b;a[fd>>2]=136187;a[fd+4>>2]=Ia;ad(e,136144,fd)|0;break a;default:hf=49;break b}do if(23==(hf|0)){a[T>>2]=U;a[T+4>>2]=S;a[T+8>>2]=pc;if(!(Pd(d,320,T)|0)){Ga=e;Ea=136511;La=Ga+32|0;do t[Ga>>0]=t[Ea>>0]|0,Ga=Ga+1|0,Ea=Ea+1|0;while((Ga|0)<(La|0));break a}ca=2< >>0|m>>>0>B>>>0|(m|0)==(B|0)&f>>>0>e>>>0)){a[b+592>>2]=p;a[b+588>>2]=(a[b+612>>2]|0)+f;a[b+596>>2]=0;a[b+600>>2]=p;a[k>>2]=n|8388608;break}n=a[b+628>>2]|0;e=Ic(y|0,l|0,f|0,m|0)|0;a[g>>2]=d;m=g+8|0;a[m>>2]=e;a[m+4>>2]=U;m=g+16|0;a[m>>2]=p;a[m+4>>2]=q;Y(n,137884,137939,g);a[b+452>>2]=-1;h=0;u=c;return h|0}if(!((p|0)==(p|0)&((0>(p|0))<<31>>31|0)==
-(q|0)))return Y(a[b+628>>2]|0,137884,139721,f),h=0,u=c,h|0;if((p|0)>(a[b+592>>2]|0)){a[b+452>>2]=-1;if(!(l&512))return q=a[b+628>>2]|0,a[e>>2]=d,Y(q,137884,137994,e),h=0,u=c,h|0;if(ld(b,0,p)|0)q=a[k>>2]|0;else return h=0,u=c,h|0}else q=l;if(0!=(q&8388608|0)&&(a[b+452>>2]=-1,0==(ld(b,0,p)|0)))return h=0,u=c,h|0;q=b+588|0;if((me(b,d,a[q>>2]|0,p,137884)|0)!=(p|0))return h=0,u=c,h|0;a[b+596>>2]=0;a[b+600>>2]=p;(N[b+94>>1]|256)&a[k>>2]||ye(a[q>>2]|0,p)}while(0);if(!(a[h>>2]|0))return u=c,0;q=a[k>>2]|0;
-if(q&32)g=q;else if(da[a[b+508>>2]&63](b)|0)l=a[k>>2]|32,g=a[k>>2]=l;else return u=c,0;a[b+452>>2]=d;q=a[b+164>>2]|0;l=E(a[b+100>>2]|0,(d>>>0)%(q>>>0)|0)|0;a[b+444>>2]=l;a[k>>2]=g&-1048577;g&131072?h=a[b+604>>2]=0:(a[b+604>>2]=a[b+588>>2],h=a[(a[h>>2]|0)+(d<<3)>>2]|0);a[b+608>>2]=h;h=dd[a[b+512>>2]&127](b,((d>>>0)/(q>>>0)|0)&65535)|0;u=c;return h|0}function ld(b,d,c){b|=0;d|=0;c|=0;var e,f,g,h,m,k,l;e=u;u=u+16|0;f=e+8|0;g=e;h=b+12|0;m=a[h>>2]|0;m&131072&&Z(137648,137683,918,137694);a[h>>2]=m&-8388609;
-k=b+588|0;if(l=a[k>>2]|0)m&512&&ja(l),a[k>>2]=0,a[b+592>>2]=0;if(d)return a[b+592>>2]=c,a[k>>2]=d,a[h>>2]&=-513,u=e,1;d=c+1023&-1024;a[b+592>>2]=d;if(!d)return Y(a[b+628>>2]|0,137694,137714,g),u=e,0;g=eb(d)|0;a[k>>2]=g;a[h>>2]|=512;if(g)return u=e,1;g=a[b+628>>2]|0;a[f>>2]=a[b+444>>2];Y(g,137694,138034,f);a[b+592>>2]=0;u=e;return 0}function sd(b,d,c,e,f,g){b|=0;d|=0;c|=0;e|=0;f|=0;g|=0;var h;h=u;u=u+16|0;if(1==(a[b+8>>2]|0))return Y(a[b+628>>2]|0,a[b>>2]|0,137580,h),u=h,-1;if(!(a[b+12>>2]&1024))return Y(a[b+
-628>>2]|0,a[b>>2]|0,138075,h+8|0),u=h,-1;if(!(yf(b,c,e,f,g)|0))return u=h,-1;var m=b;b|=0;c|=0;e|=0;g|=0;var k,l,n,p,q,y,B;k=a[b+68>>2]|0;l=a[b+72>>2]|0;n=a[b+76>>2]|0;p=a[b+64>>2]|0;f=1==(p|0)?0:f|0;k=-1==(k|0)?a[b+56>>2]|0:k;q=-1==(l|0)?a[b+60>>2]|0:l;l=-1==(n|0)?p:n;0!=(k|0)&0!=(q|0)&0!=(l|0)?(n=a[b+56>>2]|0,y=n>>>0<(0-k|0)>>>0?((k+-1+n|0)>>>0)/(k>>>0)|0:0,n=a[b+60>>2]|0,B=p>>>0<(0-l|0)>>>0?((l+-1+p|0)>>>0)/(l>>>0)|0:0,p=E(n>>>0<(0-q|0)>>>0?((q+-1+n|0)>>>0)/(q>>>0)|0:0,y)|0,b=2==(w[b+126>>1]|0)?
-((c>>>0)/(k>>>0)|0)+(E((e>>>0)/(q>>>0)|0,y)|0)+(E(((f>>>0)/(l>>>0)|0)+(E(B,g&65535)|0)|0,p)|0)|0:(E((e>>>0)/(q>>>0)|0,y)|0)+(E((f>>>0)/(l>>>0)|0,p)|0)+((c>>>0)/(k>>>0)|0)|0,b|=0):b=1;d=Od(m,b|0,d,-1)|0;u=h;return d|0}function Od(b,d,c,e){b|=0;d|=0;c|=0;e|=0;var f,g,h,m;f=u;u=u+32|0;g=f+16|0;h=a[b+496>>2]|0;if(1==(a[b+8>>2]|0))return Y(a[b+628>>2]|0,a[b>>2]|0,137580,f),u=f,-1;if(!(a[b+12>>2]&1024))return Y(a[b+628>>2]|0,a[b>>2]|0,138075,f+8|0),u=f,-1;m=a[b+168>>2]|0;if(m>>>0<=d>>>0)return b=a[b+628>>
-2]|0,a[g>>2]=d,a[g+4>>2]=m,Y(b,138116,138136,g),u=f,-1;g=-1==(e|0)|(h|0)<(e|0)?h:e;if(!(we(b,d)|0&&rb[a[b+548>>2]&63](b,c,g,((d>>>0)/((a[b+164>>2]|0)>>>0)|0)&65535)|0))return u=f,-1;td[a[b+652>>2]&127](b,c,g);u=f;return g|0}function we(b,d){b|=0;d|=0;var c,e,f,g,h,m,k,l,n,p,q,y,B=0,H=0,t=0,z=0;c=u;u=u+48|0;e=c+40|0;f=c+32|0;g=c+24|0;h=c+16|0;m=b+176|0;k=a[m>>2]|0;if(!k)return u=c,0;l=b+12|0;n=a[l>>2]|0;do if(!(n&131072)){p=k+(d<<3)|0;q=a[p>>2]|0;y=a[p+4>>2]|0;if(0>(y|0)|0==(y|0)&1>q>>>0)return p=
-a[b+628>>2]|0,B=c,a[B>>2]=q,a[B+4>>2]=y,a[c+8>>2]=d,Y(p,138168,138181,c),e=0,u=c,e|0;if(0!=(n&2048|0)&&0!=((N[b+94>>1]|256)&n|0)){0!=(n&512|0)&&(p=b+588|0,B=a[p>>2]|0,0!=(B|0))?(ja(B),a[p>>2]=0,a[b+592>>2]=0,h=a[l>>2]|0):h=n;p=h&-513;a[l>>2]=p;B=a[b+616>>2]|0;h=(0>(B|0))<<31>>31;if(h>>>0 >>0&&(t[Ra>>0]|0)==(t[h>>0]|0))C=Ra;else{C=Ra;break}}C=C-p|0;h=C+258|0;if((h|0)>(d|0)){a[m>>
-2]=z;if((h|0)>=(y|0)){e=h;f=20;break}Ra=h;c=t[e+(h+f)>>0]|0;C=t[e+(ka+C)>>0]|0}else Ra=d,C=b}else Ra=d,C=b;z=N[k+((z&n)<<1)>>1]|0;if(z>>>0<=l>>>0){e=Ra;f=20;break}if(Q=Q+-1|0)d=Ra,b=C;else{e=Ra;f=20;break}}return 20==(f|0)?(e>>>0>q>>>0?q:e)|0:0}function If(b){b|=0;var d,c;if(!b)return-2;d=a[b+28>>2]|0;if(!d)return-2;a[d+40>>2]=0;a[d+44>>2]=0;a[d+48>>2]=0;a[d+28>>2]=0;a[b+20>>2]=0;a[b+8>>2]=0;a[b+24>>2]=0;(c=a[d+8>>2]|0)&&(a[b+48>>2]=c&1);a[d>>2]=0;a[d+4>>2]=0;a[d+12>>2]=0;a[d+20>>2]=32768;a[d+32>>
-2]=0;a[d+56>>2]=0;a[d+60>>2]=0;c=d+1328|0;a[d+108>>2]=c;a[d+80>>2]=c;a[d+76>>2]=c;a[d+7104>>2]=1;a[d+7108>>2]=-1;return 0}function Ug(b,d,c){b|=0;d|=0;var e;if(!d||56!=(c|0)|49!=(t[d>>0]|0))return-6;if(!b)return-2;d=b+24|0;a[d>>2]=0;c=b+32|0;(e=a[c>>2]|0)?c=e:(a[c>>2]=29,a[b+40>>2]=0,c=29);e=b+36|0;a[e>>2]|0||(a[e>>2]=6);e=Aa[c&63](a[b+40>>2]|0,1,7116)|0;if(!e)return-4;a[b+28>>2]=e;a[e+52>>2]=0;a[e+8>>2]=1;a[e+36>>2]=15;a[e+40>>2]=0;a[e+44>>2]=0;a[e+48>>2]=0;a[e+28>>2]=0;a[b+20>>2]=0;a[b+8>>2]=0;
-a[d>>2]=0;a[b+48>>2]=1;a[e>>2]=0;a[e+4>>2]=0;a[e+12>>2]=0;a[e+20>>2]=32768;a[e+32>>2]=0;a[e+56>>2]=0;a[e+60>>2]=0;b=e+1328|0;a[e+108>>2]=b;a[e+80>>2]=b;a[e+76>>2]=b;a[e+7104>>2]=1;a[e+7108>>2]=-1;return 0}function Ji(b,d){b|=0;d|=0;var c=0,e=0,f=0,g=0,h=0,m=0,k=0,l=0,n=0,p=0,q=0,y=0,B=0,H=0,ka=0,z=0,Q=0,C=0,Ra=0,V=0,r=0,J=0,I=0,G=0,L=0,K=0,E=0,v=0,O=0,M=0,T=0,X=0,P=0,Oa=0,A=0,D=0,ba=0,F=0,Te=0,R=0,ga=0,Ha=0,ma=0,bc=0,ha=0,U=0,Y=0,S=0,da=0,Z=0,fa=0,oa=0,sa=0,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h>>2]|0;if(!m)return f=-2,u=c,f|0;k=a[b>>2]|0;if(0==(k|0)&&0!=(a[b+4>>2]|0))return f=-2,u=c,f|0;l=a[g>>2]|0;n=11==
-(l|0)?a[g>>2]=12:l;l=b+16|0;p=a[l>>2]|0;q=b+4|0;y=a[q>>2]|0;B=g+56|0;H=g+60|0;ka=g+8|0;z=g+24|0;Q=e+1|0;C=g+16|0;Ra=g+32|0;V=b+24|0;r=g+36|0;J=g+20|0;I=b+48|0;G=g+64|0;L=g+12|0;K=2>(d+-5|0)>>>0;E=g+4|0;v=g+76|0;O=g+84|0;M=g+80|0;T=g+88|0;X=6==(d|0);P=g+7108|0;Oa=g+72|0;A=g+7112|0;D=g+68|0;ba=g+44|0;F=g+7104|0;Te=g+48|0;R=g+52|0;ga=g+40|0;Ha=b+20|0;ma=g+28|0;bc=e+2|0;ha=e+3|0;U=g+104|0;Y=g+96|0;S=g+100|0;da=g+624|0;Z=g+1328|0;fa=g+108|0;oa=g+112|0;sa=g+752|0;Kc=g+92|0;ua=m;m=n;n=a[H>>2]|0;Ia=y;Da=
-a[B>>2]|0;na=p;Na=k;k=p;p=0;a:for(;;){b:do switch(m|0){case 28:W=ua;Ca=na;Ga=n;Ea=Ia;La=Da;ca=Na;aa=k;ja=1;break a;case 29:ya=ua;Aa=n;ra=Ia;pa=Da;jb=na;mc=Na;Wa=k;Ta=281;break a;case 30:f=-4;Ta=296;break a;case 0:Ya=a[ka>>2]|0;if(!Ya){a[g>>2]=12;Sa=n;mb=Ia;Db=Da;cc=na;Za=Na;ia=k;qa=ua;Ja=p;break b}if(16>n>>>0)for(ea=n,wa=Ia,Ma=Da,xa=Na;;){if(!wa){W=ua;Ca=na;Ga=ea;Ea=0;La=Ma;ca=xa;aa=k;ja=p;break a}$a=wa+-1|0;la=xa+1|0;Ba=(x[xa>>0]< >1]|0)|0;if(1>(E|0)){B=k;break b}T=k+1|0;z=T+H|0;if(z>>>0>=C>>>0){B=T;break}else k=T,v=E<<1}else B=p;while(0);p=(1<>>0|r&592 >>0){V=1;y=44;break}c=a[e>>2]|0;t[c+(Ra<<2)>>0]=B;t[c+(Ra<<2)+1>>0]=l;w[c+(Ra<<2)+2>>1]=(K-c|0)>>>2;k=B;Q=H;H=O;z=M;B=K;n=p}if(44==(y|0))return u=h,V|0;P&&(t[Oa+(P<<2)>>0]=64,t[Oa+(P<<2)+1>>0]=X,w[Oa+(P<<2)+2>>1]=0);a[e>>
-2]=(a[e>>2]|0)+(A<<2);a[f>>2]=ka;u=h;return 0}function Af(b,d,c,e){b|=0;c|=0;var f,g,h,m,k,l,n;f=b+5820|0;g=a[f>>2]|0;h=(e|0)&65535;e=b+5816|0;m=N[e>>1]|0|h< >>0){k=p+-4|0;m=k>>>2;l=m<<2;n=p;for(p=f;;)if(h^=a[p>>2],h=a[112804+((h>>>
-8&255)<<2)>>2]^a[113828+((h&255)<<2)>>2]^a[111780+((h>>>16&255)<<2)>>2]^a[110756+(h>>>24<<2)>>2],n=n+-4|0,3>=n>>>0){p=h;break}else p=p+4|0;l=k-l|0;m=f+(m+1<<2)|0;k=p}else l=p,m=f,k=h;if(l)for(h=m,p=l,n=k;;)if(f=a[110756+(((x[h>>0]|0)^n&255)<<2)>>2]^n>>>8,p=p+-1|0)h=h+1|0,n=f;else{m=f;break}else m=k}else m=e;while(0);return~m|0}function lg(b,d){b|=0;d|=0;var c;(c=a[b+88>>2]|0)&&(a[c+128>>2]=d);(c=a[b+92>>2]|0)&&(a[c+128>>2]=d);(c=a[b+96>>2]|0)&&(a[c+128>>2]=d);(c=a[b+100>>2]|0)&&(a[c+128>>2]=d);(c=
-a[b+120>>2]|0)&&(a[c+276>>2]=d);(c=a[b+136>>2]|0)&&(a[c+276>>2]=d);(c=a[b+124>>2]|0)&&(a[c+276>>2]=d);(c=a[b+140>>2]|0)&&(a[c+276>>2]=d);(c=a[b+128>>2]|0)&&(a[c+276>>2]=d);(c=a[b+144>>2]|0)&&(a[c+276>>2]=d);(c=a[b+132>>2]|0)&&(a[c+276>>2]=d);(c=a[b+148>>2]|0)&&(a[c+276>>2]=d)}function Gg(b){b|=0;var d;d=Aa[a[a[b+4>>2]>>2]&63](b,1,32)|0;a[b+408>>2]=d;a[d>>2]=30;a[d+4>>2]=31;a[d+8>>2]=32;a[d+12>>2]=33;a[d+16>>2]=34;a[d+20>>2]=44;a[d+24>>2]=8;a[d+28>>2]=0}function ei(b,d){b|=0;d|=0;var c,e,f,g,h,m,k,
-l,n,p,q;c=a[b+88+(d<<2)>>2]|0;c||(e=a[b>>2]|0,a[e+20>>2]=54,a[e+24>>2]=d,R[a[e>>2]&127](b));e=b+388|0;f=a[e>>2]|0;if(0>(f|0))g=0;else for(h=a[b+384>>2]|0,k=m=0;;)if(l=255<(N[c+(a[h+(m<<2)>>2]<<1)>>1]|0)?1:k,(m|0)<(f|0))m=m+1|0,k=l;else{g=l;break}k=c+128|0;if(a[k>>2]|0)return g|0;m=b+24|0;f=a[m>>2]|0;h=a[f>>2]|0;a[f>>2]=h+1;t[h>>0]=-1;h=f+4|0;l=(a[h>>2]|0)+-1|0;a[h>>2]=l;0==(l|0)&&0==(da[a[f+12>>2]&63](b)|0)&&(f=a[b>>2]|0,a[f+20>>2]=25,R[a[f>>2]&127](b));f=a[m>>2]|0;l=a[f>>2]|0;a[f>>2]=l+1;t[l>>0]=
--37;l=f+4|0;h=(a[l>>2]|0)+-1|0;a[l>>2]=h;0==(h|0)&&0==(da[a[f+12>>2]&63](b)|0)&&(f=a[b>>2]|0,a[f+20>>2]=25,R[a[f>>2]&127](b));f=0!=(g|0);h=a[e>>2]|0;l=(f?(h<<1)+2|0:h+1|0)+3|0;h=a[m>>2]|0;n=a[h>>2]|0;a[h>>2]=n+1;t[n>>0]=l>>>8;n=h+4|0;p=(a[n>>2]|0)+-1|0;a[n>>2]=p;0==(p|0)&&0==(da[a[h+12>>2]&63](b)|0)&&(h=a[b>>2]|0,a[h+20>>2]=25,R[a[h>>2]&127](b));h=a[m>>2]|0;p=a[h>>2]|0;a[h>>2]=p+1;t[p>>0]=l;l=h+4|0;p=(a[l>>2]|0)+-1|0;a[l>>2]=p;0==(p|0)&&0==(da[a[h+12>>2]&63](b)|0)&&(h=a[b>>2]|0,a[h+20>>2]=25,R[a[h>>
-2]&127](b));h=a[m>>2]|0;p=a[h>>2]|0;a[h>>2]=p+1;t[p>>0]=(g<<4)+d;d=h+4|0;p=(a[d>>2]|0)+-1|0;a[d>>2]=p;0==(p|0)&&0==(da[a[h+12>>2]&63](b)|0)&&(h=a[b>>2]|0,a[h+20>>2]=25,R[a[h>>2]&127](b));a:do if(0<=(a[e>>2]|0)){h=b+384|0;if(f)q=0;else for(p=0;;)if(d=a[m>>2]|0,l=w[c+(a[(a[h>>2]|0)+(p<<2)>>2]<<1)>>1]&255,n=a[d>>2]|0,a[d>>2]=n+1,t[n>>0]=l,l=d+4|0,n=(a[l>>2]|0)+-1|0,a[l>>2]=n,0==(n|0)&&0==(da[a[d+12>>2]&63](b)|0)&&(d=a[b>>2]|0,a[d+20>>2]=25,R[a[d>>2]&127](b)),(p|0)<(a[e>>2]|0))p=p+1|0;else break a;for(;;)if(p=
-w[c+(a[(a[h>>2]|0)+(q<<2)>>2]<<1)>>1]|0,d=a[m>>2]|0,n=a[d>>2]|0,a[d>>2]=n+1,t[n>>0]=(p&65535)>>>8,n=d+4|0,l=(a[n>>2]|0)+-1|0,a[n>>2]=l,0==(l|0)&&0==(da[a[d+12>>2]&63](b)|0)&&(d=a[b>>2]|0,a[d+20>>2]=25,R[a[d>>2]&127](b)),d=a[m>>2]|0,l=a[d>>2]|0,a[d>>2]=l+1,t[l>>0]=p,p=d+4|0,l=(a[p>>2]|0)+-1|0,a[p>>2]=l,0==(l|0)&&0==(da[a[d+12>>2]&63](b)|0)&&(d=a[b>>2]|0,a[d+20>>2]=25,R[a[d>>2]&127](b)),(q|0)<(a[e>>2]|0))q=q+1|0;else break}while(0);a[k>>2]=1;return g|0}function Me(b,d,c){b|=0;d|=0;var e,f,g,h,m,k,l;
-c=(e=0==(c|0))?d:d+16|0;f=a[(e?b+120+(d<<2)|0:b+136+(d<<2)|0)>>2]|0;f||(d=a[b>>2]|0,a[d+20>>2]=52,a[d+24>>2]=c,R[a[d>>2]&127](b));d=f+276|0;if(!(a[d>>2]|0)){e=b+24|0;g=a[e>>2]|0;h=a[g>>2]|0;a[g>>2]=h+1;t[h>>0]=-1;h=g+4|0;m=(a[h>>2]|0)+-1|0;a[h>>2]=m;0==(m|0)&&0==(da[a[g+12>>2]&63](b)|0)&&(g=a[b>>2]|0,a[g+20>>2]=25,R[a[g>>2]&127](b));g=a[e>>2]|0;m=a[g>>2]|0;a[g>>2]=m+1;t[m>>0]=-60;m=g+4|0;h=(a[m>>2]|0)+-1|0;a[m>>2]=h;0==(h|0)&&0==(da[a[g+12>>2]&63](b)|0)&&(g=a[b>>2]|0,a[g+20>>2]=25,R[a[g>>2]&127](b));
-g=(x[f+16>>0]|0)+((x[f+15>>0]|0)+((x[f+14>>0]|0)+((x[f+13>>0]|0)+((x[f+12>>0]|0)+((x[f+11>>0]|0)+((x[f+10>>0]|0)+((x[f+9>>0]|0)+((x[f+8>>0]|0)+((x[f+7>>0]|0)+((x[f+6>>0]|0)+((x[f+5>>0]|0)+((x[f+4>>0]|0)+((x[f+3>>0]|0)+((x[f+2>>0]|0)+(x[f+1>>0]|0)))))))))))))))|0;h=g+19|0;m=a[e>>2]|0;k=a[m>>2]|0;a[m>>2]=k+1;t[k>>0]=h>>>8;k=m+4|0;l=(a[k>>2]|0)+-1|0;a[k>>2]=l;0==(l|0)&&0==(da[a[m+12>>2]&63](b)|0)&&(m=a[b>>2]|0,a[m+20>>2]=25,R[a[m>>2]&127](b));m=a[e>>2]|0;l=a[m>>2]|0;a[m>>2]=l+1;t[l>>0]=h;h=m+4|0;l=(a[h>>
-2]|0)+-1|0;a[h>>2]=l;0==(l|0)&&0==(da[a[m+12>>2]&63](b)|0)&&(m=a[b>>2]|0,a[m+20>>2]=25,R[a[m>>2]&127](b));m=a[e>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2]|0;a[g>>2]=f+1;t[f>>0]=d;d=g+4|0;f=(a[d>>2]|0)+-1|0;a[d>>2]=f;0==(f|0)&&0==(da[a[g+12>>2]&63](b)|0)&&(g=a[b>>2]|0,a[g+20>>2]=25,R[a[g>>2]&127](b));g=a[c>>2]|0;
-f=a[e>>2]&255;d=a[g>>2]|0;a[g>>2]=d+1;t[d>>0]=f;f=g+4|0;d=(a[f>>2]|0)+-1|0;a[f>>2]=d;0==(d|0)&&0==(da[a[g+12>>2]&63](b)|0)&&(g=a[b>>2]|0,a[g+20>>2]=25,R[a[g>>2]&127](b));if(!(0>=(a[e>>2]|0)))for(g=0,d=a[b+84>>2]|0;!(f=a[c>>2]|0,h=a[d>>2]&255,m=a[f>>2]|0,a[f>>2]=m+1,t[m>>0]=h,h=f+4|0,m=(a[h>>2]|0)+-1|0,a[h>>2]=m,0==(m|0)&&0==(da[a[f+12>>2]&63](b)|0)&&(f=a[b>>2]|0,a[f+20>>2]=25,R[a[f>>2]&127](b)),f=a[c>>2]|0,m=(a[d+8>>2]<<4)+(a[d+12>>2]|0)&255,h=a[f>>2]|0,a[f>>2]=h+1,t[h>>0]=m,m=f+4|0,h=(a[m>>2]|0)+
--1|0,a[m>>2]=h,0==(h|0)&&0==(da[a[f+12>>2]&63](b)|0)&&(f=a[b>>2]|0,a[f+20>>2]=25,R[a[f>>2]&127](b)),f=a[c>>2]|0,h=a[d+16>>2]&255,m=a[f>>2]|0,a[f>>2]=m+1,t[m>>0]=h,h=f+4|0,m=(a[h>>2]|0)+-1|0,a[h>>2]=m,0==(m|0)&&0==(da[a[f+12>>2]&63](b)|0)&&(f=a[b>>2]|0,a[f+20>>2]=25,R[a[f>>2]&127](b)),g=g+1|0,(g|0)>=(a[e>>2]|0));)d=d+88|0}function Vg(b){b|=0;var d,c,e,f,g;if(d=a[b+204>>2]|0){c=a[(a[b+392>>2]|0)+32>>2]|0;e=a[d+(36*c|0)>>2]|0;a[b+292>>2]=e;if(0<(e|0)){g=b+84|0;f=0;do a[b+296+(f<<2)>>2]=(a[g>>2]|0)+(88*
-(a[d+(36*c|0)+4+(f<<2)>>2]|0)|0),f=f+1|0;while((f|0)<(e|0))}if(a[b+268>>2]|0){a[b+364>>2]=a[d+(36*c|0)+20>>2];a[b+368>>2]=a[d+(36*c|0)+24>>2];a[b+372>>2]=a[d+(36*c|0)+28>>2];a[b+376>>2]=a[d+(36*c|0)+32>>2];return}}else if(c=b+76|0,e=a[c>>2]|0,4<(e|0)?(f=a[b>>2]|0,a[f+20>>2]=27,a[f+24>>2]=e,a[f+28>>2]=4,R[a[f>>2]&127](b),g=a[c>>2]|0):g=e,a[b+292>>2]=g,0<(g|0)){g=b+84|0;e=0;do a[b+296+(e<<2)>>2]=(a[g>>2]|0)+(88*e|0),e=e+1|0;while((e|0)<(a[c>>2]|0))}a[b+364>>2]=0;c=a[b+380>>2]|0;d=(E(c,c)|0)+-1|0;a[b+
-368>>2]=d;a[b+372>>2]=0;a[b+376>>2]=0}function Jf(b){b|=0;var d,c,e,f,g,h,m,k,l;d=b+292|0;c=a[d>>2]|0;a:do if(1!=(c|0)){if(3<(c+-1|0)>>>0&&(e=a[b>>2]|0,a[e+20>>2]=27,a[e+24>>2]=c,a[e+28>>2]=4,R[a[e>>2]&127](b)),e=b+380|0,f=Gb(a[b+64>>2]|0,E(a[e>>2]|0,a[b+272>>2]|0)|0)|0,a[b+312>>2]=f,f=Gb(a[b+68>>2]|0,E(a[e>>2]|0,a[b+276>>2]|0)|0)|0,a[b+316>>2]=f,f=b+320|0,a[f>>2]=0,0<(a[d>>2]|0))for(g=e=0;;){c=a[b+296+(g<<2)>>2]|0;h=a[c+8>>2]|0;a[c+56>>2]=h;m=a[c+12>>2]|0;a[c+60>>2]=m;k=E(h,m)|0;a[c+64>>2]=k;l=E(a[c+
-36>>2]|0,h)|0;a[c+68>>2]=l;l=((a[c+28>>2]|0)>>>0)%(h>>>0)|0;a[c+72>>2]=0==(l|0)?h:l;l=((a[c+32>>2]|0)>>>0)%(m>>>0)|0;a[c+76>>2]=0==(l|0)?m:l;10<(e+k|0)&&(l=a[b>>2]|0,a[l+20>>2]=14,R[a[l>>2]&127](b));if(0<(k|0))for(l=k;;)if(k=a[f>>2]|0,a[f>>2]=k+1,a[b+324+(k<<2)>>2]=g,1<(l|0))l=l+-1|0;else break;l=g+1|0;if((l|0)>=(a[d>>2]|0))break a;e=a[f>>2]|0;g=l}}else g=a[b+296>>2]|0,a[b+312>>2]=a[g+28>>2],f=a[g+32>>2]|0,a[b+316>>2]=f,a[g+56>>2]=1,a[g+60>>2]=1,a[g+64>>2]=1,a[g+68>>2]=a[g+36>>2],a[g+72>>2]=1,e=a[g+
-12>>2]|0,l=(f>>>0)%(e>>>0)|0,a[g+76>>2]=0==(l|0)?e:l,a[b+320>>2]=1,a[b+324>>2]=0;while(0);d=a[b+240>>2]|0;0>=(d|0)||(c=E(a[b+312>>2]|0,d)|0,a[b+236>>2]=65535>(c|0)?c:65535)}function yi(b){b|=0;var d;if(d=a[b+4>>2]|0)ub[a[d+36>>2]&31](b,1),d=b+20|0,a[b+16>>2]|0?(a[d>>2]=200,a[b+312>>2]=0):a[d>>2]=100}function fi(b){b|=0;var d,c;d=b+4|0;if(c=a[d>>2]|0)R[a[c+40>>2]&127](b);a[d>>2]=0;a[b+20>>2]=0}function zf(b){b|=0;b=Aa[a[a[b+4>>2]>>2]&63](b,0,132)|0;a[b+128>>2]=0;return b|0}function Zi(b){b|=0;b=Aa[a[a[b+
-4>>2]>>2]&63](b,0,280)|0;a[b+276>>2]=0;return b|0}function Yg(b,d,c){b|=0;d|=0;c|=0;var e,f,g,h,m;e=b+20|0;f=a[e>>2]|0;100!=(f|0)&&(g=a[b>>2]|0,a[g+20>>2]=21,a[g+24>>2]=f,R[a[g>>2]&127](b));g=b+88|0;(f=a[g>>2]|0)?m=f:(h=zf(b)|0,m=a[g>>2]=h);if(f=0==(c|0)){c=0;do h=((E(a[118948+(c<<2)>>2]|0,d)|0)+50|0)/100|0,g=1>(h|0)?1:h,w[m+(c<<1)>>1]=32767<(g|0)?32767:g&65535,c=c+1|0;while(64!=(c|0))}else{c=0;do g=((E(a[118948+(c<<2)>>2]|0,d)|0)+50|0)/100|0,h=1>(g|0)?1:g,g=32767<(h|0)?32767:h,w[m+(c<<1)>>1]=255<
-(g|0)?255:g&65535,c=c+1|0;while(64!=(c|0))}a[m+128>>2]=0;m=a[e>>2]|0;100!=(m|0)&&(e=a[b>>2]|0,a[e+20>>2]=21,a[e+24>>2]=m,R[a[e>>2]&127](b));e=b+92|0;(m=a[e>>2]|0)?b=m:(c=zf(b)|0,b=a[e>>2]=c);if(f){f=0;do m=((E(a[119204+(f<<2)>>2]|0,d)|0)+50|0)/100|0,c=1>(m|0)?1:m,w[b+(f<<1)>>1]=32767<(c|0)?32767:c&65535,f=f+1|0;while(64!=(f|0))}else{f=0;do c=((E(a[119204+(f<<2)>>2]|0,d)|0)+50|0)/100|0,m=1>(c|0)?1:c,c=32767<(m|0)?32767:m,w[b+(f<<1)>>1]=255<(c|0)?255:c&65535,f=f+1|0;while(64!=(f|0))}a[(b+128|0)>>2]=
-0}function zi(b,d,c,e){b|=0;d|=0;c|=0;e|=0;var f,g,h;(f=a[d>>2]|0)?h=f:(g=Zi(b)|0,h=a[d>>2]=g);f=h;h=c;g=f+17|0;do t[f>>0]=t[h>>0]|0,f=f+1|0,h=h+1|0;while((f|0)<(g|0));h=(x[c+16>>0]|0)+((x[c+15>>0]|0)+((x[c+14>>0]|0)+((x[c+13>>0]|0)+((x[c+12>>0]|0)+((x[c+11>>0]|0)+((x[c+10>>0]|0)+((x[c+9>>0]|0)+((x[c+8>>0]|0)+((x[c+7>>0]|0)+((x[c+6>>0]|0)+((x[c+5>>0]|0)+((x[c+4>>0]|0)+((x[c+3>>0]|0)+((x[c+2>>0]|0)+(x[c+1>>0]|0)))))))))))))))|0;255>=(h+-1|0)>>>0||(c=a[b>>2]|0,a[c+20>>2]=9,R[a[c>>2]&127](b));Ec((a[d>>
-2]|0)+17|0,e|0,h|0)|0;a[((a[d>>2]|0)+276|0)>>2]=0}function Nh(b){b|=0;var d,c,e,f,g,h;d=b+20|0;c=a[d>>2]|0;switch(c|0){case 200:e=b+460|0;R[a[(a[e>>2]|0)+4>>2]&127](b);R[a[(a[b+24>>2]|0)+8>>2]&127](b);a[d>>2]=201;f=e;break;case 201:f=b+460|0;break;case 210:case 208:case 207:case 206:case 205:case 204:case 203:return b=da[a[a[b+460>>2]>>2]&63](b)|0,b|0;case 202:return 1;default:return e=a[b>>2]|0,a[e+20>>2]=21,a[e+24>>2]=c,R[a[e>>2]&127](b),0}e=da[a[a[f>>2]>>2]&63](b)|0;if(1!=(e|0))return e|0;switch(a[b+
-36>>2]|0){case 1:a[b+40>>2]=1;a[b+44>>2]=1;break;case 3:e=a[b+216>>2]|0;f=a[e>>2]|0;c=a[e+88>>2]|0;g=a[e+176>>2]|0;e=1==(f|0);a:do if(e&2==(c|0)&3==(g|0))a[b+40>>2]=3;else if(e&34==(c|0)&35==(g|0))a[b+40>>2]=7;else if(82==(f|0)&71==(c|0)&66==(g|0))a[b+40>>2]=2;else if(114==(f|0)&103==(c|0)&98==(g|0))a[b+40>>2]=6;else if(a[b+284>>2]|0)a[b+40>>2]=3;else if(a[b+296>>2]|0)switch(h=x[b+300>>0]|0,h|0){case 0:a[b+40>>2]=2;break a;case 1:a[b+40>>2]=3;break a;default:c=a[b>>2]|0;a[c+20>>2]=116;a[c+24>>2]=
-h;ub[a[c+4>>2]&31](b,-1);a[b+40>>2]=3;break a}else h=a[b>>2]|0,a[h+24>>2]=f,a[h+28>>2]=c,a[h+32>>2]=g,a[h+20>>2]=113,ub[a[h+4>>2]&31](b,1),a[b+40>>2]=3;while(0);a[b+44>>2]=2;break;case 4:a:do if(a[b+296>>2]|0)switch(g=x[b+300>>0]|0,g|0){case 0:a[b+40>>2]=4;break a;case 2:a[b+40>>2]=5;break a;default:c=a[b>>2]|0;a[c+20>>2]=116;a[c+24>>2]=g;ub[a[c+4>>2]&31](b,-1);a[b+40>>2]=5;break a}else a[b+40>>2]=4;while(0);a[b+44>>2]=4;break;default:a[b+40>>2]=0,a[b+44>>2]=0}c=a[b+428>>2]|0;a[b+48>>2]=c;a[b+52>>
-2]=c;Hb[b+56>>3]=1;a[b+64>>2]=0;a[b+68>>2]=0;a[b+72>>2]=0;a[b+76>>2]=1;a[b+80>>2]=1;a[b+84>>2]=0;a[b+88>>2]=2;a[b+92>>2]=1;a[b+96>>2]=256;a[b+136>>2]=0;a[b+100>>2]=0;a[b+104>>2]=0;a[b+108>>2]=0;a[d>>2]=202;return 1}function $g(b){b|=0;var d,c,e,f,g,h,m,k,l;d=b+340|0;c=a[d>>2]|0;if(1!=(c|0)){3<(c+-1|0)>>>0&&(e=a[b>>2]|0,a[e+20>>2]=27,a[e+24>>2]=c,a[e+28>>2]=4,R[a[e>>2]&127](b));e=b+428|0;c=Gb(a[b+28>>2]|0,E(a[e>>2]|0,a[b+316>>2]|0)|0)|0;a[b+360>>2]=c;c=Gb(a[b+32>>2]|0,E(a[e>>2]|0,a[b+320>>2]|0)|0)|
-0;a[b+364>>2]=c;c=b+368|0;a[c>>2]=0;if(0>=(a[d>>2]|0)){d=a[(b+468|0)>>2]|0;d=a[d>>2]|0;R[d&127](b);d=b+452|0;e=a[d>>2]|0;e=a[e>>2]|0;R[e&127](b);d=a[d>>2]|0;d=a[(d+4|0)>>2]|0;b=a[(b+460|0)>>2]|0;a[b>>2]=d;return}for(f=e=0;;){g=a[b+344+(f<<2)>>2]|0;h=a[g+8>>2]|0;a[g+56>>2]=h;m=a[g+12>>2]|0;a[g+60>>2]=m;k=E(m,h)|0;a[g+64>>2]=k;l=E(a[g+36>>2]|0,h)|0;a[g+68>>2]=l;l=((a[g+28>>2]|0)>>>0)%(h>>>0)|0;a[g+72>>2]=0==(l|0)?h:l;l=((a[g+32>>2]|0)>>>0)%(m>>>0)|0;a[g+76>>2]=0==(l|0)?m:l;10<(k+e|0)&&(l=a[b>>2]|0,
-a[l+20>>2]=14,R[a[l>>2]&127](b));if(0<(k|0))for(l=k;;)if(k=a[c>>2]|0,a[c>>2]=k+1,a[b+372+(k<<2)>>2]=f,1<(l|0))l=l+-1|0;else break;l=f+1|0;k=a[d>>2]|0;if((l|0)>=(k|0)){h=k;break}e=a[c>>2]|0;f=l}if(0<(h|0))g=h;else{d=a[(b+468|0)>>2]|0;d=a[d>>2]|0;R[d&127](b);d=b+452|0;e=a[d>>2]|0;e=a[e>>2]|0;R[e&127](b);d=a[d>>2]|0;d=a[(d+4|0)>>2]|0;b=a[(b+460|0)>>2]|0;a[b>>2]=d;return}}else h=a[b+344>>2]|0,a[b+360>>2]=a[h+28>>2],f=a[h+32>>2]|0,a[b+364>>2]=f,a[h+56>>2]=1,a[h+60>>2]=1,a[h+64>>2]=1,a[h+68>>2]=a[h+36>>
-2],a[h+72>>2]=1,c=a[h+12>>2]|0,e=(f>>>0)%(c>>>0)|0,a[h+76>>2]=0==(e|0)?c:e,a[b+368>>2]=1,a[b+372>>2]=0,g=1;e=b+4|0;c=g;for(g=0;!(h=a[b+344+(g<<2)>>2]|0,f=h+80|0,a[f>>2]|0||(l=a[h+16>>2]|0,h=b+164+(l<<2)|0,3>=l>>>0&&0!=(a[h>>2]|0)||(k=a[b>>2]|0,a[k+20>>2]=54,a[k+24>>2]=l,R[a[k>>2]&127](b)),k=Aa[a[a[e>>2]>>2]&63](b,1,132)|0,Ec(k|0,a[h>>2]|0,132)|0,a[f>>2]=k,c=a[d>>2]|0),g=g+1|0,(g|0)>=(c|0)););d=a[(b+468|0)>>2]|0;d=a[d>>2]|0;R[d&127](b);d=b+452|0;e=a[d>>2]|0;e=a[e>>2]|0;R[e&127](b);d=a[d>>2]|0;d=a[(d+
-4|0)>>2]|0;b=a[(b+460|0)>>2]|0;a[b>>2]=d}function rg(b){b|=0;var d,c,e,f,g,h,m=0,k,l,n,p=0,q=0,y=0,B=0;d=a[b+24>>2]|0;c=d+4|0;e=d+12|0;f=b+464|0;g=a[c>>2]|0;h=a[d>>2]|0;a:for(;;){if(!g){if(!(da[a[e>>2]&63](b)|0)){m=0;e=19;break}h=a[d>>2]|0;g=a[c>>2]|0}k=g+-1|0;l=h+1|0;if(-1==(t[h>>0]|0))h=l;else for(h=k,k=l;;){l=(a[f>>2]|0)+24|0;a[l>>2]=(a[l>>2]|0)+1;a[d>>2]=k;a[c>>2]=h;if(!h){if(!(da[a[e>>2]&63](b)|0)){m=0;e=19;break a}k=a[d>>2]|0;h=a[c>>2]|0}l=h+-1|0;g=k+1|0;if(-1==(t[k>>0]|0)){k=l;h=g;break}else h=
-l,k=g}for(;;){if(k)l=k,g=h;else{if(!(da[a[e>>2]&63](b)|0)){m=0;e=19;break a}l=a[c>>2]|0;g=a[d>>2]|0}k=l+-1|0;h=g+1|0;g=t[g>>0]|0;if(-1!=g<<24>>24){l=h;n=g;break}}g=(a[f>>2]|0)+24|0;h=a[g>>2]|0;if(n<<24>>24){p=k;q=l;y=n;B=h;e=16;break}a[g>>2]=h+2;a[d>>2]=l;g=a[c>>2]=k;h=l}return 16==(e|0)?(l=y&255,B&&(y=a[b>>2]|0,a[y+20>>2]=119,a[y+24>>2]=B,a[y+28>>2]=l,ub[a[y+4>>2]&31](b,-1),a[(a[f>>2]|0)+24>>2]=0),a[b+440>>2]=l,a[d>>2]=q,a[c>>2]=p,1):19==(e|0)?m|0:0}function Uh(b,d,c,e){b|=0;d|=0;c|=0;var f,g,h,
-m,k,l,n,p,q,y;l=0;f=(e|0)+c|0;if(13>aa-6&63,aa=aa-6,F=F+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[yc];2==aa?(F+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(S&3)<<4],F+="=="):4==aa&&(F+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[(S&15)<<2],F+="=");fb.src=D+F;ya(fb)}};fb.src=Ka;S.safeSetTimeout(function(){ya(fb)},1E4)}else return ca()}});var v=F.canvas;v&&(v.requestPointerLock=v.requestPointerLock||v.mozRequestPointerLock||v.webkitRequestPointerLock||
-v.msRequestPointerLock||function(){},v.exitPointerLock=document.exitPointerLock||document.mozExitPointerLock||document.webkitExitPointerLock||document.msExitPointerLock||function(){},v.exitPointerLock=v.exitPointerLock.bind(document),document.addEventListener("pointerlockchange",r,!1),document.addEventListener("mozpointerlockchange",r,!1),document.addEventListener("webkitpointerlockchange",r,!1),document.addEventListener("mspointerlockchange",r,!1),F.elementPointerLock&&v.addEventListener("click",
-function(r){!S.pointerLock&&v.requestPointerLock&&(v.requestPointerLock(),r.preventDefault())},!1))}},createContext:function(r,v,A,D){if(v&&F.ctx&&r==F.canvas)return F.ctx;var ca,aa;if(v){aa={antialias:!1,alpha:!1};if(D)for(var ya in D)aa[ya]=D[ya];if(aa=GL.createContext(r,aa))ca=GL.getContext(aa).GLctx;r.style.backgroundColor="black"}else ca=r.getContext("2d");if(!ca)return null;A&&(v||fb("undefined"===typeof GLctx,"cannot set in module if GLctx is used, but we are a non-GL context that would replace it"),
-F.ctx=ca,v&&GL.makeContextCurrent(aa),F.useWebGL=v,S.moduleContextCreatedCallbacks.forEach(function(r){r()}),S.init());return ca},destroyContext:function(r,v,A){},fullScreenHandlersInstalled:!1,lockPointer:void 0,resizeCanvas:void 0,requestFullScreen:function(r,v,A){function D(){S.isFullScreen=!1;var r=ca.parentNode;(document.webkitFullScreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.mozFullscreenElement||document.fullScreenElement||document.fullscreenElement||
-document.msFullScreenElement||document.msFullscreenElement||document.webkitCurrentFullScreenElement)===r?(ca.cancelFullScreen=document.cancelFullScreen||document.mozCancelFullScreen||document.webkitCancelFullScreen||document.msExitFullscreen||document.exitFullscreen||function(){},ca.cancelFullScreen=ca.cancelFullScreen.bind(document),S.lockPointer&&ca.requestPointerLock(),S.isFullScreen=!0,S.resizeCanvas&&S.setFullScreenCanvasSize()):(r.parentNode.insertBefore(ca,r),r.parentNode.removeChild(r),S.resizeCanvas&&
-S.setWindowedCanvasSize());if(F.onFullScreen)F.onFullScreen(S.isFullScreen);S.updateCanvasDimensions(ca)}S.lockPointer=r;S.resizeCanvas=v;S.vrDevice=A;"undefined"===typeof S.lockPointer&&(S.lockPointer=!0);"undefined"===typeof S.resizeCanvas&&(S.resizeCanvas=!1);"undefined"===typeof S.vrDevice&&(S.vrDevice=null);var ca=F.canvas;S.fullScreenHandlersInstalled||(S.fullScreenHandlersInstalled=!0,document.addEventListener("fullscreenchange",D,!1),document.addEventListener("mozfullscreenchange",D,!1),document.addEventListener("webkitfullscreenchange",
-D,!1),document.addEventListener("MSFullscreenChange",D,!1));var aa=document.createElement("div");ca.parentNode.insertBefore(aa,ca);aa.appendChild(ca);aa.requestFullScreen=aa.requestFullScreen||aa.mozRequestFullScreen||aa.msRequestFullscreen||(aa.webkitRequestFullScreen?function(){aa.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}:null);A?aa.requestFullScreen({vrDisplay:A}):aa.requestFullScreen()},nextRAF:0,fakeRequestAnimationFrame:function(r){var v=Date.now();if(0===S.nextRAF)S.nextRAF=v+
-1E3/60;else for(;v+2>=S.nextRAF;)S.nextRAF+=1E3/60;setTimeout(r,Math.max(S.nextRAF-v,0))},requestAnimationFrame:function(r){"undefined"===typeof window?S.fakeRequestAnimationFrame(r):(window.requestAnimationFrame||(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||S.fakeRequestAnimationFrame),window.requestAnimationFrame(r))},safeCallback:function(r){return function(){if(!xe)return r.apply(null,
-arguments)}},allowAsyncCallbacks:!0,queuedAsyncCallbacks:[],pauseAsyncCallbacks:function(){S.allowAsyncCallbacks=!1},resumeAsyncCallbacks:function(){S.allowAsyncCallbacks=!0;if(0>>0|(l|0)==(q|0)&y>>>0
>>0?0:(H=(a[b+172>>2]|0)+(d<<3)|0,t=a[H>>2]|0,z=a[H+4>>2]|0,H=Ic(B|0,h|0,q|0,y|0)|0,h=U,!(z>>>0>h>>>0|(z|0)==(h|0)&t>>>0>H>>>0))){a[b+592>>2]=q;a[b+588>>2]=(a[b+612>>2]|0)+t;a[b+596>>2]=
-0;a[b+600>>2]=q;a[l>>2]=p|8388608;break}a[b+492>>2]=-1;e=0;u=c;return e|0}if(!((q|0)==(q|0)&((0>(q|0))<<31>>31|0)==(y|0)))return Y(a[b+628>>2]|0,138168,139721,h),e=0,u=c,e|0;if((q|0)>(a[b+592>>2]|0)){a[b+492>>2]=-1;if(!(n&512))return y=a[b+628>>2]|0,a[g>>2]=d,Y(y,138168,138221,g),e=0,u=c,e|0;if(ld(b,0,q)|0)y=a[l>>2]|0;else return e=0,u=c,e|0}else y=n;if(0!=(y&8388608|0)&&(a[b+492>>2]=-1,0==(ld(b,0,q)|0)))return e=0,u=c,e|0;y=b+588|0;if((xe(b,d,a[y>>2]|0,q,138168)|0)!=(q|0))return e=0,u=c,e|0;a[b+
-596>>2]=0;a[b+600>>2]=q;(N[b+94>>1]|256)&a[l>>2]||ye(a[y>>2]|0,q)}while(0);if(!(a[m>>2]|0))return u=c,0;y=a[l>>2]|0;if(y&32)q=y;else if(da[a[b+508>>2]&63](b)|0)n=a[l>>2]|32,q=a[l>>2]=n;else return u=c,0;a[b+492>>2]=d;y=a[b+56>>2]|0;n=a[b+68>>2]|0;if(y>>>0<(0-n|0)>>>0&&(g=((y+-1+n|0)>>>0)/(n>>>0)|0,0!=(g|0))){y=a[b+72>>2]|0;h=E(y,(d>>>0)%(g>>>0)|0)|0;a[b+444>>2]=h;h=a[b+60>>2]|0;if(h>>>0<(0-y|0)>>>0&&(g=((y+-1+h|0)>>>0)/(y>>>0)|0,0!=(g|0)))return y=E((d>>>0)%(g>>>0)|0,n)|0,a[b+488>>2]=y,a[l>>2]=q&
--1048577,q&131072?e=a[b+604>>2]=0:(a[b+604>>2]=a[b+588>>2],e=a[(a[m>>2]|0)+(d<<3)>>2]|0),a[b+608>>2]=e,e=dd[a[b+512>>2]&127](b,((d>>>0)/((a[b+164>>2]|0)>>>0)|0)&65535)|0,u=c,e|0;Y(a[b+628>>2]|0,138260,138274,e);u=c;return 0}Y(a[b+628>>2]|0,138260,138274,f);u=c;return 0}function me(b,d,c,e,f){b|=0;d|=0;c|=0;e|=0;f|=0;var g,h,m,k,l,n,p,q=p=0;g=u;u=u+64|0;h=g+32|0;m=g+8|0;k=g;l=a[b+12>>2]|0;l&131072&&Z(137648,137683,372,138609);if(!(l&2048)){l=b+628|0;h=b+172|0;n=(a[h>>2]|0)+(d<<3)|0;p=rb[a[b+640>>2]&
-63](a[l>>2]|0,a[n>>2]|0,a[n+4>>2]|0,0)|0;n=(a[h>>2]|0)+(d<<3)|0;if((p|0)!=(a[n>>2]|0)||(U|0)!=(a[n+4>>2]|0))return n=a[l>>2]|0,a[k>>2]=a[b+444>>2],a[k+4>>2]=d,Y(n,f,137734,k),u=g,-1;k=Aa[a[b+632>>2]&63](a[l>>2]|0,c,e)|0;if((k|0)==(e|0))return u=g,e|0;n=a[l>>2]|0;a[m>>2]=a[b+444>>2];l=m+8|0;a[l>>2]=k;a[l+4>>2]=(0>(k|0))<<31>>31;k=m+16|0;a[k>>2]=e;a[k+4>>2]=(0>(e|0))<<31>>31;Y(n,f,137772,m);u=g;return-1}m=(a[b+172>>2]|0)+(d<<3)|0;n=a[m>>2]|0;k=n+e|0;(n|0)==(n|0)&&((0>(n|0))<<31>>31|0)==(a[m+4>>2]|0)&&
-(m=a[b+616>>2]|0,(m|0)>=(n|0))?0>(n|e|0)|(k|0)>(m|0)&&(p=m-n|0,q=13):(p=0,q=13);if(13==(q|0)&&(p|0)!=(e|0))return q=a[b+628>>2]|0,a[h>>2]=a[b+444>>2],a[h+4>>2]=d,d=h+8|0,a[d>>2]=p,a[d+4>>2]=(0>(p|0))<<31>>31,p=h+16|0,a[p>>2]=e,a[p+4>>2]=(0>(e|0))<<31>>31,Y(q,f,138627,h),u=g,-1;Ab(c,(a[b+612>>2]|0)+n|0,e);u=g;return e|0}function xe(b,d,c,e,f){b|=0;d|=0;c|=0;e|=0;f|=0;var g,h,m,k,l,n,p,q=p=0;g=u;u=u+80|0;h=g+40|0;m=g+16|0;k=g;l=a[b+12>>2]|0;l&131072&&Z(137648,137683,684,138417);if(!(l&2048)){l=b+628|
-0;h=b+172|0;n=(a[h>>2]|0)+(d<<3)|0;p=rb[a[b+640>>2]&63](a[l>>2]|0,a[n>>2]|0,a[n+4>>2]|0,0)|0;n=(a[h>>2]|0)+(d<<3)|0;if((p|0)!=(a[n>>2]|0)||(U|0)!=(a[n+4>>2]|0))return n=a[l>>2]|0,p=a[b+488>>2]|0,a[k>>2]=a[b+444>>2],a[k+4>>2]=p,a[k+8>>2]=d,Y(n,f,138434,k),u=g,-1;k=Aa[a[b+632>>2]&63](a[l>>2]|0,c,e)|0;if((k|0)==(e|0))return u=g,e|0;n=a[l>>2]|0;l=a[b+488>>2]|0;a[m>>2]=a[b+444>>2];a[m+4>>2]=l;l=m+8|0;a[l>>2]=k;a[l+4>>2]=(0>(k|0))<<31>>31;k=m+16|0;a[k>>2]=e;a[k+4>>2]=(0>(e|0))<<31>>31;Y(n,f,138475,m);u=
-g;return-1}m=(a[b+172>>2]|0)+(d<<3)|0;n=a[m>>2]|0;k=n+e|0;(n|0)==(n|0)&&((0>(n|0))<<31>>31|0)==(a[m+4>>2]|0)&&(m=a[b+616>>2]|0,(m|0)>=(n|0))?0>(n|e|0)|(k|0)>(m|0)&&(p=m-n|0,q=13):(p=0,q=13);if(13==(q|0)&&(p|0)!=(e|0))return q=a[b+628>>2]|0,m=a[b+488>>2]|0,a[h>>2]=a[b+444>>2],a[h+4>>2]=m,a[h+8>>2]=d,d=h+16|0,a[d>>2]=p,a[d+4>>2]=(0>(p|0))<<31>>31,p=h+24|0,a[p>>2]=e,a[p+4>>2]=(0>(e|0))<<31>>31,Y(q,f,138537,h),u=g,-1;Ab(c,(a[b+612>>2]|0)+n|0,e);u=g;return e|0}function Pc(b,d,c){b|=0;c|=0;var e,f,g;e=
-u;u=u+16|0;f=((d|0)>>>0)/((a[b+100>>2]|0)>>>0)|0;if(2!=(w[b+126>>1]|0))return u=e,f|0;d=c&65535;g=w[b+98>>1]|0;if((g&65535)>(c&65535))return b=(E(a[b+164>>2]|0,d)|0)+f|0,u=e,b|0;f=a[b+628>>2]|0;a[e>>2]=d;a[e+4>>2]=g&65535;Y(f,138696,139539,e);u=e;return 0}function Yd(b,d){b|=0;d|=0;var c,e,f,g,h,m;c=u;u=u+32|0;e=c+16|0;f=c+8|0;g=c;h=c+24|0;m=-1==(d|0)?a[b+60>>2]|0:d;if(1==(w[b+126>>1]|0)&&6==(w[b+90>>1]|0)&&0==(a[b+12>>2]&16384|0)){if(3!=(w[b+98>>1]|0))return Y(a[b+628>>2]|0,138732,138749,g),U=0,
-u=c,0;g=h+2|0;a[f>>2]=h;a[f+4>>2]=g;ne(b,530,f)|0;f=w[h>>1]|0;a:do switch(f<<16>>16){case 4:case 2:case 1:h=w[g>>1]|0;switch(h<<16>>16){case 4:case 2:case 1:break;default:break a}d=f&65535;g=h&65535;h=(E(g,d)|0)+2|0;e=a[b+56>>2]|0;e=e>>>0<(0-d|0)>>>0?((d+-1+e|0)>>>0)/(d>>>0)|0:0;m=m>>>0<(0-g|0)>>>0?((m+-1+g|0)>>>0)/(g>>>0)|0:0;g=pd(b,e,0,h&65535,0,138732)|0;h=U;d=b+84|0;e=pd(b,g,h,N[d>>1]|0,0,138732)|0;m=pd(b,Qb(Oe(pd(b,g,h,N[d>>1]|0,0,138732)|0,U|0,3)|0,U|0,(0!=(e&7|0)|0)&1|0,0)|0,U,m,0,138732)|
-0;U=h=U;u=c;return m|0;default:h=w[g>>1]|0}while(0);g=a[b+628>>2]|0;a[e>>2]=f&65535;a[e+4>>2]=h&65535;Y(g,138732,139754,e);U=0;u=c;return 0}e=Td(b)|0;g=pd(b,m,0,e,U,138732)|0;U=h=U;u=c;return g|0}function Td(b){b|=0;var d,c,e,f,g,h;d=u;u=u+32|0;c=d+16|0;e=d+8|0;f=d+20|0;a:do{if(1==(w[b+126>>1]|0)){g=w[b+98>>1]|0;if(3==g<<16>>16&&6==(w[b+90>>1]|0))if(a[b+12>>2]&16384)g=3;else{g=f+2|0;a[d>>2]=f;a[d+4>>2]=g;ne(b,530,d)|0;h=w[f>>1]|0;b:do switch(h<<16>>16){case 4:case 2:case 1:f=w[g>>1]|0;switch(f<<16>>
-16){case 4:case 2:case 1:break;default:break b}h&=65535;e=(E(f&65535,h)|0)+2|0;f=a[b+56>>2]|0;f=f>>>0<(0-h|0)>>>0?((h+-1+f|0)>>>0)/(h>>>0)|0:0;g=pf(Oe(Qb(pd(b,pd(b,f,0,e&65535,0,138782)|0,U,N[b+84>>1]|0,0,138782)|0,U|0,7,0)|0,U|0,3)|0,U|0,N[g>>1]|0,0)|0;h=U;break a}while(0);Y(a[b+628>>2]|0,138782,138801,e);U=0;u=d;return 0}g=pd(b,a[b+56>>2]|0,0,g&65535,0,138782)|0;h=pd(b,g,U,N[b+84>>1]|0,0,138782)|0}else h=pd(b,a[b+56>>2]|0,0,N[b+84>>1]|0,0,138782)|0;g=Qb(h|0,U|0,7,0)|0;g=h=Oe(g|0,U|0,3)|0;h=U}while(0);
-if(!(0==(g|0)&0==(h|0)))return U=h,u=d,g|0;Y(a[b+628>>2]|0,138782,138827,c);U=0;u=d;return 0}function se(b){b|=0;var d,c,e;d=u;u=u+16|0;c=a[b+100>>2]|0;e=a[b+60>>2]|0;c=Yd(b,c>>>0>e>>>0?e:c)|0;if((c|0)==(c|0)&((0>(c|0))<<31>>31|0)==(U|0))return u=d,c|0;Y(a[b+628>>2]|0,138873,139721,d);u=d;return 0}function Pe(b){b|=0;var d,c;d=u;u=u+16|0;c=Td(b)|0;if((c|0)==(c|0)&((0>(c|0))<<31>>31|0)==(U|0))return u=d,c|0;Y(a[b+628>>2]|0,138887,138904,d);u=d;return 0}function ac(a){a|=0;var d,c;d=a+1|0;c=t[d>>0]|
-0;t[d>>0]=t[a>>0]|0;t[a>>0]=c}function pb(a){a|=0;var d,c;d=a+3|0;c=t[d>>0]|0;t[d>>0]=t[a>>0]|0;t[a>>0]=c;c=a+2|0;d=t[c>>0]|0;a=a+1|0;t[c>>0]=t[a>>0]|0;t[a>>0]=d}function kc(a){a|=0;var d,c,e;d=a+7|0;c=t[d>>0]|0;t[d>>0]=t[a>>0]|0;t[a>>0]=c;c=a+6|0;d=t[c>>0]|0;e=a+1|0;t[c>>0]=t[e>>0]|0;t[e>>0]=d;d=a+5|0;e=t[d>>0]|0;c=a+2|0;t[d>>0]=t[c>>0]|0;t[c>>0]=e;e=a+4|0;c=t[e>>0]|0;d=a+3|0;t[e>>0]=t[d>>0]|0;t[d>>0]=c}function Vd(a,d){d|=0;var c,e;if(0<(d|0))for(c=d,e=a|0;;)if(a=e+1|0,d=t[a>>0]|0,t[a>>0]=t[e>>
-0]|0,t[e>>0]=d,1<(c|0))c=c+-1|0,e=e+2|0;else break}function Id(a,d){d|=0;var c,e,f;if(0<(d|0))for(c=d,e=a|0;;)if(a=e+3|0,d=t[a>>0]|0,t[a>>0]=t[e>>0]|0,t[e>>0]=d,d=e+2|0,a=t[d>>0]|0,f=e+1|0,t[d>>0]=t[f>>0]|0,t[f>>0]=a,1<(c|0))c=c+-1|0,e=e+4|0;else break}function Ae(a,d){d|=0;var c,e,f;if(0<(d|0))for(c=d,e=a|0;;)if(a=e+7|0,d=t[a>>0]|0,t[a>>0]=t[e>>0]|0,t[e>>0]=d,d=e+6|0,a=t[d>>0]|0,f=e+1|0,t[d>>0]=t[f>>0]|0,t[f>>0]=a,a=e+5|0,f=t[a>>0]|0,d=e+2|0,t[a>>0]=t[d>>0]|0,t[d>>0]=f,f=e+4|0,d=t[f>>0]|0,a=e+3|
-0,t[f>>0]=t[a>>0]|0,t[a>>0]=d,1<(c|0))c=c+-1|0,e=e+8|0;else break}function gf(a,d){d|=0;var c,e,f;if(0<(d|0))for(c=d,e=a|0;;)if(a=e+3|0,d=t[a>>0]|0,t[a>>0]=t[e>>0]|0,t[e>>0]=d,d=e+2|0,a=t[d>>0]|0,f=e+1|0,t[d>>0]=t[f>>0]|0,t[f>>0]=a,1<(c|0))c=c+-1|0,e=e+4|0;else break}function re(a,d){d|=0;var c,e,f;if(0<(d|0))for(c=d,e=a|0;;)if(a=e+7|0,d=t[a>>0]|0,t[a>>0]=t[e>>0]|0,t[e>>0]=d,d=e+6|0,a=t[d>>0]|0,f=e+1|0,t[d>>0]=t[f>>0]|0,t[f>>0]=a,a=e+5|0,f=t[a>>0]|0,d=e+2|0,t[a>>0]=t[d>>0]|0,t[d>>0]=f,f=e+4|0,d=t[f>>
-0]|0,a=e+3|0,t[f>>0]=t[a>>0]|0,t[a>>0]=d,1<(c|0))c=c+-1|0,e=e+8|0;else break}function ye(a,d){a|=0;d|=0;var c,e,f,g;if(8<(d|0)){c=d+-9&-8;e=a;for(f=d;!(t[e>>0]=t[138932+(x[e>>0]|0)>>0]|0,g=e+1|0,t[g>>0]=t[138932+(x[g>>0]|0)>>0]|0,g=e+2|0,t[g>>0]=t[138932+(x[g>>0]|0)>>0]|0,g=e+3|0,t[g>>0]=t[138932+(x[g>>0]|0)>>0]|0,g=e+4|0,t[g>>0]=t[138932+(x[g>>0]|0)>>0]|0,g=e+5|0,t[g>>0]=t[138932+(x[g>>0]|0)>>0]|0,g=e+6|0,t[g>>0]=t[138932+(x[g>>0]|0)>>0]|0,g=e+7|0,t[g>>0]=t[138932+(x[g>>0]|0)>>0]|0,f=f+-8|0,8>=(f|
-0));)e=e+8|0;e=d+-8-c|0;c=a+(c+8|0)|0}else e=d,c=a;if(0<(e|0))for(;;)if(t[c>>0]=t[138932+(x[c>>0]|0)>>0]|0,1<(e|0))c=c+1|0,e=e+-1|0;else break}function yf(b,d,c,e,f){b|=0;d|=0;c|=0;e|=0;f|=0;var g,h,m,k,l,n,p,q;g=u;u=u+32|0;h=g+24|0;m=g+16|0;k=g+8|0;l=g;n=a[b+56>>2]|0;if(n>>>0<=d>>>0)return p=a[b+628>>2]|0,q=a[b>>2]|0,a[l>>2]=d,a[l+4>>2]=n+-1,Y(p,q,139444,l),u=g,0;l=a[b+60>>2]|0;if(l>>>0<=c>>>0)return q=a[b+628>>2]|0,p=a[b>>2]|0,a[k>>2]=c,a[k+4>>2]=l+-1,Y(q,p,139475,k),u=g,0;k=a[b+64>>2]|0;if(k>>>
-0<=e>>>0)return p=a[b+628>>2]|0,q=a[b>>2]|0,a[m>>2]=e,a[m+4>>2]=k+-1,Y(p,q,139506,m),u=g,0;if(2!=(w[b+126>>1]|0))return u=g,1;m=w[b+98>>1]|0;if((m&65535)>(f&65535))return u=g,1;q=a[b+628>>2]|0;p=a[b>>2]|0;a[h>>2]=f&65535;a[h+4>>2]=(m&65535)+-1;Y(q,p,139539,h);u=g;return 0}function Uf(b){b|=0;var d,c,e,f,g,h;d=u;u=u+32|0;c=d+24|0;e=d+16|0;if(!(a[b+72>>2]|0))return Y(a[b+628>>2]|0,139591,139609,d),U=0,u=d,0;f=a[b+68>>2]|0;if(!f)return Y(a[b+628>>2]|0,139591,139629,d+8|0),U=0,u=d,0;g=pd(b,N[b+84>>1]|
-0,0,f,0,139648)|0;f=U;if(1==(w[b+126>>1]|0))if(h=w[b+98>>1]|0,h<<16>>16)e=f=pd(b,g,f,h&65535,0,139648)|0,g=U;else return Y(a[b+628>>2]|0,139591,139664,e),U=0,u=d,0;else e=g,g=f;f=Oe(e|0,g|0,3)|0;g=Qb((0!=(e&7|0)|0)&1|0,0,f|0,U|0)|0;f=U;if(!(0==(g|0)&0==(f|0)))return U=f,u=d,g|0;Y(a[b+628>>2]|0,139591,139690,c);U=0;u=d;return 0}function tg(b){b|=0;var d,c;d=u;u=u+16|0;c=Uf(b)|0;if((c|0)==(c|0)&((0>(c|0))<<31>>31|0)==(U|0))return u=d,c|0;Y(a[b+628>>2]|0,139648,139721,d);u=d;return 0}function Kf(b,d){b|=
-0;d|=0;var c,e,f,g,h,m;c=u;u=u+32|0;e=c+8|0;f=c;g=c+16|0;if(!(a[b+72>>2]|0))return U=0,u=c,0;h=b+68|0;if(!(a[h>>2]|0&&a[b+76>>2]|0))return U=0,u=c,0;if(1==(w[b+126>>1]|0)&&6==(w[b+90>>1]|0)&&3==(w[b+98>>1]|0)&&0==(a[b+12>>2]&16384|0)){m=g+2|0;a[f>>2]=g;a[f+4>>2]=m;ne(b,530,f)|0;f=w[g>>1]|0;a:do switch(f<<16>>16){case 4:case 2:case 1:g=w[m>>1]|0;switch(g<<16>>16){case 4:case 2:case 1:break;default:break a}e=f&65535;m=g&65535;g=(E(m,e)|0)+2|0;f=a[h>>2]|0;e=f>>>0<(0-e|0)>>>0?((e+-1+f|0)>>>0)/(e>>>0)|
-0:0;h=d>>>0<(0-m|0)>>>0?((d+-1+m|0)>>>0)/(m>>>0)|0:0;m=pd(b,e,0,g&65535,0,139738)|0;g=U;e=b+84|0;f=pd(b,m,g,N[e>>1]|0,0,139738)|0;h=pd(b,Qb(Oe(pd(b,m,g,N[e>>1]|0,0,139738)|0,U|0,3)|0,U|0,(0!=(f&7|0)|0)&1|0,0)|0,U,h,0,139738)|0;U=g=U;u=c;return h|0;default:g=w[m>>1]|0}while(0);m=a[b+628>>2]|0;a[e>>2]=f&65535;a[e+4>>2]=g&65535;Y(m,139738,139754,e);U=0;u=c;return 0}e=Uf(b)|0;m=pd(b,d,0,e,U,139738)|0;U=g=U;u=c;return m|0}function Og(b){b|=0;var d,c;d=u;u=u+16|0;c=Kf(b,a[b+72>>2]|0)|0;if((c|0)==(c|0)&
-((0>(c|0))<<31>>31|0)==(U|0))return u=d,c|0;Y(a[b+628>>2]|0,139788,139721,d);u=d;return 0}function Wb(b,d,c,e){b|=0;d|=0;c|=0;var f;f=u;u=u+16|0;a[f>>2]=e|0;if(e=a[1933]|0)td[e&127](d,c,f);if(e=a[1932]|0)Ud[e&31](b,d,c,f);u=f}function Lc(b){b|=0;var d,c,e,f,g;d=b+608|0;c=a[d>>2]|0;if(0>=(c|0))return 1;e=b+12|0;f=a[e>>2]|0;if(!(f&1048576))return 1;g=b+588|0;(N[b+94>>1]|256)&f?e=f:(ye(a[g>>2]|0,c),e=a[e>>2]|0,c=a[d>>2]|0);if(!(dg(b,a[(0==(e&1024|0)?b+452|0:b+492|0)>>2]|0,a[g>>2]|0,c)|0))return 0;a[d>>
-2]=0;a[b+604>>2]=a[g>>2];return 1}function dg(b,d,c,e){b|=0;d|=0;c|=0;e|=0;var f,g,h,m,k,l,n,p,q=0,y=0,B=0,H=0,t;f=u;u=u+32|0;g=f+16|0;h=f+8|0;m=f;k=b+172|0;l=(a[k>>2]|0)+(d<<3)|0;n=a[l>>2]|0;p=a[l+4>>2]|0;if((l=0==(n|0)&0==(p|0))||(q=b+456|0,y=q,B=a[y>>2]|0,H=a[y+4>>2]|0,0==(B|0)&0==(H|0))){a[b+168>>2]|0||Z(139801,139820,690,139832);H=b+176|0;B=(a[H>>2]|0)+(d<<3)|0;q=a[B>>2]|0;y=a[B+4>>2]|0;if(0==(q|0)&0==(y|0)||(B=(0>(e|0))<<31>>31,y>>>0>>0|(y|0)==(B|0)&q>>>0
>>0?1:q,Ra=C=1;else return n=a[e>>2]|0,a[e>>2]=n+4,t[n>>0]=64,t[n+1>>0]=1,w[n+2>>1]=0,n=a[e>>2]|0,a[e>>2]=n+4,t[n>>0]=64,
-t[n+1>>0]=1,w[n+2>>1]=0,a[f>>2]=1,u=h,0;a:do if(6==(y|0))for(q=B>>>0>ka>>>0?ka:B,n=1;;){if(w[m+(n<<1)>>1]|0){z=H;Q=q;C=ka;Ra=n;break a}p=n+1|0;if(p>>>0
>1]=y;11<(q|0)?(q=b+20|0,H=a[q>>2]|0,a[q>>2]=H+1,B=b+8|0,t[(a[B>>2]|0)+H>>0]=y,H=(N[Q>>1]|0)>>>8&255,p=a[q>>2]|0,a[q>>2]=p+1,t[(a[B>>2]|0)+p>>0]=H,H=a[m>>2]|0,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2468>>1]=0;w[b+2472>>1]=0;w[b+2476>>1]=0;w[b+2480>>1]=0;w[b+2484>>1]=0;w[b+2488>>1]=0;w[b+2492>>1]=0;w[b+2496>>1]=0;w[b+2500>>1]=0;w[b+2504>>1]=0;w[b+2508>>1]=0;w[b+2512>>1]=0;w[b+2516>>1]=0;w[b+2520>>1]=0;w[b+2524>>1]=0;w[b+2528>>1]=0;w[b+2532>>1]=0;w[b+2536>>1]=0;w[b+2540>>1]=
-0;w[b+2544>>1]=0;w[b+2548>>1]=0;w[b+2552>>1]=0;w[b+2556>>1]=0;w[b+2684>>1]=0;w[b+2688>>1]=0;w[b+2692>>1]=0;w[b+2696>>1]=0;w[b+2700>>1]=0;w[b+2704>>1]=0;w[b+2708>>1]=0;w[b+2712>>1]=0;w[b+2716>>1]=0;w[b+2720>>1]=0;w[b+2724>>1]=0;w[b+2728>>1]=0;w[b+2732>>1]=0;w[b+2736>>1]=0;w[b+2740>>1]=0;w[b+2744>>1]=0;w[b+2748>>1]=0;w[b+2752>>1]=0;w[b+2756>>1]=0;w[b+1172>>1]=1;a[b+5804>>2]=0;a[b+5800>>2]=0;a[b+5808>>2]=0;a[b+5792>>2]=0}function sg(b,d){b|=0;d|=0;var c,e,f,g,h,m,k,l,n,p,q,y,B=0,H=0,ka=0,z=0,Q=0,C,Ra,
-V,r,J,I,G;c=u;u=u+32|0;e=a[d>>2]|0;f=d+8|0;g=a[f>>2]|0;h=a[g>>2]|0;m=a[g+12>>2]|0;g=b+5200|0;a[g>>2]=0;k=b+5204|0;a[k>>2]=573;if(0<(m|0)){l=-1;for(n=0;;)if(w[e+(n<<2)>>1]|0?(q=(a[g>>2]|0)+1|0,a[g>>2]=q,a[b+2908+(q<<2)>>2]=n,t[b+5208+n>>0]=0,p=n):(w[e+(n<<2)+2>>1]=0,p=l),n=n+1|0,(n|0)==(m|0)){y=p;break}else l=p;p=a[g>>2]|0;2>(p|0)?(B=p,H=y,ka=3):(z=p,Q=y)}else B=0,H=-1,ka=3;if(3==(ka|0))if(ka=b+5800|0,y=b+5804|0,h)for(l=B,B=H;;)if(H=2>(B|0),p=B+1|0,C=H?p:B,Ra=H?p:0,p=l+1|0,a[g>>2]=p,a[b+2908+(p<<2)>>
-2]=Ra,w[e+(Ra<<2)>>1]=1,t[b+5208+Ra>>0]=0,a[ka>>2]=(a[ka>>2]|0)+-1,a[y>>2]=(a[y>>2]|0)-(N[h+(Ra<<2)+2>>1]|0),Ra=a[g>>2]|0,2>(Ra|0))l=Ra,B=C;else{z=Ra;Q=C;break}else for(p=B,l=H;;)if(n=2>(l|0),q=l+1|0,C=n?q:l,Ra=n?q:0,q=p+1|0,a[g>>2]=q,a[b+2908+(q<<2)>>2]=Ra,w[e+(Ra<<2)>>1]=1,t[b+5208+Ra>>0]=0,a[ka>>2]=(a[ka>>2]|0)+-1,Ra=a[g>>2]|0,2>(Ra|0))p=Ra,l=C;else{z=Ra;Q=C;break}B=d+4|0;a[B>>2]=Q;l=z;for(h=(z|0)/2|0;;){z=a[b+2908+(h<<2)>>2]|0;y=b+5208+z|0;ka=h<<1;a:do if((ka|0)>(l|0))V=h;else for(C=e+(z<<2)|
-0,Ra=h,p=l,H=ka;;){do if((H|0)<(p|0)){q=H|1;n=a[b+2908+(q<<2)>>2]|0;r=w[e+(n<<2)>>1]|0;J=a[b+2908+(H<<2)>>2]|0;I=w[e+(J<<2)>>1]|0;if((r&65535)>=(I&65535)){if(r<<16>>16!=I<<16>>16){G=H;break}if((x[b+5208+n>>0]|0)>(x[b+5208+J>>0]|0)){G=H;break}}G=q}else G=H;while(0);q=w[C>>1]|0;J=a[b+2908+(G<<2)>>2]|0;n=w[e+(J<<2)>>1]|0;if((q&65535)<(n&65535)){V=Ra;break a}if(q<<16>>16==n<<16>>16&&(x[y>>0]|0)<=(x[b+5208+J>>0]|0)){V=Ra;break a}a[b+2908+(Ra<<2)>>2]=J;H=G<<1;p=a[g>>2]|0;if((H|0)>(p|0)){V=G;break}else Ra=
-G}while(0);a[b+2908+(V<<2)>>2]=z;if(1>=(h|0))break;l=a[g>>2]|0;h=h+-1|0}h=b+2912|0;l=a[g>>2]|0;V=m;do{m=a[h>>2]|0;G=l+-1|0;a[g>>2]=G;y=a[b+2908+(l<<2)>>2]|0;a[h>>2]=y;ka=b+5208+y|0;a:do if(3>(l|0))p=1;else for(Ra=e+(y<<2)|0,p=1,H=G,C=2;;){do if((C|0)<(H|0)){J=C|1;n=a[b+2908+(J<<2)>>2]|0;q=w[e+(n<<2)>>1]|0;I=a[b+2908+(C<<2)>>2]|0;r=w[e+(I<<2)>>1]|0;if((q&65535)>=(r&65535)){if(q<<16>>16!=r<<16>>16){q=C;break}if((x[b+5208+n>>0]|0)>(x[b+5208+I>>0]|0)){q=C;break}}q=J}else q=C;while(0);J=w[Ra>>1]|0;I=a[b+
-2908+(q<<2)>>2]|0;n=w[e+(I<<2)>>1]|0;if((J&65535)<(n&65535))break a;if(J<<16>>16==n<<16>>16&&(x[ka>>0]|0)<=(x[b+5208+I>>0]|0))break a;a[b+2908+(p<<2)>>2]=I;C=q<<1;H=a[g>>2]|0;if((C|0)>(H|0)){p=q;break}else p=q}while(0);a[b+2908+(p<<2)>>2]=y;ka=a[h>>2]|0;G=(a[k>>2]|0)+-1|0;a[k>>2]=G;a[b+2908+(G<<2)>>2]=m;G=(a[k>>2]|0)+-1|0;a[k>>2]=G;a[b+2908+(G<<2)>>2]=ka;G=e+(V<<2)|0;w[G>>1]=(N[e+(ka<<2)>>1]|0)+(N[e+(m<<2)>>1]|0);z=t[b+5208+m>>0]|0;p=t[b+5208+ka>>0]|0;H=b+5208+V|0;t[H>>0]=(((z&255)<(p&255)?p:z)&255)+
-1;z=V&65535;w[e+(ka<<2)+2>>1]=z;w[e+(m<<2)+2>>1]=z;a[h>>2]=V;z=a[g>>2]|0;a:do if(2>(z|0))y=1;else for(ka=1,p=z,C=2;;){do if((C|0)<(p|0)){Ra=C|1;I=a[b+2908+(Ra<<2)>>2]|0;n=w[e+(I<<2)>>1]|0;J=a[b+2908+(C<<2)>>2]|0;r=w[e+(J<<2)>>1]|0;if((n&65535)>=(r&65535)){if(n<<16>>16!=r<<16>>16){n=C;break}if((x[b+5208+I>>0]|0)>(x[b+5208+J>>0]|0)){n=C;break}}n=Ra}else n=C;while(0);Ra=w[G>>1]|0;J=a[b+2908+(n<<2)>>2]|0;I=w[e+(J<<2)>>1]|0;if((Ra&65535)<(I&65535)){y=ka;break a}if(Ra<<16>>16==I<<16>>16&&(x[H>>0]|0)<=(x[b+
-5208+J>>0]|0)){y=ka;break a}a[b+2908+(ka<<2)>>2]=J;C=n<<1;p=a[g>>2]|0;if((C|0)>(p|0)){y=n;break}else ka=n}while(0);a[b+2908+(y<<2)>>2]=V;V=V+1|0;l=a[g>>2]|0}while(1<(l|0));l=a[h>>2]|0;h=(a[k>>2]|0)+-1|0;a[k>>2]=h;a[b+2908+(h<<2)>>2]=l;l=a[d>>2]|0;d=a[B>>2]|0;B=a[f>>2]|0;f=a[B>>2]|0;h=a[B+4>>2]|0;g=a[B+8>>2]|0;V=a[B+16>>2]|0;B=b+2876|0;y=B+32|0;do w[B>>1]=0,B=B+2|0;while((B|0)<(y|0));B=a[k>>2]|0;w[l+(a[b+2908+(B<<2)>>2]<<2)+2>>1]=0;k=B+1|0;a:do if(573>(k|0)){B=b+5800|0;y=b+5804|0;if(f)for(p=k,n=0;G=
-a[b+2908+(p<<2)>>2]|0,H=l+(G<<2)+2|0,m=N[l+(N[H>>1]<<2)+2>>1]|0,z=(q=(m|0)<(V|0))?m+1|0:V,m=(q&1^1)+n|0,w[H>>1]=z,(G|0)<=(d|0)&&(H=b+2876+(z<<1)|0,w[H>>1]=(w[H>>1]|0)+1<<16>>16,n=(G|0)<(g|0)?0:a[h+(G-g<<2)>>2]|0,H=N[l+(G<<2)>>1]|0,q=E(H,n+z|0)|0,a[B>>2]=q+(a[B>>2]|0),q=E((N[f+(G<<2)+2>>1]|0)+n|0,H)|0,a[y>>2]=q+(a[y>>2]|0)),p=p+1|0,573!=(p|0);)n=m;else for(n=k,p=0;;)if(q=a[b+2908+(n<<2)>>2]|0,H=l+(q<<2)+2|0,G=N[l+(N[H>>1]<<2)+2>>1]|0,m=(z=(G|0)<(V|0))?G+1|0:V,G=(z&1^1)+p|0,w[H>>1]=m,(q|0)<=(d|0)&&
-(H=b+2876+(m<<1)|0,w[H>>1]=(w[H>>1]|0)+1<<16>>16,H=(q|0)<(g|0)?0:a[h+(q-g<<2)>>2]|0,H=E(N[l+(q<<2)>>1]|0,H+m|0)|0,a[B>>2]=H+(a[B>>2]|0)),n=n+1|0,573==(n|0)){m=G;break}else p=G;if(m){n=b+2876+(V<<1)|0;for(p=m;;){for(y=V;;)if(m=y+-1|0,q=b+2876+(m<<1)|0,H=w[q>>1]|0,H<<16>>16){m=q;G=y;break}else y=m;w[m>>1]=H+-1<<16>>16;y=b+2876+(G<<1)|0;w[y>>1]=(N[y>>1]|0)+2;y=(w[n>>1]|0)+-1<<16>>16;w[n>>1]=y;if(2<(p|0))p=p+-2|0;else{n=y;break}}if(V)for(p=n,n=V,y=573;;){H=n&65535;if(p<<16>>16)for(q=y,m=p&65535;;){for(G=
-q;;)if(z=G+-1|0,y=a[b+2908+(z<<2)>>2]|0,(y|0)>(d|0))G=z;else{f=z;g=y;break}G=l+(g<<2)+2|0;y=N[G>>1]|0;(n|0)!=(y|0)&&(z=E(N[l+(g<<2)>>1]|0,n-y|0)|0,a[B>>2]=z+(a[B>>2]|0),w[G>>1]=H);if(m=m+-1|0)q=f;else{h=f;break}}else h=y;q=n+-1|0;if(!q)break a;p=w[b+2876+(q<<1)>>1]|0;n=q;y=h}}}while(0);h=1;f=0;do f=(N[b+2876+(h+-1<<1)>>1]|0)+(f&65534)<<1,w[c+(h<<1)>>1]=f,h=h+1|0;while(16!=(h|0));if(!(0>(Q|0)))for(l=0;;){h=w[e+(l<<2)+2>>1]|0;f=h&65535;if(h<<16>>16){h=c+(f<<1)|0;b=w[h>>1]|0;w[h>>1]=b+1<<16>>16;h=f;
-f=b&65535;for(b=0;;)if(g=b|f&1,1<(h|0))h=h+-1|0,f>>>=1,b=g<<1;else{B=g;break}w[e+(l<<2)>>1]=B}if((l|0)==(Q|0))break;else l=l+1|0}u=c}function Kg(b,d,c){b|=0;d|=0;c|=0;var e,f,g,h,m,k,l,n,p,q,y,B,H,ka,z,Q,C;e=b+5792|0;if(a[e>>2]|0){g=b+5796|0;f=b+5784|0;h=b+5820|0;m=b+5816|0;k=b+20|0;l=b+8|0;n=0;do p=w[(a[g>>2]|0)+(n<<1)>>1]|0,q=p&65535,y=x[(a[f>>2]|0)+n>>0]|0,n=n+1|0,p<<16>>16?(p=x[155385+y>>0]|0,z=(p|256)+1|0,B=N[d+(z<<2)+2>>1]|0,H=a[h>>2]|0,Q=N[d+(z<<2)>>1]|0,z=N[m>>1]|0|Q<
>1]=B,(q|0)>(16-ka|0)?(Q=a[k>>2]|0,a[k>>2]=Q+1,t[(a[l>>2]|0)+Q>>0]=p,p=(N[m>>1]|0)>>>8&255,Q=a[k>>2]|0,a[k>>2]=Q+1,t[(a[l>>2]|0)+Q>>0]=p,p=a[h>>2]|0,Q=z>>>(16-p|0)&65535,w[m>>1]=Q,z=ka+-16+p|0,a[h>>2]=z,B=Q):(z=q+ka|0,a[h>>2]=z),p=z):(B=y,p=q)):(B=N[d+(y<<2)+2>>1]|0,H=a[h>>2]|0,p=N[d+(y<<2)>>1]|0,ka=N[m>>1]|0|p<